[Skiboot] [PATCH 7/7] mambo: Auto start the simulator using SKIBOOT_AUTORUN

Michael Neuling mikey at neuling.org
Tue Oct 20 15:49:04 AEDT 2015


Automatically start the simulator using the SKIBOOT_AUTORUN
environment variable.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 external/mambo/skiboot.tcl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 906bc33..dfb38eb 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -201,3 +201,7 @@ for { set i 0 } { $i < $mconf(threads) } { incr i } {
 
 # Turbo mode & run
 mysim mode turbo
+
+if { [info exists env(SKIBOOT_AUTORUN)] } {
+    mysim go
+}
-- 
2.1.4



More information about the Skiboot mailing list