[PATCH] Updated Legacy code in arm rtl22xx

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 12 12:10:13 UTC 2013


On 07/12/2013 02:01 PM, Vipul Nayyar wrote:
> You want this : (rtems_interrupt_handler)cs8900_isr ?

No, I want this

static void cs8900_isr(void *arg)
{
   cs8900_device *cs = arg;

   ...
}

Please remember that declarations of global functions in a source file are not 
acceptable.

Do you know why this is a problem?

>
> Plus, Do I need to put 0 instead of NULL ? I don't know right now if I'm aware
> of the answer or I'm just overlooking it .

How does the interrupt handler function cs8900_isr() get its argument value?

[...]

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
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 devel mailing list