From 68e6b0af784dda4efd9d4e2e9d3b03a31ca1408c Mon Sep 17 00:00:00 2001 From: Marcel Apfelbaum Date: Mon, 25 May 2015 18:33:46 +0300 Subject: [PATCH] acpi: add aml_while() term Add encoding for ACPI DefWhile Opcode. Reviewed-by: Shannon Zhao Reviewed-by: Igor Mammedov Signed-off-by: Marcel Apfelbaum Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/hw/acpi/aml-build.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h index 1a891a20da..e3afa13678 100644 --- a/include/hw/acpi/aml-build.h +++ b/include/hw/acpi/aml-build.h @@ -266,6 +266,7 @@ Aml *aml_device(const char *name_format, ...) GCC_FMT_ATTR(1, 2); Aml *aml_method(const char *name, int arg_count); Aml *aml_if(Aml *predicate); Aml *aml_else(void); +Aml *aml_while(Aml *predicate); Aml *aml_package(uint8_t num_elements); Aml *aml_buffer(int buffer_size, uint8_t *byte_list); Aml *aml_resource_template(void);