diff options
Diffstat (limited to 'sys/contrib/dev/acpica/psfind.c')
-rw-r--r-- | sys/contrib/dev/acpica/psfind.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/psfind.c b/sys/contrib/dev/acpica/psfind.c index 17345ff46e7b..6862843fad3d 100644 --- a/sys/contrib/dev/acpica/psfind.c +++ b/sys/contrib/dev/acpica/psfind.c @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: psfind - Parse tree search routine - * $Revision: 40 $ + * $Revision: 42 $ * *****************************************************************************/ @@ -301,6 +301,19 @@ AcpiPsFind ( AcpiGbl_PsFindCount++; +#if 0 + if ((Create) && (Opcode == AML_SCOPE_OP)) + { + Op = AcpiPsAllocOp (AML_SCOPE_OP); + if (Op) + { + AcpiPsSetName (Op, 'XXXX'); + AcpiPsAppendArg (Scope, Op); + } +/* return_PTR (Op);*/ + } +#endif + /* Handle all prefixes in the name path */ while (AcpiPsIsPrefixChar (ACPI_GET8 (Path))) @@ -337,6 +350,7 @@ AcpiPsFind ( Path++; } + /* get name segment count */ switch (ACPI_GET8 (Path)) @@ -379,6 +393,7 @@ AcpiPsFind ( "Search scope %p Segs=%d Opcode=%4.4hX Create=%d\n", Scope, SegCount, Opcode, Create)); + /* match each name segment */ while (Scope && SegCount) |