Thanks. So with asmlinkage we request compiler to put args on stack. What is advantage of this to start_kernel or in general to other functions ?
Regards,
Rahul
On Thu, Jan 3, 2013 at 9:34 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
the point is, parameters which is usually passed via stack, is passedOn Thu, Jan 3, 2013 at 7:40 PM, Rahul Bedarkar <rpal143@xxxxxxxxx> wrote:
> Hi,
>
> I was searching for asmlinkage and found that it is already explained at
> http://kernelnewbies.org/FAQ/asmlinkage
>
> But I didn't get this. Can someone tell me about it in brief ?
using different way.
A good example is system call.... they are passed using registers IIRC
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies