]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuMpPei/X64/MpFuncs.nasm
UefiCpuPkg/CpuMpPei: Remove PmodeOffset and LmodeOffset
[mirror_edk2.git] / UefiCpuPkg / CpuMpPei / X64 / MpFuncs.nasm
index e0a98647dff027360d701cdf87859f4b3569c8f5..f19c75f91397db3b2653708b0009dc6807227f80 100644 (file)
@@ -52,7 +52,7 @@ BITS 16
     mov        si,  BufferStartLocation\r
     mov        ebx, [si]\r
 \r
-    mov        di,  LmodeOffsetLocation\r
+    mov        di,  ModeOffsetLocation\r
     mov        eax, [di]\r
     mov        di,  CodeSegmentLocation\r
     mov        edx, [di]\r
@@ -170,9 +170,8 @@ global ASM_PFX(AsmGetAddressMap)
 ASM_PFX(AsmGetAddressMap):\r
     mov        rax, ASM_PFX(RendezvousFunnelProc)\r
     mov        qword [rcx], rax\r
-    mov        qword [rcx +  8h], 0\r
-    mov        qword [rcx + 10h], LongModeStart - RendezvousFunnelProcStart\r
-    mov        qword [rcx + 18h], RendezvousFunnelProcEnd - RendezvousFunnelProcStart\r
+    mov        qword [rcx +  8h], LongModeStart - RendezvousFunnelProcStart\r
+    mov        qword [rcx + 10h], RendezvousFunnelProcEnd - RendezvousFunnelProcStart\r
     ret\r
 \r
 ;-------------------------------------------------------------------------------------\r