summaryrefslogtreecommitdiff
path: root/spinlock.h
AgeCommit message (Collapse)AuthorFilesLines
2006-08-29clean up stale error checks and panicsrtm1-1/+0
delete unused functions a few comments
2006-08-10interrupts could be recursive since lapic_eoi() called before rtirtm1-1/+2
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-08fix race in holding() check in acquire()rtm1-1/+1
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()rtm1-0/+1
2006-07-20uint32_t -> uint &crtm1-1/+1
2006-07-17add ide_lock for sleeprsc1-1/+2
2006-07-17add uint and standardize on typedefs instead of unsignedrsc1-2/+2
2006-07-15no more recursive locksrtm1-2/+0
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 acquirertm1-1/+1
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.hrtm1-0/+6
fix race in schedule()