Author: wmb Date: 2007-12-31 01:01:13 +0100 (Mon, 31 Dec 2007) New Revision: 758
Modified: cpu/x86/pc/olpc/security.fth Log: OLPC Trac 5778 - Display the firmware banner when enabling text output from secure mode, thus making it possible to determine the firmware version.
Modified: cpu/x86/pc/olpc/security.fth =================================================================== --- cpu/x86/pc/olpc/security.fth 2007-12-27 09:24:22 UTC (rev 757) +++ cpu/x86/pc/olpc/security.fth 2007-12-31 00:01:13 UTC (rev 758) @@ -8,7 +8,7 @@ : visible dcon-unfreeze text-on ;
: ?unfreeze ( -- ) - game-key@ button-check and if visible unfreeze then + game-key@ button-check and if visible banner unfreeze then ;
0 0 2value base-xy @@ -39,7 +39,7 @@ 0 value security-off?
: security-failure ( -- ) - visible + visible banner security-off? if ." Stopping" cr quit then
button-check game-key? if @@ -773,7 +773,7 @@ secure? 0= if unfreeze visible exit then
button-check game-key? if - unfreeze visible + unfreeze visible banner else freeze dcon-freeze then @@ -785,6 +785,7 @@ date-bad? if \ This is not fatal, because we don't want a brick if the RTC battery fails visible red-letters ." Invalid system date" black-letters cr show-sad + banner then
load-crypto if " Crytpo load failed" .security-failure then ( )