summaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-02-18 17:13:30 +0100
committerAvi Kivity <avi@redhat.com>2010-02-22 11:40:51 +0200
commit211721f31c62cc889369da79d75c38f7297b6465 (patch)
treee0438e4890279707803be508b5a662786a5b076f /pc-bios
parent943bbe20a5fa9d2c7b0201a6fa7227fd483050dd (diff)
extboot: Clean up host-guest interface
Drop the unused boot mode port 0x404 from the host-guest interface of extboot and remove related code from both sides. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'pc-bios')
-rw-r--r--pc-bios/optionrom/extboot.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/pc-bios/optionrom/extboot.S b/pc-bios/optionrom/extboot.S
index 1eeb17238..db6c2b673 100644
--- a/pc-bios/optionrom/extboot.S
+++ b/pc-bios/optionrom/extboot.S
@@ -62,15 +62,6 @@ int19_handler:
xor %ax, %ax
mov %ax, %ds
- movw $0x404, %dx
- inb %dx, %al
- cmp $1, %al
- je 1f
- cmp $2, %al
- je 2f
- jmp 3f
-
-1: /* hook int13: intb(0x404) == 1 */
/* save old int 13 to int 2c */
mov (0x13*4), %eax
mov %eax, (OLD_INT13)
@@ -78,21 +69,7 @@ int19_handler:
/* install our int 13 handler */
movw $int13_handler, (0x13*4)
mov %cs, (0x13*4+2)
- jmp 3f
-2: /* linux boot: intb(0x404) == 2 */
- cli
- cld
- mov $0x9000, %ax
- mov %ax, %ds
- mov %ax, %es
- mov %ax, %fs
- mov %ax, %gs
- mov %ax, %ss
- mov $0x8ffe, %sp
- ljmp $0x9000 + 0x20, $0
-
-3: /* fall through: inb(0x404) == 0 */
/* restore previous int $0x19 handler */
mov (OLD_INT19),%eax
mov %eax,(0x19*4)