9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Anthony Martin <ality@pbrane.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 9vx and Go
Date: Mon, 10 Dec 2012 08:42:55 -0800	[thread overview]
Message-ID: <20121210164254.GA6179@dinah> (raw)
In-Reply-To: <e6cf166893620ff9c7205ce204fd9ee2@proxima.alt.za>

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



  reply	other threads:[~2012-12-10 16:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09  7:00 lucio
2012-12-09 10:45 ` David du Colombier
2012-12-10  6:52   ` lucio
2012-12-10  9:04   ` lucio
2012-12-10 16:42     ` Anthony Martin [this message]
2012-12-10 17:23       ` Charles Forsyth
2012-12-11  0:10         ` Anthony Martin
2012-12-11  0:16           ` erik quanstrom
2012-12-11  0:28             ` Anthony Martin
2012-12-11  0:34               ` erik quanstrom
2012-12-11  0:39                 ` Anthony Martin
2012-12-11  0:29           ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121210164254.GA6179@dinah \
    --to=ality@pbrane.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).