mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
arguments. With these fixes in place we can now switch the boot word to use (encode-bootpath) which means that the bootpath and bootarg properties are now set exactly the same when executing boot and/or load. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@803 f158a5a8-5612-0410-a976-696ce0be7e32
19 lines
320 B
Forth
19 lines
320 B
Forth
\ 7.4.3.5 User commands for booting
|
|
|
|
: boot ( "{param-text}<cr>" -- )
|
|
(encode-bootpath)
|
|
s" platform-boot" $find if
|
|
execute
|
|
else
|
|
2drop
|
|
cr ." Booting " type cr
|
|
." ... not supported on this system." cr
|
|
then
|
|
;
|
|
|
|
\ : diagnostic-mode? ( -- diag? )
|
|
\ ;
|
|
|
|
\ : diag-switch? ( -- diag? )
|
|
\ ;
|