17b3c4b1ab
The acpidump utility analyzes ACPI tables in physical memory and dumps them to standard output. In addition, acpidump can disassemble AML (ACPI Machine Language) found in these tables and dump them as ASL (ACPI Source Language).
23 lines
670 B
Text
23 lines
670 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2004/02/29 05:57:44 uebayasi Exp $
|
|
|
|
--- acpi.c.orig Tue Oct 23 16:36:26 2001
|
|
+++ acpi.c
|
|
@@ -72,12 +72,12 @@ acpi_print_dsdt_definition(void)
|
|
strncpy(oemtblid, dsdt_header.oemtblid, 8);
|
|
oemtblid[8] = '\0';
|
|
|
|
- printf("DefinitionBlock (
|
|
- \"acpi_dsdt.aml\", //Output filename
|
|
- \"DSDT\", //Signature
|
|
- 0x%x, //DSDT Revision
|
|
- \"%s\", //OEMID
|
|
- \"%s\", //TABLE ID
|
|
+ printf("DefinitionBlock (\n\
|
|
+ \"acpi_dsdt.aml\", //Output filename\n\
|
|
+ \"DSDT\", //Signature\n\
|
|
+ 0x%x, //DSDT Revision\n\
|
|
+ \"%s\", //OEMID\n\
|
|
+ \"%s\", //TABLE ID\n\
|
|
0x%x //OEM Revision\n)\n",
|
|
dsdt_header.rev, oemid, oemtblid, dsdt_header.oemrev);
|
|
}
|