|
@@ -14,7 +14,7 @@
|
14
|
14
|
.org 0x00
|
15
|
15
|
romheader:
|
16
|
16
|
.word 0xAA55 /* BIOS extension signature */
|
17
|
|
-romheader_size: .byte _rom_size /* Size in 512-byte blocks */
|
|
17
|
+romheader_size: .byte _load_size_sect /* Size in 512-byte blocks */
|
18
|
18
|
jmp init_vector /* Initialisation vector */
|
19
|
19
|
.org 0x16
|
20
|
20
|
.word undiheader
|
|
@@ -34,7 +34,7 @@ pciheader:
|
34
|
34
|
.byte 0x02 /* Device Base Type code */
|
35
|
35
|
.byte 0x00 /* Device Sub-Type code */
|
36
|
36
|
.byte 0x00 /* Device Interface Type code */
|
37
|
|
-pciheader_size: .word _rom_size /* Image length same as offset 02h */
|
|
37
|
+pciheader_size: .word _load_size_sect /* Image length same as offset 02h */
|
38
|
38
|
.word 0x0001 /* revision level of code/data */
|
39
|
39
|
.byte 0x00 /* code type */
|
40
|
40
|
.byte 0x80 /* Flags (last PCI data structure) */
|