summaryrefslogtreecommitdiff
path: root/source/compiler/aslanalyze.c
diff options
context:
space:
mode:
authorrmoore1 <rmoore1>2008-01-23 22:19:31 +0000
committerrmoore1 <rmoore1>2008-01-23 22:19:31 +0000
commitf710c3b2e461fbb99c89b034c67963209f970ff8 (patch)
tree7b3c0c61ee456922498a671cb08e8c2677d49325 /source/compiler/aslanalyze.c
parent27acc4211a8adb6f5b871cf053a2a8b6c93870fd (diff)
Fixes for Unload and DDBHandles.
Implemented support for the use of DDBHandles as an Indexed Reference, as per the ACPI spec. (Lin Ming) BZ 486. Implemented support for UserTerm (Method invocation) for the Unload operator as per the ACPI spec. (Lin Ming) BZ 580
Diffstat (limited to 'source/compiler/aslanalyze.c')
-rw-r--r--source/compiler/aslanalyze.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/compiler/aslanalyze.c b/source/compiler/aslanalyze.c
index baf5c99b9..6f4bf0068 100644
--- a/source/compiler/aslanalyze.c
+++ b/source/compiler/aslanalyze.c
@@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: aslanalyze.c - check for semantic errors
- * $Revision: 1.117 $
+ * $Revision: 1.118 $
*
*****************************************************************************/
@@ -272,7 +272,11 @@ AnMapArgTypeToBtype (
return (ACPI_BTYPE_MUTEX);
case ARGI_DDBHANDLE:
- return (ACPI_BTYPE_DDB_HANDLE);
+ /*
+ * DDBHandleObject := SuperName
+ * ACPI_BTYPE_REFERENCE: Index reference as parameter of Load/Unload
+ */
+ return (ACPI_BTYPE_DDB_HANDLE | ACPI_BTYPE_REFERENCE);
/* Interchangeable types */
/*