From b1fb2d55c598d89e5a29c569da546b74f99a8bbc Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 1 Oct 2019 20:17:06 -0700 Subject: arch-mips,arch-riscv,base: Get rid of the unused HexFile class. A pointer to it was set up in the MIPS and RISCV system classes, but nothing ever set that pointer. The class was put in base/loader, but didn't have anything to do (as far as I can see) with loading anything it had a loadSegments method, but was not a subclass of ObjectFile. Change-Id: I4b711a31df20e20ffc306709227f60aa020fca15 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21464 Tested-by: kokoro Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/arch/riscv/system.hh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/arch/riscv/system.hh') diff --git a/src/arch/riscv/system.hh b/src/arch/riscv/system.hh index 85b8d6a4b..7bff5cd45 100644 --- a/src/arch/riscv/system.hh +++ b/src/arch/riscv/system.hh @@ -38,7 +38,6 @@ #include #include -#include "base/loader/hex_file.hh" #include "base/loader/symtab.hh" #include "cpu/pc_event.hh" #include "kern/system_events.hh" @@ -80,9 +79,6 @@ class RiscvSystem : public System /** Object pointer for the console code */ ObjectFile *console; - /** Used by some Bare Iron Configurations */ - HexFile *hexFile; - #ifndef NDEBUG /** Event to halt the simulator if the console calls panic() */ BreakPCEvent *consolePanicEvent; -- cgit v1.2.3