TianoCore EDK2 master
Loading...
Searching...
No Matches
ReadLdtr.c File Reference

Go to the source code of this file.

Functions

UINT16 EFIAPI AsmReadLdtr (VOID)
 

Detailed Description

AsmReadLdtr function

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ReadLdtr.c.

Function Documentation

◆ AsmReadLdtr()

UINT16 EFIAPI AsmReadLdtr ( VOID  )

Reads the current Local Descriptor Table Register(LDTR) selector.

Reads and returns the current 16-bit LDTR descriptor value. This function is only available on IA-32 and x64.

Returns
The current selector of LDT.

Definition at line 20 of file ReadLdtr.c.