1. 2007年 8月 22日 11 次提交
    • rsc's avatar
      NREQUEST = NBUF · e9ddc7c0
      rsc 提交于
      e9ddc7c0
    • rsc's avatar
      better comment · 15868c4b
      rsc 提交于
      15868c4b
    • rsc's avatar
      tweaks · f0721f1b
      rsc 提交于
      f0721f1b
    • rsc's avatar
      PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf · eaea18cb
      rsc 提交于
      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
      eaea18cb
    • rsc's avatar
      cleanup · 3dcf889c
      rsc 提交于
      3dcf889c
    • rsc's avatar
      add ln · 6bf2e5c8
      rsc 提交于
      6bf2e5c8
    • rsc's avatar
      check unlink of non-empty directory · c88bf235
      rsc 提交于
      c88bf235
    • rsc's avatar
      ARGMAX -> MAXARGS · bd39955e
      rsc 提交于
      bd39955e
    • rsc's avatar
      remove namelen parameter · fbf91039
      rsc 提交于
      fbf91039
    • rsc's avatar
      remove dead code · 0073beee
      rsc 提交于
      0073beee
    • rsc's avatar
      Various cleanup: · f32f3638
      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].
      f32f3638
  2. 2007年 8月 21日 4 次提交
  3. 2007年 8月 15日 10 次提交
  4. 2007年 8月 14日 5 次提交
    • rsc's avatar
      ide_write unused => gone · 29ff8d49
      rsc 提交于
      29ff8d49
    • rsc's avatar
      Gcc expects to be able to pick up the return · 8c4b5fc5
      rsc 提交于
      address off the stack, so put one there for it.
      (Bug was hidden by bad segment limits.)
      8c4b5fc5
    • rsc's avatar
      Because limit gives the address of the last addressable · 2ef3a64b
      rsc 提交于
      byte in the segment, the limit argument to SEG16 and SEG
      needs to have 1 subtracted from it.
      2ef3a64b
    • rsc's avatar
      ditto · 64659055
      rsc 提交于
      64659055
    • rsc's avatar
      Cannot use "g" as an arg constraint because · 3163085a
      rsc 提交于
      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.
      3163085a
  5. 2007年 8月 11日 10 次提交