a few other nits

feat/start
kaashoek 2006-09-17 22:01:12 +00:00
parent b438eff6bf
commit f8ac639675
1 changed files with 12 additions and 2 deletions

14
BUGS
View File

@ -1,11 +1,16 @@
missing bootmain.c from printout runoff.list:
funny \ alignment in mmu.h bootmain.c missing
mmu.h:
funny \ alignment in mmu.h
main.c: main.c:
should use static int bcpu to avoid having live should use static int bcpu to avoid having live
stack variable across the asm volatile that stack variable across the asm volatile that
changes %esp and %ebp. changes %esp and %ebp.
cpus[0] -> cpus[bcpu]
init.c: init.c:
should while(wait() >= 0); should while(wait() >= 0);
not just wait(); not just wait();
@ -30,7 +35,12 @@ proc.c:
proc_exit should wake up proc[1] if any proc_exit should wake up proc[1] if any
reparenting was done. reparenting was done.
sched -> switch2scheduler? or just switch?
trap.c trap.c
if spin locks are ever held without cli, if spin locks are ever held without cli,
trap should call yield() only if nlock == 0 trap should call yield() only if nlock == 0
main.c, proc.c, trap.c:
use a constant for 3 (USER).