public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Various x86 syscall mechanisms
@ 2008-06-20 22:00 Jeremy Fitzhardinge
  2008-06-20 23:39 ` Roland McGrath
  2008-06-21  0:27 ` H. Peter Anvin
  0 siblings, 2 replies; 11+ messages in thread
From: Jeremy Fitzhardinge @ 2008-06-20 22:00 UTC (permalink / raw)
  To: Roland McGrath; +Cc: Linux Kernel Mailing List

Hi Roland,

As far as I can work out, an x86_32 kernel will use "int 0x80" and 
"sysenter" for system calls.  64-bit kernel will use just "syscall" for 
64-bit processes (though you can use "int 0x80" to access the 32-bit 
syscall interface from a 64-bit process), but will allow "sysenter", 
"syscall" or "int 0x80" for 32-on-64 processes.

Why does 32-on-64 implement 32-bit syscall when native 32-bit doesn't 
seem to?  Or am I overlooking something here?  Does 32-bit also support 
syscall?

Thanks,
    J

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-01 12:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-20 22:00 Various x86 syscall mechanisms Jeremy Fitzhardinge
2008-06-20 23:39 ` Roland McGrath
2008-06-27 21:45   ` Jeremy Fitzhardinge
2008-06-27 21:52     ` Roland McGrath
2008-06-28  5:00   ` Andi Kleen
2008-06-30  0:07   ` Bill Davidsen
2008-06-21  0:27 ` H. Peter Anvin
2008-06-21  2:00   ` Jeremy Fitzhardinge
2008-06-21 14:02   ` Andi Kleen
2008-06-21 16:51     ` H. Peter Anvin
2008-07-01 12:06   ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox