summaryrefslogtreecommitdiff
path: root/usr.sbin/acpitools
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2022-05-24fix various typos in comment, documentation and log messages.andvar
2022-03-23fix few typos for word "previous(ly)" in comments.andvar
2022-02-13fix few typos in comments and log message.andvar
2021-12-12fix typos in word "operation(s)".andvar
2021-12-10s/OCCURED/OCCURRED/ in a debug message.msaitoh
2021-11-08acpi_print_gicc_flags: print {en,dis}abledskrll
2021-10-24fix various typos in comments, mainly copypasta.andvar
2021-09-19fix various typos in comments, messages and documentation.andvar
2021-09-14acpidump: fix lint errorsrillig
When lint runs on the code, it defines the preprocessor macro 'lint' to be 1. Due to that, this name cannot be used as a regular identifier. acpi.c(86): error: syntax error '1' [249] acpi.c(1004): error: syntax error '1' [249] acpi.c(2422): error: void function acpi_print_lpit cannot return value [213] The FreeBSD code doesn't need this name change since lint is specific to NetBSD. No functional change.
2021-09-03s/existant/existent/ in comments and messages, plus few more similar fixes.andvar
2021-08-17fix multiplei repetitive typos in comments, messages and documentation. ↵andvar
mainly because copy paste code big amount of files are affected.
2021-01-20Consistently use ACPI_SIG_SSDTskrll
2020-12-14MAsk -> Mask, spotted by rillig@jmcneill
2020-12-12Add support for decoding Platform Communications Channel Tables ("PCCT").jmcneill
2020-12-06acpidump: Do not print FACS if HW_REDUCED flag is set.jmcneill
According to ACPI 6.3 spec, FACS is optional when HW_REDUCED is set. ACPICA ignores the FACS completely when HW_REDUCED is set, so we need to follow suit since it is not available through /dev/acpi as the table is not installed.
2020-12-06acpi: add character device for accessing ACPI tablesjmcneill
The /dev/acpi character device gives an aperture into physical memory that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and the root tables. Adapt acpidump(8) to use this interface by default, falling back to the old /dev/mem method if it is not available or if ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit of this change is that "options INSECURE" is no longer required to dump ACPI tables.
2020-09-12Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them tojmcneill
conditionally include ACPI and UEFI bits instead of relying on adhoc MACHINE_ARCH tests.
2020-09-11Build acpi tools and iasl on aarch64eb, and fix set lists for MKDEBUG.jmcneill
2020-08-20mmap MAP_FAILED audit.riastradh
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
2019-06-22Dump TPM2.maxv
2019-04-29acpica 20190405 changed some internal macros; update code to matchdogcow
2019-02-09 Add missing newline.msaitoh
2019-02-03- add or adjust /* FALLTHROUGH */ where appropriatemrg
- add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
2018-12-30 Fix acpi_print_string(). Treat NUL termination correctly to not to printmsaitoh
NUL character. For example, this change prints an OEMID "41 4d 44 00 41 4d" with "AMD". Tested by Patrick Welche.
2018-12-02 Decode IO Remapping Table.msaitoh
2018-11-11& promotes to int already, so clang warns about the hh modifier.maya
(and we use -Werror) ok xtos
2018-11-05 Decode Boot Graghics Resource Table (BGRT).msaitoh
2018-11-01 Decode CSRT (Core System Resources Table).msaitoh
2018-10-19 Add GTDT and PPTT.msaitoh
2018-10-18 Fix output of Cache type in PPTT.msaitoh
2018-10-18 Don't print X_PM_TMR_BLK if the address value is 0.msaitoh
2018-10-18 Don't print PM_TMR_BLK if the value is 0 (see also acpi_timer.c rev. 1.23).msaitoh
2018-10-18 Decode Generic Timer Description Table(GTDT) and Processor Properties Topologymsaitoh
Table(PPTT). Cosmetic changes and fixes might be required. Testesd by jmcneill.
2018-10-18Print SPCR's Interface Type and ARMH GIC Interrupt Type.msaitoh
2018-10-16FACS is optional if the HW_REDUCED_ACPI flag is set in the FADT.jmcneill
2018-10-14Add acpidump, amldb, and iasl to aarch64 build.jmcneill
2018-10-14getopt returns int, not charjmcneill
2018-10-05 Remove extra newline in SPMI table.msaitoh
2018-10-03- Decode DMAR's ANDD (ACPI Name Space).msaitoh
- Add X2APIC_MODE flag of DMAR. Note that Intel's VT-d's document says the flag's name is DMA_CTRL_PLATFORM_OPT_IN but actbl1.h says it's DMAR_X2APIC_MODE.
2018-10-03 Add ACPI LPIT (Low Power Idle Table) from FreeBSD r336185.msaitoh
2017-09-28 Print ACPI_HEST_GHES_ASSIST flag (ACPI 6.2).msaitoh
2017-09-27 Cosmetic change (tab and newline).msaitoh
2017-09-27- Print SAPIC EID of Processor Local APIC/SAPIC Affinity.msaitoh
- Print GIC Interrupt Translation Service(ITS) Affinity (ACPI 6.2) - KNF - Whilte space cleanup.
2017-09-07 Don't define GAS adddess ID constants in acpidump.h and use actypes.h'smsaitoh
definitions. No functional change.
2017-09-04- Space, tab and newline change for consistency output.msaitoh
- Print a type number for unknown HEST sub entry ID.
2017-09-04- Calculate offset of a sub header correctly in acpi_handle_hest() to printmsaitoh
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 Fix calculation the offset of the Action Table in WDAT to print eachmsaitoh
entries correctly.
2017-09-01 Decode the following entries:msaitoh
- DBG2 (Debug Port Table 2) - SPMI (Server Platform Management Interface Table) - WDDT (Watchdog Timer Description Table) - UEFI (UEFI, not fully decoded yet)