summaryrefslogtreecommitdiff
path: root/spinlock.h
AgeCommit message (Collapse)Author
2006-09-07more commentsrsc
2006-08-29clean up stale error checks and panicsrtm
delete unused functions a few comments
2006-08-10interrupts could be recursive since lapic_eoi() called before rtirtm
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-08fix race in holding() check in acquire()rtm
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
2006-07-29open()rtm
2006-07-20uint32_t -> uint &crtm
2006-07-17add ide_lock for sleeprsc
2006-07-17add uint and standardize on typedefs instead of unsignedrsc
2006-07-15no more recursive locksrtm
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
2006-07-12i think my cmpxchg use was wrong in acquirertm
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)
2006-07-12cvs add spinlock.hrtm
fix race in schedule()