http://blog.chinaunix.net/uid/16979052.html
全部博文(286)
发布时间:2012-06-28 08:14:57
#include void thread1(unsigned int val){ KPRINTF("val = %d\n", val); for(;;) KPRINTF("-");}void thread2(unsigned int val){ KPRINTF("val = %d\n", val); for(;;) KPRINTF("+");}void thread3(unsigned int val){ KPRINTF("val = %d\n", val);.........【阅读全文】
发布时间:2012-06-28 08:14:05
KERNELC := $(shell find kernel libc boot dev -name "*.c")KERNELASM := $(shell find kernel boot -name "*.S")EXE=vmlinuxCC = gccLD = ldRM = rm######################################################################KERNELOBJ= $(KERNELASM:.S=.o) $(KERNELC:.c=.o).........【阅读全文】