Changeset 3201


Ignore:
Timestamp:
Aug 20, 2012, 9:35:44 AM (3 years ago)
Author:
quozl
Message:

core - rename the loaded file size variable file-size to load-size, as it conflicts with a standard word file-size, rename other references in tree.

Files:
3 edited

Legend:

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

    r588 r3201  
    2222   0 to seek-ptr                                    ( )
    2323   load-base to base-adr                            ( )
    24    file-size @ to image-size                        ( )
     24   load-size @ to image-size                        ( )
    2525   my-args  dup  if                                 ( adr len )
    2626      " zip-file-system"  find-package  0=  if      ( adr len ph )
  • cpu/x86/small.bth

    r653 r3201  
    188188alias lpoke l!
    1891890 value load-base
    190 variable file-size
    191 : loaded load-base file-size @  ;
    192 : !load-size  file-size !  ;
     190variable load-size
     191: loaded load-base load-size @  ;
     192: !load-size  load-size !  ;
    193193defer ?inflate-loaded  ' noop is ?inflate-loaded
    194194alias external noop
  • ofw/core/bootparm.fth

    r1316 r3201  
    5757\needs load-base 0  config-int load-base        \ The default value can be changed later
    5858
    59 variable file-size
    60 : loaded  ( -- adr len )  load-base file-size @  ;
    61 
    62 headerless
    63 : !load-size  ( len -- )  file-size !  ;
     59variable load-size
     60: loaded  ( -- adr len )  load-base load-size @  ;
     61
     62headerless
     63: !load-size  ( len -- )  load-size !  ;
    6464
    6565d# 1024 buffer: path-buf
Note: See TracChangeset for help on using the changeset viewer.