Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11094 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -41,8 +41,30 @@ ASM_PFX(AsmFxSave):
|
||||
# IN CONST IA32_FX_BUFFER *Buffer
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
ASM_PFX(AsmFxRestore):
|
||||
fxrstor (%rcx)
|
||||
retq
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
# AsmGetEflags (
|
||||
# VOID
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
ASM_PFX(AsmGetEflags):
|
||||
pushfq
|
||||
popq %rax
|
||||
ret
|
||||
#AsmGetEflags ENDP
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
# AsmSetEflags (
|
||||
# IN UINTN Eflags
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
ASM_PFX(AsmSetEflags):
|
||||
pushq %rcx
|
||||
popfq
|
||||
ret
|
||||
#AsmSetEflags ENDP
|
||||
|
Reference in New Issue
Block a user