X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=riscv%2Fprocessor.h;h=6e8d684ae573adb2220041c6ac4a835787475e83;hb=4f8b6a69484bd901f213d9a73ea29d26c8022dfd;hp=4d94d5b42a9a181886c4a520fead3cd0edf67a97;hpb=84e1ac19ed5a69224aa8c3f920e3840fbc670771;p=riscv-isa-sim.git diff --git a/riscv/processor.h b/riscv/processor.h index 4d94d5b..6e8d684 100644 --- a/riscv/processor.h +++ b/riscv/processor.h @@ -8,6 +8,7 @@ #include #include #include +#include "debug_rom/debug_rom_defines.h" class processor_t; class mmu_t; @@ -193,11 +194,6 @@ public: bool slow_path(); bool halted() { return state.dcsr.cause ? true : false; } bool halt_request; - // The unique debug rom address that this hart jumps to when entering debug - // mode. Rely on the fact that spike hart IDs start at 0 and are consecutive. - uint32_t debug_rom_entry() { - return DEBUG_ROM_ENTRY + 4 * id; - } // Return the index of a trigger that matched, or -1. inline int trigger_match(trigger_operation_t operation, reg_t address, reg_t data)