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 ee7c90cf01..0ed3708016 100644
--- a/src/acpi/acpigen.c
+++ b/src/acpi/acpigen.c
@@ -1381,6 +1381,14 @@ void acpigen_write_else(void)
acpigen_write_len_f();
}
+void acpigen_write_shiftleft_op_int(uint8_t src_result, uint64_t count)
+{
+ acpigen_emit_byte(SHIFT_LEFT_OP);
+ acpigen_emit_byte(src_result);
+ acpigen_write_integer(count);
+ acpigen_emit_byte(ZERO_OP);
+}
+
void acpigen_write_to_buffer(uint8_t src, uint8_t dst)
{
acpigen_emit_byte(TO_BUFFER_OP);