ReactOS  0.4.14-dev-1112-g2b067d6
utglobal.c File Reference
#include "acpi.h"
#include "accommon.h"
Include dependency graph for utglobal.c:

Go to the source code of this file.

Macros

#define EXPORT_ACPI_INTERFACES
 
#define DEFINE_ACPI_GLOBALS
 
#define _COMPONENT   ACPI_UTILITIES
 

Variables

const charAcpiGbl_SleepStateNames [ACPI_S_STATE_COUNT]
 
const charAcpiGbl_LowestDstateNames [ACPI_NUM_SxW_METHODS]
 
const charAcpiGbl_HighestDstateNames [ACPI_NUM_SxD_METHODS]
 
const char AcpiGbl_LowerHexDigits [] = "0123456789abcdef"
 
const char AcpiGbl_UpperHexDigits [] = "0123456789ABCDEF"
 
const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames []
 
ACPI_BIT_REGISTER_INFO AcpiGbl_BitRegisterInfo [ACPI_NUM_BITREG]
 
ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo [ACPI_NUM_FIXED_EVENTS]
 

Macro Definition Documentation

◆ _COMPONENT

#define _COMPONENT   ACPI_UTILITIES

Definition at line 50 of file utglobal.c.

◆ DEFINE_ACPI_GLOBALS

#define DEFINE_ACPI_GLOBALS

Definition at line 45 of file utglobal.c.

◆ EXPORT_ACPI_INTERFACES

#define EXPORT_ACPI_INTERFACES

Definition at line 44 of file utglobal.c.

Variable Documentation

◆ AcpiGbl_BitRegisterInfo

