diff options
author | Philippe Mathieu-Daudé | 2019-02-02 20:48:46 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2019-11-05 23:33:12 +0100 |
commit | 0063454affb3c5a595539a3cad9e20e7229d8fac (patch) | |
tree | bf75d84bb022448a3994237b64a827b028b7d352 /hw/i386/acpi-build.c | |
parent | hw/pci-host/piix: Extract piix3_create() (diff) | |
download | qemu-0063454affb3c5a595539a3cad9e20e7229d8fac.tar.gz qemu-0063454affb3c5a595539a3cad9e20e7229d8fac.tar.xz qemu-0063454affb3c5a595539a3cad9e20e7229d8fac.zip |
hw/pci-host/piix: Move RCR_IOPORT register definition
The RCR_IOPORT register belongs to the PIIX chipset.
Move the definition to "piix.h", and prepend the PIIX prefix.
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r-- | hw/i386/acpi-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index b1b050d8e2..266d9b534b 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -209,7 +209,7 @@ static void acpi_get_pm_info(MachineState *machine, AcpiPmInfo *pm) /* The above need not be conditional on machine type because the reset port * happens to be the same on PIIX (pc) and ICH9 (q35). */ - QEMU_BUILD_BUG_ON(ICH9_RST_CNT_IOPORT != RCR_IOPORT); + QEMU_BUILD_BUG_ON(ICH9_RST_CNT_IOPORT != PIIX_RCR_IOPORT); /* Fill in optional s3/s4 related properties */ o = object_property_get_qobject(obj, ACPI_PM_PROP_S3_DISABLED, NULL); |