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 <[email protected]>
---

Index: UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm
===================================================================
--- UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm    (revision 17108)
+++ UefiCpuPkg/CpuDxe/Ia32/MpAsm.asm    (working copy)
@@ -11,7 +11,8 @@
 ;
 ;------------------------------------------------------------------------------
 
-.586p
+.686
+.xmm
 .model flat, C
 
 extern mTopOfApCommonStack:DWORD

Attachment: 08.patch
Description: Binary data

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to