msaitoh
761e1e94b4
Print ACPI_HEST_GHES_ASSIST flag (ACPI 6.2).
2017-09-28 06:55:08 +00:00
msaitoh
0fd02e45f9
Cosmetic change (tab and newline).
2017-09-27 08:14:18 +00:00
msaitoh
597a86a670
- Print SAPIC EID of Processor Local APIC/SAPIC Affinity.
...
- Print GIC Interrupt Translation Service(ITS) Affinity (ACPI 6.2)
- KNF
- Whilte space cleanup.
2017-09-27 05:43:55 +00:00
msaitoh
50d91653ef
Don't define GAS adddess ID constants in acpidump.h and use actypes.h's
...
definitions. No functional change.
2017-09-07 04:40:56 +00:00
msaitoh
0f0f0fe40a
- Space, tab and newline change for consistency output.
...
- Print a type number for unknown HEST sub entry ID.
2017-09-04 08:12:29 +00:00
msaitoh
084106f3ab
- Calculate offset of a sub header correctly in acpi_handle_hest() to print
...
all of sub entries in HEST correctly.
- Print a SpaceID number for unknown ID in acpi_print_gas().
- Use PRINTFLAG() in acpi_print_hest_notify().
- Use %u instead of %d for unsgined values in acpi_print_hest_generic().
2017-09-04 08:08:41 +00:00
msaitoh
8dabdd9fc2
Fix calculation the offset of the Action Table in WDAT to print each
...
entries correctly.
2017-09-04 07:59:15 +00:00
msaitoh
5d527485aa
Decode the following entries:
...
- DBG2 (Debug Port Table 2)
- SPMI (Server Platform Management Interface Table)
- WDDT (Watchdog Timer Description Table)
- UEFI (UEFI, not fully decoded yet)
2017-09-01 18:35:50 +00:00
msaitoh
ff98ea4622
- Add "Performance Server" and "Tablet" for Preferred_PM_Profile.
...
- Don't print FADT_RESET_REG if FADT version is 1.
- Print FADT ArmBootFlags, MinorRevision, SleepControl, SleepStatus and
HypervisorId.
- Print "{}" even if any flags aren't set.
2017-09-01 05:53:09 +00:00
msaitoh
1c01428a98
Part of FreeBSD r323045:
...
- Print Valid Field in ACPI_NFIT_CONTROL_REGION with 0x%02x.
- Fix Flags of ACPI_NFIT_CONTROL_REGION.
2017-08-31 09:27:51 +00:00
msaitoh
792e611dc6
- Decode ACPI_HEST_GENERIC_V2.
...
- Decode ACPI_MADT_GENERIC_MSI_FRAME.
- Add NMI, CMCI, MCE, GPIO-Signal, ARMv8 SEA, ARMv8 SEI and GSIV
in acpi_print_hest_notify().
- Add ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS and ACPI_EINJ_GET_EXECUTE_TIMINGS
in acpi_print_einj_action().
- Add ACPI_ERST_EXECUTE_TIMINGS in acpi_print_erst_action().
- Decode NFIT (NVDIMM Firmware Interface Table) from FreeBSD.
2017-08-31 06:53:58 +00:00
msaitoh
8f0f46f919
Add new function acpi_select_address() derived from acpi_get_fadt_revision().
...
On some systems, 32bit address is used for (X)Dsdt even if (X)Facs uses 64bit.
Don't assume an address size from FADT revision.
2017-08-21 02:58:49 +00:00
msaitoh
9ffd944419
Check DSDT signature in acpi_handle_fadt() for broken ACPI table.
2017-08-18 09:49:24 +00:00
msaitoh
c359a2130c
Sync with FreeBSD's r321294:
...
- Dump TCG ACPI spec table (TCPA) more.
- Dump DMA Remapping Reporting table (DMAR).
- Consistently cast ACPICA 64-bit integer types when we print them.
- Display the 'Flags' field in the HPET Description Table.
- Do not crash when RSDT/XSDT contains an empty entry.
- Print 64-bit addresses clearly with leading zeros to avoid confusions.
- Create temp file safely.
- Add missing flags into FADT.
- Print some new ACPI 5.1 MADT entries.
- Use __arraycount().
- Warn and exit loop on invalid subtable length.
- Fix the type used to hold the value returned from getopt. On arm64 char is
unsigned so will never be -1.
2017-08-04 06:30:36 +00:00
msaitoh
9b32f8487a
On UEFI environment, ACPI table is not at low address. Get ACPI root pointer
...
from hw.acpi.root first. Same as FreeBSD. This change fixes a problem that
acpidump(8) showed "acpidump: Can't find ACPI information".
XXX pullup-8
2017-08-03 05:54:45 +00:00
christos
bdb04d1c84
CID 1354301, 1354302, 1354303: Fix uninitialized variable.
2016-02-27 16:40:22 +00:00
christos
2c345cb425
PR/50741: David Binderman: Fix assignment in assert.
2016-02-01 17:46:22 +00:00
christos
ffeb8dbf4e
Define _KERNTYPES for things that need it.
2016-01-23 21:22:45 +00:00
wiz
c20b084d18
Add -s to getopt(3)-string.
...
Noted missing by Henning Petersen in PR 50255.
While here, clean up usage.
2015-09-20 17:45:25 +00:00
christos
df1774464d
Put back a Trusted Computing Platform Alliance table pretty printer.
2015-08-19 07:37:17 +00:00
christos
7e168b655c
comment out end comment printing.
2015-08-18 17:49:49 +00:00
christos
8c2dc81004
comment out tcpa printout since it has been split between server and client
...
struct.
2015-08-18 17:46:09 +00:00
christos
8ee626c9fa
improve error messages (remove \n, use __func__, etc)
2015-06-16 23:04:13 +00:00
riastradh
c14008e496
Don't choke on an assertion for an RSDT with a null address entry.
2014-03-20 14:39:43 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
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