> 6 kernel arguments?
Do we have any architectures which define more than 6 kernel arguments?
-hpa
Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
Quoted 1 line · H. Peter Anvin
Do we have any architectures which define more than 6 kernel arguments?
To a system call, you mean?
David
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.
Quoted 8 lines · David Howells
Quoted 1 line · H. Peter Anvin
Do we have any architectures which define more than 6 kernel
arguments?
To a system call, you mean?
David
Signature · 1 line
Sent from my mobile phone. Please excuse my brevity and lack of formatting.
Quoted 3 lines · H. Peter Anvin
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