AcpiDump: Added full support for Linux.

Adds full support for linux platforms. Chao Guan, Bob Moore.
This commit is contained in:
Robert Moore 2013-05-31 17:42:48 -07:00
parent 0d0b913fe4
commit 3fc353da22
6 changed files with 1094 additions and 41 deletions

View File

@ -32,6 +32,7 @@ OBJECTS = \
$(OBJDIR)/apfiles.o\
$(OBJDIR)/apmain.o\
$(OBJDIR)/tbprint.o\
$(OBJDIR)/tbxfroot.o\
$(OBJDIR)/utbuffer.o\
$(OBJDIR)/utexcep.o\
$(OBJDIR)/utmath.o\

View File

@ -125,11 +125,6 @@
/* Local prototypes */
static UINT8 *
AcpiTbScanMemoryForRsdp (
UINT8 *StartAddress,
UINT32 Length);
static ACPI_STATUS
AcpiTbValidateRsdp (
ACPI_TABLE_RSDP *Rsdp);
@ -324,7 +319,7 @@ ACPI_EXPORT_SYMBOL (AcpiFindRootPointer)
*
******************************************************************************/
static UINT8 *
UINT8 *
AcpiTbScanMemoryForRsdp (
UINT8 *StartAddress,
UINT32 Length)

View File

@ -121,6 +121,15 @@ ACPI_STATUS
AcpiAllocateRootTable (
UINT32 InitialTableCount);
/*
* tbxfroot - Root pointer utilities
*/
UINT8 *
AcpiTbScanMemoryForRsdp (
UINT8 *StartAddress,
UINT32 Length);
/*
* tbfadt - FADT parse/convert/validate
*/

File diff suppressed because it is too large Load Diff

View File

@ -189,6 +189,10 @@ int
ApDumpAllTables (
void);
BOOLEAN
ApIsValidHeader (
ACPI_TABLE_HEADER *Table);
/*
* apfiles - File I/O utilities

View File

@ -118,10 +118,6 @@
/* Local prototypes */
static BOOLEAN
ApIsValidHeader (
ACPI_TABLE_HEADER *Table);
static int
ApDumpTableBuffer (
ACPI_TABLE_HEADER *Table,
@ -140,7 +136,7 @@ ApDumpTableBuffer (
*
******************************************************************************/
static BOOLEAN
BOOLEAN
ApIsValidHeader (
ACPI_TABLE_HEADER *Table)
{