rtems_interrupt_is_in_progress() not working.
Nick Thomas
nick.thomas at pixsan.com
Mon Jan 11 15:40:11 UTC 2010
> -----Original Message-----
> From: Sebastian Huber [mailto:sebastian.huber at embedded-brains.de]
> Sent: 11 January 2010 08:11
> To: Nick Thomas
> Cc: rtems-users at rtems.com
> Subject: Re: rtems_interrupt_is_in_progress() not working.
>
> Nick Thomas wrote:
> [...]
> > But, I suspect that my problem is caused by
> > rtems_interrupt_is_in_progress() being called from within a genuine
> > hardware interrupt - not a timer interrupt.
> > Does that make a difference?
> [...]
>
> It should not make a difference. Which RTEMS version and BSP do you
> use? How do you install the interrupt handler?
I am using the PowerPC 405 architecture, with rtems version 4.7.1 .
Interrupts are installed using this function:
-- SNIP --
if (ictrl_set_vector((rtems_isr_entry)int_handler, mappedLevel, &old_handle)
== RTEMS_SUCCESSFUL)
{
return 0;
}
else
{
return 1;
}
-- SNIP --
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
> Phone : +49 89 18 90 80 79-6
> Fax : +49 89 18 90 80 79-9
> E-Mail : sebastian.huber at embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list