Changeset 3285


Ignore:
Timestamp:
Sep 5, 2012, 3:38:05 AM (23 months ago)
Author:
quozl
Message:

OLPC - security, use signature-offset for locating version number in next firmware image, #12079

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/security.fth

    r3007 r3285  
    890890; 
    891891: (fw-version)  ( base-adr -- n ) 
    892    h# f.ffc7 + ((fw-version)) 
     892   signature-offset + 7 + ((fw-version)) 
    893893; 
    894894 
     
    902902: firmware-up-to-date?  ( img$ -- flag ) 
    903903   /flash <>  if  show-x  " Invalid Firmware image" .security-failure  then  ( adr ) 
    904    h# f.ffc7 + ((fw-version))       ( file-version# ) 
     904   (fw-version)                     ( file-version# ) 
    905905   ofw-version-int                  ( file-version# rom-version# ) 
    906906   u<= 
Note: See TracChangeset for help on using the changeset viewer.