diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-04 01:21:24 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-16 01:36:33 +0000 |
commit | e35b491c464f8961f5f3fff56478f12716f5a424 (patch) | |
tree | f3748c86e0d5b844fd6e8babc41c8d8175f853c7 /src/arch/riscv/linux | |
parent | 245422102c049cc744d695103ead1caa9d9870ca (diff) | |
download | gem5-e35b491c464f8961f5f3fff56478f12716f5a424.tar.xz |
arch,base,sim: Move Process loader hooks into the Process class.
This code was originally in the ObjectFile class, but not all object
files will become Processes. All Processes will ultimately come from
ObjectFiles though, so it makes more sense to put that class there.
Change-Id: Ie73e4cdecbb51ce53d24cf68911a6cfc0685d771
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21468
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch/riscv/linux')
-rw-r--r-- | src/arch/riscv/linux/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc index 6708e026f..4a16f77f7 100644 --- a/src/arch/riscv/linux/process.cc +++ b/src/arch/riscv/linux/process.cc @@ -55,7 +55,7 @@ using namespace RiscvISA; namespace { -class RiscvLinuxObjectFileLoader : public ObjectFile::Loader +class RiscvLinuxObjectFileLoader : public Process::Loader { public: Process * |