ACPI_BIT_REGISTER_INFO AcpiGbl_BitRegisterInfo[ACPI_NUM_BITREG]
Initial value:
=
{
}
#define ACPI_BITPOSITION_GLOBAL_LOCK_ENABLE
Definition: aclocal.h:1242
#define ACPI_BITMASK_POWER_BUTTON_STATUS
Definition: aclocal.h:1198
#define ACPI_BITMASK_PCIEXP_WAKE_DISABLE
Definition: aclocal.h:1219
#define ACPI_REGISTER_PM2_CONTROL
Definition: aclocal.h:1187
#define ACPI_BITMASK_SLEEP_BUTTON_ENABLE
Definition: aclocal.h:1217
#define ACPI_BITPOSITION_WAKE_STATUS
Definition: aclocal.h:1239
#define ACPI_BITMASK_TIMER_STATUS
Definition: aclocal.h:1195
#define ACPI_REGISTER_PM1_CONTROL
Definition: aclocal.h:1186
#define ACPI_BITMASK_ARB_DISABLE
Definition: aclocal.h:1227
#define ACPI_BITMASK_GLOBAL_LOCK_RELEASE
Definition: aclocal.h:1223
#define ACPI_BITPOSITION_SLEEP_BUTTON_STATUS
Definition: aclocal.h:1236
#define ACPI_BITMASK_RT_CLOCK_ENABLE
Definition: aclocal.h:1218
#define ACPI_BITPOSITION_BUS_MASTER_STATUS
Definition: aclocal.h:1233
#define ACPI_BITPOSITION_BUS_MASTER_RLD
Definition: aclocal.h:1249
#define ACPI_BITPOSITION_SLEEP_BUTTON_ENABLE
Definition: aclocal.h:1244
#define ACPI_BITMASK_BUS_MASTER_STATUS
Definition: aclocal.h:1196
#define ACPI_BITPOSITION_ARB_DISABLE
Definition: aclocal.h:1254
#define ACPI_BITPOSITION_RT_CLOCK_ENABLE
Definition: aclocal.h:1245
#define ACPI_REGISTER_PM1_STATUS
Definition: aclocal.h:1184
#define ACPI_BITPOSITION_SLEEP_TYPE
Definition: aclocal.h:1251
#define ACPI_BITMASK_GLOBAL_LOCK_ENABLE
Definition: aclocal.h:1215
#define ACPI_BITMASK_SLEEP_BUTTON_STATUS
Definition: aclocal.h:1199
#define ACPI_BITPOSITION_TIMER_STATUS
Definition: aclocal.h:1232
#define ACPI_BITPOSITION_SCI_ENABLE
Definition: aclocal.h:1248
#define ACPI_BITMASK_RT_CLOCK_STATUS
Definition: aclocal.h:1200
#define ACPI_BITMASK_SLEEP_TYPE
Definition: aclocal.h:1224
#define ACPI_BITPOSITION_SLEEP_ENABLE
Definition: aclocal.h:1252
#define ACPI_BITPOSITION_PCIEXP_WAKE_DISABLE
Definition: aclocal.h:1246
#define ACPI_BITMASK_SLEEP_ENABLE
Definition: aclocal.h:1225
#define ACPI_BITMASK_GLOBAL_LOCK_STATUS
Definition: aclocal.h:1197
#define ACPI_BITPOSITION_POWER_BUTTON_ENABLE
Definition: aclocal.h:1243
#define ACPI_BITPOSITION_PCIEXP_WAKE_STATUS
Definition: aclocal.h:1238
#define ACPI_BITMASK_BUS_MASTER_RLD
Definition: aclocal.h:1222
#define ACPI_BITMASK_WAKE_STATUS
Definition: aclocal.h:1202
#define ACPI_BITPOSITION_RT_CLOCK_STATUS
Definition: aclocal.h:1237
#define ACPI_BITMASK_TIMER_ENABLE
Definition: aclocal.h:1214
#define ACPI_BITMASK_PCIEXP_WAKE_STATUS
Definition: aclocal.h:1201
#define ACPI_BITMASK_SCI_ENABLE
Definition: aclocal.h:1221
#define ACPI_BITPOSITION_GLOBAL_LOCK_STATUS
Definition: aclocal.h:1234
#define ACPI_BITPOSITION_GLOBAL_LOCK_RELEASE
Definition: aclocal.h:1250
#define ACPI_REGISTER_PM1_ENABLE
Definition: aclocal.h:1185
#define ACPI_BITPOSITION_TIMER_ENABLE
Definition: aclocal.h:1241
#define ACPI_BITMASK_POWER_BUTTON_ENABLE
Definition: aclocal.h:1216
#define ACPI_BITPOSITION_POWER_BUTTON_STATUS
Definition: aclocal.h:1235

Definition at line 145 of file utglobal.c.

Referenced by AcpiHwGetBitRegisterInfo().

◆ AcpiGbl_FixedEventInfo

Initial value:
=
{
}
#define ACPI_BITMASK_POWER_BUTTON_STATUS
Definition: aclocal.h:1198
#define ACPI_BITMASK_SLEEP_BUTTON_ENABLE
Definition: aclocal.h:1217
#define ACPI_BITMASK_TIMER_STATUS
Definition: aclocal.h:1195
#define ACPI_BITMASK_RT_CLOCK_ENABLE
Definition: aclocal.h:1218
#define ACPI_BITREG_GLOBAL_LOCK_STATUS
Definition: actypes.h:895
#define ACPI_BITREG_TIMER_ENABLE
Definition: actypes.h:904
#define ACPI_BITREG_POWER_BUTTON_ENABLE
Definition: actypes.h:906
#define ACPI_BITMASK_GLOBAL_LOCK_ENABLE
Definition: aclocal.h:1215
#define ACPI_BITREG_RT_CLOCK_ENABLE
Definition: actypes.h:908
#define ACPI_BITREG_POWER_BUTTON_STATUS
Definition: actypes.h:896
#define ACPI_BITMASK_SLEEP_BUTTON_STATUS
Definition: aclocal.h:1199
#define ACPI_BITMASK_RT_CLOCK_STATUS
Definition: aclocal.h:1200
#define ACPI_BITREG_GLOBAL_LOCK_ENABLE
Definition: actypes.h:905
#define ACPI_BITMASK_GLOBAL_LOCK_STATUS
Definition: aclocal.h:1197
#define ACPI_BITREG_RT_CLOCK_STATUS
Definition: actypes.h:898
#define ACPI_BITREG_SLEEP_BUTTON_ENABLE
Definition: actypes.h:907
#define ACPI_BITREG_TIMER_STATUS
Definition: actypes.h:893
#define ACPI_BITMASK_TIMER_ENABLE
Definition: aclocal.h:1214
#define ACPI_BITREG_SLEEP_BUTTON_STATUS
Definition: actypes.h:897
#define ACPI_BITMASK_POWER_BUTTON_ENABLE
Definition: aclocal.h:1216

