mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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
1 changed files with 2 additions and 1 deletions
|
@ -124,6 +124,7 @@
|
||||||
movw %ax, %ds;
|
movw %ax, %ds;
|
||||||
|
|
||||||
#define OPTION_ROM_END \
|
#define OPTION_ROM_END \
|
||||||
|
.byte 0; \
|
||||||
.align 512, 0; \
|
.align 512, 0; \
|
||||||
_end:
|
_end:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue