Print this page
update to acpica-unix2-20131218
acpica-unix2-20130823
PANKOVs restructure

*** 3,13 **** * Name: acevents.h - Event subcomponent prototypes and defines * *****************************************************************************/ /* ! * 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: acevents.h - Event subcomponent prototypes and defines * *****************************************************************************/ /* ! * 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:
*** 83,99 **** */ ACPI_STATUS AcpiEvInitGlobalLockHandler ( void); ACPI_STATUS AcpiEvAcquireGlobalLock( ! UINT16 Timeout); ACPI_STATUS AcpiEvReleaseGlobalLock( ! void); ACPI_STATUS AcpiEvRemoveGlobalLockHandler ( void); --- 83,101 ---- */ ACPI_STATUS AcpiEvInitGlobalLockHandler ( void); + ACPI_HW_DEPENDENT_RETURN_OK ( ACPI_STATUS AcpiEvAcquireGlobalLock( ! UINT16 Timeout)) + ACPI_HW_DEPENDENT_RETURN_OK ( ACPI_STATUS AcpiEvReleaseGlobalLock( ! void)) ACPI_STATUS AcpiEvRemoveGlobalLockHandler ( void);
*** 152,189 **** AcpiEvInitializeGpeBlock ( ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context); ACPI_STATUS AcpiEvDeleteGpeBlock ( ! ACPI_GPE_BLOCK_INFO *GpeBlock); UINT32 AcpiEvGpeDispatch ( ACPI_NAMESPACE_NODE *GpeDevice, ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 GpeNumber); /* * evgpeinit - GPE initialization and update */ ACPI_STATUS AcpiEvGpeInitialize ( void); void AcpiEvUpdateGpes ( ! ACPI_OWNER_ID TableOwnerId); ACPI_STATUS AcpiEvMatchGpeMethod ( ACPI_HANDLE ObjHandle, UINT32 Level, void *Context, void **ReturnValue); /* * evgpeutil - GPE utilities */ ACPI_STATUS AcpiEvWalkGpeList ( --- 154,195 ---- AcpiEvInitializeGpeBlock ( ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context); + ACPI_HW_DEPENDENT_RETURN_OK ( ACPI_STATUS AcpiEvDeleteGpeBlock ( ! ACPI_GPE_BLOCK_INFO *GpeBlock)) UINT32 AcpiEvGpeDispatch ( ACPI_NAMESPACE_NODE *GpeDevice, ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 GpeNumber); + /* * evgpeinit - GPE initialization and update */ ACPI_STATUS AcpiEvGpeInitialize ( void); + ACPI_HW_DEPENDENT_RETURN_VOID ( void AcpiEvUpdateGpes ( ! ACPI_OWNER_ID TableOwnerId)) ACPI_STATUS AcpiEvMatchGpeMethod ( ACPI_HANDLE ObjHandle, UINT32 Level, void *Context, void **ReturnValue); + /* * evgpeutil - GPE utilities */ ACPI_STATUS AcpiEvWalkGpeList (
*** 198,210 **** AcpiEvGetGpeDevice ( ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context); ! ACPI_GPE_XRUPT_INFO * AcpiEvGetGpeXruptBlock ( ! UINT32 InterruptNumber); ACPI_STATUS AcpiEvDeleteGpeXrupt ( ACPI_GPE_XRUPT_INFO *GpeXrupt); --- 204,217 ---- AcpiEvGetGpeDevice ( ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context); ! ACPI_STATUS AcpiEvGetGpeXruptBlock ( ! UINT32 InterruptNumber, ! ACPI_GPE_XRUPT_INFO **GpeXruptBlock); ACPI_STATUS AcpiEvDeleteGpeXrupt ( ACPI_GPE_XRUPT_INFO *GpeXrupt);
*** 214,236 **** ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context); /* ! * evregion - Address Space handling */ ACPI_STATUS AcpiEvInstallRegionHandlers ( void); ACPI_STATUS AcpiEvInitializeOpRegions ( void); ACPI_STATUS AcpiEvAddressSpaceDispatch ( ACPI_OPERAND_OBJECT *RegionObj, UINT32 Function, UINT32 RegionOffset, UINT32 BitWidth, UINT64 *Value); --- 221,261 ---- ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context); /* ! * evhandler - Address space handling */ + BOOLEAN + AcpiEvHasDefaultHandler ( + ACPI_NAMESPACE_NODE *Node, + ACPI_ADR_SPACE_TYPE SpaceId); + ACPI_STATUS AcpiEvInstallRegionHandlers ( void); ACPI_STATUS + AcpiEvInstallSpaceHandler ( + ACPI_NAMESPACE_NODE *Node, + ACPI_ADR_SPACE_TYPE SpaceId, + ACPI_ADR_SPACE_HANDLER Handler, + ACPI_ADR_SPACE_SETUP Setup, + void *Context); + + + /* + * evregion - Operation region support + */ + ACPI_STATUS AcpiEvInitializeOpRegions ( void); ACPI_STATUS AcpiEvAddressSpaceDispatch ( ACPI_OPERAND_OBJECT *RegionObj, + ACPI_OPERAND_OBJECT *FieldObj, UINT32 Function, UINT32 RegionOffset, UINT32 BitWidth, UINT64 *Value);
*** 244,261 **** AcpiEvDetachRegion ( ACPI_OPERAND_OBJECT *RegionObj, BOOLEAN AcpiNsIsLocked); ACPI_STATUS - AcpiEvInstallSpaceHandler ( - ACPI_NAMESPACE_NODE *Node, - ACPI_ADR_SPACE_TYPE SpaceId, - ACPI_ADR_SPACE_HANDLER Handler, - ACPI_ADR_SPACE_SETUP Setup, - void *Context); - - ACPI_STATUS AcpiEvExecuteRegMethods ( ACPI_NAMESPACE_NODE *Node, ACPI_ADR_SPACE_TYPE SpaceId); ACPI_STATUS --- 269,278 ----
*** 321,342 **** UINT32 ACPI_SYSTEM_XFACE AcpiEvGpeXruptHandler ( void *Context); UINT32 AcpiEvInstallSciHandler ( void); ACPI_STATUS ! AcpiEvRemoveSciHandler ( void); ! UINT32 ! AcpiEvInitializeSCI ( ! UINT32 ProgramSCI); ! void AcpiEvTerminate ( ! void); - #endif /* __ACEVENTS_H__ */ --- 338,359 ---- UINT32 ACPI_SYSTEM_XFACE AcpiEvGpeXruptHandler ( void *Context); UINT32 + AcpiEvSciDispatch ( + void); + + UINT32 AcpiEvInstallSciHandler ( void); ACPI_STATUS ! AcpiEvRemoveAllSciHandlers ( void); ! ACPI_HW_DEPENDENT_RETURN_VOID ( void AcpiEvTerminate ( ! void)) #endif /* __ACEVENTS_H__ */