make activation of exec contexts happen in startup
authorNathan Binkert <binkertn@umich.edu>
Thu, 4 Nov 2004 01:46:33 +0000 (20:46 -0500)
committerNathan Binkert <binkertn@umich.edu>
Thu, 4 Nov 2004 01:46:33 +0000 (20:46 -0500)
commitd82e0d11d12cdc75ab3c7a51a36630f5bd0c0e11
tree64a77bbf08c9bfe7e7d21a8bf3ea5d2ff2a7495c
parent129b885abd30e72c0b3e19787da385af4af6e53e
make activation of exec contexts happen in startup
the registration stuff all moves into BaseCPU

cpu/base_cpu.cc:
    Move the registration stuff into the BaseCPU since all
    other CPUs use it.
cpu/base_cpu.hh:
    Move the defer registration stuff into the BaseCPU since all
    other CPUs use it.
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
    registration stuff moved to base class
sim/system.cc:
    the activation of exec contexts should happen at startup, not
    when they are registered.
sim/system.hh:
    the system now has a startup function

--HG--
extra : convert_revision : bb6a7c2da5a1ecf5fe7ede1078200bfe5245f8ef
cpu/base_cpu.cc
cpu/base_cpu.hh
cpu/simple_cpu/simple_cpu.cc
cpu/simple_cpu/simple_cpu.hh
sim/system.cc
sim/system.hh