/* Reads and returns the current 16-bit LDTR descriptor value. This function is only available on IA-32 and x64. */
UINT16 EFIAPI AsmReadLdtr(VOID)
/* Reads and returns the current 16-bit LDTR descriptor value. This function is only available on IA-32 and x64. */
UINT16 EFIAPI AsmReadLdtr(VOID)
{
  _asm {
    sldt    ax
  }
}