From 3f4b098985e5544d2fb2ef74004d2c3359936097 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 3 Nov 2006 11:04:10 -0500 Subject: 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 --- src/arch/sparc/utility.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 -- cgit v1.2.3