From mboxrd@z Thu Jan 1 00:00:00 1970 To: <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 24 Jan 2011 06:11:07 -0600 From: EBo In-Reply-To: References: <8a9a463a44262b0750c031aa23208398@brasstown.quanstro.net> <9cf6ac2467fb616ae6179a1571097524@swcp.com> Message-ID: User-Agent: RoundCube Webmail/0.4-trunk Subject: Re: [9fans] plan9 go output faults on 9vx with rfork Topicbox-Message-UUID: a0f2c84c-ead6-11e9-9d60-3106f5b1d025 >> So, what changes are needed to set it up for full 64bit? > > not a huge number. > > Implement oscmpswap32 for gccmagic/cmpswap.c > > create a function pointer like cmpswap called cmpswap32 > assigned oscmpswap32 to cmpswap32 in main.c > > change all sem* bits in a/sysproc.c to use uint32 not long > change ed script so it won't do the wrong thing in future. > > ugly, but I don't see a non-ugly way to do it. Thanks for the general idea. I assume that there is also a bunch of stuff in vx32, but that might be a different question. EBo --