* grub-core/boot/i386/qemu/boot.S: Ensure that A20 is enabled.

Conceptually based on change in branch "vbe-on-coreboot".
This commit is contained in:
Vladimir Serbinenko committed 2013-10-25 10:51:58 +02:00
1 parent f70d5c0701
commit b46684ae53
2 files changed
+12

No files matched your search

+7
View File
@@ -51,6 +51,13 @@ VARIABLE(grub_core_entry_addr)
pushl $1f
DATA32 jmp real_to_prot
.code32
/* Ensure A20 is enabled. We're in qemu, so control port A works
and there is no need to wait since there is no real logic, it's
all emulated. */
inb $0x92
andb $(~0x03), %al
orb $0x02, %al
outb $0x92
1:
movl grub_core_entry_addr, %edx
jmp *%edx