Merge conflicts from the ACPI CA 20010125 import.
This commit is contained in:
parent
9453136d44
commit
520334620f
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acconfig.h - Global configuration constants
|
||||
* $Revision: 49 $
|
||||
* $Revision: 53 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -144,7 +144,7 @@
|
||||
|
||||
/* Version string */
|
||||
|
||||
#define ACPI_CA_VERSION __DATE__
|
||||
#define ACPI_CA_VERSION 0x20010125
|
||||
|
||||
|
||||
/* Maximum objects in the various object caches */
|
||||
@ -214,6 +214,10 @@
|
||||
#define MTH_NUM_ARGS 7
|
||||
#define MTH_MAX_ARG 6
|
||||
|
||||
/* Maximum length of resulting string when converting from a buffer */
|
||||
|
||||
#define ACPI_MAX_STRING_CONVERSION 200
|
||||
|
||||
/*
|
||||
* Operand Stack (in WALK_STATE), Must be large enough to contain MTH_MAX_ARG
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acfreebsd.h - OS specific defines, etc.
|
||||
* $Revision: 2 $
|
||||
* $Revision: 4 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acgcc.h - GCC specific defines, etc.
|
||||
* $Revision: 3 $
|
||||
* $Revision: 4 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -376,9 +376,8 @@ AcpiGetFirmwareWakingVector (
|
||||
ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiGetProcessorId (
|
||||
ACPI_HANDLE ProcessorHandle,
|
||||
UINT32 *Id);
|
||||
AcpiEnterSleepState (
|
||||
UINT8 SleepState);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiGetProcessorThrottlingInfo (
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: psparse - Parser top level AML parse routines
|
||||
* $Revision: 71 $
|
||||
* $Revision: 74 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -658,13 +658,22 @@ AcpiPsParseLoop (
|
||||
*/
|
||||
|
||||
Status = AcpiDsGetPredicateValue (WalkState, NULL, TRUE);
|
||||
if (Status == AE_AML_NO_OPERAND)
|
||||
if (ACPI_FAILURE (Status) &&
|
||||
((Status & AE_CODE_MASK) != AE_CODE_CONTROL))
|
||||
{
|
||||
DEBUG_PRINT (ACPI_ERROR,
|
||||
("PsParseLoop: Invoked method did not return a value, %s\n",
|
||||
AcpiCmFormatException (Status)));
|
||||
if (Status == AE_AML_NO_RETURN_VALUE)
|
||||
{
|
||||
DEBUG_PRINT (ACPI_ERROR,
|
||||
("PsParseLoop: Invoked method did not return a value, %s\n",
|
||||
AcpiCmFormatException (Status)));
|
||||
|
||||
}
|
||||
DEBUG_PRINT (ACPI_ERROR,
|
||||
("PsParseLoop: GetPredicate Failed, %s\n",
|
||||
AcpiCmFormatException (Status)));
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
Status = AcpiPsNextParseState (WalkState, Op, Status);
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acconfig.h - Global configuration constants
|
||||
* $Revision: 49 $
|
||||
* $Revision: 53 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -144,7 +144,7 @@
|
||||
|
||||
/* Version string */
|
||||
|
||||
#define ACPI_CA_VERSION __DATE__
|
||||
#define ACPI_CA_VERSION 0x20010125
|
||||
|
||||
|
||||
/* Maximum objects in the various object caches */
|
||||
@ -214,6 +214,10 @@
|
||||
#define MTH_NUM_ARGS 7
|
||||
#define MTH_MAX_ARG 6
|
||||
|
||||
/* Maximum length of resulting string when converting from a buffer */
|
||||
|
||||
#define ACPI_MAX_STRING_CONVERSION 200
|
||||
|
||||
/*
|
||||
* Operand Stack (in WALK_STATE), Must be large enough to contain MTH_MAX_ARG
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acfreebsd.h - OS specific defines, etc.
|
||||
* $Revision: 2 $
|
||||
* $Revision: 4 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: acgcc.h - GCC specific defines, etc.
|
||||
* $Revision: 3 $
|
||||
* $Revision: 4 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -376,9 +376,8 @@ AcpiGetFirmwareWakingVector (
|
||||
ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiGetProcessorId (
|
||||
ACPI_HANDLE ProcessorHandle,
|
||||
UINT32 *Id);
|
||||
AcpiEnterSleepState (
|
||||
UINT8 SleepState);
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiGetProcessorThrottlingInfo (
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: psparse - Parser top level AML parse routines
|
||||
* $Revision: 71 $
|
||||
* $Revision: 74 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -658,13 +658,22 @@ AcpiPsParseLoop (
|
||||
*/
|
||||
|
||||
Status = AcpiDsGetPredicateValue (WalkState, NULL, TRUE);
|
||||
if (Status == AE_AML_NO_OPERAND)
|
||||
if (ACPI_FAILURE (Status) &&
|
||||
((Status & AE_CODE_MASK) != AE_CODE_CONTROL))
|
||||
{
|
||||
DEBUG_PRINT (ACPI_ERROR,
|
||||
("PsParseLoop: Invoked method did not return a value, %s\n",
|
||||
AcpiCmFormatException (Status)));
|
||||
if (Status == AE_AML_NO_RETURN_VALUE)
|
||||
{
|
||||
DEBUG_PRINT (ACPI_ERROR,
|
||||
("PsParseLoop: Invoked method did not return a value, %s\n",
|
||||
AcpiCmFormatException (Status)));
|
||||
|
||||
}
|
||||
DEBUG_PRINT (ACPI_ERROR,
|
||||
("PsParseLoop: GetPredicate Failed, %s\n",
|
||||
AcpiCmFormatException (Status)));
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
Status = AcpiPsNextParseState (WalkState, Op, Status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user