Print this page
acpica-unix2-20130823
PANKOVs restructure

*** 3,13 **** * Name: achware.h -- hardware specific interfaces * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 3,13 ---- * Name: achware.h -- hardware specific interfaces * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:
*** 108,117 **** --- 108,154 ---- AcpiHwClearAcpiStatus ( void); /* + * hwsleep - sleep/wake support (Legacy sleep registers) + */ + ACPI_STATUS + AcpiHwLegacySleep ( + UINT8 SleepState); + + ACPI_STATUS + AcpiHwLegacyWakePrep ( + UINT8 SleepState); + + ACPI_STATUS + AcpiHwLegacyWake ( + UINT8 SleepState); + + + /* + * hwesleep - sleep/wake support (Extended FADT-V5 sleep registers) + */ + void + AcpiHwExecuteSleepMethod ( + char *MethodName, + UINT32 IntegerArgument); + + ACPI_STATUS + AcpiHwExtendedSleep ( + UINT8 SleepState); + + ACPI_STATUS + AcpiHwExtendedWakePrep ( + UINT8 SleepState); + + ACPI_STATUS + AcpiHwExtendedWake ( + UINT8 SleepState); + + + /* * hwvalid - Port I/O with validation */ ACPI_STATUS AcpiHwReadPort ( ACPI_IO_ADDRESS Address,
*** 128,139 **** /* * hwgpe - GPE support */ UINT32 AcpiHwGetGpeRegisterBit ( ! ACPI_GPE_EVENT_INFO *GpeEventInfo, ! ACPI_GPE_REGISTER_INFO *GpeRegisterInfo); ACPI_STATUS AcpiHwLowSetGpe ( ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 Action); --- 165,175 ---- /* * hwgpe - GPE support */ UINT32 AcpiHwGetGpeRegisterBit ( ! ACPI_GPE_EVENT_INFO *GpeEventInfo); ACPI_STATUS AcpiHwLowSetGpe ( ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 Action);
*** 186,209 **** ACPI_PCI_ID *PciId, ACPI_HANDLE RootPciDevice, ACPI_HANDLE PciRegion); - /* - * hwtimer - ACPI Timer prototypes - */ - ACPI_STATUS - AcpiGetTimerResolution ( - UINT32 *Resolution); - - ACPI_STATUS - AcpiGetTimer ( - UINT32 *Ticks); - - ACPI_STATUS - AcpiGetTimerDuration ( - UINT32 StartTicks, - UINT32 EndTicks, - UINT32 *TimeElapsed); - - #endif /* __ACHWARE_H__ */ --- 222,227 ----