Doubt regarding asmlinkage

rohan puri rohan.puri15 at
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?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list