call user isr

Rloase Flinne Rloase at myrealbox.com
Fri Nov 21 04:05:17 UTC 2003


Hi,

These days some interrupt related codes confused me.

irq_asm.S:

         pushl     ecx                       # push vector number
         mov       SYM (current_irq) (,ecx,4),eax
                                             # eax = Users handler
         call      *eax                      # invoke user ISR

The user ISR is invoked without saving general registers. Is this a safe 
way to call a C function? Could anyone please give a brief explanation?

Thanks a lot.
-- 
Rloase Flinne



More information about the users mailing list