mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Read the diagnostic mode setting from NVRAM (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@491 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -364,3 +364,4 @@ no-conf-def " security-mode" secmode-config
|
||||
|
||||
\ defers
|
||||
['] fcode-debug? to _fcode-debug?
|
||||
['] diag-switch? to _diag-switch?
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
\ the copyright and warranty status of this work.
|
||||
\
|
||||
|
||||
\ The current diagnostic setting
|
||||
defer _diag-switch?
|
||||
|
||||
|
||||
\
|
||||
\ 5.3.7 Other FCode functions
|
||||
\
|
||||
@@ -89,6 +93,8 @@ hex
|
||||
;
|
||||
|
||||
: diagnostic-mode? ( -- diag? )
|
||||
\ Return the NVRAM diag-switch? setting
|
||||
_diag-switch?
|
||||
;
|
||||
|
||||
\ 5.3.7.6 Start and end.
|
||||
|
||||
Reference in New Issue
Block a user