Fix start address calculation when booting from 32-bit EFI (issue #52)

This commit is contained in:
Martin Whitaker 2022-04-23 13:17:59 +01:00
parent faab0a321d
commit a14a6b8e65

View File

@ -74,7 +74,7 @@ efi_handover:
movl %eax, %esi
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.