mirror of
https://github.com/acpica/acpica/
synced 2025-02-12 03:24:13 +03:00
Completed rename of all globals to prefix "AcpiGbl_", added stack
tracing mechanism date 2001.08.27.15.39.00; author rmoore1; state Exp;
This commit is contained in:
parent
1638e2c8d0
commit
d514fc53e9
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Module Name: hwregs - Read/write access functions for the various ACPI
|
||||
* control and status registers.
|
||||
* $Revision: 1.105 $
|
||||
* $Revision: 1.106 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -126,11 +126,6 @@
|
||||
MODULE_NAME ("hwregs")
|
||||
|
||||
|
||||
/* This matches the #defines in actypes.h. */
|
||||
|
||||
NATIVE_CHAR *SleepStateTable[] = {"\\_S0_","\\_S1_","\\_S2_","\\_S3_",
|
||||
"\\_S4_","\\_S5_","\\_S4B"};
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
@ -274,7 +269,8 @@ AcpiHwObtainSleepTypeRegisterData (
|
||||
* AcpiEvaluate the namespace object containing the values for this state
|
||||
*/
|
||||
|
||||
Status = AcpiNsEvaluateByName (SleepStateTable[SleepState], NULL, &ObjDesc);
|
||||
Status = AcpiNsEvaluateByName ((NATIVE_CHAR *) AcpiGbl_DbSleepStates[SleepState],
|
||||
NULL, &ObjDesc);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
return_ACPI_STATUS (Status);
|
||||
|
Loading…
x
Reference in New Issue
Block a user