aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-05-02 16:32:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-03 15:47:48 +0200
commita42706dbe4f14416df5c65de1a90d72cbc338530 (patch)
tree3667f73fb2a1469b271846365202c5b276bb1d7c /include
parent0f73e49e3718fe198bfad0d5143482708bf086a1 (diff)
downloadqemu-a42706dbe4f14416df5c65de1a90d72cbc338530.zip
qemu-a42706dbe4f14416df5c65de1a90d72cbc338530.tar.gz
qemu-a42706dbe4f14416df5c65de1a90d72cbc338530.tar.bz2
intc: remove PICCommonState from typedefs.h
Move it to the existing "PIC related things" header, hw/intc/i8259.h. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/intc/i8259.h2
-rw-r--r--include/qemu/typedefs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/intc/i8259.h b/include/hw/intc/i8259.h
index c412575..1f24202 100644
--- a/include/hw/intc/i8259.h
+++ b/include/hw/intc/i8259.h
@@ -3,6 +3,8 @@
/* i8259.c */
+typedef struct PICCommonState PICCommonState;
+
extern PICCommonState *isa_pic;
/*
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index 4519f0c..090e219 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -96,7 +96,6 @@ typedef struct PCIExpressDevice PCIExpressDevice;
typedef struct PCIExpressHost PCIExpressHost;
typedef struct PCIHostDeviceAddress PCIHostDeviceAddress;
typedef struct PCIHostState PCIHostState;
-typedef struct PICCommonState PICCommonState;
typedef struct PostcopyDiscardState PostcopyDiscardState;
typedef struct Property Property;
typedef struct PropertyInfo PropertyInfo;