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
This commit is contained in:
Scott Duplichan 2015-04-09 03:09:17 +00:00 committed by vanjeff
parent 9435a57e51
commit 718abab112
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@
; ;
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
.586p .686
.xmm
.model flat, C .model flat, C
extern mTopOfApCommonStack:DWORD extern mTopOfApCommonStack:DWORD