From c13c71741caaa2ff1a06a799d3e935f34e40d681 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 15:38:15 +0000 Subject: [PATCH] Changes to interfaces date 2000.03.13.16.30.00; author rmoore1; state Exp; --- source/common/adisasm.c | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/source/common/adisasm.c b/source/common/adisasm.c index 3334d3829..8d4735241 100644 --- a/source/common/adisasm.c +++ b/source/common/adisasm.c @@ -133,8 +133,23 @@ ACPI_GENERIC_OP *Gbl_ParsedNamespaceRoot; ACPI_GENERIC_OP *root; UINT8 *AmlPtr; UINT32 AmlLength; +UINT8 *DsdtPtr; +UINT32 DsdtLength; + +/****************************************************************************** + * + * FUNCTION: AdCreateTableHeaders + * + * PARAMETERS: None + * + * RETURN: None + * + * DESCRIPTION: + * + *****************************************************************************/ + void AdCreateTableHeaders (void) { @@ -144,11 +159,23 @@ AdCreateTableHeaders (void) } +/****************************************************************************** + * + * FUNCTION: AdBlockType + * + * PARAMETERS: None + * + * RETURN: None + * + * DESCRIPTION: + * + *****************************************************************************/ + #define BLOCK_PAREN 1 #define BLOCK_BRACE 2 INT32 -AdBlockType ( +c ( ACPI_GENERIC_OP *Op) { @@ -194,13 +221,13 @@ AdDisplayTables (void) AdCreateTableHeaders (); } - DbDisplayOp (PsGetChild (Gbl_ParsedNamespaceRoot)); + DbDisplayOp (PsGetChild (Gbl_ParsedNamespaceRoot), ACPI_UINT32_MAX); OsdPrintf ("\n\nDSDT Header:\n"); - CmDumpBuffer ((char *) DsdtPtr, sizeof (ACPI_TABLE_HEADER), 0); + CmDumpBuffer ((char *) DsdtPtr, sizeof (ACPI_TABLE_HEADER), DB_BYTE_DISPLAY, 0); OsdPrintf ("DSDT Body (Length 0x%X)\n", AmlLength); - CmDumpBuffer ((char *) AmlPtr, AmlLength, 0); + CmDumpBuffer ((char *) AmlPtr, AmlLength, DB_BYTE_DISPLAY, 0); return AE_OK; }