mirror of
https://github.com/acpica/acpica/
synced 2025-01-23 09:52:05 +03:00
Moved prototypes for "static" functions from headers into the defining
C module. date 2005.03.31.23.13.00; author rmoore1; state Exp;
This commit is contained in:
parent
c6220755d6
commit
9e37020104
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Name: acresrc.h - Resource Manager function prototypes
|
* Name: acresrc.h - Resource Manager function prototypes
|
||||||
* $Revision: 1.40 $
|
* $Revision: 1.42 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -122,7 +122,6 @@
|
|||||||
/*
|
/*
|
||||||
* Function prototypes called from Acpi* APIs
|
* Function prototypes called from Acpi* APIs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiRsGetPrtMethodData (
|
AcpiRsGetPrtMethodData (
|
||||||
ACPI_HANDLE Handle,
|
ACPI_HANDLE Handle,
|
||||||
@ -177,61 +176,10 @@ void
|
|||||||
AcpiRsDumpIrqList (
|
AcpiRsDumpIrqList (
|
||||||
UINT8 *RouteTable);
|
UINT8 *RouteTable);
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpIrq (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpAddress16 (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpAddress32 (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpAddress64 (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpDma (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpIo (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpExtendedIrq (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpFixedIo (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpFixedMemory32 (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpMemory24 (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpMemory32 (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpStartDependFns (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
static void
|
|
||||||
AcpiRsDumpVendorSpecific (
|
|
||||||
ACPI_RESOURCE_DATA *Data);
|
|
||||||
|
|
||||||
|
|
||||||
/* rscalc */
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* rscalc
|
||||||
|
*/
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiRsGetByteStreamStart (
|
AcpiRsGetByteStreamStart (
|
||||||
UINT8 *ByteStreamBuffer,
|
UINT8 *ByteStreamBuffer,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Name: actables.h - ACPI table management
|
* Name: actables.h - ACPI table management
|
||||||
* $Revision: 1.20 $
|
* $Revision: 1.50 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -9,8 +9,8 @@
|
|||||||
*
|
*
|
||||||
* 1. Copyright Notice
|
* 1. Copyright Notice
|
||||||
*
|
*
|
||||||
* Some or all of this work - Copyright (c) 1999, Intel Corp. All rights
|
* Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp.
|
||||||
* reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* 2. License
|
* 2. License
|
||||||
*
|
*
|
||||||
@ -123,25 +123,45 @@
|
|||||||
#define SIZE_IN_HEADER 0
|
#define SIZE_IN_HEADER 0
|
||||||
|
|
||||||
|
|
||||||
ACPI_STATUS
|
|
||||||
AcpiTbHandleToObject (
|
|
||||||
UINT16 TableId,
|
|
||||||
ACPI_TABLE_DESC **TableDesc);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiTbfac - FACP, FACS utilities
|
* tbconvrt - Table conversion routines
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbGetTableFacs (
|
AcpiTbConvertToXsdt (
|
||||||
ACPI_TABLE_HEADER *BufferPtr,
|
|
||||||
ACPI_TABLE_DESC *TableInfo);
|
ACPI_TABLE_DESC *TableInfo);
|
||||||
|
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbConvertTableFadt (
|
||||||
|
void);
|
||||||
|
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbBuildCommonFacs (
|
||||||
|
ACPI_TABLE_DESC *TableInfo);
|
||||||
|
|
||||||
|
UINT32
|
||||||
|
AcpiTbGetTableCount (
|
||||||
|
RSDP_DESCRIPTOR *RSDP,
|
||||||
|
ACPI_TABLE_HEADER *RSDT);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiTbget - Table "get" routines
|
* tbget - Table "get" routines
|
||||||
*/
|
*/
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbGetTable (
|
||||||
|
ACPI_POINTER *Address,
|
||||||
|
ACPI_TABLE_DESC *TableInfo);
|
||||||
|
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbGetTableHeader (
|
||||||
|
ACPI_POINTER *Address,
|
||||||
|
ACPI_TABLE_HEADER *ReturnHeader);
|
||||||
|
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbGetTableBody (
|
||||||
|
ACPI_POINTER *Address,
|
||||||
|
ACPI_TABLE_HEADER *Header,
|
||||||
|
ACPI_TABLE_DESC *TableInfo);
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbGetTablePtr (
|
AcpiTbGetTablePtr (
|
||||||
@ -150,35 +170,37 @@ AcpiTbGetTablePtr (
|
|||||||
ACPI_TABLE_HEADER **TablePtrLoc);
|
ACPI_TABLE_HEADER **TablePtrLoc);
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbGetTable (
|
AcpiTbVerifyRsdp (
|
||||||
void *PhysicalAddress,
|
ACPI_POINTER *Address);
|
||||||
ACPI_TABLE_HEADER *BufferPtr,
|
|
||||||
ACPI_TABLE_DESC *TableInfo);
|
|
||||||
|
|
||||||
|
void
|
||||||
/*
|
AcpiTbGetRsdtAddress (
|
||||||
* AcpiTbgetall - Get all firmware ACPI tables
|
ACPI_POINTER *OutAddress);
|
||||||
*/
|
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbGetAllTables (
|
AcpiTbValidateRsdt (
|
||||||
UINT32 NumberOfTables,
|
ACPI_TABLE_HEADER *TablePtr);
|
||||||
ACPI_TABLE_HEADER *BufferPtr);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiTbinstall - Table installation
|
* tbgetall - get multiple required tables
|
||||||
*/
|
*/
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbGetRequiredTables (
|
||||||
|
void);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* tbinstall - Table installation
|
||||||
|
*/
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbInstallTable (
|
AcpiTbInstallTable (
|
||||||
ACPI_TABLE_HEADER *TablePtr,
|
|
||||||
ACPI_TABLE_DESC *TableInfo);
|
ACPI_TABLE_DESC *TableInfo);
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbRecognizeTable (
|
AcpiTbRecognizeTable (
|
||||||
ACPI_TABLE_HEADER *TablePtr,
|
ACPI_TABLE_DESC *TableInfo,
|
||||||
ACPI_TABLE_DESC *TableInfo);
|
UINT8 SearchType);
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbInitTableDescriptor (
|
AcpiTbInitTableDescriptor (
|
||||||
@ -187,58 +209,43 @@ AcpiTbInitTableDescriptor (
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiTbremove - Table removal and deletion
|
* tbremove - Table removal and deletion
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
AcpiTbDeleteAcpiTables (
|
AcpiTbDeleteAllTables (
|
||||||
void);
|
void);
|
||||||
|
|
||||||
void
|
void
|
||||||
AcpiTbDeleteAcpiTable (
|
AcpiTbDeleteTablesByType (
|
||||||
ACPI_TABLE_TYPE Type);
|
ACPI_TABLE_TYPE Type);
|
||||||
|
|
||||||
ACPI_TABLE_DESC *
|
void
|
||||||
AcpiTbDeleteSingleTable (
|
AcpiTbDeleteSingleTable (
|
||||||
ACPI_TABLE_DESC *TableDesc);
|
ACPI_TABLE_DESC *TableDesc);
|
||||||
|
|
||||||
void
|
ACPI_TABLE_DESC *
|
||||||
AcpiTbFreeAcpiTablesOfType (
|
AcpiTbUninstallTable (
|
||||||
ACPI_TABLE_DESC *TableInfo);
|
ACPI_TABLE_DESC *TableDesc);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiTbrsd - RSDP, RSDT utilities
|
* tbxfroot - RSDP, RSDT utilities
|
||||||
*/
|
*/
|
||||||
|
ACPI_STATUS
|
||||||
|
AcpiTbFindTable (
|
||||||
|
char *Signature,
|
||||||
|
char *OemId,
|
||||||
|
char *OemTableId,
|
||||||
|
ACPI_TABLE_HEADER **TablePtr);
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbGetTableRsdt (
|
AcpiTbGetTableRsdt (
|
||||||
UINT32 *NumberOfTables);
|
void);
|
||||||
|
|
||||||
UINT8 *
|
|
||||||
AcpiTbScanMemoryForRsdp (
|
|
||||||
UINT8 *StartAddress,
|
|
||||||
UINT32 Length);
|
|
||||||
|
|
||||||
ACPI_STATUS
|
|
||||||
AcpiTbFindRsdp (
|
|
||||||
ACPI_TABLE_DESC *TableInfo);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiTbutils - common table utilities
|
* tbutils - common table utilities
|
||||||
*/
|
*/
|
||||||
|
|
||||||
BOOLEAN
|
|
||||||
AcpiTbSystemTablePointer (
|
|
||||||
void *Where);
|
|
||||||
|
|
||||||
ACPI_STATUS
|
|
||||||
AcpiTbMapAcpiTable (
|
|
||||||
void *PhysicalAddress,
|
|
||||||
UINT32 *Size,
|
|
||||||
void **LogicalAddress);
|
|
||||||
|
|
||||||
ACPI_STATUS
|
ACPI_STATUS
|
||||||
AcpiTbVerifyTableChecksum (
|
AcpiTbVerifyTableChecksum (
|
||||||
ACPI_TABLE_HEADER *TableHeader);
|
ACPI_TABLE_HEADER *TableHeader);
|
||||||
@ -252,5 +259,4 @@ ACPI_STATUS
|
|||||||
AcpiTbValidateTableHeader (
|
AcpiTbValidateTableHeader (
|
||||||
ACPI_TABLE_HEADER *TableHeader);
|
ACPI_TABLE_HEADER *TableHeader);
|
||||||
|
|
||||||
|
|
||||||
#endif /* __ACTABLES_H__ */
|
#endif /* __ACTABLES_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user