summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-08-24bring bootasm and bootother more in syncrsc2-58/+48
2007-08-24Rework comments a bit.rsc1-29/+25
Move initialization of %sp after protected mode jump and change to %esp.
2007-08-24add missing iput() at end of _namei()rtm7-17/+110
2007-08-24oops, O_CREATE doesn't truncate, so holes can't exist, thus no bugrtm1-71/+0
2007-08-24test concurrent open/unlink of same file (ok)rtm1-3/+89
test files with holes (not ok)
2007-08-24comment what +m means; omit needless __rsc1-25/+27
2007-08-24omit needless ampersandsrsc1-2/+2
2007-08-23align, sortrsc1-124/+121
2007-08-23Use parent pointer instead of ppid.rsc2-10/+8
2007-08-23avoid hardcoding init as pid 1 proc[0]rsc1-7/+13
2007-08-22my mistake found by robertrsc1-1/+1
2007-08-22NREQUEST = NBUFrsc1-1/+1
2007-08-22better commentrsc1-7/+3
2007-08-22tweaksrsc3-23/+23
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc25-665/+633
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-22cleanuprsc1-14/+12
2007-08-22add lnrsc2-1/+20
2007-08-22check unlink of non-empty directoryrsc1-5/+27
2007-08-21ARGMAX -> MAXARGSrsc1-3/+3
2007-08-21remove namelen parameterrsc2-71/+82
2007-08-21remove dead codersc1-16/+0
2007-08-21Various cleanup:rsc12-414/+455
- 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-20bug in usertests!rsc1-2/+2
2007-08-20checkpoint - simpler namei interfacersc4-121/+135
2007-08-20no more wrsc1-6/+6
2007-08-20shuffle fs.c in bottom-up orderrsc5-320/+316
2007-08-14cleanup looprsc1-12/+10
2007-08-14formatting, cleanuprsc1-57/+55
2007-08-14formattingrsc1-0/+2
2007-08-14nitrsc1-1/+0
2007-08-14fixesrsc1-7/+7
2007-08-14formatting; split kbd constants into kbd.hrsc3-184/+177
2007-08-14i cannot prove that release before wakeup is wrong, but i cannot convince ↵rsc1-8/+2
myself it is right either
2007-08-14formatting, simplifyrsc1-24/+17
2007-08-14formatting, sleep bug fixrsc1-1/+7
2007-08-14formattingrsc6-4/+63
2007-08-14ide_write unused => gonersc1-27/+0
2007-08-14Gcc expects to be able to pick up the returnrsc1-4/+11
address off the stack, so put one there for it. (Bug was hidden by bad segment limits.)
2007-08-14Because limit gives the address of the last addressablersc1-4/+4
byte in the segment, the limit argument to SEG16 and SEG needs to have 1 subtracted from it.
2007-08-14dittorsc1-1/+1
2007-08-14Cannot use "g" as an arg constraint becausersc1-1/+1
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-08-10add test for rm .rsc2-3/+41
2007-08-10nitrsc1-2/+2
2007-08-10correct line numbersrsc1-1/+4
2007-08-10add notersc2-3/+9
2007-08-10and spinlockrsc1-1/+4
2007-08-10avoid assignments in declarationsrsc8-36/+44
2007-08-10replace bogus loops with slightly less bogus loops.rsc1-5/+3
2007-08-10tweak kallocrsc1-7/+7
2007-08-10cleanup mainrsc1-12/+18