diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-17 18:31:21 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-02-18 12:16:00 +0200 |
commit | 209ca750b9e1854fa8f63fae16aef15becb1cdea (patch) | |
tree | 31e69af33839ab4acf796fefc604ed7665488b0a /pc-bios | |
parent | 1189aa519ca9d088e3cc6fb621c2690a20077495 (diff) | |
download | hqemu-209ca750b9e1854fa8f63fae16aef15becb1cdea.zip hqemu-209ca750b9e1854fa8f63fae16aef15becb1cdea.tar.gz |
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>
Diffstat (limited to 'pc-bios')
-rw-r--r-- | pc-bios/optionrom/optionrom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pc-bios/optionrom/optionrom.h b/pc-bios/optionrom/optionrom.h index aa783de..3daf7da 100644 --- a/pc-bios/optionrom/optionrom.h +++ b/pc-bios/optionrom/optionrom.h @@ -124,7 +124,8 @@ movw %ax, %ds; #define OPTION_ROM_END \ - .align 512, 0; \ + .byte 0; \ + .align 512, 0; \ _end: #define BOOT_ROM_END \ |