]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/X64/WriteGdtr.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteGdtr.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 ; WriteGdtr.Asm
9 ;
10 ; Abstract:
11 ;
12 ; AsmWriteGdtr function
13 ;
14 ; Notes:
15 ;
16 ;------------------------------------------------------------------------------
17
18 DEFAULT REL
19 SECTION .text
20
21 ;------------------------------------------------------------------------------
22 ; VOID
23 ; EFIAPI
24 ; InternalX86WriteGdtr (
25 ; IN CONST IA32_DESCRIPTOR *Idtr
26 ; );
27 ;------------------------------------------------------------------------------
28 global ASM_PFX(InternalX86WriteGdtr)
29 ASM_PFX(InternalX86WriteGdtr):
30 lgdt [rcx]
31 ret
32