summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-10-01 20:17:06 -0700
committerGabe Black <gabeblack@google.com>2019-10-09 01:07:02 +0000
commitb1fb2d55c598d89e5a29c569da546b74f99a8bbc (patch)
tree2eb89b338cca362383b68df4257dd08db3b89e0d /src/arch/mips
parent3c65c44a1ae87607337a56ca45b6b305778d52ff (diff)
downloadgem5-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.cc1
-rw-r--r--src/arch/mips/system.hh4
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;