fix leftover debugging code in xlbarb_interrupt_handler()

This commit is contained in:
Markus Fröschle
2016-12-19 08:45:51 +00:00
parent cc31738ef6
commit 118aa0550c
2 changed files with 2 additions and 10 deletions

View File

@@ -144,7 +144,7 @@ extern bool isr_execute_handler(int vector);
extern bool pic_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 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 irq5_handler(void *arg1, void *arg2);
#endif /* _INTERRUPTS_H_ */

View File

@@ -435,19 +435,11 @@ bool pciarb_interrupt_handler(void *arg1, void *arg2)
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;
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