summaryrefslogtreecommitdiff
path: root/kernel/trap.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-11cosmetic changesRobert Morris1-6/+14
2019-07-10have kill() lock before looking at p->pidRobert Morris1-0/+3
document wait()'s use of np->parent w/o holding lock.
2019-07-10tweak some comments.Robert Morris1-1/+1
2019-07-02Merge branch 'riscv' into riscv-procFrans Kaashoek1-7/+20
2019-07-02Checkpoint switching to per-process locks, in attempt clarify xv6'sFrans Kaashoek1-1/+1
locking plan, which is a difficult to understand because ptable lock protects many invariants. This implementation has a bug: once in a while xv6 unlocks a proc lock that is locked by another core.
2019-07-02don't enable interrupts until done with sstatus, scause, &cRobert Morris1-4/+6
2019-07-01timer interrupt in the kernel -> yieldRobert Morris1-3/+14
2019-06-13clean up virtio codeRobert Morris1-1/+1
2019-06-13virtio disk driverRobert Morris1-0/+2
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris1-0/+184