projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1189aa5
)
optionsrom: Reserve space for checksum
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 17 Feb 2012 17:31:21 +0000
(18:31 +0100)
committer
Avi Kivity
<avi@redhat.com>
Sat, 18 Feb 2012 10:16:00 +0000
(12:16 +0200)
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>
pc-bios/optionrom/optionrom.h
patch
|
blob
|
history
diff --git
a/pc-bios/optionrom/optionrom.h
b/pc-bios/optionrom/optionrom.h
index aa783deed10ecacb39ecae2d1bd2b2f6dcadde13..3daf7da49576091e337b1dab814e87310d5ea25f 100644
(file)
--- 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 \