summaryrefslogtreecommitdiff
path: root/memlayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'memlayout.h')
-rw-r--r--memlayout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memlayout.h b/memlayout.h
index 9782ff1..1a6b200 100644
--- a/memlayout.h
+++ b/memlayout.h
@@ -15,6 +15,7 @@
// qemu puts UART registers here in physical memory.
#define UART0 0x10000000L
+#define UART0_IRQ 10
// qemu puts programmable interrupt controller here.
#define PLIC 0x0c000000L