cleanup Monitor related code
This commit is contained in:
parent
b3faed1df9
commit
55d472c62c
|
@ -175,18 +175,6 @@ static void nvram_init(M48t59State *nvram, uint8_t *macaddr,
|
|||
|
||||
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)
|
||||
{
|
||||
CPUState *cs;
|
||||
|
|
|
@ -169,7 +169,6 @@ struct BusClass {
|
|||
ObjectClass parent_class;
|
||||
|
||||
/* FIXME first arg should be BusState */
|
||||
void (*print_dev)(Monitor *mon, DeviceState *dev, int indent);
|
||||
char *(*get_dev_path)(DeviceState *dev);
|
||||
/*
|
||||
* 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);
|
||||
}
|
||||
|
||||
/* 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
|
||||
|
|
|
@ -12,8 +12,6 @@ typedef struct AioContext AioContext;
|
|||
|
||||
typedef struct Visitor Visitor;
|
||||
|
||||
struct Monitor;
|
||||
typedef struct Monitor Monitor;
|
||||
typedef struct MigrationParams MigrationParams;
|
||||
|
||||
typedef struct Property Property;
|
||||
|
|
|
@ -1045,7 +1045,6 @@ void breakpoint_handler(CPUState *cs)
|
|||
}
|
||||
|
||||
typedef struct MCEInjectionParams {
|
||||
Monitor *mon;
|
||||
X86CPU *cpu;
|
||||
int bank;
|
||||
uint64_t status;
|
||||
|
|
Loading…
Reference in New Issue