From 178cf35098685fa2dc331d9e59dded379e8574bb Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 9 Feb 2023 16:29:46 +0100 Subject: acpi/acpigen: add acpigen_write_store_namestr_to_namestr acpigen_write_rom open-codes this functionality, so add a function for this. Signed-off-by: Felix Held Change-Id: Ief25dd854d1639a295c021e9d02c05b4cc61109c Reviewed-on: https://review.coreboot.org/c/coreboot/+/72936 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Elyes Haouas --- src/include/acpi/acpigen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index 0b21938f05..ae501432d1 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -488,6 +488,7 @@ void acpigen_write_store_int_to_op(uint64_t src, uint8_t dst); void acpigen_write_store_ops(uint8_t src, uint8_t dst); void acpigen_write_store_op_to_namestr(uint8_t src, const char *dst); void acpigen_write_store_namestr_to_op(const char *src, uint8_t dst); +void acpigen_write_store_namestr_to_namestr(const char *src, const char *dst); void acpigen_write_or(uint8_t arg1, uint8_t arg2, uint8_t res); void acpigen_write_xor(uint8_t arg1, uint8_t arg2, uint8_t res); void acpigen_write_and(uint8_t arg1, uint8_t arg2, uint8_t res); -- cgit v1.2.3