]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuMpPei/Ia32/MpFuncs.asm
UefiCpuPkg/CpuMpPei: Remove PmodeOffset and LmodeOffset
[mirror_edk2.git] / UefiCpuPkg / CpuMpPei / Ia32 / MpFuncs.asm
index d0b00887291a5d9a1ada18bcbf4ff8529a92fca8..27e16c66f4247d11163d11b595642707ddb519c3 100644 (file)
@@ -52,7 +52,7 @@ RendezvousFunnelProcStart::
     db 66h,  8Bh, 1Ch                   ; mov        ebx, dword ptr [si]\r
 \r
     db 0BEh                             ; opcode of mov si, mem16\r
-    dw PmodeOffsetLocation              ; mov        si,  PmodeOffsetLocation\r
+    dw ModeOffsetLocation               ; mov        si,  ModeOffsetLocation\r
     db 66h,  8Bh,  04h                  ; mov        eax, [si]\r
     db 0BEh                             ; opcode of mov si, mem16\r
     dw CodeSegmentLocation              ; mov        si,  CodeSegmentLocation\r
@@ -161,9 +161,8 @@ AsmGetAddressMap   PROC  near C  PUBLIC
 \r
     mov        ebx, dword ptr [ebp+24h]\r
     mov        dword ptr [ebx], RendezvousFunnelProcStart\r
-    mov        dword ptr [ebx +  4h], Flat32Start - RendezvousFunnelProcStart\r
-    mov        dword ptr [ebx +  8h], 0\r
-    mov        dword ptr [ebx + 0ch], RendezvousFunnelProcEnd - RendezvousFunnelProcStart\r
+    mov        dword ptr [ebx + 4h], Flat32Start - RendezvousFunnelProcStart\r
+    mov        dword ptr [ebx + 8h], RendezvousFunnelProcEnd - RendezvousFunnelProcStart\r
 \r
     popad\r
     ret\r