summaryrefslogtreecommitdiff
path: root/kernel/memlayout.h
AgeCommit message (Collapse)AuthorFilesLines
2023-09-083rd labRobert Morris1-1/+16
2022-09-18Remove unused PLIC_M* macrosFrans Kaashoek1-3/+0
2020-10-03Clarify CLINT and PLIC acronymFrans Kaashoek1-2/+2
2020-08-10rename p->tf to p->trapframe, for consistency with p->contextRobert Morris1-1/+1
2019-07-30cut ramdiskRobert Morris1-3/+0
2019-07-25comments for timer setupRobert Morris1-1/+1
2019-07-23simplify kernel mapping callsRobert Morris1-0/+3
2019-07-22-MD and TRAPFRAMERobert Morris1-1/+12
2019-07-22Allocate 2 pages per proc, with the top one unmapped.Frans Kaashoek1-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-19One way of supporting a guard page below kstack: allocate kstacks inFrans Kaashoek1-0/+1
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-06-13clean up virtio codeRobert Morris1-2/+2
2019-06-13eliminate ramdiskRobert Morris1-0/+1
2019-06-13virtio disk driverRobert Morris1-1/+5
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris1-0/+50