]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Calculate _rom_size for the ROM prefix
authorMichael Brown <mcb30@etherboot.org>
Tue, 6 Jun 2006 15:29:39 +0000 (15:29 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 6 Jun 2006 15:29:39 +0000 (15:29 +0000)
src/arch/i386/scripts/i386.lds

index d43a68f7258d20c60db5753d466422412881813b..4a984a95684100d3f55ca6ce862f91f8f239dc59 100644 (file)
@@ -236,4 +236,5 @@ SECTIONS {
      * Values calculated to save code from doing it
      */
     _load_size_pgh     = ( _load_size / 16 );
+    _rom_size          = ( ( _load_size + 511 ) / 512 );
 }