[openfirmware] r1371 - cpu/x86/pc/olpc

svn at openfirmware.info svn at openfirmware.info
Fri Sep 18 03:30:04 CEST 2009


Author: wmb
Date: 2009-09-18 03:30:04 +0200 (Fri, 18 Sep 2009)
New Revision: 1371

Modified:
   cpu/x86/pc/olpc/security.fth
Log:
OLPC security - moved sound-end to a different spot in the secure
startup sequence so it doesn't slow down access to the ok prompt.



Modified: cpu/x86/pc/olpc/security.fth
===================================================================
--- cpu/x86/pc/olpc/security.fth	2009-09-18 01:23:15 UTC (rev 1370)
+++ cpu/x86/pc/olpc/security.fth	2009-09-18 01:30:04 UTC (rev 1371)
@@ -35,9 +35,11 @@
 
    button-check game-key?  if
       ." Use power button to power off" cr
+      sound-end
       begin halt again
    else
       ." Powering off in 30 seconds" cr
+      sound-end
       d# 30000 ms  power-off
    then
 ;
@@ -1044,6 +1046,7 @@
             " init-program" $find  if
                set-cmdline
                execute
+               sound-end
                go
             then
             show-x
@@ -1088,7 +1091,6 @@
 [then]
    then
 
-   sound-end
    \ The screen may be frozen when we exit, because we want pretty
    \ boot even when not secure.
 




More information about the openfirmware mailing list