]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/X86ReadIdtr.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / X86ReadIdtr.c
CommitLineData
e1f414b6 1/** @file\r
2 IA-32/x64 AsmReadIdtr()\r
3\r
bb817c56 4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
9344f092 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
e1f414b6 6\r
e1f414b6 7**/\r
8\r
e1f414b6 9#include "BaseLibInternals.h"\r
10\r
11/**\r
2fc60b70 12 Reads the current Interrupt Descriptor Table Register(IDTR) descriptor.\r
e1f414b6 13\r
14 Reads and returns the current IDTR descriptor and returns it in Idtr. This\r
030cd1a2 15 function is only available on IA-32 and x64.\r
e1f414b6 16\r
17 If Idtr is NULL, then ASSERT().\r
18\r
2fc59a00 19 @param Idtr The pointer to a IDTR descriptor.\r
e1f414b6 20\r
21**/\r
22VOID\r
23EFIAPI\r
24AsmReadIdtr (\r
2f88bd3a 25 OUT IA32_DESCRIPTOR *Idtr\r
e1f414b6 26 )\r
27{\r
28 ASSERT (Idtr != NULL);\r
29 InternalX86ReadIdtr (Idtr);\r
30}\r