HomeFreeBSD

acpi: Tweak _DSM method evaluation helpers.

Description

acpi: Tweak _DSM method evaluation helpers.

  • Use ACPI style for _DSM evaluation helper parameter types.
  • Constify UUID parameter.
  • Increase size of returned DSM function bitmap by acpi_DSMQuery() up to 64 items. Old limit of 8 functions is not sufficient for JEDEC JESD245 NVDIMMs.
  • Add new acpi_EvaluateDSMTyped() helper which performs additional return value type check as compared with acpi_EvaluateDSM().
  • Reimplement acpi_EvaluateDSM() on top of the acpi_EvaluateDSMTyped() call.

Reviewed by: scottph, manu
Differential Revision: https://reviews.freebsd.org/D26602

Details

Provenance
wulfAuthored on
Reviewer
scottph
Differential Revision
D26602: acpi: Tweak _DSM method evaluation helpers.
Parents
rS367230: ig4(4): Add PCI IDs for Intel Comit Lake I2C controllers.
Branches
Unknown
Tags
Unknown