diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmalloc.c Subsystem/Common/cmalloc.c --- ../acpica-unix-20001201/Subsystem/Common/cmalloc.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmalloc.c Sat Dec 16 06:34:00 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmalloc - local memory allocation routines - * $Revision: 79 $ + * $Revision: 80 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmclib.c Subsystem/Common/cmclib.c --- ../acpica-unix-20001201/Subsystem/Common/cmclib.c Thu Nov 16 09:18:37 2000 +++ Subsystem/Common/cmclib.c Sat Dec 16 06:34:00 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmclib - Local implementation of C library functions - * $Revision: 28 $ + * $Revision: 29 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmcopy.c Subsystem/Common/cmcopy.c --- ../acpica-unix-20001201/Subsystem/Common/cmcopy.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmcopy.c Sat Dec 16 06:34:00 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmcopy - Internal to external object translation utilities - * $Revision: 59 $ + * $Revision: 61 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -198,7 +198,7 @@ case ACPI_TYPE_STRING: - Length = InternalObj->String.Length; + Length = InternalObj->String.Length + 1; ExternalObj->String.Length = InternalObj->String.Length; ExternalObj->String.Pointer = (NATIVE_CHAR *) DataSpace; SourcePtr = (UINT8 *) InternalObj->String.Pointer; diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmdebug.c Subsystem/Common/cmdebug.c --- ../acpica-unix-20001201/Subsystem/Common/cmdebug.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmdebug.c Sat Dec 16 06:34:00 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmdebug - Debug print routines - * $Revision: 61 $ + * $Revision: 62 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmdelete.c Subsystem/Common/cmdelete.c --- ../acpica-unix-20001201/Subsystem/Common/cmdelete.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmdelete.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: cmdelete - object deletion and reference count utilities - * $Revision: 60 $ + * $Revision: 61 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmeval.c Subsystem/Common/cmeval.c --- ../acpica-unix-20001201/Subsystem/Common/cmeval.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmeval.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmeval - Object evaluation - * $Revision: 19 $ + * $Revision: 20 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmglobal.c Subsystem/Common/cmglobal.c --- ../acpica-unix-20001201/Subsystem/Common/cmglobal.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmglobal.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmglobal - Global variables for the ACPI subsystem - * $Revision: 112 $ + * $Revision: 113 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -287,8 +287,6 @@ NATIVE_CHAR *MsgAcpiErrorBreak = "*** Break on ACPI_ERROR ***\n"; - - /***************************************************************************** * * FUNCTION: AcpiCmGetMutexName @@ -393,9 +391,6 @@ } - - - /* Region type decoding */ NATIVE_CHAR *AcpiGbl_RegionTypes[NUM_REGION_TYPES] = @@ -441,9 +436,6 @@ } - - - /* Data used in keeping track of fields */ NATIVE_CHAR *AcpiGbl_FENames[NUM_FIELD_NAMES] = @@ -453,7 +445,6 @@ }; /* FE = Field Element */ - NATIVE_CHAR *AcpiGbl_MatchOps[NUM_MATCH_OPS] = { "Error", @@ -490,7 +481,6 @@ }; #endif - /***************************************************************************** diff -ruN ../acpica-unix-20001201/Subsystem/Common/cminit.c Subsystem/Common/cminit.c --- ../acpica-unix-20001201/Subsystem/Common/cminit.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cminit.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cminit - Common ACPI subsystem initialization - * $Revision: 89 $ + * $Revision: 91 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -146,7 +146,7 @@ static ACPI_STATUS AcpiCmFadtRegisterError ( NATIVE_CHAR *RegisterName, - UINT64 Value) + UINT32 Value) { REPORT_ERROR ( @@ -191,28 +191,28 @@ if (!AcpiGbl_FADT->Pm1CntLen) { Status = AcpiCmFadtRegisterError ("PM1_CNT_LEN", - (UINT32) AcpiGbl_FADT->Pm1CntLen); + 0); } - if (!AcpiGbl_FADT->XPm1aEvtBlk.Address) + if (!ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm1aEvtBlk.Address)) { Status = AcpiCmFadtRegisterError ("PM1a_EVT_BLK", - AcpiGbl_FADT->XPm1aEvtBlk.Address); + 0); } - if (!AcpiGbl_FADT->XPm1aCntBlk.Address) + if (!ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm1aCntBlk.Address)) { Status = AcpiCmFadtRegisterError ("PM1a_CNT_BLK", - AcpiGbl_FADT->XPm1aCntBlk.Address); + 0); } - if (!AcpiGbl_FADT->XPmTmrBlk.Address) + if (!ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPmTmrBlk.Address)) { Status = AcpiCmFadtRegisterError ("PM_TMR_BLK", - AcpiGbl_FADT->XPmTmrBlk.Address); + 0); } - if ((AcpiGbl_FADT->XPm2CntBlk.Address && + if ((ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm2CntBlk.Address) && !AcpiGbl_FADT->Pm2CntLen)) { Status = AcpiCmFadtRegisterError ("PM2_CNT_LEN", @@ -228,14 +228,14 @@ /* length of GPE blocks must be a multiple of 2 */ - if (AcpiGbl_FADT->XGpe0Blk.Address && + if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XGpe0Blk.Address) && (AcpiGbl_FADT->Gpe0BlkLen & 1)) { Status = AcpiCmFadtRegisterError ("GPE0_BLK_LEN", (UINT32) AcpiGbl_FADT->Gpe0BlkLen); } - if (AcpiGbl_FADT->XGpe1Blk.Address && + if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XGpe1Blk.Address) && (AcpiGbl_FADT->Gpe1BlkLen & 1)) { Status = AcpiCmFadtRegisterError ("GPE1_BLK_LEN", diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmobject.c Subsystem/Common/cmobject.c --- ../acpica-unix-20001201/Subsystem/Common/cmobject.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmobject.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmobject - ACPI object create/delete/size/cache routines - * $Revision: 32 $ + * $Revision: 34 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -576,7 +576,7 @@ case ACPI_TYPE_STRING: - Length += InternalObj->String.Length; + Length += InternalObj->String.Length + 1; break; diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmutils.c Subsystem/Common/cmutils.c --- ../acpica-unix-20001201/Subsystem/Common/cmutils.c Thu Nov 16 09:18:38 2000 +++ Subsystem/Common/cmutils.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: cmutils - common utility procedures - * $Revision: 21 $ + * $Revision: 22 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Common/cmxface.c Subsystem/Common/cmxface.c --- ../acpica-unix-20001201/Subsystem/Common/cmxface.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Common/cmxface.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: cmxface - External interfaces for "global" ACPI functions - * $Revision: 55 $ + * $Revision: 57 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -153,7 +153,7 @@ FUNCTION_TRACE ("AcpiInitializeSubsystem"); DEBUG_PRINT_RAW (ACPI_OK, - ("ACPI Subsystem version [%s]\n", ACPI_CA_VERSION)); + ("ACPI: Core Subsystem version [%s]\n", ACPI_CA_VERSION)); DEBUG_PRINT (ACPI_INFO, ("Initializing ACPI Subsystem...\n")); diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbcmds.c Subsystem/Debugger/dbcmds.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbcmds.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbcmds.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbcmds - debug commands and output routines - * $Revision: 42 $ + * $Revision: 43 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbdisasm.c Subsystem/Debugger/dbdisasm.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbdisasm.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbdisasm.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbdisasm - parser op tree display routines - * $Revision: 34 $ + * $Revision: 35 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbdisply.c Subsystem/Debugger/dbdisply.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbdisply.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbdisply.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbdisply - debug display commands - * $Revision: 38 $ + * $Revision: 39 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -459,7 +459,7 @@ else if (VALID_DESCRIPTOR_TYPE (ObjDesc, ACPI_DESC_TYPE_NAMED)) { - AcpiOsPrintf (" Name %4.4s Type-%s", + AcpiOsPrintf (" Name %4.4s Type-%s", &((ACPI_NAMESPACE_NODE *)ObjDesc)->Name, AcpiCmGetTypeName (((ACPI_NAMESPACE_NODE *) ObjDesc)->Type)); if (((ACPI_NAMESPACE_NODE *) ObjDesc)->Flags & ANOBJ_METHOD_ARG) diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbexec.c Subsystem/Debugger/dbexec.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbexec.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbexec.c Sat Dec 16 06:34:01 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbexec - debugger control method execution - * $Revision: 19 $ + * $Revision: 20 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbfileio.c Subsystem/Debugger/dbfileio.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbfileio.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbfileio.c Sat Dec 16 06:34:02 2000 @@ -2,7 +2,7 @@ * * Module Name: dbfileio - Debugger file I/O commands. These can't usually * be used when running the debugger in Ring 0 (Kernel mode) - * $Revision: 34 $ + * $Revision: 35 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbhistry.c Subsystem/Debugger/dbhistry.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbhistry.c Thu Nov 16 09:18:38 2000 +++ Subsystem/Debugger/dbhistry.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dbhistry - debugger HISTORY command - * $Revision: 15 $ + * $Revision: 16 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbinput.c Subsystem/Debugger/dbinput.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbinput.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbinput.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbinput - user front-end to the AML debugger - * $Revision: 52 $ + * $Revision: 53 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbstats.c Subsystem/Debugger/dbstats.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbstats.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbstats.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbstats - Generation and display of ACPI table statistics - * $Revision: 35 $ + * $Revision: 36 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbutils.c Subsystem/Debugger/dbutils.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbutils.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbutils.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbutils - AML debugger utilities - * $Revision: 33 $ + * $Revision: 34 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Debugger/dbxface.c Subsystem/Debugger/dbxface.c --- ../acpica-unix-20001201/Subsystem/Debugger/dbxface.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Debugger/dbxface.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbxface - AML Debugger external interfaces - * $Revision: 32 $ + * $Revision: 33 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dsfield.c Subsystem/Dispatcher/dsfield.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dsfield.c Thu Nov 16 09:18:39 2000 +++ Subsystem/Dispatcher/dsfield.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dsfield - Dispatcher field routines - * $Revision: 29 $ + * $Revision: 30 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dsmethod.c Subsystem/Dispatcher/dsmethod.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dsmethod.c Thu Dec 21 00:36:24 2000 +++ Subsystem/Dispatcher/dsmethod.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dsmethod - Parser/Interpreter interface - control method parsing - * $Revision: 53 $ + * $Revision: 54 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dsmthdat.c Subsystem/Dispatcher/dsmthdat.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dsmthdat.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dsmthdat.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dsmthdat - control method arguments and local variables - * $Revision: 36 $ + * $Revision: 37 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dsobject.c Subsystem/Dispatcher/dsobject.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dsobject.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dsobject.c Sat Dec 16 06:34:02 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dsobject - Dispatcher object management routines - * $Revision: 53 $ + * $Revision: 54 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dsopcode.c Subsystem/Dispatcher/dsopcode.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dsopcode.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dsopcode.c Sat Dec 16 06:34:02 2000 @@ -2,7 +2,7 @@ * * Module Name: dsopcode - Dispatcher Op Region support and handling of * "control" opcodes - * $Revision: 28 $ + * $Revision: 29 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dsutils.c Subsystem/Dispatcher/dsutils.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dsutils.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dsutils.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dsutils - Dispatcher utilities - * $Revision: 50 $ + * $Revision: 51 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -241,7 +241,7 @@ case OPTYPE_NAMED_OBJECT: /* Scope, method, etc. */ - /* + /* * These opcodes allow TermArg(s) as operands and therefore * method calls. The result is used. */ diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dswexec.c Subsystem/Dispatcher/dswexec.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dswexec.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dswexec.c Sat Dec 16 06:34:03 2000 @@ -2,7 +2,7 @@ * * Module Name: dswexec - Dispatcher method execution callbacks; * dispatch to interpreter. - * $Revision: 50 $ + * $Revision: 51 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dswload.c Subsystem/Dispatcher/dswload.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dswload.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dswload.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dswload - Dispatcher namespace load callbacks - * $Revision: 24 $ + * $Revision: 25 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -860,7 +860,7 @@ Status = AcpiAmlExecCreateRegion (((ACPI_PARSE2_OBJECT *) Op)->Data, ((ACPI_PARSE2_OBJECT *) Op)->Length, - (ACPI_ADDRESS_SPACE_TYPE) Arg->Value.Integer, + (ACPI_ADDRESS_SPACE_TYPE) Arg->Value.Integer, WalkState); DEBUG_PRINT (TRACE_DISPATCH, diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dswscope.c Subsystem/Dispatcher/dswscope.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dswscope.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dswscope.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dswscope - Scope stack manipulation - * $Revision: 40 $ + * $Revision: 41 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Dispatcher/dswstate.c Subsystem/Dispatcher/dswstate.c --- ../acpica-unix-20001201/Subsystem/Dispatcher/dswstate.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Dispatcher/dswstate.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dswstate - Dispatcher parse tree walk management routines - * $Revision: 35 $ + * $Revision: 36 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -212,7 +212,6 @@ } - /******************************************************************************* * * FUNCTION: AcpiDsResultRemove @@ -415,13 +414,12 @@ ("DsResultPopFromBottom: Obj=%p [%s], Results=%p State=%p\n", *Object, (*Object) ? AcpiCmGetTypeName ((*Object)->Common.Type) : "NULL", State, WalkState)); - - + + return (AE_OK); } - /******************************************************************************* * * FUNCTION: AcpiDsResultPop @@ -479,8 +477,6 @@ } - - /******************************************************************************* * * FUNCTION: AcpiDsResultStackPush @@ -490,7 +486,7 @@ * * RETURN: Status * - * DESCRIPTION: + * DESCRIPTION: * ******************************************************************************/ @@ -500,7 +496,7 @@ { ACPI_GENERIC_STATE *State; - + State = AcpiCmCreateGenericState (); if (!State) { @@ -508,7 +504,7 @@ } AcpiCmPushGenericState (&WalkState->Results, State); - + DEBUG_PRINT (TRACE_EXEC, ("DsResultStackPush: Results=%p State=%p\n", State, WalkState)); @@ -525,7 +521,7 @@ * * RETURN: Status * - * DESCRIPTION: + * DESCRIPTION: * ******************************************************************************/ @@ -559,8 +555,6 @@ } - - /******************************************************************************* * * FUNCTION: AcpiDsObjStackDeleteAll @@ -1093,7 +1087,6 @@ AcpiCmDeleteGenericState (State); } - /* If walk cache is full, just free this wallkstate object */ diff -ruN ../acpica-unix-20001201/Subsystem/Events/evevent.c Subsystem/Events/evevent.c --- ../acpica-unix-20001201/Subsystem/Events/evevent.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Events/evevent.c Sat Dec 16 06:34:03 2000 @@ -2,7 +2,7 @@ * * Module Name: evevent - Fixed and General Purpose AcpiEvent * handling and dispatch - * $Revision: 30 $ + * $Revision: 32 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -504,10 +504,10 @@ for (i = 0; i < Gpe0RegisterCount; i++) { AcpiGbl_GpeRegisters[RegisterIndex].StatusAddr = - (UINT16) (AcpiGbl_FADT->XGpe0Blk.Address + i); + (UINT16) (ACPI_GET_ADDRESS (AcpiGbl_FADT->XGpe0Blk.Address) + i); AcpiGbl_GpeRegisters[RegisterIndex].EnableAddr = - (UINT16) (AcpiGbl_FADT->XGpe0Blk.Address + i + Gpe0RegisterCount); + (UINT16) (ACPI_GET_ADDRESS (AcpiGbl_FADT->XGpe0Blk.Address) + i + Gpe0RegisterCount); AcpiGbl_GpeRegisters[RegisterIndex].GpeBase = (UINT8) MUL_8 (i); @@ -533,10 +533,10 @@ for (i = 0; i < Gpe1RegisterCount; i++) { AcpiGbl_GpeRegisters[RegisterIndex].StatusAddr = - (UINT16) (AcpiGbl_FADT->XGpe1Blk.Address + i); + (UINT16) (ACPI_GET_ADDRESS (AcpiGbl_FADT->XGpe1Blk.Address) + i); AcpiGbl_GpeRegisters[RegisterIndex].EnableAddr = - (UINT16) (AcpiGbl_FADT->XGpe1Blk.Address + i + Gpe1RegisterCount); + (UINT16) (ACPI_GET_ADDRESS (AcpiGbl_FADT->XGpe1Blk.Address) + i + Gpe1RegisterCount); AcpiGbl_GpeRegisters[RegisterIndex].GpeBase = (UINT8) (AcpiGbl_FADT->Gpe1Base + MUL_8 (i)); @@ -812,8 +812,8 @@ FUNCTION_TRACE ("EvAsynchExecuteGpeMethod"); - /* - * Take a snapshot of the GPE info for this level + /* + * Take a snapshot of the GPE info for this level */ AcpiCmAcquireMutex (ACPI_MTX_EVENTS); GpeInfo = AcpiGbl_GpeInfo [GpeNumber]; @@ -877,9 +877,9 @@ /*DEBUG_INCREMENT_EVENT_COUNT (EVENT_GENERAL);*/ - /* + /* * Valid GPE number? - */ + */ if (AcpiGbl_GpeValid[GpeNumber] == ACPI_GPE_INVALID) { DEBUG_PRINT (ACPI_ERROR, ("Invalid GPE bit [%X].\n", GpeNumber)); @@ -899,7 +899,7 @@ * If edge-triggered, clear the GPE status bit now. Note that * level-triggered events are cleared after the GPE is serviced. */ - if (GpeInfo.Type & ACPI_EVENT_EDGE_TRIGGERED) + if (GpeInfo.Type & ACPI_EVENT_EDGE_TRIGGERED) { AcpiHwClearGpe (GpeNumber); } @@ -907,13 +907,13 @@ /* * Function Handler (e.g. EC)? */ - if (GpeInfo.Handler) + if (GpeInfo.Handler) { /* Invoke function handler (at interrupt level). */ GpeInfo.Handler (GpeInfo.Context); /* Level-Triggered? */ - if (GpeInfo.Type & ACPI_EVENT_LEVEL_TRIGGERED) + if (GpeInfo.Type & ACPI_EVENT_LEVEL_TRIGGERED) { AcpiHwClearGpe (GpeNumber); } @@ -926,7 +926,7 @@ */ else if (GpeInfo.MethodHandle) { - if (ACPI_FAILURE(AcpiOsQueueForExecution (OSD_PRIORITY_GPE, + if (ACPI_FAILURE(AcpiOsQueueForExecution (OSD_PRIORITY_GPE, AcpiEvAsynchExecuteGpeMethod, (void*)(NATIVE_UINT)GpeNumber))) { /* @@ -940,12 +940,12 @@ /* * No Handler? Report an error and leave the GPE disabled. */ - else + else { REPORT_ERROR (("AcpiEvGpeDispatch: No installed handler for GPE [%X]\n", GpeNumber)); /* Level-Triggered? */ - if (GpeInfo.Type & ACPI_EVENT_LEVEL_TRIGGERED) + if (GpeInfo.Type & ACPI_EVENT_LEVEL_TRIGGERED) { AcpiHwClearGpe (GpeNumber); } diff -ruN ../acpica-unix-20001201/Subsystem/Events/evmisc.c Subsystem/Events/evmisc.c --- ../acpica-unix-20001201/Subsystem/Events/evmisc.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Events/evmisc.c Sat Dec 16 06:34:03 2000 @@ -2,7 +2,7 @@ * * Module Name: evmisc - ACPI device notification handler dispatch * and ACPI Global Lock support - * $Revision: 20 $ + * $Revision: 21 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Events/evregion.c Subsystem/Events/evregion.c --- ../acpica-unix-20001201/Subsystem/Events/evregion.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Events/evregion.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: evregion - ACPI AddressSpace (OpRegion) handler dispatch - * $Revision: 90 $ + * $Revision: 93 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -418,8 +418,8 @@ * * FUNCTION: AcpiEvDisassociateRegionFromHandler * - * PARAMETERS: HandlerObj - Handler Object - * RegionObj - Region Object + * PARAMETERS: RegionObj - Region Object + * AcpiNsIsLocked - Namespace Region Already Locked? * * RETURN: None * @@ -430,7 +430,8 @@ void AcpiEvDisassociateRegionFromHandler( - ACPI_OPERAND_OBJECT *RegionObj) + ACPI_OPERAND_OBJECT *RegionObj, + BOOLEAN AcpiNsIsLocked) { ACPI_OPERAND_OBJECT *HandlerObj; ACPI_OPERAND_OBJECT *ObjDesc; @@ -481,11 +482,21 @@ *LastObjPtr = ObjDesc->Region.Next; ObjDesc->Region.Next = NULL; /* Must clear field */ + if (AcpiNsIsLocked) + { + AcpiCmReleaseMutex (ACPI_MTX_NAMESPACE); + } + /* * Now stop region accesses by executing the _REG method */ AcpiEvExecuteRegMethod (RegionObj, 0); + if (AcpiNsIsLocked) + { + AcpiCmAcquireMutex (ACPI_MTX_NAMESPACE); + } + /* * Call the setup handler with the deactivate notification */ @@ -548,6 +559,7 @@ * * PARAMETERS: HandlerObj - Handler Object * RegionObj - Region Object + * AcpiNsIsLocked - Namespace Region Already Locked? * * RETURN: None * @@ -752,7 +764,7 @@ * * First disconnect region for any previous handler (if any) */ - AcpiEvDisassociateRegionFromHandler (ObjDesc); + AcpiEvDisassociateRegionFromHandler (ObjDesc, FALSE); /* * Then connect the region to the new handler diff -ruN ../acpica-unix-20001201/Subsystem/Events/evrgnini.c Subsystem/Events/evrgnini.c --- ../acpica-unix-20001201/Subsystem/Events/evrgnini.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Events/evrgnini.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: evrgnini- ACPI AddressSpace (OpRegion) init - * $Revision: 31 $ + * $Revision: 32 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Events/evsci.c Subsystem/Events/evsci.c --- ../acpica-unix-20001201/Subsystem/Events/evsci.c Thu Nov 16 09:18:40 2000 +++ Subsystem/Events/evsci.c Sat Dec 16 06:34:03 2000 @@ -2,7 +2,7 @@ * * Module Name: evsci - System Control Interrupt configuration and * legacy to ACPI mode state transition functions - * $Revision: 67 $ + * $Revision: 68 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Events/evxface.c Subsystem/Events/evxface.c --- ../acpica-unix-20001201/Subsystem/Events/evxface.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Events/evxface.c Sat Dec 16 06:34:03 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: evxface - External interfaces for ACPI events - * $Revision: 97 $ + * $Revision: 98 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Events/evxfevnt.c Subsystem/Events/evxfevnt.c --- ../acpica-unix-20001201/Subsystem/Events/evxfevnt.c Thu Nov 16 09:18:40 2000 +++ Subsystem/Events/evxfevnt.c Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable - * $Revision: 26 $ + * $Revision: 27 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Events/evxfregn.c Subsystem/Events/evxfregn.c --- ../acpica-unix-20001201/Subsystem/Events/evxfregn.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Events/evxfregn.c Sat Dec 16 06:34:04 2000 @@ -2,7 +2,7 @@ * * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and * Address Spaces. - * $Revision: 24 $ + * $Revision: 26 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -464,7 +464,7 @@ * The region is just inaccessible as indicated to * the _REG method */ - AcpiEvDisassociateRegionFromHandler(RegionObj); + AcpiEvDisassociateRegionFromHandler(RegionObj, FALSE); /* * Walk the list, since we took the first region and it diff -ruN ../acpica-unix-20001201/Subsystem/Hardware/hwacpi.c Subsystem/Hardware/hwacpi.c --- ../acpica-unix-20001201/Subsystem/Hardware/hwacpi.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Hardware/hwacpi.c Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: hwacpi - ACPI hardware functions - mode and timer - * $Revision: 32 $ + * $Revision: 34 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -239,7 +239,8 @@ * block is not fixed, so the buffer must be allocated with malloc */ - if (AcpiGbl_FADT->XGpe0Blk.Address && AcpiGbl_FADT->Gpe0BlkLen) + if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XGpe0Blk.Address) && + AcpiGbl_FADT->Gpe0BlkLen) { /* GPE0 specified in FADT */ @@ -264,7 +265,8 @@ AcpiGbl_Gpe0EnableRegisterSave = NULL; } - if (AcpiGbl_FADT->XGpe1Blk.Address && AcpiGbl_FADT->Gpe1BlkLen) + if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XGpe1Blk.Address) && + AcpiGbl_FADT->Gpe1BlkLen) { /* GPE1 defined */ @@ -460,7 +462,7 @@ FUNCTION_TRACE ("AcpiPmtTicks"); - Ticks = AcpiOsIn32 ((ACPI_IO_ADDRESS) AcpiGbl_FADT->XPmTmrBlk.Address); + Ticks = AcpiOsIn32 ((ACPI_IO_ADDRESS) ACPI_GET_ADDRESS (AcpiGbl_FADT->XPmTmrBlk.Address)); return_VALUE (Ticks); } diff -ruN ../acpica-unix-20001201/Subsystem/Hardware/hwcpu32.c Subsystem/Hardware/hwcpu32.c --- ../acpica-unix-20001201/Subsystem/Hardware/hwcpu32.c Thu Nov 16 09:18:41 2000 +++ Subsystem/Hardware/hwcpu32.c Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: hwcpu32.c - CPU support for IA32 (Throttling, CxStates) - * $Revision: 39 $ + * $Revision: 40 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Hardware/hwgpe.c Subsystem/Hardware/hwgpe.c --- ../acpica-unix-20001201/Subsystem/Hardware/hwgpe.c Thu Nov 16 09:18:41 2000 +++ Subsystem/Hardware/hwgpe.c Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: hwgpe - Low level GPE enable/disable/clear functions - * $Revision: 25 $ + * $Revision: 26 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Hardware/hwregs.c Subsystem/Hardware/hwregs.c --- ../acpica-unix-20001201/Subsystem/Hardware/hwregs.c Thu Dec 21 00:36:25 2000 +++ Subsystem/Hardware/hwregs.c Sat Dec 16 06:34:04 2000 @@ -3,7 +3,7 @@ * * Module Name: hwregs - Read/write access functions for the various ACPI * control and status registers. - * $Revision: 84 $ + * $Revision: 86 $ * ******************************************************************************/ @@ -11,8 +11,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -186,7 +186,7 @@ DEBUG_PRINT (TRACE_IO, ("About to write %04X to %04X\n", ALL_FIXED_STS_BITS, - (UINT16) AcpiGbl_FADT->XPm1aEvtBlk.Address)); + (UINT16) ACPI_GET_ADDRESS (AcpiGbl_FADT->XPm1aEvtBlk.Address))); AcpiCmAcquireMutex (ACPI_MTX_HARDWARE); @@ -194,9 +194,9 @@ AcpiHwRegisterWrite (ACPI_MTX_DO_NOT_LOCK, PM1_STS, ALL_FIXED_STS_BITS); - if (AcpiGbl_FADT->XPm1bEvtBlk.Address) + if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm1bEvtBlk.Address)) { - AcpiOsOut16 ((ACPI_IO_ADDRESS) AcpiGbl_FADT->XPm1bEvtBlk.Address, + AcpiOsOut16 ((ACPI_IO_ADDRESS) ACPI_GET_ADDRESS (AcpiGbl_FADT->XPm1bEvtBlk.Address), (UINT16) ALL_FIXED_STS_BITS); } @@ -208,7 +208,7 @@ for (Index = 0; Index < GpeLength; Index++) { - AcpiOsOut8 ((ACPI_IO_ADDRESS) (AcpiGbl_FADT->XGpe0Blk.Address + Index), + AcpiOsOut8 ((ACPI_IO_ADDRESS) (ACPI_GET_ADDRESS (AcpiGbl_FADT->XGpe0Blk.Address) + Index), (UINT8) 0xff); } } @@ -219,7 +219,7 @@ for (Index = 0; Index < GpeLength; Index++) { - AcpiOsOut8 ((ACPI_IO_ADDRESS) (AcpiGbl_FADT->XGpe1Blk.Address + Index), + AcpiOsOut8 ((ACPI_IO_ADDRESS) (ACPI_GET_ADDRESS (AcpiGbl_FADT->XGpe1Blk.Address) + Index), (UINT8) 0xff); } } @@ -574,7 +574,7 @@ RegisterValue = AcpiHwRegisterRead (ACPI_MTX_DO_NOT_LOCK, PM2_CONTROL); DEBUG_PRINT (TRACE_IO, ("PM2 control: Read %X from %p\n", - RegisterValue, AcpiGbl_FADT->XPm2CntBlk.Address)); + RegisterValue, ACPI_GET_ADDRESS (AcpiGbl_FADT->XPm2CntBlk.Address))); if (ReadWrite == ACPI_WRITE) { @@ -599,7 +599,7 @@ RegisterValue = AcpiHwRegisterRead (ACPI_MTX_DO_NOT_LOCK, PM_TIMER); DEBUG_PRINT (TRACE_IO, ("PM_TIMER: Read %X from %p\n", - RegisterValue, AcpiGbl_FADT->XPmTmrBlk.Address)); + RegisterValue, ACPI_GET_ADDRESS (AcpiGbl_FADT->XPmTmrBlk.Address))); break; @@ -980,7 +980,7 @@ * a non-zero address within */ if ((!Reg) || - (!Reg->Address)) + (!ACPI_VALID_ADDRESS (Reg->Address))) { return 0; } @@ -995,7 +995,7 @@ { case ADDRESS_SPACE_SYSTEM_MEMORY: - MemAddress = (ACPI_PHYSICAL_ADDRESS) Reg->Address + Offset; + MemAddress = (ACPI_PHYSICAL_ADDRESS) (ACPI_GET_ADDRESS (Reg->Address) + Offset); switch (Width) { @@ -1014,7 +1014,7 @@ case ADDRESS_SPACE_SYSTEM_IO: - IoAddress = (ACPI_IO_ADDRESS) Reg->Address + Offset; + IoAddress = (ACPI_IO_ADDRESS) (ACPI_GET_ADDRESS (Reg->Address) + Offset); switch (Width) { @@ -1033,8 +1033,8 @@ case ADDRESS_SPACE_PCI_CONFIG: - PciDevFunc = ACPI_PCI_DEVFUN (Reg->Address); - PciRegister = ACPI_PCI_REGISTER (Reg->Address) + Offset; + PciDevFunc = ACPI_PCI_DEVFUN (ACPI_GET_ADDRESS (Reg->Address)); + PciRegister = ACPI_PCI_REGISTER (ACPI_GET_ADDRESS (Reg->Address)) + Offset; switch (Width) { @@ -1089,7 +1089,7 @@ * a non-zero address within */ if ((!Reg) || - (!Reg->Address)) + (!ACPI_VALID_ADDRESS (Reg->Address))) { return; } @@ -1104,7 +1104,7 @@ { case ADDRESS_SPACE_SYSTEM_MEMORY: - MemAddress = (ACPI_PHYSICAL_ADDRESS) Reg->Address + Offset; + MemAddress = (ACPI_PHYSICAL_ADDRESS) (ACPI_GET_ADDRESS (Reg->Address) + Offset); switch (Width) { @@ -1123,7 +1123,7 @@ case ADDRESS_SPACE_SYSTEM_IO: - IoAddress = (ACPI_IO_ADDRESS) Reg->Address + Offset; + IoAddress = (ACPI_IO_ADDRESS) (ACPI_GET_ADDRESS (Reg->Address) + Offset); switch (Width) { @@ -1142,8 +1142,8 @@ case ADDRESS_SPACE_PCI_CONFIG: - PciDevFunc = ACPI_PCI_DEVFUN (Reg->Address); - PciRegister = ACPI_PCI_REGISTER (Reg->Address) + Offset; + PciDevFunc = ACPI_PCI_DEVFUN (ACPI_GET_ADDRESS (Reg->Address)); + PciRegister = ACPI_PCI_REGISTER (ACPI_GET_ADDRESS (Reg->Address)) + Offset; switch (Width) { diff -ruN ../acpica-unix-20001201/Subsystem/Hardware/hwxface.c Subsystem/Hardware/hwxface.c --- ../acpica-unix-20001201/Subsystem/Hardware/hwxface.c Thu Nov 16 09:18:41 2000 +++ Subsystem/Hardware/hwxface.c Sat Dec 16 06:34:04 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Name: hwxface.c - Hardware access external interfaces - * $Revision: 36 $ + * $Revision: 37 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/accommon.h Subsystem/Include/accommon.h --- ../acpica-unix-20001201/Subsystem/Include/accommon.h Thu Dec 21 00:36:25 2000 +++ Subsystem/Include/accommon.h Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: accommon.h -- prototypes for the common (subsystem-wide) procedures - * $Revision: 82 $ + * $Revision: 83 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acconfig.h Subsystem/Include/acconfig.h --- ../acpica-unix-20001201/Subsystem/Include/acconfig.h Thu Nov 16 09:18:41 2000 +++ Subsystem/Include/acconfig.h Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acconfig.h - Global configuration constants - * $Revision: 48 $ + * $Revision: 49 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acdebug.h Subsystem/Include/acdebug.h --- ../acpica-unix-20001201/Subsystem/Include/acdebug.h Thu Nov 16 09:18:41 2000 +++ Subsystem/Include/acdebug.h Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acdebug.h - ACPI/AML debugger - * $Revision: 37 $ + * $Revision: 38 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acdispat.h Subsystem/Include/acdispat.h --- ../acpica-unix-20001201/Subsystem/Include/acdispat.h Thu Dec 21 00:36:25 2000 +++ Subsystem/Include/acdispat.h Sat Dec 16 06:34:04 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acdispat.h - dispatcher (parser to interpreter interface) - * $Revision: 33 $ + * $Revision: 34 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acefi.h Subsystem/Include/acefi.h --- ../acpica-unix-20001201/Subsystem/Include/acefi.h Thu Dec 21 00:36:25 2000 +++ Subsystem/Include/acefi.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acefi.h - OS specific defines, etc. - * $Revision: 4 $ + * $Revision: 5 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acenv.h Subsystem/Include/acenv.h --- ../acpica-unix-20001201/Subsystem/Include/acenv.h Thu Nov 16 09:18:41 2000 +++ Subsystem/Include/acenv.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acenv.h - Generation environment specific items - * $Revision: 65 $ + * $Revision: 66 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acevents.h Subsystem/Include/acevents.h --- ../acpica-unix-20001201/Subsystem/Include/acevents.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/acevents.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acevents.h - Event subcomponent prototypes and defines - * $Revision: 60 $ + * $Revision: 62 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -214,7 +214,8 @@ void AcpiEvDisassociateRegionFromHandler( - ACPI_OPERAND_OBJECT *RegionObj); + ACPI_OPERAND_OBJECT *RegionObj, + BOOLEAN AcpiNsIsLocked); ACPI_STATUS diff -ruN ../acpica-unix-20001201/Subsystem/Include/acexcep.h Subsystem/Include/acexcep.h --- ../acpica-unix-20001201/Subsystem/Include/acexcep.h Thu Dec 21 00:36:25 2000 +++ Subsystem/Include/acexcep.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acexcep.h - Exception codes returned by the ACPI subsystem - * $Revision: 37 $ + * $Revision: 38 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acfreebsd.h Subsystem/Include/acfreebsd.h --- ../acpica-unix-20001201/Subsystem/Include/acfreebsd.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/acfreebsd.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acfreebsd.h - OS specific defines, etc. - * $Revision: 1 $ + * $Revision: 2 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acgcc.h Subsystem/Include/acgcc.h --- ../acpica-unix-20001201/Subsystem/Include/acgcc.h Thu Dec 21 00:36:25 2000 +++ Subsystem/Include/acgcc.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acgcc.h - GCC specific defines, etc. - * $Revision: 2 $ + * $Revision: 3 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acglobal.h Subsystem/Include/acglobal.h --- ../acpica-unix-20001201/Subsystem/Include/acglobal.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/acglobal.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acglobal.h - Declarations for global variables - * $Revision: 92 $ + * $Revision: 93 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/achware.h Subsystem/Include/achware.h --- ../acpica-unix-20001201/Subsystem/Include/achware.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/achware.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: achware.h -- hardware specific interfaces - * $Revision: 48 $ + * $Revision: 49 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acinterp.h Subsystem/Include/acinterp.h --- ../acpica-unix-20001201/Subsystem/Include/acinterp.h Thu Dec 21 00:36:25 2000 +++ Subsystem/Include/acinterp.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acinterp.h - Interpreter subcomponent prototypes and defines - * $Revision: 86 $ + * $Revision: 87 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/aclinux.h Subsystem/Include/aclinux.h --- ../acpica-unix-20001201/Subsystem/Include/aclinux.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/aclinux.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: aclinux.h - OS specific defines, etc. - * $Revision: 4 $ + * $Revision: 6 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -138,21 +138,5 @@ #ifndef _IA64 #define ACPI_NO_INTEGER64_SUPPORT #endif - -#if 0 - -/* Use native Linux string library */ - -#define ACPI_USE_SYSTEM_CLIBRARY - -/* Special functions */ - -#define strtoul simple_strtoul - -/* Linux clib doesn't to strupr, but we do. */ -char * -strupr(char *str); - -#endif /* 0 */ #endif /* __ACLINUX_H__ */ diff -ruN ../acpica-unix-20001201/Subsystem/Include/aclocal.h Subsystem/Include/aclocal.h --- ../acpica-unix-20001201/Subsystem/Include/aclocal.h Thu Dec 21 00:36:26 2000 +++ Subsystem/Include/aclocal.h Sat Dec 16 06:34:05 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: aclocal.h - Internal data types used across the ACPI subsystem - * $Revision: 93 $ + * $Revision: 94 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acmacros.h Subsystem/Include/acmacros.h --- ../acpica-unix-20001201/Subsystem/Include/acmacros.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/acmacros.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acmacros.h - C macros for the entire subsystem. - * $Revision: 56 $ + * $Revision: 59 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -154,6 +154,15 @@ #define HI_LIMIT(b) ((UINT8) (((b) & 0x00FF0000) >> 16)) +#ifdef _IA16 +#define ACPI_GET_ADDRESS(a) ((a).Lo) +#define ACPI_STORE_ADDRESS(a,b) {(a).Hi=0;(a).Lo=(b);} +#define ACPI_VALID_ADDRESS(a) ((a).Hi && (a).Lo) +#else +#define ACPI_GET_ADDRESS(a) (a) +#define ACPI_STORE_ADDRESS(a,b) ((a)=(b)) +#define ACPI_VALID_ADDRESS(a) (a) +#endif /* * Extract a byte of data using a pointer. Any more than a byte and we * get into potential aligment issues -- see the STORE macros below @@ -258,9 +267,16 @@ #define ACPI_PCI_FUNCTION(a) (UINT32) ((((a) & ACPI_PCI_FUNCTION_MASK) >> 16)) #define ACPI_PCI_DEVICE(a) (UINT32) ((((a) & ACPI_PCI_DEVICE_MASK) >> 32)) + +#ifndef _IA16 #define ACPI_PCI_REGISTER(a) (UINT32) (((a) & ACPI_PCI_REGISTER_MASK)) #define ACPI_PCI_DEVFUN(a) (UINT32) ((ACPI_PCI_DEVICE(a) << 16) | ACPI_PCI_FUNCTION(a)) +#else +#define ACPI_PCI_REGISTER(a) (UINT32) (((a) & 0x0000FFFF)) +#define ACPI_PCI_DEVFUN(a) (UINT32) ((((a) & 0xFFFF0000) >> 16)) + +#endif /* * An ACPI_HANDLE (which is actually an ACPI_NAMESPACE_NODE *) can appear in some contexts, diff -ruN ../acpica-unix-20001201/Subsystem/Include/acmsvc.h Subsystem/Include/acmsvc.h --- ../acpica-unix-20001201/Subsystem/Include/acmsvc.h Thu Nov 16 09:18:42 2000 +++ Subsystem/Include/acmsvc.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acmsvc.h - VC specific defines, etc. - * $Revision: 2 $ + * $Revision: 3 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acnamesp.h Subsystem/Include/acnamesp.h --- ../acpica-unix-20001201/Subsystem/Include/acnamesp.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acnamesp.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acnamesp.h - Namespace subcomponent prototypes and defines - * $Revision: 98 $ + * $Revision: 99 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acobject.h Subsystem/Include/acobject.h --- ../acpica-unix-20001201/Subsystem/Include/acobject.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acobject.h Sat Dec 16 06:34:06 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Name: acobject.h - Definition of ACPI_OPERAND_OBJECT (Internal object only) - * $Revision: 75 $ + * $Revision: 76 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acoutput.h Subsystem/Include/acoutput.h --- ../acpica-unix-20001201/Subsystem/Include/acoutput.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acoutput.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acoutput.h -- debug output - * $Revision: 66 $ + * $Revision: 67 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acparser.h Subsystem/Include/acparser.h --- ../acpica-unix-20001201/Subsystem/Include/acparser.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acparser.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: acparser.h - AML Parser subcomponent prototypes and defines - * $Revision: 47 $ + * $Revision: 48 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acpi.h Subsystem/Include/acpi.h --- ../acpica-unix-20001201/Subsystem/Include/acpi.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acpi.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acpi.h - Master include file, Publics and external data. - * $Revision: 48 $ + * $Revision: 49 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acpiosxf.h Subsystem/Include/acpiosxf.h --- ../acpica-unix-20001201/Subsystem/Include/acpiosxf.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acpiosxf.h Sat Dec 16 06:34:06 2000 @@ -1,9 +1,9 @@ /****************************************************************************** * - * Name: acpiosd.h - All interfaces to the OS-dependent layer. These - * interfaces must be implemented by the OS-dependent - * front-end to the ACPI subsystem. + * Name: acpiosxf.h - All interfaces to the OS-dependent layer. These + * interfaces must be implemented by the OS-dependent + * front-end to the ACPI subsystem. * *****************************************************************************/ @@ -12,8 +12,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -126,10 +126,10 @@ /* Priorities for AcpiOsQueueForExecution */ -#define OSD_PRIORITY_HIGH 1 -#define OSD_PRIORITY_MED 2 -#define OSD_PRIORITY_LO 3 -#define OSD_PRIORITY_GPE OSD_PRIORITY_HIGH +#define OSD_PRIORITY_GPE 1 +#define OSD_PRIORITY_HIGH 2 +#define OSD_PRIORITY_MED 3 +#define OSD_PRIORITY_LO 4 #define ACPI_NO_UNIT_LIMIT ((UINT32) -1) #define ACPI_MUTEX_SEM 1 diff -ruN ../acpica-unix-20001201/Subsystem/Include/acpixf.h Subsystem/Include/acpixf.h --- ../acpica-unix-20001201/Subsystem/Include/acpixf.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acpixf.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * - * Name: acxface.h - External interfaces to the ACPI subsystem + * Name: acpixf.h - External interfaces to the ACPI subsystem * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/acresrc.h Subsystem/Include/acresrc.h --- ../acpica-unix-20001201/Subsystem/Include/acresrc.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/acresrc.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acresrc.h - Resource Manager function prototypes - * $Revision: 20 $ + * $Revision: 21 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/actables.h Subsystem/Include/actables.h --- ../acpica-unix-20001201/Subsystem/Include/actables.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/actables.h Sat Dec 16 06:34:06 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: actables.h - ACPI table management - * $Revision: 27 $ + * $Revision: 28 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/actbl.h Subsystem/Include/actbl.h --- ../acpica-unix-20001201/Subsystem/Include/actbl.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/actbl.h Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: actbl.h - Table data structures defined in ACPI specification - * $Revision: 43 $ + * $Revision: 44 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/actbl1.h Subsystem/Include/actbl1.h --- ../acpica-unix-20001201/Subsystem/Include/actbl1.h Thu Nov 16 09:18:43 2000 +++ Subsystem/Include/actbl1.h Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: actbl1.h - ACPI 1.0 tables - * $Revision: 15 $ + * $Revision: 16 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/actbl2.h Subsystem/Include/actbl2.h --- ../acpica-unix-20001201/Subsystem/Include/actbl2.h Thu Nov 16 09:18:44 2000 +++ Subsystem/Include/actbl2.h Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: actbl2.h - ACPI Specification Revision 2.0 Tables - * $Revision: 19 $ + * $Revision: 20 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/actbl71.h Subsystem/Include/actbl71.h --- ../acpica-unix-20001201/Subsystem/Include/actbl71.h Thu Nov 16 09:18:44 2000 +++ Subsystem/Include/actbl71.h Sat Dec 16 06:34:07 2000 @@ -3,7 +3,7 @@ * Name: actbl71.h - IA-64 Extensions to the ACPI Spec Rev. 0.71 * This file includes tables specific to this * specification revision. - * $Revision: 7 $ + * $Revision: 8 $ * *****************************************************************************/ @@ -11,8 +11,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/actypes.h Subsystem/Include/actypes.h --- ../acpica-unix-20001201/Subsystem/Include/actypes.h Thu Dec 21 00:36:26 2000 +++ Subsystem/Include/actypes.h Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: actypes.h - Common data types for the entire ACPI subsystem - * $Revision: 155 $ + * $Revision: 159 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -176,12 +176,19 @@ typedef int INT16; typedef unsigned long UINT32; +typedef struct +{ + UINT32 Lo; + UINT32 Hi; + +} UINT64; + typedef UINT16 NATIVE_UINT; typedef INT16 NATIVE_INT; typedef UINT32 ACPI_TBLPTR; typedef UINT32 ACPI_IO_ADDRESS; -typedef UINT32 ACPI_PHYSICAL_ADDRESS; +typedef void *ACPI_PHYSICAL_ADDRESS; #define ALIGNED_ADDRESS_BOUNDARY 0x00000002 #define _HW_ALIGNMENT_SUPPORT @@ -288,19 +295,23 @@ */ #ifdef ACPI_NO_INTEGER64_SUPPORT -/* 32-bit Integers */ +/* 32-bit integers only, no 64-bit support */ typedef UINT32 ACPI_INTEGER; -#define ACPI_INTEGER_MAX ACPI_UINT32_MAX; +#define ACPI_INTEGER_MAX ACPI_UINT32_MAX #define ACPI_INTEGER_BIT_SIZE 32 +#define ACPI_MAX_BCD_VALUE 99999999 +#define ACPI_MAX_BCD_DIGITS 8 #else -/* 64-bit Integers */ +/* 64-bit integers */ typedef UINT64 ACPI_INTEGER; -#define ACPI_INTEGER_MAX ACPI_UINT64_MAX; +#define ACPI_INTEGER_MAX ACPI_UINT64_MAX #define ACPI_INTEGER_BIT_SIZE 64 +#define ACPI_MAX_BCD_VALUE 9999999999999999 +#define ACPI_MAX_BCD_DIGITS 16 #endif @@ -767,7 +778,7 @@ typedef struct { - UINT64 MappedPhysicalAddress; + ACPI_PHYSICAL_ADDRESS MappedPhysicalAddress; UINT8 *MappedLogicalAddress; UINT32 MappedLength; } MEM_HANDLER_CONTEXT; diff -ruN ../acpica-unix-20001201/Subsystem/Include/acwin.h Subsystem/Include/acwin.h --- ../acpica-unix-20001201/Subsystem/Include/acwin.h Thu Nov 16 09:18:44 2000 +++ Subsystem/Include/acwin.h Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acwin.h - OS specific defines, etc. - * $Revision: 1 $ + * $Revision: 2 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Include/amlcode.h Subsystem/Include/amlcode.h --- ../acpica-unix-20001201/Subsystem/Include/amlcode.h Thu Dec 21 00:36:26 2000 +++ Subsystem/Include/amlcode.h Sat Dec 16 06:34:07 2000 @@ -3,7 +3,7 @@ * Name: amlcode.h - Definitions for AML, as included in "definition blocks" * Declarations and definitions contained herein are derived * directly from the ACPI specification. - * $Revision: 42 $ + * $Revision: 43 $ * *****************************************************************************/ @@ -11,8 +11,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -464,8 +464,6 @@ #define METHOD_FLAGS_ARG_COUNT 0x07 #define METHOD_FLAGS_SERIALIZED 0x08 - - /* Array sizes. Used for range checking also */ diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amconfig.c Subsystem/Interpreter/amconfig.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amconfig.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amconfig.c Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: amconfig - Namespace reconfiguration (Load/Unload opcodes) - * $Revision: 26 $ + * $Revision: 27 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amcreate.c Subsystem/Interpreter/amcreate.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amcreate.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amcreate.c Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: amcreate - Named object creation - * $Revision: 51 $ + * $Revision: 52 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -531,8 +531,8 @@ FUNCTION_TRACE ("AmlExecCreateRegion"); - /* - * Space ID must be one of the predefined IDs, or in the user-defined + /* + * Space ID must be one of the predefined IDs, or in the user-defined * range */ if ((RegionSpace >= NUM_REGION_TYPES) && diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amdump.c Subsystem/Interpreter/amdump.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amdump.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amdump.c Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: amdump - Interpreter debug output routines - * $Revision: 96 $ + * $Revision: 97 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amdyadic.c Subsystem/Interpreter/amdyadic.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amdyadic.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amdyadic.c Sat Dec 16 06:34:07 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: amdyadic - ACPI AML (p-code) execution for dyadic operators - * $Revision: 68 $ + * $Revision: 69 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amfield.c Subsystem/Interpreter/amfield.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amfield.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amfield.c Sat Dec 16 06:34:08 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: amfield - ACPI AML (p-code) execution - field manipulation - * $Revision: 74 $ + * $Revision: 75 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amfldio.c Subsystem/Interpreter/amfldio.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amfldio.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amfldio.c Sat Dec 16 06:34:08 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: amfldio - Aml Field I/O - * $Revision: 32 $ + * $Revision: 33 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -193,7 +193,7 @@ DEBUG_PRINT (TRACE_OPREGION, ("AmlReadFieldData: Region %s(%X) at %08lx width %X\n", - AcpiCmGetRegionName (RgnDesc->Region.SpaceId), + AcpiCmGetRegionName (RgnDesc->Region.SpaceId), RgnDesc->Region.SpaceId, Address, FieldBitWidth)); @@ -207,7 +207,7 @@ { DEBUG_PRINT (ACPI_ERROR, ("AmlReadFieldData: **** Region %s(%X) not implemented\n", - AcpiCmGetRegionName (RgnDesc->Region.SpaceId), + AcpiCmGetRegionName (RgnDesc->Region.SpaceId), RgnDesc->Region.SpaceId)); } @@ -215,7 +215,7 @@ { DEBUG_PRINT (ACPI_ERROR, ("AmlReadFieldData: **** Region %s(%X) has no handler\n", - AcpiCmGetRegionName (RgnDesc->Region.SpaceId), + AcpiCmGetRegionName (RgnDesc->Region.SpaceId), RgnDesc->Region.SpaceId)); } @@ -487,7 +487,7 @@ DEBUG_PRINT (TRACE_OPREGION, ("AmlWriteField: Store %lx in Region %s(%X) at %p width %X\n", - Value, AcpiCmGetRegionName (RgnDesc->Region.SpaceId), + Value, AcpiCmGetRegionName (RgnDesc->Region.SpaceId), RgnDesc->Region.SpaceId, Address, FieldBitWidth)); diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/ammisc.c Subsystem/Interpreter/ammisc.c --- ../acpica-unix-20001201/Subsystem/Interpreter/ammisc.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/ammisc.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: ammisc - ACPI AML (p-code) execution - specific opcodes - * $Revision: 71 $ + * $Revision: 72 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/ammonad.c Subsystem/Interpreter/ammonad.c --- ../acpica-unix-20001201/Subsystem/Interpreter/ammonad.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/ammonad.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: ammonad - ACPI AML (p-code) execution for monadic operators - * $Revision: 85 $ + * $Revision: 88 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -355,10 +355,9 @@ ACPI_OPERAND_OBJECT *RetDesc2 = NULL; UINT32 ResVal; ACPI_STATUS Status; - UINT32 d0; - UINT32 d1; - UINT32 d2; - UINT32 d3; + UINT32 i; + UINT32 j; + ACPI_INTEGER Digit; FUNCTION_TRACE_PTR ("AmlExecMonadic2R", WALK_OPERANDS); @@ -461,23 +460,39 @@ case AML_FROM_BCD_OP: - /* TBD: for ACPI 2.0, expand to 64 bits */ + /* + * The 64-bit ACPI integer can hold 16 4-bit BCD integers + */ + RetDesc->Number.Value = 0; + for (i = 0; i < ACPI_MAX_BCD_DIGITS; i++) + { + /* Get one BCD digit */ - d0 = (UINT32) (ObjDesc->Number.Value & 15); - d1 = (UINT32) (ObjDesc->Number.Value >> 4 & 15); - d2 = (UINT32) (ObjDesc->Number.Value >> 8 & 15); - d3 = (UINT32) (ObjDesc->Number.Value >> 12 & 15); + Digit = (ACPI_INTEGER) ((ObjDesc->Number.Value >> (i * 4)) & 0xF); - if (d0 > 9 || d1 > 9 || d2 > 9 || d3 > 9) - { - DEBUG_PRINT (ACPI_ERROR, - ("Monadic2R/FromBCDOp: BCD digit too large %d %d %d %d\n", - d3, d2, d1, d0)); - Status = AE_AML_NUMERIC_OVERFLOW; - goto Cleanup; - } + /* Check the range of the digit */ + + if (Digit > 9) + { + DEBUG_PRINT (ACPI_ERROR, + ("Monadic2R/FromBCDOp: BCD digit too large: \n", + Digit)); + Status = AE_AML_NUMERIC_OVERFLOW; + goto Cleanup; + } + + if (Digit > 0) + { + /* Sum into the result with the appropriate power of 10 */ + + for (j = 0; j < i; j++) + { + Digit *= 10; + } - RetDesc->Number.Value = d0 + d1 * 10 + d2 * 100 + d3 * 1000; + RetDesc->Number.Value += Digit; + } + } break; @@ -485,9 +500,8 @@ case AML_TO_BCD_OP: - /* TBD: for ACPI 2.0, expand to 64 bits */ - if (ObjDesc->Number.Value > 9999) + if (ObjDesc->Number.Value > ACPI_MAX_BCD_VALUE) { DEBUG_PRINT (ACPI_ERROR, ("Monadic2R/ToBCDOp: BCD overflow: %d\n", ObjDesc->Number.Value)); @@ -495,12 +509,24 @@ goto Cleanup; } - RetDesc->Number.Value - = ACPI_MODULO (ObjDesc->Number.Value, 10) - + (ACPI_MODULO (ACPI_DIVIDE (ObjDesc->Number.Value, 10), 10) << 4) - + (ACPI_MODULO (ACPI_DIVIDE (ObjDesc->Number.Value, 100), 10) << 8) - + (ACPI_MODULO (ACPI_DIVIDE (ObjDesc->Number.Value, 1000), 10) << 12); + RetDesc->Number.Value = 0; + for (i = 0; i < ACPI_MAX_BCD_DIGITS; i++) + { + /* Divide by nth factor of 10 */ + Digit = ObjDesc->Number.Value; + for (j = 0; j < i; j++) + { + Digit /= 10; + } + + /* Create the BCD digit */ + + if (Digit > 0) + { + RetDesc->Number.Value += (ACPI_MODULO (Digit, 10) << (i * 4)); + } + } break; @@ -544,7 +570,7 @@ /* The object exists in the namespace, return TRUE */ - RetDesc->Number.Value = ACPI_INTEGER_MAX + RetDesc->Number.Value = ACPI_INTEGER_MAX; goto Cleanup; break; diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amnames.c Subsystem/Interpreter/amnames.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amnames.c Thu Nov 16 09:18:45 2000 +++ Subsystem/Interpreter/amnames.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amnames - interpreter/scanner name load/execute - * $Revision: 71 $ + * $Revision: 72 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amprep.c Subsystem/Interpreter/amprep.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amprep.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amprep.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amprep - ACPI AML (p-code) execution - field prep utilities - * $Revision: 69 $ + * $Revision: 72 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -142,13 +142,29 @@ static UINT32 AcpiAmlDecodeFieldAccessType ( - UINT32 Access) + UINT32 Access, + UINT16 Length) { switch (Access) { case ACCESS_ANY_ACC: - return (8); + if (Length <= 8) + { + return (8); + } + else if (Length <= 16) + { + return (16); + } + else if (Length <= 32) + { + return (32); + } + else + { + return (8); + } break; case ACCESS_BYTE_ACC: @@ -229,7 +245,7 @@ /* Decode the access type so we can compute offsets */ - Granularity = AcpiAmlDecodeFieldAccessType (ObjDesc->Field.Access); + Granularity = AcpiAmlDecodeFieldAccessType (ObjDesc->Field.Access, ObjDesc->Field.Length); if (!Granularity) { return_ACPI_STATUS (AE_AML_OPERAND_VALUE); diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amregion.c Subsystem/Interpreter/amregion.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amregion.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amregion.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amregion - ACPI default OpRegion (address space) handlers - * $Revision: 41 $ + * $Revision: 42 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amresnte.c Subsystem/Interpreter/amresnte.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amresnte.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amresnte.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amresnte - AML Interpreter object resolution - * $Revision: 25 $ + * $Revision: 26 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amresolv.c Subsystem/Interpreter/amresolv.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amresolv.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amresolv.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amresolv - AML Interpreter object resolution - * $Revision: 78 $ + * $Revision: 79 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amresop.c Subsystem/Interpreter/amresop.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amresop.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amresop.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amresop - AML Interpreter operand/object resolution - * $Revision: 18 $ + * $Revision: 19 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -131,7 +131,6 @@ MODULE_NAME ("amresop") - /******************************************************************************* * * FUNCTION: AcpiAmlCheckObjectType @@ -344,8 +343,8 @@ /* - * Handle cases where the object does not need to be - * resolved to a value + * Handle cases where the object does not need to be + * resolved to a value */ switch (ThisArgType) @@ -361,7 +360,7 @@ goto NextOperand; } - Status = AcpiAmlCheckObjectType (INTERNAL_TYPE_REFERENCE, + Status = AcpiAmlCheckObjectType (INTERNAL_TYPE_REFERENCE, ObjectType, ObjDesc); if (ACPI_FAILURE (Status)) { @@ -380,7 +379,7 @@ AcpiCmRemoveReference (ObjDesc); (*StackPtr) = TempHandle; } - + goto NextOperand; break; @@ -404,7 +403,6 @@ } - /* * Resolve this object to a value */ @@ -426,7 +424,7 @@ * is allowed */ case ARGI_NUMBER: /* Number */ - + /* Need an operand of type ACPI_TYPE_NUMBER */ TypeNeeded = ACPI_TYPE_NUMBER; @@ -523,7 +521,7 @@ DEBUG_PRINT (ACPI_INFO, ("AmlResolveOperands: Needed [Buf/Str/Pkg/Ref], found [%s] %p\n", AcpiCmGetTypeName ((*StackPtr)->Common.Type), *StackPtr)); - + return_ACPI_STATUS (AE_AML_OPERAND_TYPE); } @@ -574,11 +572,11 @@ } - /* + /* * Make sure that the original object was resolved to the * required object type (Simple cases only). */ - Status = AcpiAmlCheckObjectType (TypeNeeded, + Status = AcpiAmlCheckObjectType (TypeNeeded, (*StackPtr)->Common.Type, *StackPtr); if (ACPI_FAILURE (Status)) { @@ -586,8 +584,6 @@ } - - NextOperand: /* * If more operands needed, decrement StackPtr to point @@ -599,7 +595,6 @@ } } /* while (*Types) */ - return_ACPI_STATUS (Status); diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amstore.c Subsystem/Interpreter/amstore.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amstore.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amstore.c Sat Dec 16 06:34:08 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amstore - AML Interpreter object store support - * $Revision: 117 $ + * $Revision: 118 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amstoren.c Subsystem/Interpreter/amstoren.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amstoren.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amstoren.c Sat Dec 16 06:34:09 2000 @@ -3,7 +3,7 @@ * * Module Name: amstoren - AML Interpreter object store support, * Store to Node (namespace object) - * $Revision: 24 $ + * $Revision: 25 $ * *****************************************************************************/ @@ -11,8 +11,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amstorob.c Subsystem/Interpreter/amstorob.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amstorob.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amstorob.c Sat Dec 16 06:34:09 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amstorob - AML Interpreter object store support, store to object - * $Revision: 18 $ + * $Revision: 19 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amsystem.c Subsystem/Interpreter/amsystem.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amsystem.c Thu Nov 16 09:18:46 2000 +++ Subsystem/Interpreter/amsystem.c Sat Dec 16 06:34:09 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amsystem - Interface to OS services - * $Revision: 52 $ + * $Revision: 53 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amutils.c Subsystem/Interpreter/amutils.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amutils.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Interpreter/amutils.c Sat Dec 16 06:34:09 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amutils - interpreter/scanner utilities - * $Revision: 64 $ + * $Revision: 66 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -264,7 +264,7 @@ * We are running a method that exists in a 32-bit ACPI table. * Truncate the value to 32 bits by zeroing out the upper 32-bit field */ - ObjDesc->Number.Value &= (UINT64) ACPI_UINT32_MAX; + ObjDesc->Number.Value &= (ACPI_INTEGER) ACPI_UINT32_MAX; } } diff -ruN ../acpica-unix-20001201/Subsystem/Interpreter/amxface.c Subsystem/Interpreter/amxface.c --- ../acpica-unix-20001201/Subsystem/Interpreter/amxface.c Thu Nov 16 09:18:46 2000 +++ Subsystem/Interpreter/amxface.c Sat Dec 16 06:34:09 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: amxface - External interpreter interfaces - * $Revision: 22 $ + * $Revision: 23 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsaccess.c Subsystem/Namespace/nsaccess.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsaccess.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Namespace/nsaccess.c Sat Dec 16 06:34:09 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: nsaccess - Top-level functions for accessing ACPI namespace - * $Revision: 115 $ + * $Revision: 116 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsalloc.c Subsystem/Namespace/nsalloc.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsalloc.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Namespace/nsalloc.c Sat Dec 16 06:34:09 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: nsalloc - Namespace allocation and deletion utilities - * $Revision: 43 $ + * $Revision: 44 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsdump.c Subsystem/Namespace/nsdump.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsdump.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Namespace/nsdump.c Sat Dec 16 06:34:09 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nsdump - table dumping routines for debug - * $Revision: 82 $ + * $Revision: 83 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nseval.c Subsystem/Namespace/nseval.c --- ../acpica-unix-20001201/Subsystem/Namespace/nseval.c Thu Nov 16 09:18:46 2000 +++ Subsystem/Namespace/nseval.c Sat Dec 16 06:34:09 2000 @@ -2,7 +2,7 @@ * * Module Name: nseval - Object evaluation interfaces -- includes control * method lookup and execution. - * $Revision: 79 $ + * $Revision: 80 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsinit.c Subsystem/Namespace/nsinit.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsinit.c Thu Dec 21 00:36:26 2000 +++ Subsystem/Namespace/nsinit.c Sat Dec 16 06:34:09 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nsinit - namespace initialization - * $Revision: 9 $ + * $Revision: 10 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -300,7 +300,7 @@ if (ACPI_FAILURE (Status)) { DEBUG_PRINT_RAW (ACPI_ERROR, ("\n")); - DEBUG_PRINT (ACPI_ERROR, ("%s while getting region arguments [%4.4s]\n", + DEBUG_PRINT (ACPI_ERROR, ("%s while getting region arguments [%4.4s]\n", AcpiCmFormatException (Status), &Node->Name)); } @@ -321,7 +321,7 @@ if (ACPI_FAILURE (Status)) { DEBUG_PRINT_RAW (ACPI_ERROR, ("\n")); - DEBUG_PRINT (ACPI_ERROR, ("%s while getting field arguments [%4.4s]\n", + DEBUG_PRINT (ACPI_ERROR, ("%s while getting field arguments [%4.4s]\n", AcpiCmFormatException (Status), &Node->Name)); } DEBUG_PRINT_RAW (ACPI_OK, (".")); diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsload.c Subsystem/Namespace/nsload.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsload.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Namespace/nsload.c Sat Dec 16 06:34:09 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nsload - namespace loading/expanding/contracting procedures - * $Revision: 33 $ + * $Revision: 34 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsnames.c Subsystem/Namespace/nsnames.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsnames.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Namespace/nsnames.c Sat Dec 16 06:34:10 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: nsnames - Name manipulation and search - * $Revision: 51 $ + * $Revision: 52 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsobject.c Subsystem/Namespace/nsobject.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsobject.c Thu Nov 16 09:18:46 2000 +++ Subsystem/Namespace/nsobject.c Sat Dec 16 06:34:10 2000 @@ -2,7 +2,7 @@ * * Module Name: nsobject - Utilities for objects attached to namespace * table entries - * $Revision: 47 $ + * $Revision: 48 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nssearch.c Subsystem/Namespace/nssearch.c --- ../acpica-unix-20001201/Subsystem/Namespace/nssearch.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Namespace/nssearch.c Sat Dec 16 06:34:10 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: nssearch - Namespace search - * $Revision: 60 $ + * $Revision: 61 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsutils.c Subsystem/Namespace/nsutils.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsutils.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Namespace/nsutils.c Sat Dec 16 06:34:10 2000 @@ -2,7 +2,7 @@ * * Module Name: nsutils - Utilities for accessing ACPI namespace, accessing * parents and siblings and Scope manipulation - * $Revision: 74 $ + * $Revision: 75 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -826,7 +826,6 @@ FUNCTION_TRACE_PTR ("NsGetNode", Pathname); - /* Ensure that the namespace has been initialized */ diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nswalk.c Subsystem/Namespace/nswalk.c --- ../acpica-unix-20001201/Subsystem/Namespace/nswalk.c Thu Nov 16 09:18:47 2000 +++ Subsystem/Namespace/nswalk.c Sat Dec 16 06:34:10 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nswalk - Functions for walking the APCI namespace - * $Revision: 17 $ + * $Revision: 18 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsxfname.c Subsystem/Namespace/nsxfname.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsxfname.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Namespace/nsxfname.c Sat Dec 16 06:34:10 2000 @@ -2,7 +2,7 @@ * * Module Name: nsxfname - Public interfaces to the ACPI subsystem * ACPI Namespace oriented interfaces - * $Revision: 73 $ + * $Revision: 74 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Namespace/nsxfobj.c Subsystem/Namespace/nsxfobj.c --- ../acpica-unix-20001201/Subsystem/Namespace/nsxfobj.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Namespace/nsxfobj.c Sat Dec 16 06:34:10 2000 @@ -2,7 +2,7 @@ * * Module Name: nsxfobj - Public interfaces to the ACPI subsystem * ACPI Object oriented interfaces - * $Revision: 75 $ + * $Revision: 76 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -850,4 +850,4 @@ AcpiCmReleaseMutex (ACPI_MTX_NAMESPACE); return_ACPI_STATUS (Status); -} +} diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psargs.c Subsystem/Parser/psargs.c --- ../acpica-unix-20001201/Subsystem/Parser/psargs.c Thu Nov 16 09:18:47 2000 +++ Subsystem/Parser/psargs.c Sat Dec 16 06:34:10 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psargs - Parse AML opcode arguments - * $Revision: 40 $ + * $Revision: 42 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -528,7 +528,7 @@ /* * Either we didn't find the object in the namespace, or the object is * something other than a control method. Just initialize the Op with the - * pathname + * pathname. */ AcpiPsInitOp (Arg, AML_NAMEPATH_OP); diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psfind.c Subsystem/Parser/psfind.c --- ../acpica-unix-20001201/Subsystem/Parser/psfind.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Parser/psfind.c Sat Dec 16 06:34:10 2000 @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: psfind - Parse tree search routine - * $Revision: 19 $ + * $Revision: 20 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psopcode.c Subsystem/Parser/psopcode.c --- ../acpica-unix-20001201/Subsystem/Parser/psopcode.c Thu Nov 16 09:18:47 2000 +++ Subsystem/Parser/psopcode.c Sat Dec 16 06:34:10 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psopcode - Parser opcode information table - * $Revision: 24 $ + * $Revision: 25 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psparse.c Subsystem/Parser/psparse.c --- ../acpica-unix-20001201/Subsystem/Parser/psparse.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Parser/psparse.c Sat Dec 16 06:34:10 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psparse - Parser top level AML parse routines - * $Revision: 69 $ + * $Revision: 71 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -381,9 +381,9 @@ break; case OPTYPE_NAMED_OBJECT: /* Scope, method, etc. */ - - /* - * These opcodes contain TermArg operands. The current + + /* + * These opcodes contain TermArg operands. The current * op must be replace by a placeholder return op */ @@ -800,8 +800,8 @@ * because we don't have enough info in the first pass * to parse it correctly (i.e., there may be method * calls within the TermArg elements of the body. - * - * However, we must continue parsing because + * + * However, we must continue parsing because * the opregion is not a standalone package -- * we don't know where the end is at this point. * @@ -833,7 +833,7 @@ (Op->Opcode == AML_DWORD_FIELD_OP)) { /* - * Backup to beginning of CreateXXXfield declaration + * Backup to beginning of CreateXXXfield declaration * BodyLength is unknown until we parse the body */ DeferredOp = (ACPI_PARSE2_OBJECT *) Op; @@ -1227,7 +1227,6 @@ ACPI_WALK_LIST *PrevWalkList = AcpiGbl_CurrentWalkList; ACPI_OPERAND_OBJECT *ReturnDesc; ACPI_OPERAND_OBJECT *MthDesc = NULL; - ACPI_NAMESPACE_NODE *StartNode; FUNCTION_TRACE ("PsParseAml"); @@ -1276,21 +1275,17 @@ if (MethodNode) { - StartNode = MethodNode; ParserState->StartNode = MethodNode; WalkState->WalkType = WALK_METHOD; - if (StartNode) - { - /* Push start scope on scope stack and make it current */ - - Status = AcpiDsScopeStackPush (StartNode, ACPI_TYPE_METHOD, WalkState); - if (ACPI_FAILURE (Status)) - { - return_ACPI_STATUS (Status); - } + /* Push start scope on scope stack and make it current */ + Status = AcpiDsScopeStackPush (MethodNode, ACPI_TYPE_METHOD, WalkState); + if (ACPI_FAILURE (Status)) + { + return_ACPI_STATUS (Status); } + /* Init arguments if this is a control method */ /* TBD: [Restructure] add walkstate as a param */ @@ -1302,6 +1297,8 @@ /* Setup the current scope */ Node = ParserState->StartOp->Node; + ParserState->StartNode = Node; + if (Node) { /* Push start scope on scope stack and make it current */ diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psscope.c Subsystem/Parser/psscope.c --- ../acpica-unix-20001201/Subsystem/Parser/psscope.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Parser/psscope.c Sat Dec 16 06:34:11 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psscope - Parser scope stack management routines - * $Revision: 22 $ + * $Revision: 23 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Parser/pstree.c Subsystem/Parser/pstree.c --- ../acpica-unix-20001201/Subsystem/Parser/pstree.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Parser/pstree.c Sat Dec 16 06:34:11 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: pstree - Parser op tree manipulation/traversal/search - * $Revision: 25 $ + * $Revision: 26 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psutils.c Subsystem/Parser/psutils.c --- ../acpica-unix-20001201/Subsystem/Parser/psutils.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Parser/psutils.c Sat Dec 16 06:34:11 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psutils - Parser miscellaneous utilities (Parser only) - * $Revision: 30 $ + * $Revision: 31 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Parser/pswalk.c Subsystem/Parser/pswalk.c --- ../acpica-unix-20001201/Subsystem/Parser/pswalk.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Parser/pswalk.c Sat Dec 16 06:34:11 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: pswalk - Parser routines to walk parsed op tree(s) - * $Revision: 50 $ + * $Revision: 51 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Parser/psxface.c Subsystem/Parser/psxface.c --- ../acpica-unix-20001201/Subsystem/Parser/psxface.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Parser/psxface.c Sat Dec 16 06:34:11 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psxface - Parser external interfaces - * $Revision: 37 $ + * $Revision: 38 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsaddr.c Subsystem/Resources/rsaddr.c --- ../acpica-unix-20001201/Subsystem/Resources/rsaddr.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Resources/rsaddr.c Sat Dec 16 06:34:11 2000 @@ -4,7 +4,7 @@ * AcpiRsAddress16Stream * AcpiRsAddress32Resource * AcpiRsAddress32Stream - * $Revision: 12 $ + * $Revision: 13 $ * ******************************************************************************/ @@ -12,8 +12,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rscalc.c Subsystem/Resources/rscalc.c --- ../acpica-unix-20001201/Subsystem/Resources/rscalc.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Resources/rscalc.c Sat Dec 16 06:34:11 2000 @@ -2,7 +2,7 @@ * * Module Name: rscalc - AcpiRsCalculateByteStreamLength * AcpiRsCalculateListLength - * $Revision: 16 $ + * $Revision: 17 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rscreate.c Subsystem/Resources/rscreate.c --- ../acpica-unix-20001201/Subsystem/Resources/rscreate.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Resources/rscreate.c Sat Dec 16 06:34:11 2000 @@ -3,7 +3,7 @@ * Module Name: rscreate - AcpiRsCreateResourceList * AcpiRsCreatePciRoutingTable * AcpiRsCreateByteStream - * $Revision: 22 $ + * $Revision: 23 $ * ******************************************************************************/ @@ -11,8 +11,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsdump.c Subsystem/Resources/rsdump.c --- ../acpica-unix-20001201/Subsystem/Resources/rsdump.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Resources/rsdump.c Sat Dec 16 06:34:11 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: rsdump - Functions do dump out the resource structures. - * $Revision: 13 $ + * $Revision: 14 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsio.c Subsystem/Resources/rsio.c --- ../acpica-unix-20001201/Subsystem/Resources/rsio.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Resources/rsio.c Sat Dec 16 06:34:11 2000 @@ -6,7 +6,7 @@ * AcpiRsFixedIoStream * AcpiRsDmaResource * AcpiRsDmaStream - * $Revision: 10 $ + * $Revision: 11 $ * ******************************************************************************/ @@ -14,8 +14,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsirq.c Subsystem/Resources/rsirq.c --- ../acpica-unix-20001201/Subsystem/Resources/rsirq.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Resources/rsirq.c Sat Dec 16 06:34:11 2000 @@ -4,7 +4,7 @@ * AcpiRsIrqStream * AcpiRsExtendedIrqResource * AcpiRsExtendedIrqStream - * $Revision: 11 $ + * $Revision: 12 $ * ******************************************************************************/ @@ -12,8 +12,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rslist.c Subsystem/Resources/rslist.c --- ../acpica-unix-20001201/Subsystem/Resources/rslist.c Thu Nov 16 09:18:48 2000 +++ Subsystem/Resources/rslist.c Sat Dec 16 06:34:12 2000 @@ -2,7 +2,7 @@ * * Module Name: rslist - AcpiRsByteStreamToList * AcpiListToByteStream - * $Revision: 8 $ + * $Revision: 9 $ * ******************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsmemory.c Subsystem/Resources/rsmemory.c --- ../acpica-unix-20001201/Subsystem/Resources/rsmemory.c Thu Nov 16 09:18:49 2000 +++ Subsystem/Resources/rsmemory.c Sat Dec 16 06:34:12 2000 @@ -6,7 +6,7 @@ * AcpiRsFixedMemory32Resource * AcpiRsMemory32RangeStream * AcpiRsFixedMemory32Stream - * $Revision: 10 $ + * $Revision: 11 $ * ******************************************************************************/ @@ -14,8 +14,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsmisc.c Subsystem/Resources/rsmisc.c --- ../acpica-unix-20001201/Subsystem/Resources/rsmisc.c Thu Nov 16 09:18:49 2000 +++ Subsystem/Resources/rsmisc.c Sat Dec 16 06:34:12 2000 @@ -8,7 +8,7 @@ * AcpiRsEndDependentFunctionsResource * AcpiRsStartDependentFunctionsStream * AcpiRsEndDependentFunctionsStream - * $Revision: 10 $ + * $Revision: 11 $ * ******************************************************************************/ @@ -16,8 +16,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsutils.c Subsystem/Resources/rsutils.c --- ../acpica-unix-20001201/Subsystem/Resources/rsutils.c Thu Nov 16 09:18:49 2000 +++ Subsystem/Resources/rsutils.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: rsutils - Utilities for the resource manager - * $Revision: 12 $ + * $Revision: 13 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Resources/rsxface.c Subsystem/Resources/rsxface.c --- ../acpica-unix-20001201/Subsystem/Resources/rsxface.c Thu Nov 16 09:18:49 2000 +++ Subsystem/Resources/rsxface.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: rsxface - Public interfaces to the ACPI subsystem - * $Revision: 8 $ + * $Revision: 9 $ * ******************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Tables/tbconvrt.c Subsystem/Tables/tbconvrt.c --- ../acpica-unix-20001201/Subsystem/Tables/tbconvrt.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Tables/tbconvrt.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: tbconvrt - ACPI Table conversion utilities - * $Revision: 15 $ + * $Revision: 16 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * @@ -145,7 +145,6 @@ /* ACPI V1.0 entries -- address space is always I/O */ #define ASL_BUILD_GAS_FROM_V1_ENTRY(a,b,c) ASL_BUILD_GAS_FROM_ENTRY(a,b,c,ADDRESS_SPACE_SYSTEM_IO) - /******************************************************************************* @@ -443,7 +442,7 @@ PmTimerAddressSpace = (UINT8)((FADT71->AddressSpace & PM_TMR_BLK_ADDRESS_SPACE) >> 3); Gpe0AddressSpace = (UINT8)((FADT71->AddressSpace & GPE0_BLK_ADDRESS_SPACE) >> 4); Gpe1AddressSpace = (UINT8)((FADT71->AddressSpace & GPE1_BLK_ADDRESS_SPACE) >> 5); - + /* * Convert the 0.71 (non-GAS style) Block addresses to V2.0 GAS structures, * in this order: diff -ruN ../acpica-unix-20001201/Subsystem/Tables/tbget.c Subsystem/Tables/tbget.c --- ../acpica-unix-20001201/Subsystem/Tables/tbget.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Tables/tbget.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: tbget - ACPI Table get* routines - * $Revision: 40 $ + * $Revision: 41 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Tables/tbinstal.c Subsystem/Tables/tbinstal.c --- ../acpica-unix-20001201/Subsystem/Tables/tbinstal.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Tables/tbinstal.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: tbinstal - ACPI table installation and removal - * $Revision: 34 $ + * $Revision: 35 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Tables/tbutils.c Subsystem/Tables/tbutils.c --- ../acpica-unix-20001201/Subsystem/Tables/tbutils.c Thu Dec 21 00:36:27 2000 +++ Subsystem/Tables/tbutils.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: tbutils - Table manipulation utilities - * $Revision: 31 $ + * $Revision: 32 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Tables/tbxface.c Subsystem/Tables/tbxface.c --- ../acpica-unix-20001201/Subsystem/Tables/tbxface.c Thu Nov 16 09:18:49 2000 +++ Subsystem/Tables/tbxface.c Sat Dec 16 06:34:12 2000 @@ -2,7 +2,7 @@ * * Module Name: tbxface - Public interfaces to the ACPI subsystem * ACPI table oriented interfaces - * $Revision: 32 $ + * $Revision: 33 $ * *****************************************************************************/ @@ -10,8 +10,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License * diff -ruN ../acpica-unix-20001201/Subsystem/Tables/tbxfroot.c Subsystem/Tables/tbxfroot.c --- ../acpica-unix-20001201/Subsystem/Tables/tbxfroot.c Thu Nov 16 09:18:49 2000 +++ Subsystem/Tables/tbxfroot.c Sat Dec 16 06:34:12 2000 @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: tbxfroot - Find the root ACPI table (RSDT) - * $Revision: 33 $ + * $Revision: 34 $ * *****************************************************************************/ @@ -9,8 +9,8 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights - * reserved. + * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp. + * All rights reserved. * * 2. License *