fix leftover debugging code in xlbarb_interrupt_handler()
This commit is contained in:
@@ -144,7 +144,7 @@ extern bool isr_execute_handler(int vector);
|
|||||||
extern bool pic_interrupt_handler(void *arg1, void *arg2);
|
extern bool pic_interrupt_handler(void *arg1, void *arg2);
|
||||||
extern bool xlbpci_interrupt_handler(void *arg1, void *arg2);
|
extern bool xlbpci_interrupt_handler(void *arg1, void *arg2);
|
||||||
extern bool pciarb_interrupt_handler(void *arg1, void *arg2);
|
extern bool pciarb_interrupt_handler(void *arg1, void *arg2);
|
||||||
extern bool xlbarb_interrupt_handler(void *arg1, void *arg2, ...);
|
extern bool xlbarb_interrupt_handler(void *arg1, void *arg2);
|
||||||
extern bool gpt0_interrupt_handler(void *arg1, void *arg2);
|
extern bool gpt0_interrupt_handler(void *arg1, void *arg2);
|
||||||
extern bool irq5_handler(void *arg1, void *arg2);
|
extern bool irq5_handler(void *arg1, void *arg2);
|
||||||
#endif /* _INTERRUPTS_H_ */
|
#endif /* _INTERRUPTS_H_ */
|
||||||
|
|||||||
@@ -435,19 +435,11 @@ bool pciarb_interrupt_handler(void *arg1, void *arg2)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool xlbarb_interrupt_handler(void *arg1, void *arg2, ...)
|
bool xlbarb_interrupt_handler(void *arg1, void *arg2)
|
||||||
{
|
{
|
||||||
va_list args;
|
|
||||||
int i;
|
|
||||||
uint32_t status = MCF_XLB_XARB_SR;
|
uint32_t status = MCF_XLB_XARB_SR;
|
||||||
|
|
||||||
dbg("arg1=0x%08x arg2=0x%08x\r\n", arg1, arg2);
|
dbg("arg1=0x%08x arg2=0x%08x\r\n", arg1, arg2);
|
||||||
va_start(args, arg2);
|
|
||||||
for (i = 0; i < 20; i++)
|
|
||||||
{
|
|
||||||
dbg("arg[%d]=0x%08x\r\n", i, va_arg(args, int));
|
|
||||||
}
|
|
||||||
va_end(args);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO: we should probably issue a bus error when this occors
|
* TODO: we should probably issue a bus error when this occors
|
||||||
|
|||||||
Reference in New Issue
Block a user