- 2007年 8月 22日 7 次提交
-
-
由 rsc 提交于
-
由 rsc 提交于
-
由 rsc 提交于
-
由 rsc 提交于
-
由 rsc 提交于
-
由 rsc 提交于
-
由 rsc 提交于
- Got rid of dummy proc[0]. Now proc[0] is init. - Added initcode.S to exec /init, so that /init is just a regular binary. - Moved exec out of sysfile to exec.c - Moved code dealing with fs guts (like struct inode) from sysfile.c to fs.c. Code dealing with system call arguments stays in sysfile.c - Refactored directory routines in fs.c; should be simpler. - Changed iget to return *unlocked* inode structure. This solves the lookup-then-use race in namei without introducing deadlocks. It also enabled getting rid of the dummy proc[0].
-
- 2007年 8月 21日 4 次提交
- 2007年 8月 15日 10 次提交
- 2007年 8月 14日 5 次提交
-
-
由 rsc 提交于
-
由 rsc 提交于
address off the stack, so put one there for it. (Bug was hidden by bad segment limits.)
-
由 rsc 提交于
byte in the segment, the limit argument to SEG16 and SEG needs to have 1 subtracted from it.
-
由 rsc 提交于
-
由 rsc 提交于
some memory references aren't actually valid and gcc is a bit too smart in parsing (%0) and a bit too dumb in knowing which memory refs are not valid. Using "r" seems to constrain gcc to use a register as in (%eax) and not substitute a memory reference like (-36(%ebp)). No one really understands these things.
-
- 2007年 8月 11日 12 次提交
- 2007年 8月 10日 2 次提交