diff options
author | Igor Mammedov | 2022-10-17 12:21:36 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-11-07 20:00:29 +0100 |
commit | cfead31326409dad187024de1bf7b40d7a86737e (patch) | |
tree | 435be92bb32f062ec518a476bf27d4c3f884a006 /hw/display/acpi-vga-stub.c | |
parent | vhost-user: Fix out of order vring host notification handling (diff) | |
download | qemu-cfead31326409dad187024de1bf7b40d7a86737e.tar.gz qemu-cfead31326409dad187024de1bf7b40d7a86737e.tar.xz qemu-cfead31326409dad187024de1bf7b40d7a86737e.zip |
acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors
NB:
We do not expect any functional change in any ACPI tables with this
change. It's only a refactoring.
NB2:
Some targets (or1k) do not support acpi and CONFIG_ACPI is off for them.
However, modules are reused between all architectures so CONFIG_ACPI is
on. For those architectures, dummy stub function definitions help to
resolve symbols. This change uses more of these and so it adds a couple
of dummy stub definitions so that symbols for those can be resolved.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20221017102146.2254096-2-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
CC: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <20221107152744.868434-1-ani@anisinha.ca>
Diffstat (limited to 'hw/display/acpi-vga-stub.c')
-rw-r--r-- | hw/display/acpi-vga-stub.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/display/acpi-vga-stub.c b/hw/display/acpi-vga-stub.c new file mode 100644 index 0000000000..a9b0ecf76d --- /dev/null +++ b/hw/display/acpi-vga-stub.c @@ -0,0 +1,7 @@ +#include "qemu/osdep.h" +#include "hw/acpi/acpi_aml_interface.h" +#include "vga_int.h" + +void build_vga_aml(AcpiDevAmlIf *adev, Aml *scope) +{ +} |