From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <899e1dd0ffcee329db7dc0b8faf0b201-EhVcXl1ERwBcRx0AAAwEUR8fGQlVS19cWF9EAV1EWEZaOl4PQVh/H1dXXkFeRExtXlhRQFlSWgxcXw==-webmailer2@server01.webmailer.hosteurope.de> Date: Mon, 26 Jul 2010 21:27:10 +0200 From: "Tassilo Philipp" To: 9fans@9fans.net User-Agent: Host Europe Webmailer/1.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [9fans] Plan9 Calling Convention (x86) Topicbox-Message-UUID: 44225592-ead6-11e9-9d60-3106f5b1d025 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