Changeset 2603


Ignore:
Timestamp:
Oct 13, 2011, 11:48:15 PM (4 years ago)
Author:
wmb
Message:

OLPC XO-1 - trac #11336 - Fixed stack bug in ofw-model$ that caused auto-firmware-reflash failure.

File:
1 edited

Legend:

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

    r2016 r2603  
    66: ofw-model$  ( -- adr len )
    77   " /openprom" find-package drop  ( phandle )
    8    " model" rot get-package-property  if
    9       " ???   ?????  ???"
    10    else
    11       decode-string
    12    then
     8   " model" rot get-package-property  if  ( )
     9      " ???   ?????  ???"          ( adr len )
     10   else                            ( adr len )
     11      decode-string 2nip           ( adr len' )
     12   then                            ( adr len )
    1313;
    1414: ofw-version$  ( -- adr len )
Note: See TracChangeset for help on using the changeset viewer.