UefiCpuPkg: error: invalid instruction mnemonic 'retf'

.S assembler files must be AT&T syntax ones. So Intel syntax mnemonic is not good. Discovered by clang integrated assembler.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Nikolai Saoukh <nms@otdel-1.org>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16100 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Nikolai Saoukh 2014-09-12 08:38:23 +00:00 committed by vanjeff
parent 7ae7dcb976
commit 010f55d3fb
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ DoReturn:
pushl -8(%esp) # save EIP in new location
pushl -8(%esp) # save EFLAGS in new location
popfl # restore EFLAGS
retf # far return
lret # far return
DoIret:
iretl