syscall-emul: Move memState into its own file
authorBrandon Potter <Brandon.Potter@amd.com>
Wed, 1 Mar 2017 19:07:43 +0000 (13:07 -0600)
committerBrandon Potter <Brandon.Potter@amd.com>
Thu, 9 Mar 2017 19:19:38 +0000 (19:19 +0000)
commit43418e7f81099072fb7d56dae11110ae1d858162
tree0d624abfdd331b0edffcafc274c08695d0cca97b
parent71dd6c2c17a465b7705f53469cd2c89f16ede4b7
syscall-emul: Move memState into its own file

The Process class is full of implementation details and
structures related to SE Mode. This changeset factors out an
internal class from Process and moves it into a separate file.
The purpose behind doing this is to clean up the code and make
it a bit more modular.

Change-Id: Ic6941a1657751e8d51d5b6b1dcc04f1195884280
Reviewed-on: https://gem5-review.googlesource.com/2263
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
14 files changed:
src/arch/alpha/process.cc
src/arch/arm/process.cc
src/arch/mips/process.cc
src/arch/power/process.cc
src/arch/riscv/process.cc
src/arch/sparc/process.cc
src/arch/sparc/process.hh
src/arch/x86/process.cc
src/gpu-compute/shader.cc
src/sim/mem_state.hh [new file with mode: 0644]
src/sim/process.cc
src/sim/process.hh
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh