arch,sim: Merge initCPU into the ISA System classes.
authorGabe Black <gabeblack@google.com>
Thu, 30 Jan 2020 00:49:40 +0000 (16:49 -0800)
committerGabe Black <gabeblack@google.com>
Sat, 1 Feb 2020 12:31:56 +0000 (12:31 +0000)
commit4ae8d1c0ed18f351b52f421553b28fe109f87665
tree08f688eed7d45f41f4c3af946bc0afdbf199aebf
parent6a7a5b30050d10a7d9cc9cd5614988871253298d
arch,sim: Merge initCPU into the ISA System classes.

Those classes are already ISA specific, so we can just move initCPU's
contents there and take it out of utility.hh, utility.cc, and the base
System's initState.

Change-Id: I28f0d0b50d83efe5116b0b24d20f8182a02823e7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24905
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
22 files changed:
src/arch/alpha/ev5.cc
src/arch/alpha/system.cc
src/arch/alpha/utility.hh
src/arch/arm/system.cc
src/arch/arm/utility.cc
src/arch/arm/utility.hh
src/arch/mips/utility.cc
src/arch/mips/utility.hh
src/arch/null/utility.hh
src/arch/power/utility.cc
src/arch/power/utility.hh
src/arch/riscv/SConscript
src/arch/riscv/bare_metal/system.cc
src/arch/riscv/utility.cc [deleted file]
src/arch/riscv/utility.hh
src/arch/sparc/system.cc
src/arch/sparc/utility.cc
src/arch/sparc/utility.hh
src/arch/x86/system.cc
src/arch/x86/utility.cc
src/arch/x86/utility.hh
src/sim/system.cc