summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2007-08-10various cleanupsrsc1-55/+42
2007-08-10Make cp a magic symbol.rsc10-41/+32
2007-08-10move variable declaration uprsc1-2/+3
2007-08-09The final curproc[cpu()] is now cprsc1-4/+3
2007-08-09Clearer nameirsc1-69/+106
2007-08-09oopsrsc1-1/+1
2007-08-09try to use cp only for curproc[cpu()]rsc4-36/+37
2007-08-09spacingrsc1-4/+4
2007-08-08notesrsc1-0/+13
2007-08-08check p->killed for long-lived sleepsrsc3-4/+10
2007-08-082007rsc1-3/+3
2007-08-08help gccrsc1-1/+1
2007-08-08move ialloc body up, avoiding double check for end of looprsc1-11/+7
2007-08-08panic like bgetrsc1-1/+1
2007-08-08refactor bget to be more like iget - make it clear that sleep loopsrsc1-27/+28
2007-08-08unusedrsc1-1/+0