Skip to content
Snippets Groups Projects
  1. Oct 08, 2008
  2. Aug 28, 2007
    • rsc's avatar
      final nits · bf2932a6
      rsc authored
      bf2932a6
    • rsc's avatar
      spaces around else for rtm · 5516be1f
      rsc authored
      5516be1f
    • rsc's avatar
      more consistent spacing · e4d6a211
      rsc authored
      e4d6a211
    • rsc's avatar
      · d844f0f9
      rsc authored
      Change dev read/write functions
      to take inode* instead of minor number.
      
      Unlock console inode during console_read
      and console_write.  Otherwise background
      processes cannot write to console while the
      shell is reading it waiting for input.
      d844f0f9
  3. Aug 27, 2007
    • rsc's avatar
      nit · 3341e30f
      rsc authored
      3341e30f
    • rsc's avatar
      · 8970df0c
      rsc authored
      No one is going to find this inode.
      There is only one ref to it -- the caller --
      and no links to it.
      8970df0c
    • rsc's avatar
      delete unnecessary #include lines · 558ab49f
      rsc authored
      558ab49f
    • rsc's avatar
      nits · 7895178d
      rsc authored
      7895178d
    • rsc's avatar
      tell what an inode is · 6c34f97c
      rsc authored
      6c34f97c
    • rsc's avatar
      · a505fd66
      rsc authored
      FS cleanup.
      
      Add utility routines bzero, readsb so that balloc, bfree fit on one page.
      Make balloc loop clearer.
      a505fd66
  4. Aug 24, 2007
  5. Aug 21, 2007
    • rsc's avatar
      tweaks · f0721f1b
      rsc authored
      f0721f1b
    • rsc's avatar
      · eaea18cb
      rsc authored
      PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf
      
      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
      remove namelen parameter · fbf91039
      rsc authored
      fbf91039
    • rsc's avatar
      · f32f3638
      rsc authored
      Various cleanup:
      
       - 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
  6. Aug 20, 2007
  7. Aug 10, 2007
  8. Aug 09, 2007
  9. Aug 08, 2007
  10. Sep 08, 2006
  11. Sep 07, 2006
  12. Sep 06, 2006
Loading