]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuMpPei/X64/MpFuncs.asm
UefiCpuPkg/CpuMpPei: Remove PmodeOffset and LmodeOffset
[mirror_edk2.git] / UefiCpuPkg / CpuMpPei / X64 / MpFuncs.asm
index 03e00924fb0cd0b22c0b73fcb8baf5dcc2807980..4adfff3c1c3e9dc956cd8cd32f97cf1ff601bfb6 100644 (file)
@@ -48,7 +48,7 @@ RendezvousFunnelProcStart::
     db 66h,  8Bh, 1Ch                 ; mov        ebx, dword ptr [si]\r
 \r
     db 0BFh                           ; opcode of mov di, mem16                         \r
-    dw LmodeOffsetLocation            ; mov        di,  LmodeOffsetLocation\r
+    dw ModeOffsetLocation             ; mov        di,  ModeOffsetLocation\r
     db 66h, 8Bh, 05h                  ; mov        eax, [di]\r
     db 0BFh                           ; opcode of mov di, mem16  \r
     dw CodeSegmentLocation            ; mov        di,  CodeSegmentLocation\r
@@ -176,9 +176,8 @@ RendezvousFunnelProcEnd::
 AsmGetAddressMap   PROC\r
     mov        rax, offset RendezvousFunnelProcStart\r
     mov        qword ptr [rcx], rax\r
-    mov        qword ptr [rcx +  8h], 0\r
-    mov        qword ptr [rcx + 10h], LongModeStart - RendezvousFunnelProcStart\r
-    mov        qword ptr [rcx + 18h], RendezvousFunnelProcEnd - RendezvousFunnelProcStart\r
+    mov        qword ptr [rcx +  8h], LongModeStart - RendezvousFunnelProcStart\r
+    mov        qword ptr [rcx + 10h], RendezvousFunnelProcEnd - RendezvousFunnelProcStart\r
     ret\r
 AsmGetAddressMap   ENDP\r
 \r