optionsrom: Reserve space for checksum
Always add a byte before the final 512-bytes alignment to reserve the space for the ROM checksum. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
1189aa519c
commit
209ca750b9
@ -124,7 +124,8 @@
|
|||||||
movw %ax, %ds;
|
movw %ax, %ds;
|
||||||
|
|
||||||
#define OPTION_ROM_END \
|
#define OPTION_ROM_END \
|
||||||
.align 512, 0; \
|
.byte 0; \
|
||||||
|
.align 512, 0; \
|
||||||
_end:
|
_end:
|
||||||
|
|
||||||
#define BOOT_ROM_END \
|
#define BOOT_ROM_END \
|
||||||
|
Loading…
Reference in New Issue
Block a user