]> Git Repo - qemu.git/blobdiff - hw/acpi/aml-build.c
acpi: add aml_lless() term
[qemu.git] / hw / acpi / aml-build.c
index f29c71a4fdda6f7e97cb3f76045a50e54dade3f6..5e95098e88f434a9b93ef21b0a372ec66f9b0457 100644 (file)
@@ -455,6 +455,15 @@ Aml *aml_or(Aml *arg1, Aml *arg2)
     return var;
 }
 
+/* ACPI 1.0b: 16.2.5.4 Type 2 Opcodes Encoding: DefLLess */
+Aml *aml_lless(Aml *arg1, Aml *arg2)
+{
+    Aml *var = aml_opcode(0x95 /* LLessOp */);
+    aml_append(var, arg1);
+    aml_append(var, arg2);
+    return var;
+}
+
 /* ACPI 1.0b: 16.2.5.4 Type 2 Opcodes Encoding: DefAdd */
 Aml *aml_add(Aml *arg1, Aml *arg2)
 {
This page took 0.023543 seconds and 4 git commands to generate.