arch,base,sim: Move Process loader hooks into the Process class.
authorGabe Black <gabeblack@google.com>
Fri, 4 Oct 2019 08:21:24 +0000 (01:21 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 16 Oct 2019 01:36:33 +0000 (01:36 +0000)
commite35b491c464f8961f5f3fff56478f12716f5a424
treef3748c86e0d5b844fd6e8babc41c8d8175f853c7
parent245422102c049cc744d695103ead1caa9d9870ca
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>
13 files changed:
src/arch/alpha/linux/process.cc
src/arch/arm/freebsd/process.cc
src/arch/arm/linux/process.cc
src/arch/mips/linux/process.cc
src/arch/power/linux/process.cc
src/arch/riscv/linux/process.cc
src/arch/sparc/linux/process.cc
src/arch/sparc/solaris/process.cc
src/arch/x86/linux/process.cc
src/base/loader/object_file.cc
src/base/loader/object_file.hh
src/sim/process.cc
src/sim/process.hh