Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Panic on dom0 shutdown
On Wed, Jan 09, 2013 at 01:50:18PM +0100, Johan Ihrén wrote:
> [...]
> > What does johani_dummy() do ? If it's just an empty function, I don't
> > understand how we can have such a call trace.
>
> It isn't empty, I just added the dummy to the call path to see where things
> get printed by the trace function in ddb:
>
> int
> johani_dummy(void *arg)
> {
> struct pintrhand *ih = arg;
> int ret;
>
> ret = ih->func(ih->arg);
> #ifdef IRQ_DEBUG
> if (ih->evtch == IRQ_DEBUG)
> printf("pirq_interrupt irq %d ret %d\n", ih->pirq, ret);
> #endif
> __asm volatile("nop");
> return ret;
> }
>
> int
> pirq_interrupt(void *arg)
> {
> struct pintrhand *ih = arg;
> int ret;
>
> ret = johani_dummy(ih)
> return ret;
> }
It just says that a regular function call shows up in the stack
trace. it doesn't say more about an indirection through a pointer call.
it could also be that the function pointer is corrupted, and
points to bus_space_read_4()
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index