From: Gabe Black Date: Fri, 3 Nov 2006 16:04:10 +0000 (-0500) Subject: Added a stub initCPU function. This would be a good place to force in a PowerOnReset... X-Git-Tag: m5_2.0_beta2~53^2~57 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f4b098985e5544d2fb2ef74004d2c3359936097;p=gem5.git Added a stub initCPU function. This would be a good place to force in a PowerOnReset fault to kick start the CPU. --HG-- extra : convert_revision : 79e1fa2ef40e326682069639e260db255fd29d93 --- diff --git a/src/arch/sparc/utility.hh b/src/arch/sparc/utility.hh index 23fddf0e9..d8880e317 100644 --- a/src/arch/sparc/utility.hh +++ b/src/arch/sparc/utility.hh @@ -99,6 +99,12 @@ namespace SparcISA template void zeroRegisters(TC *tc); + void initCPU(ThreadContext *tc, int cpuId) + { + //This would be a good place to stick a PowerOnReset fault into the + //cpu. + } + } // namespace SparcISA #endif