[Skiboot] [PATCH 2/7] mambo: Use SIMHOST to determine the simulator type

Michael Neuling mikey at neuling.org
Tue Oct 20 15:48:59 AEDT 2015


Use SIMHOST to determine the simulator type.  This means we can
support past and future sims other than P8.

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

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index cfae489..93cc332 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -62,7 +62,7 @@ mconfig tap_base MAMBO_NET_TAP_BASE 0
 # Create machine config
 #
 
-define dup pegasus myconf
+define dup $env(SIMHOST) myconf
 myconf config processor/number_of_threads $mconf(threads)
 myconf config memory_size $mconf(memory)
 myconf config processor_option/ATTN_STOP true
-- 
2.1.4



More information about the Skiboot mailing list