/* Add the NewNode to the tail of the variable list of arguments of the ParentNode. */
EFI_STATUS EFIAPI AmlVarListAddTail(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
/* Add the NewNode to the tail of the variable list of arguments of the ParentNode. */
EFI_STATUS EFIAPI AmlVarListAddTail(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
{
  EFI_STATUS  Status;
  UINT32      NewSize;
  Status = AmlVarListAddTailInternal (ParentNode, NewNode);
  if (EFI_ERROR (Status)) {
    ASSERT (0);
    return Status;
  }
  Status = AmlComputeSize (NewNode, &NewSize);
  if (EFI_ERROR (Status)) {
    ASSERT (0);
    return Status;
  }
  Status = AmlPropagateInformation (ParentNode, TRUE, NewSize, 1);
  ASSERT_EFI_ERROR (Status);
  return Status;
}