9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] plan9 on qemu and 9vx
Date: Fri, 12 Mar 2010 21:11:47 -0500	[thread overview]
Message-ID: <c1ad124ce7b8f87d3079c62bdb4712d2@ladd.quanstro.net> (raw)
In-Reply-To: <dd6fe68a1003121729o5b61208fi713f1458f953d5ee@mail.gmail.com>

> > gcc's different % rounding
>
> hmm?

i'm sorry.  totally wrong.  i thought i remembered and i
didn't.  it was a different problem entirely.

i found i had to make loads of changes like the following

/sys/src/9/ip/devip.c:47,53 - /mnt/term/home/quanstro/hg2/vx32.old/src/9vx/a/ip/devip.c:47,53
  #define TYPE(x) 	( ((ulong)(x).path) & Masktype )
  #define CONV(x) 	( (((ulong)(x).path) >> Shiftconv) & Maskconv )
  #define PROTO(x) 	( (((ulong)(x).path) >> Shiftproto) & Maskproto )
- #define QID(p, c, y) 	( ((p)<<(Shiftproto)) | ((c)<<Shiftconv) | (y) )
+ #define QID(p, c, y) 	( ((uint)(p)<<(Shiftproto)) | ((uint)(c)<<Shiftconv) | (y) )

  static char network[] = "network";

- erik



  reply	other threads:[~2010-03-13  2:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 10:53 hugo rivera
2010-03-12 12:37 ` maht
2010-03-12 15:44 ` yy
2010-03-12 16:53   ` ron minnich
2010-03-12 17:02     ` hugo rivera
2010-03-12 18:48       ` ron minnich
2010-03-12 23:31       ` Tim Newsham
2010-03-13 14:02         ` hugo rivera
2010-03-13 18:09           ` ron minnich
2010-03-14 11:24             ` hugo rivera
2010-03-12 23:04     ` Gorka Guardiola
2010-03-12 23:10       ` ron minnich
2010-03-12 23:50         ` erik quanstrom
2010-03-13  1:29           ` Russ Cox
2010-03-13  2:11             ` erik quanstrom [this message]
2010-03-13 19:38     ` EBo
2010-03-13 21:00       ` ron minnich
2010-03-14  1:20         ` EBo

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=c1ad124ce7b8f87d3079c62bdb4712d2@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --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).