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:
Blue Swirl
2009-05-22 17:09:05 +00:00
parent 8c883ca477
commit 50d363515e
2 changed files with 7 additions and 0 deletions

View File

@@ -364,3 +364,4 @@ no-conf-def " security-mode" secmode-config
\ defers \ defers
['] fcode-debug? to _fcode-debug? ['] fcode-debug? to _fcode-debug?
['] diag-switch? to _diag-switch?

View File

@@ -8,6 +8,10 @@
\ the copyright and warranty status of this work. \ the copyright and warranty status of this work.
\ \
\ The current diagnostic setting
defer _diag-switch?
\ \
\ 5.3.7 Other FCode functions \ 5.3.7 Other FCode functions
\ \
@@ -89,6 +93,8 @@ hex
; ;
: diagnostic-mode? ( -- diag? ) : diagnostic-mode? ( -- diag? )
\ Return the NVRAM diag-switch? setting
_diag-switch?
; ;
\ 5.3.7.6 Start and end. \ 5.3.7.6 Start and end.