Print this page
acpica-unix2-20130823
PANKOVs restructure
*** 3,13 ****
* Module Name: pstree - Parser op tree manipulation/traversal/search
*
*****************************************************************************/
/*
! * Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
--- 3,13 ----
* Module Name: pstree - Parser op tree manipulation/traversal/search
*
*****************************************************************************/
/*
! * Copyright (C) 2000 - 2013, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*** 83,93 ****
const ACPI_OPCODE_INFO *OpInfo;
ACPI_FUNCTION_ENTRY ();
!
/* Get the info structure for this opcode */
OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
if (OpInfo->Class == AML_CLASS_UNKNOWN)
{
--- 83,98 ----
const ACPI_OPCODE_INFO *OpInfo;
ACPI_FUNCTION_ENTRY ();
! /*
! if (Op->Common.AmlOpcode == AML_INT_CONNECTION_OP)
! {
! return (Op->Common.Value.Arg);
! }
! */
/* Get the info structure for this opcode */
OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
if (OpInfo->Class == AML_CLASS_UNKNOWN)
{
*** 315,325 ****
case AML_INT_METHODCALL_OP:
Child = AcpiPsGetArg (Op, 0);
break;
-
case AML_BUFFER_OP:
case AML_PACKAGE_OP:
case AML_METHOD_OP:
case AML_IF_OP:
case AML_WHILE_OP:
--- 320,329 ----
*** 326,355 ****
case AML_FIELD_OP:
Child = AcpiPsGetArg (Op, 1);
break;
-
case AML_POWER_RES_OP:
case AML_INDEX_FIELD_OP:
Child = AcpiPsGetArg (Op, 2);
break;
-
case AML_PROCESSOR_OP:
case AML_BANK_FIELD_OP:
Child = AcpiPsGetArg (Op, 3);
break;
-
default:
/* All others have no children */
break;
}
return (Child);
}
#endif
-
-
--- 330,356 ----
case AML_FIELD_OP:
Child = AcpiPsGetArg (Op, 1);
break;
case AML_POWER_RES_OP:
case AML_INDEX_FIELD_OP:
Child = AcpiPsGetArg (Op, 2);
break;
case AML_PROCESSOR_OP:
case AML_BANK_FIELD_OP:
Child = AcpiPsGetArg (Op, 3);
break;
default:
+
/* All others have no children */
+
break;
}
return (Child);
}
#endif