diff options
Diffstat (limited to 'sys/contrib/dev/acpica/achware.h')
-rw-r--r-- | sys/contrib/dev/acpica/achware.h | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/sys/contrib/dev/acpica/achware.h b/sys/contrib/dev/acpica/achware.h index 0d0d008..76916b5 100644 --- a/sys/contrib/dev/acpica/achware.h +++ b/sys/contrib/dev/acpica/achware.h @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: achware.h -- hardware specific interfaces - * $Revision: 73 $ + * $Revision: 1.79 $ * *****************************************************************************/ @@ -9,7 +9,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp. * All rights reserved. * * 2. License @@ -119,22 +119,26 @@ /* PM Timer ticks per second (HZ) */ + #define PM_TIMER_FREQUENCY 3579545 +/* Values for the _SST reserved method */ -/* Prototypes */ +#define ACPI_SST_INDICATOR_OFF 0 +#define ACPI_SST_WORKING 1 +#define ACPI_SST_WAKING 2 +#define ACPI_SST_SLEEPING 3 +#define ACPI_SST_SLEEP_CONTEXT 4 -ACPI_STATUS -AcpiHwInitialize ( - void); +/* Prototypes */ -ACPI_STATUS -AcpiHwShutdown ( - void); +/* + * hwacpi - high level functions + */ ACPI_STATUS -AcpiHwInitializeSystemInfo ( +AcpiHwInitialize ( void); ACPI_STATUS @@ -145,12 +149,10 @@ UINT32 AcpiHwGetMode ( void); -UINT32 -AcpiHwGetModeCapabilities ( - void); - -/* Register I/O Prototypes */ +/* + * hwregs - ACPI Register I/O + */ ACPI_BIT_REGISTER_INFO * AcpiHwGetBitRegisterInfo ( UINT32 RegisterId); @@ -184,8 +186,9 @@ AcpiHwClearAcpiStatus ( UINT32 Flags); -/* GPE support */ - +/* + * hwgpe - GPE support + */ ACPI_STATUS AcpiHwWriteGpeEnableReg ( ACPI_GPE_EVENT_INFO *GpeEventInfo); @@ -211,29 +214,25 @@ AcpiHwGetGpeStatus ( ACPI_STATUS AcpiHwDisableAllGpes ( - UINT32 Flags); + void); ACPI_STATUS AcpiHwEnableAllRuntimeGpes ( - UINT32 Flags); + void); ACPI_STATUS AcpiHwEnableAllWakeupGpes ( - UINT32 Flags); + void); ACPI_STATUS AcpiHwEnableRuntimeGpeBlock ( ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock); -ACPI_STATUS -AcpiHwEnableWakeupGpeBlock ( - ACPI_GPE_XRUPT_INFO *GpeXruptInfo, - ACPI_GPE_BLOCK_INFO *GpeBlock); - - -/* ACPI Timer prototypes */ +/* + * hwtimer - ACPI Timer prototypes + */ ACPI_STATUS AcpiGetTimerResolution ( UINT32 *Resolution); |