diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-04-30 17:44:56 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-04-30 17:44:56 -0700 |
commit | af5e124a62e832ad7ccd0fc9b16f2438feee76a6 (patch) | |
tree | 2f2c71f168f5f75c8cff2c9aceeee668dd72f521 /encoding.h | |
parent | 2baef21d8e21d7c2116ab072faa598fc958d35ae (diff) | |
download | riscv-opcodes-af5e124a62e832ad7ccd0fc9b16f2438feee76a6.zip riscv-opcodes-af5e124a62e832ad7ccd0fc9b16f2438feee76a6.tar.gz riscv-opcodes-af5e124a62e832ad7ccd0fc9b16f2438feee76a6.tar.bz2 |
Remove mcfgaddr; change memory map
Diffstat (limited to 'encoding.h')
-rw-r--r-- | encoding.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -67,9 +67,12 @@ #define IRQ_COP 12 #define IRQ_HOST 13 -#define DEFAULT_RSTVEC 0x0 -#define DEFAULT_NMIVEC 0x4 -#define DEFAULT_MTVEC 0x8 +#define DEFAULT_RSTVEC 0x00001000 +#define DEFAULT_NMIVEC 0x00001004 +#define DEFAULT_MTVEC 0x00001010 +#define CONFIG_STRING_ADDR 0x0000100C +#define EXT_IO_BASE 0x40000000 +#define DRAM_BASE 0x80000000 // page table entry (PTE) fields #define PTE_V 0x001 // Valid |