- Aug 21, 2007
-
-
rsc authored
PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument
-
rsc authored
-
rsc authored
Various cleanup: - 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].
-
- Aug 20, 2007
-
-
rsc authored
-
- Aug 13, 2007
-
-
rsc authored
Gcc expects to be able to pick up the return address off the stack, so put one there for it. (Bug was hidden by bad segment limits.)
-
- Aug 10, 2007
-
-
rsc authored
-
- Aug 08, 2007
- Sep 08, 2006
- Sep 07, 2006
-
-
rsc authored
-
- Sep 06, 2006
- Aug 29, 2006
- Aug 15, 2006
- Aug 12, 2006
-
-
rtm authored
-
- Aug 11, 2006
-
-
rtm authored
sh accepts 0-argument commands (like userfs) reads from console
-
- Aug 10, 2006
-
-
rtm authored
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
-
- Aug 09, 2006
- Aug 08, 2006
-
-
rtm authored
give cpu1 a TSS and gdt for when it enters scheduler() and a pseudo proc[] entry for each cpu cpu0 waits for each other cpu to start up read() for files
-
- Aug 04, 2006
-
-
kaashoek authored
ioapic
-
- Jul 29, 2006
-
-
rtm authored
-
- Jul 27, 2006
-
-
rtm authored
-
- Jul 20, 2006
-
-
rtm authored
-
- Jul 16, 2006