[OpenBIOS] r688 - cpu/x86/pc/olpc

svn at openbios.org svn at openbios.org
Fri Oct 19 00:53:21 CEST 2007


Author: wmb
Date: 2007-10-19 00:53:21 +0200 (Fri, 19 Oct 2007)
New Revision: 688

Modified:
   cpu/x86/pc/olpc/security.fth
Log:
OLPC security - disable X-button reversion from secure to non-secure mode.
The X button now forces secure mode when in non-secure mode, instead of
going in either direction.


Modified: cpu/x86/pc/olpc/security.fth
===================================================================
--- cpu/x86/pc/olpc/security.fth	2007-10-18 22:43:46 UTC (rev 687)
+++ cpu/x86/pc/olpc/security.fth	2007-10-18 22:53:21 UTC (rev 688)
@@ -586,7 +586,7 @@
    r> close-file drop  false
 ;
 
-: ?toggle-secure  ( -- )  button-x game-key?  if  secure? 0= to secure?  then  ;
+: ?force-secure  ( -- )  button-x game-key?  if  true to secure?  then  ;
 
 6 buffer: fw#buf
 : (fw-version)  ( base-adr -- n )
@@ -735,7 +735,7 @@
    button-rotate game-key?  if  show-warnings  then
    show-child
 
-   ?toggle-secure
+   ?force-secure
 
    secure?  0=  if  unfreeze visible  exit  then
 




More information about the OpenBIOS mailing list