Skip to content
Snippets Groups Projects
  1. Aug 26, 2011
  2. Aug 30, 2009
    • Russ Cox's avatar
      assorted fixes: · 48755214
      Russ Cox authored
       * rename c/cp to cpu/proc
       * rename cpu.context to cpu.scheduler
       * fix some comments
       * formatting for printout
      48755214
  3. Aug 20, 2008
  4. Aug 27, 2007
  5. Sep 07, 2006
  6. Aug 29, 2006
  7. Aug 10, 2006
  8. 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
  9. Jul 29, 2006
    • rtm's avatar
      open() · 32630628
      rtm authored
      32630628
  10. Jul 20, 2006
  11. Jul 16, 2006
  12. Jul 15, 2006
    • 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
  13. Jul 12, 2006
    • 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
    • rtm's avatar
      cvs add spinlock.h · 66432474
      rtm authored
      fix race in schedule()
      66432474
Loading