提交 7356f26a 创建 作者: kaashoek's avatar kaashoek

a few notes

上级 f8ac6396
...@@ -37,6 +37,8 @@ proc.c: ...@@ -37,6 +37,8 @@ proc.c:
sched -> switch2scheduler? or just switch? sched -> switch2scheduler? or just switch?
factor out switching and scheduling code from process code
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
...@@ -44,3 +46,8 @@ trap.c ...@@ -44,3 +46,8 @@ trap.c
main.c, proc.c, trap.c: main.c, proc.c, trap.c:
use a constant for 3 (USER). use a constant for 3 (USER).
ide.c: synchronous disk write -> polling disk write. search for
(a)synchronous; xv6 doesn't have asynchronous writes.
fs.c: split all name operations off in name.c? (starting with namei but move
wdir keep in fs.c)
\ No newline at end of file
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论