[ros-dev] About @KfLowerIrql at 4

art yerkes ayerkes at speakeasy.net
Thu Dec 18 09:47:46 CET 2008


On Wed, 17 Dec 2008 22:57:46 -0800 (PST)
Fan Zhang <fanzier at yahoo.com> wrote:

> hi, i'm a newbie of ReacOS.
> I looked a piece of code in syscall.S which is come from 0.2.7 edtion.
> 
>     /* Raise IRQL to APC_LEVEL */
>     movl $1, %ecx
>     call @KfRaiseIrql at 4
> 
> could anybody help me explain why the function is decorated by @ in the head?
> and why transfer argument by ecx?

Leading @ is for fastcall convention, which passes arguments in registers.
-- 
art yerkes <ayerkes at speakeasy.net>



More information about the Ros-dev mailing list