mirror of https://gitee.com/openkylin/qemu.git
ppc: Drop useless extern annotation for functions
Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <157623837421.360005.412120366652768311.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
3a1b70b66b
commit
aeb7a330f4
|
@ -113,16 +113,16 @@ typedef struct PnvXScomInterfaceClass {
|
||||||
#define PNV10_XSCOM_PSIHB_BASE 0x3011D00
|
#define PNV10_XSCOM_PSIHB_BASE 0x3011D00
|
||||||
#define PNV10_XSCOM_PSIHB_SIZE 0x100
|
#define PNV10_XSCOM_PSIHB_SIZE 0x100
|
||||||
|
|
||||||
extern void pnv_xscom_realize(PnvChip *chip, uint64_t size, Error **errp);
|
void pnv_xscom_realize(PnvChip *chip, uint64_t size, Error **errp);
|
||||||
extern int pnv_dt_xscom(PnvChip *chip, void *fdt, int offset);
|
int pnv_dt_xscom(PnvChip *chip, void *fdt, int offset);
|
||||||
|
|
||||||
extern void pnv_xscom_add_subregion(PnvChip *chip, hwaddr offset,
|
void pnv_xscom_add_subregion(PnvChip *chip, hwaddr offset,
|
||||||
MemoryRegion *mr);
|
MemoryRegion *mr);
|
||||||
extern void pnv_xscom_region_init(MemoryRegion *mr,
|
void pnv_xscom_region_init(MemoryRegion *mr,
|
||||||
struct Object *owner,
|
struct Object *owner,
|
||||||
const MemoryRegionOps *ops,
|
const MemoryRegionOps *ops,
|
||||||
void *opaque,
|
void *opaque,
|
||||||
const char *name,
|
const char *name,
|
||||||
uint64_t size);
|
uint64_t size);
|
||||||
|
|
||||||
#endif /* PPC_PNV_XSCOM_H */
|
#endif /* PPC_PNV_XSCOM_H */
|
||||||
|
|
|
@ -80,10 +80,10 @@ struct SpaprVioBus {
|
||||||
uint32_t next_reg;
|
uint32_t next_reg;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern SpaprVioBus *spapr_vio_bus_init(void);
|
SpaprVioBus *spapr_vio_bus_init(void);
|
||||||
extern SpaprVioDevice *spapr_vio_find_by_reg(SpaprVioBus *bus, uint32_t reg);
|
SpaprVioDevice *spapr_vio_find_by_reg(SpaprVioBus *bus, uint32_t reg);
|
||||||
void spapr_dt_vdevice(SpaprVioBus *bus, void *fdt);
|
void spapr_dt_vdevice(SpaprVioBus *bus, void *fdt);
|
||||||
extern gchar *spapr_vio_stdout_path(SpaprVioBus *bus);
|
gchar *spapr_vio_stdout_path(SpaprVioBus *bus);
|
||||||
|
|
||||||
static inline void spapr_vio_irq_pulse(SpaprVioDevice *dev)
|
static inline void spapr_vio_irq_pulse(SpaprVioDevice *dev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue