diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-27 15:53:11 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-03-31 15:42:37 +1100 |
commit | 7e28a14b3012ad60241742fa66d68068f27bb24c (patch) | |
tree | fd3d1734316d67da3046cbbc2e20922a6200549c /external | |
parent | 207cb25bfc8176ee52de8e5991f941373253d269 (diff) | |
download | skiboot-7e28a14b3012ad60241742fa66d68068f27bb24c.zip skiboot-7e28a14b3012ad60241742fa66d68068f27bb24c.tar.gz skiboot-7e28a14b3012ad60241742fa66d68068f27bb24c.tar.bz2 |
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 <mpe@ellerman.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/mambo/skiboot.tcl | 3 |
1 files changed, 1 insertions, 2 deletions
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 |