Subject: [FreeVMS] Re: Module
roart@nvg.ntnu.no
Date: Thu Nov 01 2001 - 11:41:55 CET
On Thu, Nov 01, 2001 at 09:48:35AM +0100, BERTRAND Joël wrote:
> roart@nvg.ntnu.no wrote:
>
> > On Wed, Oct 31, 2001 at 12:10:40PM +0100, roart@nvg.ntnu.no wrote:
> >
> > We might have to modify syscalls with more than 6 args, since that's the
> > max in i386. (By enclosing them in a struct, I think)
>
> Yes. I have compared the syscalls of the Linux kernel (i386 and alpha).
> I don't know the internal of the Intel processor... But I don't know why
> we cannot reuse the alpha implementation (I have compared both files a
> month ago, and I am in holliday, without any alpha to confirm...).
I know, because I have asked on the linux-kernel list.
Quote:
-- You can have upto 6 argument on i386. Each argument needs an register to pass and the i386 has only 8 and two are used for the stack pointer and the syscall number. This leaves you 6. Other architectures may not have that limitation. -- (I also got comments on the large number of parameters.)We seem to be stuck with the PC/i386, since that is the most common, and Linux works best on it.
So we will just have to see what other compromises there will be on non-DEC machines.
-Roar Thronæs
-- Liste de diffusion FreeVMS Pour se désinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe
This archive was generated by hypermail 2b25 : Thu Nov 01 2001 - 11:42:43 CET