]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/X86WriteGdtr.c
2 IA-32/x64 AsmWriteGdtr()
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include "BaseLibInternals.h"
15 Writes the current Global Descriptor Table Register (GDTR) descriptor.
17 Writes and the current GDTR descriptor specified by Gdtr. This function is
18 only available on IA-32 and x64.
20 If Gdtr is NULL, then ASSERT().
22 @param Gdtr The pointer to a GDTR descriptor.
28 IN CONST IA32_DESCRIPTOR
*Gdtr
31 ASSERT (Gdtr
!= NULL
);
32 InternalX86WriteGdtr (Gdtr
);