summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/acpigen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c
index 8eea91c5f4..2479f58ef4 100644
--- a/src/acpi/acpigen.c
+++ b/src/acpi/acpigen.c
@@ -1385,6 +1385,14 @@ void acpigen_write_store_int_to_op(uint64_t src, uint8_t dst)
acpigen_emit_byte(dst);
}
+/* Store ("namestr", "namestr") */
+void acpigen_write_store_namestr_to_namestr(const char *src, const char *dst)
+{
+ acpigen_write_store();
+ acpigen_emit_namestring(src);
+ acpigen_emit_namestring(dst);
+}
+
/* Or (arg1, arg2, res) */
void acpigen_write_or(uint8_t arg1, uint8_t arg2, uint8_t res)
{