gem5/kern/tru64
Steve Reinhardt 91cb532f9f Make FullCPU schedule its TickEvent when one of its contexts becomes active.
This fixes detailed-mpboot, which was broken as of my last change.
Also clean up some of the ExecContext status initialization.

cpu/base_cpu.hh:
    CPU::execCtxStatusChg() now takes thread_num as an arg so the CPU knows
    which execContext had the status change.
    BaseCPU::registerExecContexts() no longer needs to be virtual.
cpu/exec_context.cc:
    Initialize _status directly... don't use setStatus() as this will notify the CPU
    of the change before it is ready.
    CPU::execCtxStatusChg() now takes thread_num as an arg so the CPU knows
    which execContext had the status change.
cpu/exec_context.hh:
    Don't need initStatus() any more.
cpu/simple_cpu/simple_cpu.cc:
    Move execCtxStatusChg() from header to .cc file.
    No longer need specialized version of registerExecContexts to schedule TickEvent.
cpu/simple_cpu/simple_cpu.hh:
    Move execCtxStatusChg() from header to .cc file.
    CPU::execCtxStatusChg() now takes thread_num as arg (must be 0 for SimpleCPU).
    No longer need specialized version of registerExecContexts to schedule TickEvent.
kern/tru64/tru64_system.cc:
    Don't need initRegs; the PC etc. get initialized in the CPU constructor.
    ExecContexts start out as Unallocated, so no need to set them to Unallocated here.
kern/tru64/tru64_system.hh:
    Don't need initRegs; the PC etc. get initialized in the CPU constructor.
sim/prog.cc:
    ExecContexts start out as Unallocated, so no need to set them to Unallocated here.

--HG--
extra : convert_revision : e960ebbeb845960344633798e251b6c8bf1c0378
2003-10-24 23:02:36 -07:00
..
dump_mbuf.cc Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
dump_mbuf.hh Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
mbuf.hh Split up kernel.cc into separate files for dump_mbuf and printf 2003-10-13 17:24:27 -04:00
printf.cc Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
printf.hh Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
tru64.hh Import changeset 2003-10-07 10:41:54 -04:00
tru64_events.cc Clear up the last of the Doxygen warnings 2003-10-16 17:56:16 -04:00
tru64_events.hh Remove all of the Tru64 specific stuff from the base System object 2003-10-14 12:19:59 -04:00
tru64_syscalls.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tru64_syscalls.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tru64_system.cc Make FullCPU schedule its TickEvent when one of its contexts becomes active. 2003-10-24 23:02:36 -07:00
tru64_system.hh Make FullCPU schedule its TickEvent when one of its contexts becomes active. 2003-10-24 23:02:36 -07:00