Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-08-23 | avoid hardcoding init as pid 1 proc[0] | rsc | 1 | -7/+13 | |
2007-08-22 | my mistake found by robert | rsc | 1 | -1/+1 | |
2007-08-22 | PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf | rsc | 1 | -59/+82 | |
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 | |||||
2007-08-21 | Various cleanup: | rsc | 1 | -27/+23 | |
- 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-08-20 | checkpoint - simpler namei interface | rsc | 1 | -4/+9 | |
2007-08-14 | nit | rsc | 1 | -1/+0 | |
2007-08-14 | Because limit gives the address of the last addressable | rsc | 1 | -4/+4 | |
byte in the segment, the limit argument to SEG16 and SEG needs to have 1 subtracted from it. | |||||
2007-08-10 | Make cp a magic symbol. | rsc | 1 | -10/+4 | |
2007-08-09 | try to use cp only for curproc[cpu()] | rsc | 1 | -9/+9 | |
2007-08-08 | check p->killed for long-lived sleeps | rsc | 1 | -1/+1 | |
2007-08-08 | cleaner table | rsc | 1 | -1/+1 | |
2007-08-08 | cleaner table | rsc | 1 | -9/+9 | |
2007-08-08 | iincref returns new ref | rsc | 1 | -2/+1 | |
2007-08-08 | add DPL_USER constant | rsc | 1 | -2/+2 | |
2007-08-08 | fix various bugs | rsc | 1 | -2/+9 | |
2007-08-08 | comment tweaks; more informative process list | rsc | 1 | -3/+17 | |
2006-09-08 | move growproc up higher | rsc | 1 | -20/+21 | |
2006-09-08 | fix various comments | rsc | 1 | -1/+1 | |
2006-09-07 | check preconditions in sched | rsc | 1 | -0/+5 | |
2006-09-07 | debugging prints | rsc | 1 | -0/+16 | |
2006-09-07 | more comments | rsc | 1 | -1/+4 | |
2006-09-07 | more defensive programming | rsc | 1 | -1/+4 | |
2006-09-06 | fd_* => file_* | rsc | 1 | -2/+2 | |
2006-09-06 | fd.* -> file.* | rsc | 1 | -1/+1 | |
2006-09-06 | struct fd -> struct file | rsc | 1 | -6/+6 | |
2006-09-06 | no /* */ comments | rsc | 1 | -5/+4 | |
2006-09-06 | standardize various * conventions | rsc | 1 | -18/+18 | |
2006-09-06 | clear np->mem after freeing | rsc | 1 | -0/+1 | |
2006-09-06 | some pipe support in sh | kaashoek | 1 | -2/+2 | |
bug in proc_wait | |||||
2006-08-30 | complain if no disk 1 | rtm | 1 | -1/+1 | |
lots of cleanup | |||||
2006-08-29 | nits | rtm | 1 | -9/+5 | |
2006-08-29 | clear killed flag in exit | rtm | 1 | -0/+4 | |
idecref cwd in exit | |||||
2006-08-29 | prune unneeded panics and debug output | rtm | 1 | -28/+1 | |
2006-08-29 | i broke sbrk, fix it | rtm | 1 | -3/+3 | |
2006-08-29 | clean up stale error checks and panics | rtm | 1 | -4/+4 | |
delete unused functions a few comments | |||||
2006-08-24 | bug in sbrk | kaashoek | 1 | -3/+2 | |
test malloc | |||||
2006-08-24 | user-level malloc (untested) | kaashoek | 1 | -4/+5 | |
nit in sbrk indirect block fix dup to share fd struct | |||||
2006-08-23 | i/o redirection in sh | kaashoek | 1 | -0/+18 | |
better parsing of sh commands (copied from jos sh) cat: read from 1 if no args sbrk system call, but untested getpid system call moved locks in keyboard intr, but why do we get intr w. null characters from keyboard? | |||||
2006-08-19 | chdir | kaashoek | 1 | -2/+2 | |
cd in shell nits in mkdir, ls, etc. | |||||
2006-08-15 | no more proc[] entry per cpu for idle loop | rtm | 1 | -39/+30 | |
each cpu[] has its own gdt and tss no per-proc gdt or tss, re-write cpu's in scheduler (you win, cliff) main0() switches to cpu[0].mpstack | |||||
2006-08-15 | commented out code for cwd | kaashoek | 1 | -0/+3 | |
2006-08-13 | link() | rtm | 1 | -3/+0 | |
2006-08-10 | interrupts could be recursive since lapic_eoi() called before rti | rtm | 1 | -2/+14 | |
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi() | |||||
2006-08-08 | fix race in holding() check in acquire() | rtm | 1 | -4/+6 | |
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 | |||||
2006-07-29 | open() | rtm | 1 | -2/+4 | |
2006-07-27 | primitive exec | rtm | 1 | -0/+3 | |
2006-07-18 | prevent longjmp / forkret from writing over tf->edi | rtm | 1 | -1/+1 | |
2006-07-17 | add ide_lock for sleep | rsc | 1 | -0/+12 | |
2006-07-17 | standarize on unix-like lowercase struct names | rsc | 1 | -3/+3 | |
2006-07-17 | add uint and standardize on typedefs instead of unsigned | rsc | 1 | -6/+6 | |