Re: Doubt regarding asmlinkage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rohan :)

On Wed, Sep 7, 2011 at 19:09, rohan puri <rohan.puri15@xxxxxxxxx> wrote:
> 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?

well, if you need to pass so many parameters, then x86 32 bit
registers can not cope with that. You only have EAX, EBX, ECX, EDX,
ESI, EDI as far as I could remember.

probably in 64 bit, registers is way more so it's still possible to
put them in registers, which is of course the fastest way to access
them.

-- 
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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux