From 85c6db5535cd6951554e24fa7ca05a237f040c30 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 19:36:03 +0000 Subject: [PATCH] Source clean-up via acpisrc utility date 2000.11.02.22.51.00; author rmoore1; state Exp; --- source/include/acglobal.h | 3 +-- source/include/achware.h | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/source/include/acglobal.h b/source/include/acglobal.h index 80d0ef125..99da2307a 100644 --- a/source/include/acglobal.h +++ b/source/include/acglobal.h @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acglobal.h - Declarations for global variables - * $Revision: 1.89 $ + * $Revision: 1.90 $ * *****************************************************************************/ @@ -256,7 +256,6 @@ extern UINT32 AcpiGbl_StartupFlags; extern UINT8 AcpiGbl_DecodeTo8bit[]; - /***************************************************************************** * * Namespace globals diff --git a/source/include/achware.h b/source/include/achware.h index cb77b8db9..c406b0435 100644 --- a/source/include/achware.h +++ b/source/include/achware.h @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: achware.h -- hardware specific interfaces - * $Revision: 1.44 $ + * $Revision: 1.46 $ * *****************************************************************************/ @@ -148,6 +148,13 @@ AcpiHwGetModeCapabilities ( /* Register I/O Prototypes */ +UINT32 +AcpiHwRegisterBitAccess ( + NATIVE_UINT ReadWrite, + BOOLEAN UseLock, + UINT32 RegisterId, + ... /* DWORD Write Value */); + UINT32 AcpiHwRegisterRead ( BOOLEAN UseLock, @@ -159,6 +166,19 @@ AcpiHwRegisterWrite ( UINT32 RegisterId, UINT32 Value); +UINT32 +AcpiHwLowLevelRead ( + UINT32 Width, + ACPI_GAS *Register, + UINT32 Offset); + +void +AcpiHwLowLevelWrite ( + UINT32 Width, + UINT32 Value, + ACPI_GAS *Register, + UINT32 Offset); + void AcpiHwClearAcpiStatus ( void);