NTSTATUS
KeI386SetGdtSelector(
      ULONG Selector,
      PKGDTENTRY GdtValue
  );

Routine Description:

    Sets a GDT entry obtained via KeI386AllocateGdtSelectors to the supplied
    GdtValue.

Arguments:

    Selector - Which GDT to set

    GdtValue - GDT value to set into GDT

Return Value:

    status code