diff --git a/src/arch/mips/system.hh b/src/arch/mips/system.hh index eb28b3b2f2..c48faa1bad 100644 --- a/src/arch/mips/system.hh +++ b/src/arch/mips/system.hh @@ -66,22 +66,9 @@ class MipsSystem : public System /** Object pointer for the console code */ ObjectFile *console; -#ifndef NDEBUG - /** Event to halt the simulator if the console calls panic() */ - BreakPCEvent *consolePanicEvent; -#endif - protected: const Params *params() const { return (const Params *)_params; } - /** Add a function-based event to the console code. */ - template - T * - addConsoleFuncEvent(const char *lbl) - { - return addFuncEvent(consoleSymtab, lbl); - } - virtual Addr fixFuncEventAddr(Addr addr); }; diff --git a/src/arch/riscv/system.hh b/src/arch/riscv/system.hh index 7bff5cd45c..78638d0ad3 100644 --- a/src/arch/riscv/system.hh +++ b/src/arch/riscv/system.hh @@ -79,22 +79,9 @@ class RiscvSystem : public System /** Object pointer for the console code */ ObjectFile *console; -#ifndef NDEBUG - /** Event to halt the simulator if the console calls panic() */ - BreakPCEvent *consolePanicEvent; -#endif - protected: const Params *params() const { return (const Params *)_params; } - /** Add a function-based event to the console code. */ - template - T * - addConsoleFuncEvent(const char *lbl) - { - return addFuncEvent(consoleSymtab, lbl); - } - virtual Addr fixFuncEventAddr(Addr addr); };