include/hw/ppc: Supply a few missing includes
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>
This commit is contained in:
parent
2c6fe2e214
commit
14f11a204c
@ -20,7 +20,8 @@
|
|||||||
#ifndef PPC_PNV_LPC_H
|
#ifndef PPC_PNV_LPC_H
|
||||||
#define 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"
|
#define TYPE_PNV_LPC "pnv-lpc"
|
||||||
typedef struct PnvLpcClass PnvLpcClass;
|
typedef struct PnvLpcClass PnvLpcClass;
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
#ifndef PPC_PNV_OCC_H
|
#ifndef PPC_PNV_OCC_H
|
||||||
#define 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"
|
#define TYPE_PNV_OCC "pnv-occ"
|
||||||
OBJECT_DECLARE_TYPE(PnvOCC, PnvOCCClass,
|
OBJECT_DECLARE_TYPE(PnvOCC, PnvOCCClass,
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#ifndef PPC_PNV_PNOR_H
|
#ifndef PPC_PNV_PNOR_H
|
||||||
#define 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
|
* PNOR offset on the LPC FW address space
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
#ifndef PPC_PNV_SBE_H
|
#ifndef PPC_PNV_SBE_H
|
||||||
#define 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"
|
#define TYPE_PNV_SBE "pnv-sbe"
|
||||||
OBJECT_DECLARE_TYPE(PnvSBE, PnvSBEClass, PNV_SBE)
|
OBJECT_DECLARE_TYPE(PnvSBE, PnvSBEClass, PNV_SBE)
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
#ifndef PPC_PNV_XSCOM_H
|
#ifndef PPC_PNV_XSCOM_H
|
||||||
#define 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;
|
typedef struct PnvXScomInterface PnvXScomInterface;
|
||||||
|
|
||||||
|
@ -11,7 +11,9 @@
|
|||||||
#ifndef PPC_XIVE2_H
|
#ifndef PPC_XIVE2_H
|
||||||
#define PPC_XIVE2_H
|
#define PPC_XIVE2_H
|
||||||
|
|
||||||
|
#include "hw/ppc/xive.h"
|
||||||
#include "hw/ppc/xive2_regs.h"
|
#include "hw/ppc/xive2_regs.h"
|
||||||
|
#include "hw/sysbus.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XIVE2 Router (POWER10)
|
* XIVE2 Router (POWER10)
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
#ifndef PPC_XIVE2_REGS_H
|
#ifndef PPC_XIVE2_REGS_H
|
||||||
#define PPC_XIVE2_REGS_H
|
#define PPC_XIVE2_REGS_H
|
||||||
|
|
||||||
|
#include "cpu.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Thread Interrupt Management Area (TIMA)
|
* Thread Interrupt Management Area (TIMA)
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user