summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-21ARGMAX -> MAXARGSrsc
2007-08-21remove namelen parameterrsc
2007-08-21remove dead codersc
2007-08-21Various cleanup: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-08-20bug in usertests!rsc
2007-08-20checkpoint - simpler namei interfacersc
2007-08-20no more wrsc
2007-08-20shuffle fs.c in bottom-up orderrsc
2007-08-14cleanup looprsc
2007-08-14formatting, cleanuprsc
2007-08-14formattingrsc
2007-08-14nitrsc
2007-08-14fixesrsc
2007-08-14formatting; split kbd constants into kbd.hrsc
2007-08-14i cannot prove that release before wakeup is wrong, but i cannot convince ↵rsc
myself it is right either
2007-08-14formatting, simplifyrsc
2007-08-14formatting, sleep bug fixrsc
2007-08-14formattingrsc
2007-08-14ide_write unused => gonersc
2007-08-14Gcc expects to be able to pick up the returnrsc
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 addressablersc
byte in the segment, the limit argument to SEG16 and SEG needs to have 1 subtracted from it.
2007-08-14dittorsc
2007-08-14Cannot use "g" as an arg constraint becausersc
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 .rsc
2007-08-10nitrsc
2007-08-10correct line numbersrsc
2007-08-10add notersc
2007-08-10and spinlockrsc
2007-08-10avoid assignments in declarationsrsc
2007-08-10replace bogus loops with slightly less bogus loops.rsc
2007-08-10tweak kallocrsc
2007-08-10cleanup mainrsc
2007-08-10various cleanupsrsc
2007-08-10Make cp a magic symbol.rsc
2007-08-10move variable declaration uprsc
2007-08-09The final curproc[cpu()] is now cprsc
2007-08-09Clearer nameirsc
2007-08-09oopsrsc
2007-08-09try to use cp only for curproc[cpu()]rsc
2007-08-09spacingrsc
2007-08-08notesrsc
2007-08-08check p->killed for long-lived sleepsrsc
2007-08-082007rsc
2007-08-08help gccrsc
2007-08-08move ialloc body up, avoiding double check for end of looprsc
2007-08-08panic like bgetrsc
2007-08-08refactor bget to be more like iget - make it clear that sleep loopsrsc
2007-08-08unusedrsc
2007-08-08cleaner tablersc
2007-08-08cleaner tablersc