aboutsummaryrefslogtreecommitdiff
path: root/encoding.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-04-30 17:44:56 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-04-30 17:44:56 -0700
commitaf5e124a62e832ad7ccd0fc9b16f2438feee76a6 (patch)
tree2f2c71f168f5f75c8cff2c9aceeee668dd72f521 /encoding.h
parent2baef21d8e21d7c2116ab072faa598fc958d35ae (diff)
downloadriscv-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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/encoding.h b/encoding.h
index f32456a..14f7816 100644
--- a/encoding.h
+++ b/encoding.h
@@ -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