All of lore.kernel.org
 help / color / mirror / Atom feed
From: rohan.puri15@gmail.com (rohan puri)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Doubt regarding asmlinkage
Date: Wed, 7 Sep 2011 17:39:16 +0530	[thread overview]
Message-ID: <CALJfu6MJK8rfufOVXGm+fwFYkVgVzixJa18YOyz8yczx7=QcEQ@mail.gmail.com> (raw)
In-Reply-To: <CALJfu6OcCd7vdcEG+=PYAY2MrKyqHw7p5O2KNN7s0s7pxO5R+w@mail.gmail.com>

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 

       reply	other threads:[~2011-09-07 12:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALJfu6OcCd7vdcEG+=PYAY2MrKyqHw7p5O2KNN7s0s7pxO5R+w@mail.gmail.com>
2011-09-07 12:09 ` rohan puri [this message]
2011-09-08  2:42   ` Doubt regarding asmlinkage Mulyadi Santosa
2011-09-08  3:40     ` rohan puri
2011-09-08  4:20       ` Mulyadi Santosa
2011-09-08  5:13         ` rohan puri
2011-09-08  7:17           ` Pei Lin
2011-09-08  9:19             ` rohan puri
2011-09-08 11:58               ` Pei Lin
2011-09-08 12:09                 ` rohan puri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALJfu6MJK8rfufOVXGm+fwFYkVgVzixJa18YOyz8yczx7=QcEQ@mail.gmail.com' \
    --to=rohan.puri15@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.