diff options
-rw-r--r-- | kernel/memlayout.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/memlayout.h b/kernel/memlayout.h index 776f98c..cac3cb1 100644 --- a/kernel/memlayout.h +++ b/kernel/memlayout.h @@ -34,11 +34,8 @@ #define PLIC 0x0c000000L #define PLIC_PRIORITY (PLIC + 0x0) #define PLIC_PENDING (PLIC + 0x1000) -#define PLIC_MENABLE(hart) (PLIC + 0x2000 + (hart)*0x100) #define PLIC_SENABLE(hart) (PLIC + 0x2080 + (hart)*0x100) -#define PLIC_MPRIORITY(hart) (PLIC + 0x200000 + (hart)*0x2000) #define PLIC_SPRIORITY(hart) (PLIC + 0x201000 + (hart)*0x2000) -#define PLIC_MCLAIM(hart) (PLIC + 0x200004 + (hart)*0x2000) #define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart)*0x2000) // the kernel expects there to be RAM |