Definition at line 175 of file utglobal.c.

Referenced by AcpiClearEvent(), AcpiDisableEvent(), AcpiEnableEvent(), AcpiEvFixedEventDetect(), AcpiEvFixedEventDispatch(), AcpiEvFixedEventInitialize(), AcpiGetEventStatus(), and AcpiHwLegacyWake().

◆ AcpiGbl_HighestDstateNames

const char* AcpiGbl_HighestDstateNames[ACPI_NUM_SxD_METHODS]
Initial value:
=
{
"_S1D",
"_S2D",
"_S3D",
"_S4D"
}

Definition at line 81 of file utglobal.c.

Referenced by AcpiGetObjectInfo().

◆ AcpiGbl_LowerHexDigits

const char AcpiGbl_LowerHexDigits[] = "0123456789abcdef"

Definition at line 92 of file utglobal.c.

Referenced by AcpiUtPutNumber().

◆ AcpiGbl_LowestDstateNames

const char* AcpiGbl_LowestDstateNames[ACPI_NUM_SxW_METHODS]
Initial value:
=
{
"_S0W",
"_S1W",
"_S2W",
"_S3W",
"_S4W"
}

Definition at line 72 of file utglobal.c.

Referenced by AcpiGetObjectInfo().

◆ AcpiGbl_PreDefinedNames

const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames[]
Initial value:
=
{
{"_SB_", ACPI_TYPE_DEVICE, NULL},
{"_TZ_", ACPI_TYPE_DEVICE, NULL},
{"_REV", ACPI_TYPE_INTEGER, ACPI_CAST_PTR (char, 2)},
{"_GL_", ACPI_TYPE_MUTEX, ACPI_CAST_PTR (char, 1)},
{"_OSI", ACPI_TYPE_METHOD, ACPI_CAST_PTR (char, 1)},
}
#define ACPI_TYPE_INTEGER
Definition: actypes.h:680
smooth NULL
Definition: ftsmooth.c:416
#define ACPI_OS_NAME
Definition: acconfig.h:73
#define ACPI_TYPE_METHOD
Definition: actypes.h:687
#define ACPI_TYPE_ANY
Definition: actypes.h:679
#define ACPI_TYPE_DEVICE
Definition: actypes.h:685
#define ACPI_TYPE_MUTEX
Definition: actypes.h:688
#define ACPI_TYPE_LOCAL_SCOPE
Definition: actypes.h:718
#define ACPI_TYPE_STRING
Definition: actypes.h:681
#define ACPI_CAST_PTR(t, p)
Definition: actypes.h:544

Definition at line 113 of file utglobal.c.

Referenced by AcpiNsRootInitialize().

◆ AcpiGbl_SleepStateNames

const char* AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT]
Initial value:
=
{
"\\_S0_",
"\\_S1_",
"\\_S2_",
"\\_S3_",
"\\_S4_",
"\\_S5_"
}

Definition at line 62 of file utglobal.c.

Referenced by AcpiGetSleepTypeData().

◆ AcpiGbl_UpperHexDigits

const char AcpiGbl_UpperHexDigits[] = "0123456789ABCDEF"

Definition at line 93 of file utglobal.c.

Referenced by AcpiUtPutNumber().