summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-09-17 22:01:12 +0000
committerkaashoek <kaashoek>2006-09-17 22:01:12 +0000
commitf8ac63967522b517e8539591ef7156ee9d72cbae (patch)
tree623159a15722053035021452b4242504ea39b8fe /BUGS
parentb438eff6bf21dc66697b4a37510dd652677deb7c (diff)
downloadxv6-labs-f8ac63967522b517e8539591ef7156ee9d72cbae.tar.gz
xv6-labs-f8ac63967522b517e8539591ef7156ee9d72cbae.tar.bz2
xv6-labs-f8ac63967522b517e8539591ef7156ee9d72cbae.zip
a few other nits
Diffstat (limited to 'BUGS')
-rw-r--r--BUGS14
1 files changed, 12 insertions, 2 deletions
diff --git a/BUGS b/BUGS
index a051750..b161276 100644
--- a/BUGS
+++ b/BUGS
@@ -1,11 +1,16 @@
-missing bootmain.c from printout
-funny \ alignment in mmu.h
+runoff.list:
+ bootmain.c missing
+
+mmu.h:
+ funny \ alignment in mmu.h
main.c:
should use static int bcpu to avoid having live
stack variable across the asm volatile that
changes %esp and %ebp.
+ cpus[0] -> cpus[bcpu]
+
init.c:
should while(wait() >= 0);
not just wait();
@@ -30,7 +35,12 @@ proc.c:
proc_exit should wake up proc[1] if any
reparenting was done.
+ sched -> switch2scheduler? or just switch?
+
trap.c
if spin locks are ever held without cli,
trap should call yield() only if nlock == 0
+main.c, proc.c, trap.c:
+ use a constant for 3 (USER).
+