From f710c3b2e461fbb99c89b034c67963209f970ff8 Mon Sep 17 00:00:00 2001 From: rmoore1 Date: Wed, 23 Jan 2008 22:19:31 +0000 Subject: 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 --- source/compiler/aslanalyze.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/compiler/aslanalyze.c') 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 */ /* -- cgit v1.2.3