/* Returns the size of the Named Component node. */
STATIC UINT32 GetNamedComponentNodeSize(IN CONST CM_ARM_NAMED_COMPONENT_NODE *Node)
/* Returns the size of the Named Component node. */
STATIC UINT32 GetNamedComponentNodeSize(IN CONST CM_ARM_NAMED_COMPONENT_NODE *Node)
{
  ASSERT (Node != NULL);
  return (UINT32)(sizeof (EFI_ACPI_6_0_IO_REMAPPING_NAMED_COMP_NODE) +
                  (Node->IdMappingCount *
                   sizeof (EFI_ACPI_6_0_IO_REMAPPING_ID_TABLE)) +
                  ALIGN_VALUE (AsciiStrSize (Node->ObjectName), 4));
}