Browse Source

Calculate _rom_size for the ROM prefix

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
46253ba618
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/arch/i386/scripts/i386.lds

+ 1
- 0
src/arch/i386/scripts/i386.lds View File

236
      * Values calculated to save code from doing it
236
      * Values calculated to save code from doing it
237
      */
237
      */
238
     _load_size_pgh	= ( _load_size / 16 );
238
     _load_size_pgh	= ( _load_size / 16 );
239
+    _rom_size		= ( ( _load_size + 511 ) / 512 );
239
 }
240
 }

Loading…
Cancel
Save