aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/MdePkg/Library/BaseLib/X64/FxRestore.nasm
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/MdePkg/Library/BaseLib/X64/FxRestore.nasm')
-rw-r--r--roms/edk2/MdePkg/Library/BaseLib/X64/FxRestore.nasm32
1 files changed, 32 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Library/BaseLib/X64/FxRestore.nasm b/roms/edk2/MdePkg/Library/BaseLib/X64/FxRestore.nasm
new file mode 100644
index 000000000..261981edf
--- /dev/null
+++ b/roms/edk2/MdePkg/Library/BaseLib/X64/FxRestore.nasm
@@ -0,0 +1,32 @@
+;------------------------------------------------------------------------------
+;
+; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+; SPDX-License-Identifier: BSD-2-Clause-Patent
+;
+; Module Name:
+;
+; FxRestore.Asm
+;
+; Abstract:
+;
+; AsmFxRestore function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ DEFAULT REL
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; VOID
+; EFIAPI
+; InternalX86FxRestore (
+; IN CONST IA32_FX_BUFFER *Buffer
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(InternalX86FxRestore)
+ASM_PFX(InternalX86FxRestore):
+ fxrstor [rcx]
+ ret
+