acpigen: Add ability to auto-generate _DSM Function 0

Hardware / Coreboot - Tim Wawrzynczak [chromium.org] - 10 September 2021 19:39 UTC

Since the value returned by _DSM function 0 for a given UUID is trivial to calculate, add the ability to do so to the acpigen_write_dsm() functions.

Change-Id: Id9be050442485b42202cf91649aa94e56f35032a

d96f3a25b4 acpigen: Add ability to auto-generate _DSM Function 0
src/acpi/acpigen.c | 49 +++++++++++++++++++++++++++++++++++++++++++---
src/include/acpi/acpigen.h | 5 ++++-
2 files changed, 50 insertions(+), 4 deletions(-)

Upstream: review.coreboot.org


  • Share