mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Fix start address calculation when booting from 32-bit EFI (issue #52)
This commit is contained in:
parent
faab0a321d
commit
a14a6b8e65
@ -74,7 +74,7 @@ efi_handover:
|
|||||||
|
|
||||||
movl %eax, %esi
|
movl %eax, %esi
|
||||||
movl 0x214(%esi), %ebx # bootparams.code32_start
|
movl 0x214(%esi), %ebx # bootparams.code32_start
|
||||||
leal (startup - startup32), %edi
|
leal (startup - startup32)(%ebx), %edi
|
||||||
|
|
||||||
# The 32-bit entry point for AP boot and for restart after relocation.
|
# The 32-bit entry point for AP boot and for restart after relocation.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user