From 6eae1be7550ecdc85269ce57c4a2f2dd0e9297b9 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Mon, 3 Jun 2019 15:23:12 -0400 Subject: push/pop all registers when handling interrupt from kernel --- memlayout.h | 1 + 1 file changed, 1 insertion(+) (limited to 'memlayout.h') 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 -- cgit v1.2.3