qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 5/6] optionsrom: Reserve space for checksum


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH 5/6] optionsrom: Reserve space for checksum
Date: Sun, 5 Feb 2012 13:39:11 +0100

From: Jan Kiszka <address@hidden>

Always add a byte before the final 512-bytes alignment to reserve the
space for the ROM checksum.

Signed-off-by: Jan Kiszka <address@hidden>
---
 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                                   \
-- 
1.7.3.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]