From: Mike Shaver <shaver@netscape.com>
To: hppa-linux@thepuffingroup.com
Subject: Re: [hppa-linux] syscall work
Date: Thu, 25 Mar 1999 15:12:34 -0500 [thread overview]
Message-ID: <36FA98B2.3B82B92A@netscape.com> (raw)
In-Reply-To: 199903251919.LAA01701@cllmail.cup.hp.com
Cary Coutant wrote:
> I'd suggest *not* using the same gateway page address as HP-UX. If you
> do, you won't be able to develop a later kernel extension to support
> HP-UX binaries, unless you allocate syscall numbers carefully.
Well, my plan was to do what the MIPS guys have done (and others, like
maybe SPARC?):
syscall numbers 0 to 200-something are __NR_HP_syscall, and then the
Linux ones start at 1000. HP-UX binary emulation is something that I
really really want early on, because it will give us a functioning
userland while we're trying to get compiler and linker and glibc ports
complete and working.
But maybe you're right -- maybe we use one gateway page address for
HP-UX compat, and another for native-Linux syscalls. We have a lot more
flexibility in our system call mechanism than the other platforms did, I
think, so perhaps there's a better way.
It'd be nice to have hpux.o as a module for binary compatibility, when
we get there, but that's probably not so hard. Ponder...
The checked-in unistd.h has appropriate syscall numbering to support the
current plan, if you'd like to peek.
Mike
--
78101.27 70129.77
next prev parent reply other threads:[~1999-03-25 20:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-25 19:23 [hppa-linux] syscall work Cary Coutant
1999-03-25 20:12 ` Mike Shaver [this message]
1999-03-25 23:05 ` Alan Cox
[not found] <199903292146.NAA28577@bart.allegro.com>
1999-03-29 21:55 ` Michael Shalayeff
-- strict thread matches above, loose matches on Subject: below --
1999-03-29 21:50 Stan Sieler
1999-03-25 23:40 Bjorn Helgaas
1999-03-26 0:42 ` Alan Cox
1999-03-25 20:46 Bjorn Helgaas
1999-03-25 21:07 ` Mike Shaver
1999-03-25 21:27 ` Stan Sieler
1999-03-25 23:30 ` Bob Pflederer
1999-03-25 23:55 ` Mike Shaver
1999-03-26 5:01 ` Kumar
1999-03-29 4:08 ` Stan Sieler
1999-03-26 15:39 ` Michael Shalayeff
1999-03-26 11:12 ` Mike Shaver
1999-03-26 17:03 ` Michael Shalayeff
1999-03-29 21:27 ` Stan Sieler
1999-03-29 20:41 ` Michael Shalayeff
1999-03-25 17:33 Mike Shaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36FA98B2.3B82B92A@netscape.com \
--to=shaver@netscape.com \
--cc=hppa-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox