Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-08-12 | Wrap state of disk driver in a struct so that it is easier to support | Frans Kaashoek | 1 | -69/+71 | |
several disks (e.g., in a mount lab). | |||||
2019-08-02 | syscall lab nits | Robert Morris | 1 | -2/+0 | |
2019-08-01 | Merge branch 'riscv-bcache' into riscv | Frans Kaashoek | 5 | -31/+43 | |
2019-08-01 | fences for starting | Robert Morris | 1 | -0/+2 | |
2019-07-30 | cut ramdisk | Robert Morris | 1 | -3/+0 | |
2019-07-30 | Track in buf if disk "owns" buffer | Frans Kaashoek | 2 | -3/+5 | |
2019-07-30 | Make pin/unpin explicit | Frans Kaashoek | 3 | -2/+20 | |
2019-07-30 | The driver should free descriptors, not interrupt handler. This | Frans Kaashoek | 1 | -3/+3 | |
avoids handler freeing descriptors before driver sees that the request has completed. | |||||
2019-07-29 | Remove B_DIRTY | Frans Kaashoek | 5 | -27/+19 | |
Use refcnt to pin blocks into the cache Replace flags/B_VALID with a boolean field valid Use info[id].status to signal completion of disk interrupt Pass a read/write flag to virtio_disk_rw | |||||
2019-07-28 | separate out timer init code for clarity | Robert Morris | 1 | -10/+24 | |
2019-07-28 | xxx | Robert Morris | 1 | -2/+3 | |
2019-07-28 | argptr no longer needed, since copyin checks | Robert Morris | 3 | -26/+11 | |
2019-07-27 | cleaner UART register interface | Robert Morris | 2 | -26/+40 | |
2019-07-27 | console/uart tweaks | Robert Morris | 3 | -7/+20 | |
2019-07-27 | beautify console.c | Robert Morris | 3 | -35/+68 | |
2019-07-27 | split printf into a separate file, to make console.c more like a driver | Robert Morris | 4 | -134/+167 | |
2019-07-26 | fetchint isn't used any more | Robert Morris | 2 | -14/+0 | |
2019-07-26 | ??? | Robert Morris | 2 | -3/+4 | |
2019-07-26 | machinevec -> timervec | Robert Morris | 5 | -25/+26 | |
2019-07-26 | uservec before userret in trampoline, to match book and kernelvec | Robert Morris | 3 | -63/+69 | |
2019-07-26 | Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv | Robert Morris | 1 | -3/+3 | |
2019-07-26 | trampin -> uservec | Robert Morris | 6 | -17/+18 | |
trampout -> userret | |||||
2019-07-25 | a few name changes in panic msg | Frans Kaashoek | 1 | -3/+3 | |
2019-07-25 | fix an exit/exit deadlock -> one more locking protocol violation | Robert Morris | 2 | -14/+19 | |
increase timer rate from 1/second to 10/second | |||||
2019-07-25 | purge x86 stuff from defs.h | Robert Morris | 1 | -30/+0 | |
2019-07-25 | comments for timer setup | Robert Morris | 4 | -8/+23 | |
2019-07-24 | rationalize some vm function names | Robert Morris | 5 | -60/+60 | |
2019-07-24 | ??? | Robert Morris | 1 | -5/+5 | |
2019-07-24 | no more PAGEBREAK | Robert Morris | 11 | -30/+7 | |
2019-07-24 | ping-pong exercise | Robert Morris | 1 | -5/+5 | |
2019-07-24 | display assembly instructions, to help with first.tex exercise | Robert Morris | 2 | -1/+2 | |
2019-07-23 | mstart -> start | Robert Morris | 3 | -7/+5 | |
2019-07-23 | simplify kernel mapping calls | Robert Morris | 7 | -42/+46 | |
2019-07-23 | a few core -> CPU | Robert Morris | 3 | -5/+6 | |
get rid of PDF generating support | |||||
2019-07-23 | one more TRAMPOLINE | Frans Kaashoek | 1 | -1/+1 | |
2019-07-22 | fix mapkstack | Frans Kaashoek | 3 | -5/+5 | |
2019-07-22 | Clear U bit for second stack page so that it functions as a guard page | Frans Kaashoek | 3 | -1/+13 | |
2019-07-22 | nit | Robert Morris | 1 | -2/+2 | |
2019-07-22 | -MD and TRAPFRAME | Robert Morris | 4 | -11/+16 | |
2019-07-22 | Allocate 2 pages per proc, with the top one unmapped. | Frans Kaashoek | 1 | -1/+1 | |
The page below the last proc is unmapped by default (because the kernel doesn't map anything right below the kernel stacks). | |||||
2019-07-22 | Merge branch 'riscv-kstack' into riscv | Frans Kaashoek | 5 | -14/+43 | |
2019-07-20 | not much | Robert Morris | 1 | -5/+4 | |
2019-07-20 | pi for pipe, rather than p, to avoid confusion with proc's p->lock | Robert Morris | 2 | -58/+51 | |
2019-07-20 | not much | Robert Morris | 1 | -2/+2 | |
2019-07-19 | it's not clear that the release will always enable interrupts | Robert Morris | 1 | -3/+3 | |
2019-07-19 | x | Frans Kaashoek | 1 | -1/+2 | |
2019-07-19 | with per-proc locks, we don't need the intr_on() inside the loop. | Robert Morris | 1 | -3/+3 | |
2019-07-19 | no need to save/restore 14 | Robert Morris | 1 | -2/+0 | |
2019-07-19 | One way of supporting a guard page below kstack: allocate kstacks in | Frans Kaashoek | 5 | -14/+42 | |
procinit() and map them high up (below TRAMPOLNE) with an empty mapping below each stack. Never free a kernel stack. Another way would be to allocate and map them dynamically, but then we need to reload page table when switching processes in scheduler() and/or have a kernel pagetable per proc (if we want k->stack to be the same virtual address in each process). One gotcha: kernel addresses are not equal to physical addresses for stack addresses. A stack address must be translated if we need its physical address (e.g., virtio passes a stack address to the disk). | |||||
2019-07-17 | Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv | Frans Kaashoek | 11 | -117/+146 | |