]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Rename _rom_size to _load_size_sect, since hdprefix.S also uses it.
authorMichael Brown <mcb30@etherboot.org>
Mon, 16 Jul 2007 16:03:19 +0000 (17:03 +0100)
committerMichael Brown <mcb30@etherboot.org>
Mon, 16 Jul 2007 16:03:19 +0000 (17:03 +0100)
src/arch/i386/prefix/hdprefix.S
src/arch/i386/prefix/romprefix.S
src/arch/i386/scripts/i386-kir.lds
src/arch/i386/scripts/i386.lds

index ceab2061436b91383cfaa6ae8f5839d9df3db4d9..99bb541bfe625ce41eb9ad59c5e3155045d6bd7e 100644 (file)
@@ -59,7 +59,7 @@ load_image:
        ljmp    $BOOT_SEG, $start_image
 
 load_length:
-       .long   _rom_size
+       .long   _load_size_sect
 max_sector:
        .byte   0
 max_head:
index 3e6cd2d02a3f246db785ed88848f00be78d8a555..68123f0fbf007132010b5972cea5a1c45c5139d0 100644 (file)
@@ -14,7 +14,7 @@
        .org    0x00
 romheader:
        .word   0xAA55                  /* BIOS extension signature */
-romheader_size:        .byte   _rom_size       /* Size in 512-byte blocks */
+romheader_size:        .byte _load_size_sect   /* Size in 512-byte blocks */
        jmp     init_vector             /* Initialisation vector */
        .org    0x16
        .word   undiheader
@@ -34,7 +34,7 @@ pciheader:
        .byte   0x02                    /* Device Base Type code */
        .byte   0x00                    /* Device Sub-Type code */
        .byte   0x00                    /* Device Interface Type code */
-pciheader_size:        .word   _rom_size       /* Image length same as offset 02h */
+pciheader_size:        .word _load_size_sect   /* Image length same as offset 02h */
        .word   0x0001                  /* revision level of code/data */
        .byte   0x00                    /* code type */
        .byte   0x80                    /* Flags (last PCI data structure) */
index 401298c9ea828a858498fa8af981274ebad18f45..b213c605c415aa482f1e8aa9bda9d9981fff4f5b 100644 (file)
@@ -192,5 +192,5 @@ SECTIONS {
     _text16_size_pgh   = ( ( _text16_size + 15 ) / 16 );
     _data16_size_pgh   = ( ( _data16_size + 15 ) / 16 );
     _load_size_pgh     = ( ( _load_size + 15 ) / 16 );
-    _rom_size          = ( ( _load_size + 511 ) / 512 );
+    _load_size_sect    = ( ( _load_size + 511 ) / 512 );
 }
index 8ff7c45acf7092f0c9b36d40b4a0a061b494b1b1..511353ce79aefea96597aeb7ed77b25c6671693e 100644 (file)
@@ -270,5 +270,5 @@ SECTIONS {
     _text16_size_pgh   = ( ( _text16_size + 15 ) / 16 );
     _data16_size_pgh   = ( ( _data16_size + 15 ) / 16 );
     _load_size_pgh     = ( ( _load_size + 15 ) / 16 );
-    _rom_size          = ( ( _load_size + 511 ) / 512 );
+    _load_size_sect    = ( ( _load_size + 511 ) / 512 );
 }