/* An ORDERED_COLLECTION_KEY_COMPARE function that compares a root bridge protocol device path against a UID. */
STATIC INTN EFIAPI RootBridgePathKeyCompare(IN CONST VOID *StandaloneKey, IN CONST VOID *UserStruct)
/* An ORDERED_COLLECTION_KEY_COMPARE function that compares a root bridge protocol device path against a UID. */
STATIC INTN EFIAPI RootBridgePathKeyCompare(IN CONST VOID *StandaloneKey, IN CONST VOID *UserStruct)
{
  CONST UINT32                *Uid;
  CONST ACPI_HID_DEVICE_PATH  *Acpi;
  Uid  = StandaloneKey;
  Acpi = UserStruct;
  return *Uid < Acpi->UID ? -1 :
         *Uid > Acpi->UID ?  1 :
         0;
}