aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-27 15:53:11 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-31 15:42:37 +1100
commit7e28a14b3012ad60241742fa66d68068f27bb24c (patch)
treefd3d1734316d67da3046cbbc2e20922a6200549c /external
parent207cb25bfc8176ee52de8e5991f941373253d269 (diff)
downloadskiboot-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.tcl3
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