How to implement a SWI ISR

How do I implement a SWI interrupt (using arm-mdk version and the realview compiler)?

I changed the startup-file

 IMPORT AT91F_SWI

SWI_Addr        DCD     AT91F_SWI

But how could I call this function in my c-file? Moreover how many arguments could I pass / transmit to the SWI function?

SWI_Addr        DCD     AT91F_SWI(int i, char b)

best regards
Tobi

More questions in this forum