acrn-hypervisor/devicemodel/hw/platform/acpi
Binbin Wu f9a163954d dm: passthru: fix hardcoded nhlt table length
NHLT table contains the settings some audio drivers need.
An ACPI method is used to get NHLT table address & length.
In current DM code, the NHLT talbe length in the ACPI method
is hardcoded, which will cause troubles when the length of the
table changed.
This patch replaces the hardcoded NHLT table length according to
the table length read from SOS.

Tracked-On: #1461
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
2018-10-15 13:44:48 +08:00
..
acpi.c dm: passthru: fix hardcoded nhlt table length 2018-10-15 13:44:48 +08:00
acpi_pm.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00