aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2016-03-01 18:56:05 +0800
committerMichael S. Tsirkin <mst@redhat.com>2016-03-11 14:54:28 +0200
commit3f3009c0983428f517b743c9de14858b1fdaacb7 (patch)
tree75f23d29d08d304ed5a7e0c23e40daad64c93426 /include
parent9815cba5027b0a8732733dc2a908b4e06d6b8ffc (diff)
downloadqemu-3f3009c0983428f517b743c9de14858b1fdaacb7.zip
qemu-3f3009c0983428f517b743c9de14858b1fdaacb7.tar.gz
qemu-3f3009c0983428f517b743c9de14858b1fdaacb7.tar.bz2
acpi: allow using object as offset for OperationRegion
Extend aml_operation_region() to use object as offset Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/acpi/aml-build.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
index 258cbf3..b16017e 100644
--- a/include/hw/acpi/aml-build.h
+++ b/include/hw/acpi/aml-build.h
@@ -285,7 +285,7 @@ Aml *aml_interrupt(AmlConsumerAndProducer con_and_pro,
Aml *aml_io(AmlIODecode dec, uint16_t min_base, uint16_t max_base,
uint8_t aln, uint8_t len);
Aml *aml_operation_region(const char *name, AmlRegionSpace rs,
- uint32_t offset, uint32_t len);
+ Aml *offset, uint32_t len);
Aml *aml_irq_no_flags(uint8_t irq);
Aml *aml_named_field(const char *name, unsigned length);
Aml *aml_reserved_field(unsigned length);