[OpenBIOS] r621 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Wed Sep 19 04:58:07 CEST 2007
Author: wmb
Date: 2007-09-19 04:58:07 +0200 (Wed, 19 Sep 2007)
New Revision: 621
Modified:
cpu/x86/pc/olpc/security.fth
Log:
OLPC security - fixed bug with bootpath reporting in the secure boot code.
Modified: cpu/x86/pc/olpc/security.fth
===================================================================
--- cpu/x86/pc/olpc/security.fth 2007-09-19 02:57:26 UTC (rev 620)
+++ cpu/x86/pc/olpc/security.fth 2007-09-19 02:58:07 UTC (rev 621)
@@ -474,18 +474,29 @@
\ Bad idea, because the cmdline would need to be signed too
\ " /lzip:\cmdline" zip-extent to cmdline
+ 0 to /ramdisk
+
+ ['] load-path behavior >r ( r: xt )
+ ['] ramdisk-buf to load-path ( r: xt )
+
" rd" fn-buf place
bundle-present? if
+ r> to load-path
+
" RD found - " ?lease-debug
0 hashname c!
img$ sig$ valid? if
" Signature valid" ?lease-debug-cr
- " /lzip:\data.img" $load-ramdisk exit
+ load-base to ramdisk-adr
+ img$ dup to /ramdisk ( adr len )
+ load-base swap move ( )
+ exit
else
" Signature invalid" ?lease-debug-cr
fail-load
then
then
+ r> to load-path
;
More information about the OpenBIOS
mailing list