diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-01 20:17:06 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-09 01:07:02 +0000 |
commit | b1fb2d55c598d89e5a29c569da546b74f99a8bbc (patch) | |
tree | 2eb89b338cca362383b68df4257dd08db3b89e0d /src/arch/mips | |
parent | 3c65c44a1ae87607337a56ca45b6b305778d52ff (diff) | |
download | gem5-b1fb2d55c598d89e5a29c569da546b74f99a8bbc.tar.xz |
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 <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/system.cc | 1 | ||||
-rw-r--r-- | src/arch/mips/system.hh | 4 |
2 files changed, 0 insertions, 5 deletions
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 <string> #include <vector> -#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; |