diff options
author | njl <njl@FreeBSD.org> | 2003-04-29 18:39:29 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-04-29 18:39:29 +0000 |
commit | 0f552762e45d65746b7b1ee44d8ca1b52bf83450 (patch) | |
tree | 4f870813153015b497486f4e5b8eaf0bb08c4bad /sys/contrib/dev/acpica/nsdump.c | |
parent | 2b17a8d498a3e4598c19121ab1fad3e7ced2c699 (diff) | |
download | FreeBSD-src-0f552762e45d65746b7b1ee44d8ca1b52bf83450.zip FreeBSD-src-0f552762e45d65746b7b1ee44d8ca1b52bf83450.tar.gz |
Import of Intel ACPI 20030228 vendor distribution
Diffstat (limited to 'sys/contrib/dev/acpica/nsdump.c')
-rw-r--r-- | sys/contrib/dev/acpica/nsdump.c | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/sys/contrib/dev/acpica/nsdump.c b/sys/contrib/dev/acpica/nsdump.c index 88b135c..085565d 100644 --- a/sys/contrib/dev/acpica/nsdump.c +++ b/sys/contrib/dev/acpica/nsdump.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nsdump - table dumping routines for debug - * $Revision: 146 $ + * $Revision: 151 $ * *****************************************************************************/ @@ -9,7 +9,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp. * All rights reserved. * * 2. License @@ -186,16 +186,13 @@ AcpiNsPrintPathname ( * ******************************************************************************/ -ACPI_STATUS +void AcpiNsDumpPathname ( ACPI_HANDLE Handle, - NATIVE_CHAR *Msg, + char *Msg, UINT32 Level, UINT32 Component) { - ACPI_BUFFER Buffer; - ACPI_STATUS Status; - ACPI_FUNCTION_TRACE ("NsDumpPathname"); @@ -204,21 +201,14 @@ AcpiNsDumpPathname ( if (!(AcpiDbgLevel & Level) || !(AcpiDbgLayer & Component)) { - return_ACPI_STATUS (AE_OK); + return_VOID; } /* Convert handle to a full pathname and print it (with supplied message) */ - Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER; - - Status = AcpiNsHandleToPathname (Handle, &Buffer); - if (ACPI_SUCCESS (Status)) - { - AcpiOsPrintf ("%s %s (Node %p)\n", Msg, (char *) Buffer.Pointer, Handle); - ACPI_MEM_FREE (Buffer.Pointer); - } - - return_ACPI_STATUS (Status); + AcpiNsPrintNodePathname (Handle, Msg); + AcpiOsPrintf ("\n"); + return_VOID; } |