Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/usr.sbin/acpitools/acpidump



Module Name:    src
Committed By:   martin
Date:           Wed Nov 22 15:54:09 UTC 2017

Modified Files:
        src/usr.sbin/acpitools/acpidump [netbsd-8]: acpi.c acpi_user.c
            acpidump.8 acpidump.c acpidump.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #378):
        usr.sbin/acpitools/acpidump/acpi_user.c: revision 1.4
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.20
        usr.sbin/acpitools/acpidump/acpidump.c: revision 1.7
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.21
        usr.sbin/acpitools/acpidump/acpidump.8: revision 1.10
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.22
        usr.sbin/acpitools/acpidump/acpidump.h: revision 1.6
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.23
        usr.sbin/acpitools/acpidump/acpidump.h: revision 1.7
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.24
        usr.sbin/acpitools/acpidump/acpidump.8: revision 1.8
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.25
        usr.sbin/acpitools/acpidump/acpidump.8: revision 1.9
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.26
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.28
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.16
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.17
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.18
        usr.sbin/acpitools/acpidump/acpi.c: revision 1.19
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.
  Check DSDT signature in acpi_handle_fadt() for broken ACPI table.
  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.
- 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.
Part of FreeBSD r323045:
  - Print Valid Field in ACPI_NFIT_CONTROL_REGION with 0x%02x.
  - Fix Flags of ACPI_NFIT_CONTROL_REGION.
- 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.
  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)
  Fix calculation the offset of the Action Table in WDAT to print each
entries correctly.
- 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 unsigned values in acpi_print_hest_generic().
- Space, tab and newline change for consistency output.
- Print a type number for unknown HEST sub entry ID.
  Don't define GAS address ID constants in acpidump.h and use actypes.h's
definitions. No functional change.
  Cosmetic change (tab and newline).


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.8.1 src/usr.sbin/acpitools/acpidump/acpi.c
cvs rdiff -u -r1.2.38.1 -r1.2.38.2 \
    src/usr.sbin/acpitools/acpidump/acpi_user.c
cvs rdiff -u -r1.7 -r1.7.18.1 src/usr.sbin/acpitools/acpidump/acpidump.8
cvs rdiff -u -r1.6 -r1.6.8.1 src/usr.sbin/acpitools/acpidump/acpidump.c
cvs rdiff -u -r1.5 -r1.5.36.1 src/usr.sbin/acpitools/acpidump/acpidump.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index