[Skiboot] [PATCH 2/3] mambo: Exit mambo when the simulation is stopped

Michael Ellerman mpe at ellerman.id.au
Mon Mar 30 20:45:37 AEDT 2015


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 <mpe at ellerman.id.au>
---
 external/mambo/skiboot.tcl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 4993d1857155..d32a6272f8ec 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
-- 
2.1.0



More information about the Skiboot mailing list