On Sat, 2008-10-18 at 10:11 -0400, David Bartley wrote:
> On Sat, Oct 18, 2008 at 3:08 AM, noch <[EMAIL PROTECTED]> wrote:
> 
> > But I do not exactly know where to search for syscall numbers and 
> > description, and do I need to do an extra pushl $0 as in FreeBSD for 
> > example.
> 
> Syscall numbers are in /usr/include/sys/syscall.h. Yes, you need the
> extra 'pushl $0'. You also need 'int $91' (aka T_SYSCALLINT) instead
> of 'int $80'.

and if you're doing this, you're doing something which is subject to
change without advance notice at any time in any patch.

call libc's mmap function if you want something which is guaranteed to
continue to work.

maybe you could explain a little more about what you're trying to do...

                                                - Bill

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to