sun4c: remove unused functions
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4d4d9b3adb
commit
e62774c410
@ -94,29 +94,6 @@ static const MemoryRegionOps sun4c_intctl_mem_ops = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
void sun4c_pic_info(Monitor *mon, void *opaque)
|
|
||||||
{
|
|
||||||
Sun4c_INTCTLState *s = opaque;
|
|
||||||
|
|
||||||
monitor_printf(mon, "master: pending 0x%2.2x, enabled 0x%2.2x\n",
|
|
||||||
s->pending, s->reg);
|
|
||||||
}
|
|
||||||
|
|
||||||
void sun4c_irq_info(Monitor *mon, void *opaque)
|
|
||||||
{
|
|
||||||
#ifndef DEBUG_IRQ_COUNT
|
|
||||||
monitor_printf(mon, "irq statistic code not compiled.\n");
|
|
||||||
#else
|
|
||||||
Sun4c_INTCTLState *s = opaque;
|
|
||||||
int64_t count;
|
|
||||||
|
|
||||||
monitor_printf(mon, "IRQ statistics:\n");
|
|
||||||
count = s->irq_count;
|
|
||||||
if (count > 0)
|
|
||||||
monitor_printf(mon, " %" PRId64 "\n", count);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
static const uint32_t intbit_to_level[] = { 0, 1, 4, 6, 8, 10, 0, 14, };
|
static const uint32_t intbit_to_level[] = { 0, 1, 4, 6, 8, 10, 0, 14, };
|
||||||
|
|
||||||
static void sun4c_check_interrupts(void *opaque)
|
static void sun4c_check_interrupts(void *opaque)
|
||||||
|
@ -26,10 +26,6 @@ static inline void sparc_iommu_memory_write(void *opaque,
|
|||||||
void slavio_pic_info(Monitor *mon, DeviceState *dev);
|
void slavio_pic_info(Monitor *mon, DeviceState *dev);
|
||||||
void slavio_irq_info(Monitor *mon, DeviceState *dev);
|
void slavio_irq_info(Monitor *mon, DeviceState *dev);
|
||||||
|
|
||||||
/* sun4c_intctl.c */
|
|
||||||
void sun4c_pic_info(Monitor *mon, void *opaque);
|
|
||||||
void sun4c_irq_info(Monitor *mon, void *opaque);
|
|
||||||
|
|
||||||
/* sun4m.c */
|
/* sun4m.c */
|
||||||
void sun4m_pic_info(Monitor *mon);
|
void sun4m_pic_info(Monitor *mon);
|
||||||
void sun4m_irq_info(Monitor *mon);
|
void sun4m_irq_info(Monitor *mon);
|
||||||
|
Loading…
Reference in New Issue
Block a user