diff options
Diffstat (limited to 'kernel/memlayout.h')
-rw-r--r-- | kernel/memlayout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/memlayout.h b/kernel/memlayout.h index ace0464..fdfeab7 100644 --- a/kernel/memlayout.h +++ b/kernel/memlayout.h @@ -29,7 +29,7 @@ // local interrupt controller, which contains the timer. #define CLINT 0x2000000L #define CLINT_MTIMECMP(hartid) (CLINT + 0x4000 + 8*(hartid)) -#define CLINT_MTIME (CLINT + 0xBFF8) +#define CLINT_MTIME (CLINT + 0xBFF8) // cycles since boot. // qemu puts programmable interrupt controller here. #define PLIC 0x0c000000L |