[parisc-linux] HPUX syscall ABI?
LaMont Jones
lamont@security.hp.com
Mon, 02 Aug 1999 02:36:58 -0600
> Yep, that's exactly what I need. Urgh, so I have to grab the arguments
> off the user-mode stack before switching to the kernel-mode stack..
>
> What's the greatest number of parameters to an HPUX syscall?
> Linux's mmap() has six parameters (and you should see the kludges some
> architectures go through to support that. We're cleaner).
The routine _syscall(), which calls an aribitrary system call for you,
takes 9 arguments: the system call number followed by 8 args. While
that's not a complete guarantee, you'ld be in good company if you supported
up to 8 args...
lamont