]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ia32/FxRestore.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / FxRestore.nasm
1 ;------------------------------------------------------------------------------
2 ;
3 ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
5 ;
6 ; Module Name:
7 ;
8 ; FxRestore.Asm
9 ;
10 ; Abstract:
11 ;
12 ; AsmFxRestore function
13 ;
14 ; Notes:
15 ;
16 ;------------------------------------------------------------------------------
17
18 SECTION .text
19
20 ;------------------------------------------------------------------------------
21 ; VOID
22 ; EFIAPI
23 ; InternalX86FxRestore (
24 ; IN CONST IA32_FX_BUFFER *Buffer
25 ; );
26 ;------------------------------------------------------------------------------
27 global ASM_PFX(InternalX86FxRestore)
28 ASM_PFX(InternalX86FxRestore):
29 mov eax, [esp + 4] ; Buffer must be 16-byte aligned
30 fxrstor [eax]
31 ret
32