From 7e28a14b3012ad60241742fa66d68068f27bb24c Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Fri, 27 Mar 2015 15:53:11 +1100 Subject: mambo: Exit mambo when the simulation is stopped When the simulation runs to completion, exit mambo. In addition to the previous patch this allows "halt" on the Linux command line to stop the simulation and exit mambo. Note that this only takes effect if the "mysim go" is left to run until the simulation is stopped. If the user interrupts the simulation, eg. with Ctrl-C, to inspect state, then the exit has no effect. Signed-off-by: Michael Ellerman Signed-off-by: Stewart Smith --- external/mambo/skiboot.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'external/mambo') diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 4993d18..d32a627 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -174,5 +174,4 @@ for { set i 0 } { $i < $mconf(threads) } { incr i } { # Turbo mode & run ton c - - +exit -- cgit v1.1