diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-11-03 11:04:10 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-11-03 11:04:10 -0500 |
commit | 3f4b098985e5544d2fb2ef74004d2c3359936097 (patch) | |
tree | b7bd2593d20c6528e64d140386935b76e6caa592 /src/arch/sparc/utility.hh | |
parent | 6b701a6d25f16e0e1b146fb2ce9277f53fbdbbc5 (diff) | |
download | gem5-3f4b098985e5544d2fb2ef74004d2c3359936097.tar.xz |
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
Diffstat (limited to 'src/arch/sparc/utility.hh')
-rw-r--r-- | src/arch/sparc/utility.hh | 6 |
1 files changed, 6 insertions, 0 deletions
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 <class TC> 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 |