]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
include/hw/ppc: Supply a few missing includes
authorMarkus Armbruster <armbru@redhat.com>
Thu, 22 Dec 2022 10:46:26 +0000 (11:46 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 20 Jan 2023 06:25:14 +0000 (07:25 +0100)
A few headers neglect to include headers they need.  They compile only
if something else includes the required header(s) first.  Fix that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20221222104628.659681-3-armbru@redhat.com>

include/hw/ppc/pnv_lpc.h
include/hw/ppc/pnv_occ.h
include/hw/ppc/pnv_pnor.h
include/hw/ppc/pnv_sbe.h
include/hw/ppc/pnv_xscom.h
include/hw/ppc/xive2.h
include/hw/ppc/xive2_regs.h

index 8a8d1a3d4209e5fe6a41c3e99aa94c3483f468a8..001eee27d77053859a5af5e751078ebe73380339 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef PPC_PNV_LPC_H
 #define PPC_PNV_LPC_H
 
-#include "qom/object.h"
+#include "exec/memory.h"
+#include "hw/qdev-core.h"
 
 #define TYPE_PNV_LPC "pnv-lpc"
 typedef struct PnvLpcClass PnvLpcClass;
index 90a81dae2b8d69e740bd006e96372611f201fd26..df321244e3b1c8b4e9bf16ee115573ebd1e33087 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef PPC_PNV_OCC_H
 #define PPC_PNV_OCC_H
 
-#include "qom/object.h"
+#include "exec/memory.h"
+#include "hw/qdev-core.h"
 
 #define TYPE_PNV_OCC "pnv-occ"
 OBJECT_DECLARE_TYPE(PnvOCC, PnvOCCClass,
index bab2f798449db2eed65379f44994f167dceaef8b..2e37ac88bf15cc6ebcb3c55cf03cbcdadbbb520f 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef PPC_PNV_PNOR_H
 #define PPC_PNV_PNOR_H
 
-#include "qom/object.h"
+#include "hw/sysbus.h"
 
 /*
  * PNOR offset on the LPC FW address space
index f54a3ae9bade38ad2a5821625dba9136f2291575..b6b378ad14c7da22658407213e137a214d2bc464 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef PPC_PNV_SBE_H
 #define PPC_PNV_SBE_H
 
-#include "qom/object.h"
+#include "exec/memory.h"
+#include "hw/qdev-core.h"
 
 #define TYPE_PNV_SBE "pnv-sbe"
 OBJECT_DECLARE_TYPE(PnvSBE, PnvSBEClass, PNV_SBE)
index c6e9ef8dd25a554f158b3e27826e436316d7e051..cbe848d27ba07be67be290fbc7664d74af613234 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef PPC_PNV_XSCOM_H
 #define PPC_PNV_XSCOM_H
 
-#include "qom/object.h"
+#include "exec/memory.h"
+#include "hw/ppc/pnv.h"
 
 typedef struct PnvXScomInterface PnvXScomInterface;
 
index e9e3ea135ea6208a4f7e965d504fd2f26520c096..ab68f8d157f053767fcc2675a4171b3e04947ff0 100644 (file)
@@ -11,7 +11,9 @@
 #ifndef PPC_XIVE2_H
 #define PPC_XIVE2_H
 
+#include "hw/ppc/xive.h"
 #include "hw/ppc/xive2_regs.h"
+#include "hw/sysbus.h"
 
 /*
  * XIVE2 Router (POWER10)
index 14605bd458f84504e5bd644b42d5e7db3237ddbb..b7adbdb7b98057bc95fbd6c7aff46380e074a240 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef PPC_XIVE2_REGS_H
 #define PPC_XIVE2_REGS_H
 
+#include "cpu.h"
+
 /*
  * Thread Interrupt Management Area (TIMA)
  *