From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7674f1c1d1b88693bd56a6100c1c6fef@akira.nop.cx> To: matthiasb@acm.org Subject: Re: [9fans] amd64 support in p9p? From: Tim Wiess Date: Thu, 2 Mar 2006 15:56:31 -0800 In-Reply-To: <20060302231511.GA11050@pestilenz.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: 9fans@cse.psu.edu Topicbox-Message-UUID: 0a774898-ead1-11e9-9d60-3106f5b1d025 on OpenBSD you'll need to copy over rfork_thread and roll your own {get,set}context functions. however as Russ mentioned, you don't really need to use OpenBSD's ucontext_t (sigcontext) for this. tim > Hi all, > is there anybody interested in helping to port the > plan9 from user space to amd64/x86_64? > The most platform dependend code seems to be the libthread > stuff. On OpenBSD-amd64 I can borrow an assembler version of > rfork_thread from the OpenBSD librthread and can improvise > the _tas function. The get/setmcontext pose a problem because > I do not know if struct ucontext must really be exactly the same > as struct sigcontext. > > Best regards, > > Matthias