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

svn at openbios.org svn at openbios.org
Sun Oct 28 22:45:07 CET 2007


Author: wmb
Date: 2007-10-28 22:45:07 +0100 (Sun, 28 Oct 2007)
New Revision: 699

Modified:
   cpu/x86/pc/olpc/security.fth
Log:
OLPC security - when a developer key is present, security failures
drop you to the ok prompt for debugging, instead of powering off.


Modified: cpu/x86/pc/olpc/security.fth
===================================================================
--- cpu/x86/pc/olpc/security.fth	2007-10-23 01:55:38 UTC (rev 698)
+++ cpu/x86/pc/olpc/security.fth	2007-10-28 21:45:07 UTC (rev 699)
@@ -475,9 +475,12 @@
    game-key@ button-check and  if  visible unfreeze  then
 ;
 
+0 value security-off?
+
 : security-failure  ( -- )
    visible
    ." Stopping" cr
+   security-off?  if  quit  then
 
    d# 10000 ms
    power-off
@@ -710,6 +713,7 @@
 
          d# 5 d# 77  +icon-xy  show-dot     ( list$ )
          has-developer-key?  if             ( list$ )
+            true to security-off?
             2drop                           ( )
             visible
             show-unlock




More information about the OpenBIOS mailing list