From 060dc7b26d47d9750d0692340761ba34942b1545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Niew=C3=B6hner?= Date: Fri, 13 May 2022 00:04:19 +0200 Subject: acpigen: export acpigen_write_field_name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It will be used in a follow-up change. Change-Id: If89f9569c33949995d3b45a5f871ff2cb84a6610 Signed-off-by: Michael Niewöhner Reviewed-on: https://review.coreboot.org/c/coreboot/+/68787 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/include/acpi/acpigen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/acpi') diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index 4546cffd34..789dd47dcd 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -519,6 +519,7 @@ void acpigen_write_create_byte_field(uint8_t op, size_t byte_offset, const char void acpigen_write_create_word_field(uint8_t op, size_t byte_offset, const char *name); void acpigen_write_create_dword_field(uint8_t op, size_t byte_offset, const char *name); void acpigen_write_create_qword_field(uint8_t op, size_t byte_offset, const char *name); +void acpigen_write_field_name(const char *name, uint32_t size); /* * Generate ACPI AML code for _DSM method. * This function takes as input uuid for the device, set of callbacks and -- cgit v1.2.3