* 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:
parent
f70d5c0701
commit
b46684ae53
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/boot/i386/qemu/boot.S: Ensure that A20 is enabled.
|
||||
Conceptually based on change in branch "vbe-on-coreboot".
|
||||
|
||||
2013-10-24 Robert Millan <rmh@gnu.org>
|
||||
|
||||
* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Replace
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue