[openfirmware] [commit] r2589 - cpu/x86/pc/olpc

repository service svn at openfirmware.info
Tue Oct 11 22:19:11 CEST 2011


Author: wmb
Date: Tue Oct 11 22:19:10 2011
New Revision: 2589
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2589

Log:
OLPC - add some guards to load-from-list.

Modified:
   cpu/x86/pc/olpc/security.fth

Modified: cpu/x86/pc/olpc/security.fth
==============================================================================
--- cpu/x86/pc/olpc/security.fth	Tue Oct 11 20:17:44 2011	(r2588)
+++ cpu/x86/pc/olpc/security.fth	Tue Oct 11 22:19:10 2011	(r2589)
@@ -1230,11 +1230,14 @@
             ec-indexed-io-off               ( list$ )
             2drop                           ( )
             ['] secure-load-ramdisk to load-ramdisk
-            " init-program" $find  if
-\              set-cmdline
-               execute
-               sound-end
-               go
+            " init-program" $find  if       ( xt )
+\              set-cmdline                  ( xt )
+               catch  ?dup  if              ( error )
+                  .error                    ( )
+               else                         ( )
+                  sound-end                 ( )
+                  ['] go guarded            ( )
+               then
             then
             show-x
             security-failure



More information about the openfirmware mailing list