From e35b491c464f8961f5f3fff56478f12716f5a424 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 4 Oct 2019 01:21:24 -0700 Subject: 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 Reviewed-by: Gabe Black Tested-by: kokoro Maintainer: Gabe Black --- src/arch/sparc/linux/process.cc | 2 +- src/arch/sparc/solaris/process.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/sparc') diff --git a/src/arch/sparc/linux/process.cc b/src/arch/sparc/linux/process.cc index 2fd983808..5fb3b0348 100644 --- a/src/arch/sparc/linux/process.cc +++ b/src/arch/sparc/linux/process.cc @@ -48,7 +48,7 @@ using namespace SparcISA; namespace { -class SparcLinuxObjectFileLoader : public ObjectFile::Loader +class SparcLinuxObjectFileLoader : public Process::Loader { public: Process * diff --git a/src/arch/sparc/solaris/process.cc b/src/arch/sparc/solaris/process.cc index fb38c77ee..18f2316a2 100644 --- a/src/arch/sparc/solaris/process.cc +++ b/src/arch/sparc/solaris/process.cc @@ -46,7 +46,7 @@ using namespace SparcISA; namespace { -class SparcSolarisObjectFileLoader : public ObjectFile::Loader +class SparcSolarisObjectFileLoader : public Process::Loader { public: Process * -- cgit v1.2.3