diff options
Diffstat (limited to 'riscv/decode.h')
-rw-r--r-- | riscv/decode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/riscv/decode.h b/riscv/decode.h index d1254ee..b59ee78 100644 --- a/riscv/decode.h +++ b/riscv/decode.h @@ -14,6 +14,7 @@ #include "config.h" #include "common.h" #include <cinttypes> +#include "debug_rom.h" typedef int64_t sreg_t; typedef uint64_t reg_t; @@ -236,7 +237,9 @@ private: #define DCSR_CAUSE_STEPPED 4 #define DCSR_CAUSE_HALT 5 -#define DEBUG_RAM 0xfffffc00 // TODO: 0x400 -#define DEBUG_ROM_ENTRY 0xfffff800 // TODO: 0x800 +#define DEBUG_RAM_START 0xfffffffffffffc00 // TODO: 0x400 +#define DEBUG_RAM_END (DEBUG_RAM_START + 64) +#define DEBUG_ROM_START 0xfffffffffffff800 // TODO: 0x800 +#define DEBUG_ROM_END (DEBUG_ROM_START + debug_rom_raw_len) #endif |