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/mips/system.cc | 1 - src/arch/mips/system.hh | 4 ---- 2 files changed, 5 deletions(-) (limited to 'src/arch/mips') diff --git a/src/arch/mips/system.cc b/src/arch/mips/system.cc index 815674702..9967aa82c 100644 --- a/src/arch/mips/system.cc +++ b/src/arch/mips/system.cc @@ -34,7 +34,6 @@ #include "arch/mips/system.hh" #include "arch/vtophys.hh" -#include "base/loader/hex_file.hh" #include "base/loader/object_file.hh" #include "base/loader/symtab.hh" #include "base/trace.hh" diff --git a/src/arch/mips/system.hh b/src/arch/mips/system.hh index 6b74ac1e5..eb28b3b2f 100644 --- a/src/arch/mips/system.hh +++ b/src/arch/mips/system.hh @@ -37,7 +37,6 @@ #include #include -#include "base/loader/hex_file.hh" #include "base/loader/symtab.hh" #include "cpu/pc_event.hh" #include "kern/system_events.hh" @@ -67,9 +66,6 @@ class MipsSystem : 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