diff options
author | Robert Morris <[email protected]> | 2019-06-03 14:13:07 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-06-03 14:13:07 -0400 |
commit | a9c1a6f742886a9d45e5c625cf4f9b1b5c7a8cc4 (patch) | |
tree | ff50c8aa95dbdc5f35954e586933ad63676c69c4 /memlayout.h | |
parent | 50cbc7510250a64674d619d13f5912edf08b767d (diff) | |
download | xv6-labs-a9c1a6f742886a9d45e5c625cf4f9b1b5c7a8cc4.tar.gz xv6-labs-a9c1a6f742886a9d45e5c625cf4f9b1b5c7a8cc4.tar.bz2 xv6-labs-a9c1a6f742886a9d45e5c625cf4f9b1b5c7a8cc4.zip |
takes one uart input interrupt, then panics
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 |