summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2015-04-09 03:09:17 +0000
committervanjeff <vanjeff@Edk2>2015-04-09 03:09:17 +0000
commit718abab1121bfae91b9d4daa1d9fa17879d9ed32 (patch)
tree13f2012c2fd1ba56c846dd08fd8d2ba4b6136916
parent9435a57e510c6f893d615b8a511d0d2dca99eb44 (diff)
downloadedk2-718abab1121bfae91b9d4daa1d9fa17879d9ed32.zip
edk2-718abab1121bfae91b9d4daa1d9fa17879d9ed32.tar.gz
edk2-718abab1121bfae91b9d4daa1d9fa17879d9ed32.tar.bz2
UefiCpuPkg: Avoid "error A2085" when DDK3790 tool chain is used
The DDK3790 tool chain fails when the PAUSE instruction is assembled: error A2085: instruction or register not accepted in current CPU mode The solution is to use the .686 directive along with the .xmm directive. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17134 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm b/UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm
index d476829..09579f2 100644
--- a/UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm
+++ b/UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm
@@ -11,7 +11,8 @@
;
;------------------------------------------------------------------------------
-.586p
+.686
+.xmm
.model flat, C
extern mTopOfApCommonStack:DWORD