Doubt regarding asmlinkage

rohan puri rohan.puri15 at gmail.com
Wed Sep 7 08:09:16 EDT 2011


Hi All,
asmlinkage is used in front of the each system call prototype. For x86 arch
it indicates that the the parameters are on stack instead of the registers
and for x86_64 arch the parameters are in registers only.

Doubt i have is whats the need for 32-bit intel arch to put parameters on
stack and not registers in a way similar to x86_64?

Regards,
Rohan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110907/5f3cd7f9/attachment.html 


More information about the Kernelnewbies mailing list