From cec7f73abf841a65bdce38d6eb67a643e4879335 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 28 Oct 2003 10:05:58 -0500 Subject: emulate callpal halt for non FULL_SYSTEM in the process make m5_exit more generic arch/alpha/ev5.cc: arch/alpha/ev5.hh: There's no reason that this needs to be in an arch specific file arch/alpha/isa_desc: m5_exit -> SimExit Emulate callpal halt and cause the simulator to exit while we're at it, sort #includes sim/sim_events.cc: sim/sim_events.hh: move the m5_exit function here, renaming it to SimExit. Also Allow the caller to pass in the termination message. --HG-- extra : convert_revision : 54b43b17a412ab387b8672c27ef0b04fce10ee15 --- sim/sim_events.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/sim_events.hh') diff --git a/sim/sim_events.hh b/sim/sim_events.hh index b1ae7793a..0029a8404 100644 --- a/sim/sim_events.hh +++ b/sim/sim_events.hh @@ -66,6 +66,8 @@ class SimExitEvent : public Event virtual const char *description(); }; +void SimExit(const char *message); + // // Event class to terminate simulation after 'n' related events have // occurred using a shared counter: used to terminate when *all* -- cgit v1.2.3