diff options
Diffstat (limited to 'riscv/platform.h')
-rw-r--r-- | riscv/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/platform.h b/riscv/platform.h index 6618d44..4321e84 100644 --- a/riscv/platform.h +++ b/riscv/platform.h @@ -5,6 +5,10 @@ #define DEFAULT_RSTVEC 0x00001000 #define CLINT_BASE 0x02000000 #define CLINT_SIZE 0x000c0000 +#define PLIC_BASE 0x0c000000 +#define PLIC_SIZE 0x01000000 +#define PLIC_NDEV 31 +#define PLIC_PRIO_BITS 4 #define EXT_IO_BASE 0x40000000 #define DRAM_BASE 0x80000000 |