Skip to content
Snippets Groups Projects
  1. Aug 23, 2006
  2. Aug 22, 2006
    • kaashoek's avatar
      i/o redirection in sh · 8b58e810
      kaashoek authored
      better parsing of sh commands (copied from jos sh)
      cat: read from 1 if no args
      sbrk system call, but untested
      getpid system call
      moved locks in keyboard intr, but why do we get intr w. null characters from keyboard?
      8b58e810
  3. Aug 19, 2006
  4. Aug 15, 2006
  5. Aug 13, 2006
    • rtm's avatar
      namei returns locked parent dir inode for create / unlink · 211ff0c6
      rtm authored
      don't hold fd table lock across idecref() (latter does block i/o)
      idecref calls iput() in case last ref -> freeing inode
      dir size is 512 * # blocks, so readi/writei &c work
      unlink deletes dirent even if ip->nlink > 0
      211ff0c6
  6. Aug 12, 2006
  7. Aug 11, 2006
  8. Aug 10, 2006
  9. 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
      printf · 28d9ef04
      kaashoek authored
      convert userfs to use printf
      bfree
      ifree
      writei
      start on unlink
      28d9ef04
    • kaashoek's avatar
      devsw · 6fa5ffb5
      kaashoek authored
      checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works
      6fa5ffb5
  10. Aug 08, 2006
  11. Aug 06, 2006
  12. Aug 04, 2006
  13. Jul 29, 2006
    • rtm's avatar
      open() · 32630628
      rtm authored
      32630628
  14. Jul 27, 2006
  15. Jul 21, 2006
    • rtm's avatar
      namei · 9d3fb671
      rtm authored
      9d3fb671
    • rtm's avatar
      bread · 11a9947f
      rtm authored
      iget
      mkfs makes a file system image
      put this in your .bochsrc:
      ata0-slave: type=disk, mode=flat, path="fs.img", cylinders=1024, heads=1, spt=1
      11a9947f
  16. Jul 20, 2006
  17. Jul 16, 2006
  18. Jul 15, 2006
    • rsc's avatar
      · 51716a86
      rsc authored
      Rename fd_reference to more suggestive fd_incref.
      (Fd_reference sounds like it might just return the ref count.)
      51716a86
    • rsc's avatar
      · 856e1fc1
      rsc authored
      Attempt to clean up newproc somewhat.
      
      Also remove all calls to memcpy in favor of
      memmove, which has defined semantics when
      the ranges overlap.  The fact that memcpy was
      working in console.c to scroll the screen is not
      guaranteed by all implementations.
      856e1fc1
    • rsc's avatar
      · 65bd8e13
      rsc authored
      New scheduler.
      
      Removed cli and sti stack in favor of tracking
      number of locks held on each CPU and explicit
      conditionals in spinlock.c.
      65bd8e13
    • rsc's avatar
      643b122b
    • rtm's avatar
      no more recursive locks · 46bbd72f
      rtm authored
      wakeup1() assumes you hold proc_table_lock
      sleep(chan, lock) provides atomic sleep-and-release to wait for condition
      ugly code in swtch/scheduler to implement new sleep
      fix lots of bugs in pipes, wait, and exit
      fix bugs if timer interrupt goes off in schedule()
      console locks per line, not per byte
      46bbd72f
  19. Jul 12, 2006
    • kaashoek's avatar
      extract lapic code from mp.c · f27a68a2
      kaashoek authored
      f27a68a2
    • rtm's avatar
      i think my cmpxchg use was wrong in acquire · 8148b6ee
      rtm authored
      nesting cli/sti: release shouldn't always enable interrupts
      separate setup of lapic from starting of other cpus, so cpu() works earlier
      flag to disable locking in console output
      make locks work even when curproc==0
      (still crashes in clock interrupt)
      8148b6ee
Loading