summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2015-02-18 19:14:45 +0000
committerMichael S. Tsirkin <mst@redhat.com>2015-02-26 13:04:17 +0100
commite2ea299b01fbd9d4d0262cfbfcbdbd02ada984a5 (patch)
tree581320d9476c2bdc7bdd06f19905ae00a041ca21 /include/hw/acpi
parentddf1ec2ffe30bd6bb34acc020622741eafc16b79 (diff)
downloadhqemu-e2ea299b01fbd9d4d0262cfbfcbdbd02ada984a5.zip
hqemu-e2ea299b01fbd9d4d0262cfbfcbdbd02ada984a5.tar.gz
acpi: add aml_reserved_field() term
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/aml-build.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
index bf94155..ea3ece3 100644
--- a/include/hw/acpi/aml-build.h
+++ b/include/hw/acpi/aml-build.h
@@ -29,7 +29,12 @@ typedef enum {
} AmlIODecode;
typedef enum {
+ aml_any_acc = 0,
aml_byte_acc = 1,
+ aml_word_acc = 2,
+ aml_dword_acc = 3,
+ aml_qword_acc = 4,
+ aml_buffer_acc = 5,
} AmlFieldFlags;
typedef enum {
@@ -91,6 +96,7 @@ Aml *aml_io(AmlIODecode dec, uint16_t min_base, uint16_t max_base,
Aml *aml_operation_region(const char *name, AmlRegionSpace rs,
uint32_t offset, uint32_t len);
Aml *aml_named_field(const char *name, unsigned length);
+Aml *aml_reserved_field(unsigned length);
Aml *aml_local(int num);
Aml *aml_string(const char *name_format, ...) GCC_FMT_ATTR(1, 2);
Aml *aml_equal(Aml *arg1, Aml *arg2);
OpenPOWER on IntegriCloud