qemu: Fix GateA20 enabling.
GateA20 code was inactive due to address error.
This commit is contained in:
parent
e62ca2a870
commit
8afd8f3b64
1 changed files with 1 additions and 1 deletions
|
@ -50,6 +50,7 @@ VARIABLE(grub_core_entry_addr)
|
|||
pushl $1f
|
||||
jmp real_to_prot
|
||||
.code32
|
||||
1:
|
||||
/* 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. */
|
||||
|
@ -57,7 +58,6 @@ VARIABLE(grub_core_entry_addr)
|
|||
andb $(~0x03), %al
|
||||
orb $0x02, %al
|
||||
outb $0x92
|
||||
1:
|
||||
movl EXT_C(grub_core_entry_addr), %edx
|
||||
jmp *%edx
|
||||
|
||||
|
|
Loading…
Reference in a new issue