/* Writes and the current LDTR descriptor specified by Ldtr. This function is only available on IA-32 and X64. */
VOID EFIAPI AsmWriteLdtr(IN UINT16 Ldtr)
/* Writes and the current LDTR descriptor specified by Ldtr. This function is only available on IA-32 and X64. */
VOID EFIAPI AsmWriteLdtr(IN UINT16 Ldtr)
{
  __asm__ __volatile__ (
    "lldtw  %0"
    :
    : "g" (Ldtr)
  );
}