cpu: provide a wakeup mechanism that can be used to pull CPUs out of sleep.
authorNathan Binkert <nate@binkert.org>
Sat, 24 Jan 2009 15:27:21 +0000 (07:27 -0800)
committerNathan Binkert <nate@binkert.org>
Sat, 24 Jan 2009 15:27:21 +0000 (07:27 -0800)
commitf0fb3ac060234ed5860c8d5bca3e84dbd8d30c36
tree89c7c0673592e9abc1f7b79189ea7357c6ec1154
parent56d5212ba7a3588feb8ce0ed5d3a31c704106730
cpu: provide a wakeup mechanism that can be used to pull CPUs out of sleep.
Make interrupts use the new wakeup method, and pull all of the interrupt
stuff into the cpu base class so that only the wakeup code needs to be updated.
I tried to make wakeup, wakeCPU, and the various other mechanisms for waking
and sleeping a little more sane, but I couldn't understand why the statistics
were changing the way they were.  Maybe we'll try again some day.
src/cpu/base.cc
src/cpu/base.hh
src/cpu/o3/cpu.cc
src/cpu/o3/cpu.hh
src/cpu/ozone/cpu.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/simple/base.cc
src/cpu/simple/base.hh