diff options
Diffstat (limited to 'memlayout.h')
-rw-r--r-- | memlayout.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/memlayout.h b/memlayout.h index 9bc9c5d..9782ff1 100644 --- a/memlayout.h +++ b/memlayout.h @@ -13,9 +13,12 @@ // end -- start of kernel page allocation area // PHYSTOP -- end RAM used by the kernel -// registers start here in physical memory. +// qemu puts UART registers here in physical memory. #define UART0 0x10000000L +// qemu puts programmable interrupt controller here. +#define PLIC 0x0c000000L + #define RAMDISK 0x88000000 // the kernel expects there to be RAM |