aboutsummaryrefslogtreecommitdiff
path: root/riscv/debug_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/debug_module.h')
-rw-r--r--riscv/debug_module.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/riscv/debug_module.h b/riscv/debug_module.h
index 734a2a3..d7c1a87 100644
--- a/riscv/debug_module.h
+++ b/riscv/debug_module.h
@@ -9,11 +9,8 @@
class debug_module_t : public abstract_device_t
{
public:
- debug_module_t();
-
bool load(reg_t addr, size_t len, uint8_t* bytes);
bool store(reg_t addr, size_t len, const uint8_t* bytes);
- char* page(reg_t paddr);
void ram_write32(unsigned int index, uint32_t value);
uint32_t ram_read32(unsigned int index);
@@ -33,8 +30,7 @@ class debug_module_t : public abstract_device_t
private:
// Track which interrupts from module to debugger are set.
std::set<uint32_t> interrupt;
- // TODO: use PGSIZE, which requires solving some circular include dependencies.
- char raw_page[4096];
+ char debug_ram[DEBUG_RAM_SIZE];
};
#endif