mvme5500 vme interrupts
Till Straumann
strauman at slac.stanford.edu
Thu Jan 7 16:19:32 UTC 2010
rtwas wrote:
> Till Straumann wrote:
>> Attached is a piece of a driver which uses VME interrupts and DMA via
>> the BSP's VME API. I only attached the file that uses the relevant
>> VME routines...
>
> Thanks for the code Till.
>
> It looks like I should be using:
>
> BSP_installVME_isr() and
> BSP_enableVME_int_lvl()
>
> instead of using:
>
> rtems_interrupt_catch().
>
> Is this correct?
>
yes.
>
> Is there anything else I need to do to enable interrupts?
I wouldn't think so (besides enabling them at your device).
> I looked in "confdefs.h" and did'nt see (or understand) anything
> in there associated with "interrupt manager" configuration I should
> mess with.
>
> The "README.irq" in "libbsp/powerpc/mvme5500" mentions two
> functions:
> BSP_enable_pic_irq()
> and BSP_disable_pic_iqr()
>
> but nothing about initilization/configuration.
>
> Help appreciated.
>
> Robert W.
>
>
>
More information about the users
mailing list