/* Returns the size of the Root Complex node. */
STATIC UINT32 GetRootComplexNodeSize(IN CONST CM_ARM_ROOT_COMPLEX_NODE *Node)
/* Returns the size of the Root Complex node. */
STATIC UINT32 GetRootComplexNodeSize(IN CONST CM_ARM_ROOT_COMPLEX_NODE *Node)
{
  ASSERT (Node != NULL);
  return (UINT32)(sizeof (EFI_ACPI_6_0_IO_REMAPPING_RC_NODE) +
                  (Node->IdMappingCount *
                   sizeof (EFI_ACPI_6_0_IO_REMAPPING_ID_TABLE)));
}