Commit Graph

20 Commits

Author SHA1 Message Date
joerg dccf569e0e Use __dead. 2011-08-29 20:38:53 +00:00
wiz 3d273e44b9 Sort option descriptions. Merge single-letter options in SYNOPSIS. 2011-02-17 17:05:05 +00:00
jruoho e96937f774 Provide a definition for the size of the RSDP in ACPI 1.0.
Appears to be missing in the new ACPICA.
2011-02-17 15:06:34 +00:00
jmcneill 0a87e1998a document -c and -s flags 2011-02-17 10:21:02 +00:00
jmcneill d34a996f1f - when dumping table bytes, make sure to dump our header and not the next one
- also dump tables with bad checksums, unless the -s flag is specified
2011-02-17 10:18:05 +00:00
jmcneill d91f7d5299 dump bytes for tables that acpidump doesn't decode, and print them
as characters instead of hex if '-c' flag is provided
2011-02-17 02:55:16 +00:00
jruoho 2f16bead08 Fix theoretical buffer overflow by using MAXPATHLEN for realpath(3). 2010-12-19 16:25:16 +00:00
abs 564d9d15f0 Put "MAN= acpidump.8" back outside the i386/amd64 block so its in the
MI manpages, and non i386/amd64 setlists are correct again
2009-12-27 21:42:22 +00:00
cegger 3b140d483b Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:03 +00:00
cegger de1cae9a73 msg.txt 2009-12-22 08:44:02 +00:00
cegger 09f2089b95 Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:02 +00:00
abs 515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
drochner e6c8051893 -if an RSDT entry points to a table with invalid checksum, print
a warning and continue, rather than aborting -- some BIOSes disable
 tables this way (in my case the TCPA table if the TPM is disabled)
-no terminating newline in err(3) calls
2008-02-13 18:59:18 +00:00
joerg 5d2d87e3f2 Fix quoting of string literals, printing of names and add most ACPI 3.0
opcodes. This is good enough to create output that can be compiled with
acpi-iasl to the same binary as it would create from its down ASL dump
on my laptop, when I manually fix the use of reserved identifiers in the
DSDT.
2008-02-13 11:47:36 +00:00
dogcow 8f7115c4c1 make it compile for the !defined(DEBUG) case. 2008-02-03 09:25:49 +00:00
christos f408a0fef8 comment out some asserts for now. 2008-02-03 03:40:52 +00:00
wiz 266bca7bda Sort sections, sort SEE ALSO. Use Rs/Re for citation.
Remove URL that points to a 404. Use HTML macros.
Comment out xrefs to mem(4) and acpiconf(8) since we do not have them.
2007-01-14 12:25:42 +00:00
dogcow 7ac7d15dd5 Now compiles on amd64, mostly due to %llx -> %PRIx64, but also changing some
internal structures around. (yay for assuming that pointers can be held in
an int. bah.)

Not sure if it actually _works_ on amd64, but as the output on my i386
doesn't change pre/post-patching, that seems good enough for now.
2007-01-14 05:33:18 +00:00
christos 02dcb4ad58 only build on i386 and amd64. 2007-01-14 04:44:11 +00:00
christos 53e202c131 Add acpitools 2007-01-14 04:36:13 +00:00