diff options
author | Robert Morris <[email protected]> | 2019-06-03 15:23:12 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-06-03 15:23:12 -0400 |
commit | 6eae1be7550ecdc85269ce57c4a2f2dd0e9297b9 (patch) | |
tree | 9a168c1fed57523f1683799ce5fb555629a29942 /memlayout.h | |
parent | e630e0743b8c1a0f9ebca702811bd59065c9f457 (diff) | |
download | xv6-labs-6eae1be7550ecdc85269ce57c4a2f2dd0e9297b9.tar.gz xv6-labs-6eae1be7550ecdc85269ce57c4a2f2dd0e9297b9.tar.bz2 xv6-labs-6eae1be7550ecdc85269ce57c4a2f2dd0e9297b9.zip |
push/pop all registers when handling interrupt from kernel
Diffstat (limited to 'memlayout.h')
-rw-r--r-- | memlayout.h | 1 |
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 |