/* An ORDERED_COLLECTION_USER_COMPARE function that compares root bridge protocol device paths based on UID. */
STATIC INTN EFIAPI RootBridgePathCompare(IN CONST VOID *UserStruct1, IN CONST VOID *UserStruct2)
/* An ORDERED_COLLECTION_USER_COMPARE function that compares root bridge protocol device paths based on UID. */
STATIC INTN EFIAPI RootBridgePathCompare(IN CONST VOID *UserStruct1, IN CONST VOID *UserStruct2)
{
  CONST ACPI_HID_DEVICE_PATH  *Acpi1;
  CONST ACPI_HID_DEVICE_PATH  *Acpi2;
  Acpi1 = UserStruct1;
  Acpi2 = UserStruct2;
  return Acpi1->UID < Acpi2->UID ? -1 :
         Acpi1->UID > Acpi2->UID ?  1 :
         0;
}