Skip to content
Snippets Groups Projects
  1. Aug 21, 2007
    • 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 dead code · 0073beee
      rsc authored
      0073beee
    • 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
  2. Aug 20, 2007
  3. Aug 13, 2007
    • rsc's avatar
      · 8c4b5fc5
      rsc authored
      Gcc expects to be able to pick up the return
      address off the stack, so put one there for it.
      (Bug was hidden by bad segment limits.)
      8c4b5fc5
  4. Aug 10, 2007
  5. Aug 08, 2007
  6. Sep 08, 2006
  7. Sep 07, 2006
  8. Sep 06, 2006
  9. Aug 29, 2006
  10. Aug 15, 2006
  11. Aug 12, 2006
    • rtm's avatar
      link() · 9e5970d5
      rtm authored
      9e5970d5
  12. Aug 11, 2006
  13. Aug 10, 2006
  14. Aug 09, 2006
    • rtm's avatar
      low-level keyboard input (not hooked up to /dev yet) · 8a8be1b8
      rtm authored
      fix acquire() to cli() *before* incrementing nlock
      make T_SYSCALL a trap gate, not an interrupt gate
      sadly, various crashes if you hold down a keyboard key...
      8a8be1b8
    • kaashoek's avatar
      devsw · 6fa5ffb5
      kaashoek authored
      checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works
      6fa5ffb5
  15. Aug 08, 2006
    • rtm's avatar
      fix race in holding() check in acquire() · 0e84a0ec
      rtm authored
      give cpu1 a TSS and gdt for when it enters scheduler()
      and a pseudo proc[] entry for each cpu
      cpu0 waits for each other cpu to start up
      read() for files
      0e84a0ec
  16. Aug 04, 2006
  17. Jul 29, 2006
    • rtm's avatar
      open() · 32630628
      rtm authored
      32630628
  18. Jul 27, 2006
  19. Jul 20, 2006
  20. Jul 16, 2006
Loading