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:
Feng Tian
2016-12-15 13:25:30 +08:00
parent 16296a126c
commit b6fea56cb5
4 changed files with 4 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ L13:
rdmsr
orw $MSR_EFER_XD,%ax # enable NXE
wrmsr
jmp @NxeDone
jmp NxeDone
SkipNxe:
subl $8, %esp
NxeDone:

View File

@@ -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