cleanup Monitor related code
This commit is contained in:
parent
81b8a685be
commit
0680b85920
|
@ -175,18 +175,6 @@ static void nvram_init(M48t59State *nvram, uint8_t *macaddr,
|
||||||
|
|
||||||
static DeviceState *slavio_intctl;
|
static DeviceState *slavio_intctl;
|
||||||
|
|
||||||
void sun4m_pic_info(Monitor *mon, const QDict *qdict)
|
|
||||||
{
|
|
||||||
if (slavio_intctl)
|
|
||||||
slavio_pic_info(mon, slavio_intctl);
|
|
||||||
}
|
|
||||||
|
|
||||||
void sun4m_irq_info(Monitor *mon, const QDict *qdict)
|
|
||||||
{
|
|
||||||
if (slavio_intctl)
|
|
||||||
slavio_irq_info(mon, slavio_intctl);
|
|
||||||
}
|
|
||||||
|
|
||||||
void cpu_check_irqs(CPUSPARCState *env)
|
void cpu_check_irqs(CPUSPARCState *env)
|
||||||
{
|
{
|
||||||
CPUState *cs;
|
CPUState *cs;
|
||||||
|
|
|
@ -169,7 +169,6 @@ struct BusClass {
|
||||||
ObjectClass parent_class;
|
ObjectClass parent_class;
|
||||||
|
|
||||||
/* FIXME first arg should be BusState */
|
/* FIXME first arg should be BusState */
|
||||||
void (*print_dev)(Monitor *mon, DeviceState *dev, int indent);
|
|
||||||
char *(*get_dev_path)(DeviceState *dev);
|
char *(*get_dev_path)(DeviceState *dev);
|
||||||
/*
|
/*
|
||||||
* This callback is used to create Open Firmware device path in accordance
|
* This callback is used to create Open Firmware device path in accordance
|
||||||
|
|
|
@ -24,15 +24,4 @@ static inline void sparc_iommu_memory_write(void *opaque,
|
||||||
sparc_iommu_memory_rw(opaque, addr, buf, len, 1);
|
sparc_iommu_memory_rw(opaque, addr, buf, len, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* slavio_intctl.c */
|
|
||||||
void slavio_pic_info(Monitor *mon, DeviceState *dev);
|
|
||||||
void slavio_irq_info(Monitor *mon, DeviceState *dev);
|
|
||||||
|
|
||||||
/* sun4m.c */
|
|
||||||
void sun4m_pic_info(Monitor *mon, const QDict *qdict);
|
|
||||||
void sun4m_irq_info(Monitor *mon, const QDict *qdict);
|
|
||||||
|
|
||||||
/* sparc32_dma.c */
|
|
||||||
#include "hw/sparc/sparc32_dma.h"
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -12,8 +12,6 @@ typedef struct AioContext AioContext;
|
||||||
|
|
||||||
typedef struct Visitor Visitor;
|
typedef struct Visitor Visitor;
|
||||||
|
|
||||||
struct Monitor;
|
|
||||||
typedef struct Monitor Monitor;
|
|
||||||
typedef struct MigrationParams MigrationParams;
|
typedef struct MigrationParams MigrationParams;
|
||||||
|
|
||||||
typedef struct Property Property;
|
typedef struct Property Property;
|
||||||
|
|
|
@ -1045,7 +1045,6 @@ void breakpoint_handler(CPUState *cs)
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct MCEInjectionParams {
|
typedef struct MCEInjectionParams {
|
||||||
Monitor *mon;
|
|
||||||
X86CPU *cpu;
|
X86CPU *cpu;
|
||||||
int bank;
|
int bank;
|
||||||
uint64_t status;
|
uint64_t status;
|
||||||
|
|
Loading…
Reference in New Issue