9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plan9 Calling Convention (x86)
@ 2010-07-26 19:27 Tassilo Philipp
  2010-07-26 20:05 ` Ethan Grammatikidis
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tassilo Philipp @ 2010-07-26 19:27 UTC (permalink / raw)
  To: 9fans

Hi,

I'm in the process of porting dyncall (http://dyncall.org) to Plan9, and I
was wondering if there are any documents about the calling convention used
by Plan9 - specifically for x86, for starters. I was unable to find any at
the time of writing, and well, hoped that it would be similar to the
SystemV calling convention(s) used by the *BSDs or Linux, etc., but that
doesn't seem to be the case.
The only information I found so far, is, that most of the compiled Plan9
functions don't seem to have any prologue/epilogue, however, this
assumption might be wrong (maybe I didn't get how Plan9 works on the
machine-level, so far).

I'm still new to Plan9, but it's quite mind-opening to discover certain
aspects of the OS - especially after getting so (too) used to Unix/Windows
OS design decisions and accepting them as the normal/right way to do
things...

Thanks,
Tassilo




^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <0dbae71f151dd42e5e4382c99be6e45d@gmx.de>]

end of thread, other threads:[~2010-07-26 22:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 19:27 [9fans] Plan9 Calling Convention (x86) Tassilo Philipp
2010-07-26 20:05 ` Ethan Grammatikidis
2010-07-26 20:34   ` Ethan Grammatikidis
2010-07-26 21:42   ` Tassilo Philipp
2010-07-26 21:14 ` cinap_lenrek
2010-07-26 22:36 ` Steve Simon
     [not found] <0dbae71f151dd42e5e4382c99be6e45d@gmx.de>
2010-07-26 21:43 ` Tassilo Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).