/* If the given AML_NODE_HEADER has a variable list of arguments, return a pointer to this list. Return NULL otherwise. */
LIST_ENTRY* EFIAPI AmlNodeGetVariableArgList(IN CONST AML_NODE_HEADER *Node)
/* If the given AML_NODE_HEADER has a variable list of arguments, return a pointer to this list. Return NULL otherwise. */
LIST_ENTRY* EFIAPI AmlNodeGetVariableArgList(IN CONST AML_NODE_HEADER *Node)
{
  if (IS_AML_ROOT_NODE (Node)) {
    return &(((AML_ROOT_NODE *)Node)->VariableArgs);
  } else if (IS_AML_OBJECT_NODE (Node)) {
    return &(((AML_OBJECT_NODE *)Node)->VariableArgs);
  }
  return NULL;
}