diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2023-10-07 14:38:26 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-10-22 05:18:17 -0400 |
| commit | 74bdcfb4b2ba7958efe8e66e06757579d61ebbb3 (patch) | |
| tree | 89c00c78ca63324ed2ab61dc8501249355d552e0 /include | |
| parent | 80ec6f5b574e5368007d8076fd32316765bf4ffb (diff) | |
| download | focaccia-qemu-74bdcfb4b2ba7958efe8e66e06757579d61ebbb3.tar.gz focaccia-qemu-74bdcfb4b2ba7958efe8e66e06757579d61ebbb3.zip | |
hw/isa/piix4: Reuse struct PIIXState from PIIX3
PIIX4 has its own, private PIIX4State structure. PIIX3 has almost the same structure, provided in a public header. So reuse it and add a cpu_intr attribute to it which is only used by PIIX4. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20231007123843.127151-19-shentey@gmail.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/southbridge/piix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/southbridge/piix.h b/include/hw/southbridge/piix.h index 0b257e1582..dd5f7b31c0 100644 --- a/include/hw/southbridge/piix.h +++ b/include/hw/southbridge/piix.h @@ -49,6 +49,7 @@ struct PIIXState { #endif uint64_t pic_levels; + qemu_irq cpu_intr; qemu_irq isa_irqs_in[ISA_NUM_IRQS]; /* This member isn't used. Just for save/load compatibility */ |