aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2022-05-13 00:04:19 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2022-11-02 21:03:40 +0000
commit060dc7b26d47d9750d0692340761ba34942b1545 (patch)
tree803c6c3eade8b05e50aed45c97ae8b816f67d804 /src/include
parentb621d9bef31a92b5a8cf23af17bf576e5d341efd (diff)
acpigen: export acpigen_write_field_name
It will be used in a follow-up change. Change-Id: If89f9569c33949995d3b45a5f871ff2cb84a6610 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68787 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpigen.h1
1 files changed, 1 insertions, 0 deletions
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