summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann2020-10-20 09:48:35 +0200
committerGerd Hoffmann2020-10-21 11:36:19 +0200
commit284e269d7ecd511084cc83d6b5ce3bca4db38f53 (patch)
treec645718bbbfc42a54ed9d3afe8869bf6b4fcda23 /hw
parenttests/acpi: disallow changes for microvm/APIC.pcie (diff)
downloadqemu-284e269d7ecd511084cc83d6b5ce3bca4db38f53.tar.gz
qemu-284e269d7ecd511084cc83d6b5ce3bca4db38f53.tar.xz
qemu-284e269d7ecd511084cc83d6b5ce3bca4db38f53.zip
acpi: add aml builder stubs
Add stubs for aml_interrupt and aml_memory32_fixed, these will be needed by followup patches, Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201020074844.5304-2-kraxel@redhat.com
Diffstat (limited to 'hw')
-rw-r--r--hw/acpi/aml-build-stub.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/hw/acpi/aml-build-stub.c b/hw/acpi/aml-build-stub.c
index 58b2e16227..8d8ad1a314 100644
--- a/hw/acpi/aml-build-stub.c
+++ b/hw/acpi/aml-build-stub.c
@@ -57,6 +57,20 @@ Aml *aml_irq_no_flags(uint8_t irq)
return NULL;
}
+Aml *aml_interrupt(AmlConsumerAndProducer con_and_pro,
+ AmlLevelAndEdge level_and_edge,
+ AmlActiveHighAndLow high_and_low, AmlShared shared,
+ uint32_t *irq_list, uint8_t irq_count)
+{
+ return NULL;
+}
+
+Aml *aml_memory32_fixed(uint32_t addr, uint32_t size,
+ AmlReadAndWrite read_and_write)
+{
+ return NULL;
+}
+
Aml *aml_int(const uint64_t val)
{
return NULL;