summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch')
-rw-r--r--sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch b/sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch
new file mode 100644
index 000000000000..0bf33c390933
--- /dev/null
+++ b/sys-power/pmtools/files/pmtools-20061130-acpixtract-pmtools.patch
@@ -0,0 +1,68 @@
+--- a/README
++++ b/README
+@@ -17,27 +17,27 @@
+
+ # ./acpidump -t DSDT -o DSDT
+
+-./acpidump/acpixtract
++./acpidump/acpixtract-pmtools
+ --------------------
+ Convert ASCII acpidump output to raw binary table:
+
+ # ./acpidump -t DSDT -b -o DSDT
+- $ cat email | ./acpixtract DSDT > DSDT
++ $ cat email | ./acpixtract-pmtools DSDT > DSDT
+
+ ./acpidump/acpitbl
+ -----------------
+ Dump the table header or contents of a raw ACPI table:
+
+ # ./acpidump -t FACP -b | ./acpitbl
+- $ cat email | ./acpixtract FACP | ./acpitbl
++ $ cat email | ./acpixtract-pmtools FACP | ./acpitbl
+
+ or
+- $ ./acpixtract FACP acpidump.out > FACP.bin
++ $ ./acpixtract-pmtools FACP acpidump.out > FACP.bin
+ and then
+ $ ./acpitbl FACP.bin
+
+ or
+- $ ./acpixtract -n 3 SSDT acpidump.out > SSDT3.bin
++ $ ./acpixtract-pmtools -n 3 SSDT acpidump.out > SSDT3.bin
+ to extract the n-th instance of a specified table type.
+
+ Disassembler
+--- a/acpidump/acpitbl
++++ b/acpidump/acpitbl
+@@ -2,7 +2,7 @@
+ #
+ # acpitbl - ACPI table dumper
+ #
+-# Example: ./acpidump -t FACP | ./acpixtract | ./acpitbl
++# Example: ./acpidump -t FACP | ./acpixtract-pmtools | ./acpitbl
+ #
+
+ ($ME = $0) =~ s|.*/||;
+--- a/acpixtract/acpixtract.c
++++ b/acpixtract/acpixtract.c
+@@ -199,7 +199,7 @@ DisplayUsage (
+ void)
+ {
+
+- printf ("Usage: acpixtract [option] <InputFile>\n");
++ printf ("Usage: acpixtract-pmtools [option] <InputFile>\n");
+ printf ("\nExtract binary ACPI tables from text acpidump output\n");
+ printf ("Default invocation extracts all DSDTs and SSDTs\n");
+ printf ("Version %8.8X\n\n", VERSION);
+--- a/madt/README
++++ b/madt/README
+@@ -1,7 +1,7 @@
+ User utility to parse the ACPI MADT
+ Hacked out of Linux kernel code to do the same.
+
+-# ./acpidmp | ./acpixtract APIC | ./madt
++# ./acpidmp | ./acpixtract-pmtools APIC | ./madt
+
+ ACPI: APIC (v001 INTEL D845EBT2 0x20021021 MSFT 0x00000097) @ 0x(nil)
+ ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)