From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 10 Dec 2012 08:42:55 -0800 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20121210164254.GA6179@dinah> References: <20121209114511.52c33e52@zinc.9fans.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [9fans] 9vx and Go Topicbox-Message-UUID: f3f93e3a-ead7-11e9-9d60-3106f5b1d025 lucio@proxima.alt.za once said: > > Yes, the tsemacquire syscall is not currently implemented in 9vx. > > The "ticks" field is also not present in the mach structure, so adding > tsemacquire isn't trivial. I was hoping to get away with just adding > the field, but if the comment is correct, I need at minimum to add > code to keep the ticks up to date and I can't seem to find model code > in Plan 9 to do it. I guess I'm drowning... I have a few patches to support Go in my vx32 tree. I've made lots of other changes so it might take me a while to get a clean patch to David. For tsemacquire, you can just s/m->ticks/msec()/. There's also a few instructions (MOVQ, EMMS, etc.) that have to be added to libvx32/emu.c since the Go runtime and standard library use them. Cheers, Anthony