summaryrefslogtreecommitdiff
path: root/src/arch/riscv
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/riscv
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/riscv')
-rw-r--r--src/arch/riscv/system.cc1
-rw-r--r--src/arch/riscv/system.hh4
2 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/riscv/system.cc b/src/arch/riscv/system.cc
index fbfd9d2f5..88d6251cc 100644
--- a/src/arch/riscv/system.cc
+++ b/src/arch/riscv/system.cc
@@ -35,7 +35,6 @@
#include "arch/riscv/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/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 <string>
#include <vector>
-#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;