UefiCpuPkg/PiSmmCpuDxeSmm: Fix .S & .asm build failure
Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Jeff Fan <jeff.fan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
@@ -158,7 +158,7 @@ L13:
|
||||
rdmsr
|
||||
orw $MSR_EFER_XD,%ax # enable NXE
|
||||
wrmsr
|
||||
jmp @NxeDone
|
||||
jmp NxeDone
|
||||
SkipNxe:
|
||||
subl $8, %esp
|
||||
NxeDone:
|
||||
|
@@ -222,7 +222,7 @@ _SmiHandler:
|
||||
|
||||
add rsp, 200h
|
||||
|
||||
mov rax, ASM_PFX(mXdSupported)
|
||||
mov rax, offset ASM_PFX(mXdSupported)
|
||||
mov al, [rax]
|
||||
cmp al, 0
|
||||
jz @f
|
||||
|
Reference in New Issue
Block a user