Author: quozl Date: Fri Apr 12 04:38:21 2013 New Revision: 3640 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3640
Log: qemu, make automatic boot work
Author: Vladimir Serbinenko phcoder@gmail.com
Modified: cpu/x86/pc/emu/fw.bth
Modified: cpu/x86/pc/emu/fw.bth ============================================================================== --- cpu/x86/pc/emu/fw.bth Tue Apr 9 09:05:19 2013 (r3639) +++ cpu/x86/pc/emu/fw.bth Fri Apr 12 04:38:21 2013 (r3640) @@ -306,9 +306,19 @@
." Open Firmware demonstration version by FirmWorks (info@firmworks.com)" cr
+ auto-boot + quit ;
+: qemu-power-off ( -- ) + h# 1001 h# 80000b40 config-l! + h# 80000b80 config-b@ + 1 or h# 80000b80 config-b! + h# 2000 h# 1004 pw! +; +' qemu-power-off to power-off + [ifdef] use-watch-all fload ${BP}/cpu/x86/pc/watchall.fth [then]