* > 6 kernel arguments?
@ 2012-02-21 18:06 H. Peter Anvin
2012-02-22 9:40 ` David Howells
0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2012-02-21 18:06 UTC (permalink / raw)
To: Linux Arch Mailing List
Do we have any architectures which define more than 6 kernel arguments?
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: > 6 kernel arguments?
2012-02-21 18:06 > 6 kernel arguments? H. Peter Anvin
@ 2012-02-22 9:40 ` David Howells
2012-02-22 15:02 ` H. Peter Anvin
0 siblings, 1 reply; 4+ messages in thread
From: David Howells @ 2012-02-22 9:40 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: dhowells, Linux Arch Mailing List
H. Peter Anvin <hpa@zytor.com> wrote:
> Do we have any architectures which define more than 6 kernel arguments?
To a system call, you mean?
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: > 6 kernel arguments?
2012-02-22 9:40 ` David Howells
@ 2012-02-22 15:02 ` H. Peter Anvin
2012-02-23 16:11 ` James Bottomley
0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2012-02-22 15:02 UTC (permalink / raw)
To: David Howells; +Cc: Linux Arch Mailing List
Yes, system call arguments. I vaguely remember there being some architecture supporting 7 since pselect() was introduced, but I could just be full of it.
David Howells <dhowells@redhat.com> wrote:
>H. Peter Anvin <hpa@zytor.com> wrote:
>
>> Do we have any architectures which define more than 6 kernel
>arguments?
>
>To a system call, you mean?
>
>David
--
Sent from my mobile phone. Please excuse my brevity and lack of formatting.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: > 6 kernel arguments?
2012-02-22 15:02 ` H. Peter Anvin
@ 2012-02-23 16:11 ` James Bottomley
0 siblings, 0 replies; 4+ messages in thread
From: James Bottomley @ 2012-02-23 16:11 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: David Howells, Linux Arch Mailing List
On Wed, 2012-02-22 at 07:02 -0800, H. Peter Anvin wrote:
> Yes, system call arguments. I vaguely remember there being some
> architecture supporting 7 since pselect() was introduced, but I could
> just be full of it.
The parisc ABI allows for up to 8 register based arguments to a system
(or indeed any function) call. However, in deference to the usual linux
calling conventions, we only use seven of them (one for the syscall
number and 6 for the arguments). We definitely use pselect6. I think
the architecture you're thinking of is microblaze, but it's obsoleted
it's seven argument version of pselect.
James
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-23 16:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 18:06 > 6 kernel arguments? H. Peter Anvin
2012-02-22 9:40 ` David Howells
2012-02-22 15:02 ` H. Peter Anvin
2012-02-23 16:11 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).