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:
Jan Kiszka 2012-02-17 18:31:21 +01:00 committed by Avi Kivity
parent 1189aa519c
commit 209ca750b9

View File

@ -124,7 +124,8 @@
movw %ax, %ds;
#define OPTION_ROM_END \
.align 512, 0; \
.byte 0; \
.align 512, 0; \
_end:
#define BOOT_ROM_END \