OSDN Git Service

acpi: add aml_while() term
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 25 May 2015 15:33:46 +0000 (18:33 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jun 2015 12:18:54 +0000 (14:18 +0200)
Add encoding for ACPI DefWhile Opcode.

Reviewed-by: Shannon Zhao <zhaoshenglong@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/acpi/aml-build.h

index 1a891a2..e3afa13 100644 (file)
@@ -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);