It works. Thanks! Reviewed-by: Jeff Fan <[email protected]>
-----Original Message----- From: Scott Duplichan [mailto:[email protected]] Sent: Monday, April 06, 2015 12:23 PM To: [email protected]; Ma, Maurice; Agyeman, Prince Subject: [edk2] [Patch 8/16] 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 <[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 ------------------------------------------------------------------------------ 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
