Rename _rom_size to _load_size_sect, since hdprefix.S also uses it.

This commit is contained in:
Michael Brown
2007-07-16 17:03:19 +01:00
parent 048bbeeebc
commit 0929142a15
4 changed files with 5 additions and 5 deletions
+1 -1
View 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:
+2 -2
View 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) */