diff options
author | Nathan Binkert <binkertn@umich.edu> | 2003-11-02 02:07:31 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2003-11-02 02:07:31 -0500 |
commit | c7d6745b073982782eb05ca523b53e1c7fe784da (patch) | |
tree | a8b4047fe21b28aaa2234aa1d22a3eb0e31d34f9 /sim/sim_events.cc | |
parent | 7c6fa585ca5f0d79024a7f83faacaebf29f95999 (diff) | |
download | gem5-c7d6745b073982782eb05ca523b53e1c7fe784da.tar.xz |
deprecate the m5exit instruction and rename it to m5exit_old
Implement a new m5exit instruction with an optional delay
arch/alpha/isa_desc:
move m5exit to m5exit old. The old version of the
instruction is now deprecated
Implement the new exit instruction with the optional delay
sim/sim_events.cc:
sim/sim_events.hh:
Make SimExit take a cycle
sim/universe.cc:
provide ticksPerMS, ticksPerUS, and ticksPerNS so we don't
have to do math during the cycle
--HG--
extra : convert_revision : e2ed47a2e5cfcd57c82086c6fcb4a28bf801c214
Diffstat (limited to 'sim/sim_events.cc')
-rw-r--r-- | sim/sim_events.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/sim_events.cc b/sim/sim_events.cc index 5f24de516..165bab2bf 100644 --- a/sim/sim_events.cc +++ b/sim/sim_events.cc @@ -64,9 +64,9 @@ SimExitEvent::description() } void -SimExit(const char *message) +SimExit(Tick when, const char *message) { - static SimExitEvent event(message); + static SimExitEvent event(when, message); } // |