summaryrefslogtreecommitdiff
path: root/pc-bios/optionrom/multiboot.S
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2011-01-31 15:11:01 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-03-22 07:00:58 +0100
commit75b9f69057b166876a0c33d5fd86aa59ccfd3812 (patch)
tree17748f2b93078e1825bbd08f98dba4c638d5e7ea /pc-bios/optionrom/multiboot.S
parent31b7c261a207e1e670d737ec78a87dd031bd8f73 (diff)
downloadqemu-75b9f69057b166876a0c33d5fd86aa59ccfd3812.zip
fix linuxboot.bin and multiboot.bin to not hijack int19
Currently linuxboot.bin and multiboot.bin option roms override int19 vector to intercept boot process. No sane option rom should do that. Provide bev entry instead that will be called by BIOS if option rom is selected for booting. Signed-off-by: Gleb Natapov <gleb@redhat.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'pc-bios/optionrom/multiboot.S')
-rw-r--r--pc-bios/optionrom/multiboot.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/pc-bios/optionrom/multiboot.S b/pc-bios/optionrom/multiboot.S
index 913183739c..cc5ca1b7d1 100644
--- a/pc-bios/optionrom/multiboot.S
+++ b/pc-bios/optionrom/multiboot.S
@@ -20,6 +20,8 @@
#include "optionrom.h"
+#define BOOT_ROM_PRODUCT "multiboot loader"
+
#define MULTIBOOT_MAGIC 0x2badb002
#define GS_PROT_JUMP 0