Some proc cleanup, moving some of copyproc into allocproc.
Also, an experiment: use "thread-local" storage for c and cp instead of the #define macro for curproc[cpu()].
This commit is contained in:
parent
0c7f483838
commit
19333efb9e
9 changed files with 147 additions and 118 deletions
4
Makefile
4
Makefile
|
@ -23,6 +23,7 @@ OBJS = \
|
|||
timer.o\
|
||||
trapasm.o\
|
||||
trap.o\
|
||||
uart.o\
|
||||
vectors.o\
|
||||
|
||||
# Cross-compiling (e.g., on Mac OS X)
|
||||
|
@ -139,6 +140,9 @@ bochs : fs.img xv6.img
|
|||
qemu: fs.img xv6.img
|
||||
qemu -parallel stdio -hdb fs.img xv6.img
|
||||
|
||||
qemutty: fs.img xv6.img
|
||||
qemu -nographic -smp 2 -hdb fs.img xv6.img
|
||||
|
||||
# CUT HERE
|
||||
# prepare dist for students
|
||||
# after running make dist, probably want to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue