Various x86 syscall mechanisms

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roland McGrath <roland@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Friday, June 20, 2008 - 6:00 pm

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Various x86 syscall mechanisms, Jeremy Fitzhardinge, (Fri Jun 20, 6:00 pm)
Re: Various x86 syscall mechanisms, Roland McGrath, (Fri Jun 20, 7:39 pm)
Re: Various x86 syscall mechanisms, Bill Davidsen, (Sun Jun 29, 8:07 pm)
Re: Various x86 syscall mechanisms, Andi Kleen, (Sat Jun 28, 1:00 am)
Re: Various x86 syscall mechanisms, Jeremy Fitzhardinge, (Fri Jun 27, 5:45 pm)
Re: Various x86 syscall mechanisms, Roland McGrath, (Fri Jun 27, 5:52 pm)
Re: Various x86 syscall mechanisms, H. Peter Anvin, (Fri Jun 20, 8:27 pm)
Re: Various x86 syscall mechanisms, Jan Engelhardt, (Tue Jul 1, 8:06 am)
Re: Various x86 syscall mechanisms, Andi Kleen, (Sat Jun 21, 10:02 am)
Re: Various x86 syscall mechanisms, H. Peter Anvin, (Sat Jun 21, 12:51 pm)
Re: Various x86 syscall mechanisms, Jeremy Fitzhardinge, (Fri Jun 20, 10:00 pm)