9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] version of XEN INTERFACE in mkfile
@ 2006-12-06 16:36 ron minnich
  2006-12-06 19:55 ` Richard Miller
  2006-12-07 23:23 ` Richard Miller
  0 siblings, 2 replies; 3+ messages in thread
From: ron minnich @ 2006-12-06 16:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Richard,
xen interface in mkfile is 30201.

Are you sure you wanted it to be 30201? Not 30202? I had a problem due
   to the setting -- a compat function was being called instead of the
   right one.
   Or is it really 30303 at this point?


   There is one remaining problem with the cppx or cpp. When this is run,
   and physdev.h is included, you get two lines like this:
   #define PHYSDEVOP_IRQ_NEEDS_UNMASK_NOTIFY(1U<<(0))
   #define PHYSDEVOP_IRQ_SHARED(1U<<(1))
   note lack of space after the name. Not sure why, but you might find it
   faster than I will.
   ron


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] version of XEN INTERFACE in mkfile
  2006-12-06 16:36 [9fans] version of XEN INTERFACE in mkfile ron minnich
@ 2006-12-06 19:55 ` Richard Miller
  2006-12-07 23:23 ` Richard Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Miller @ 2006-12-06 19:55 UTC (permalink / raw)
  To: 9fans

> Are you sure you wanted it to be 30201? Not 30202? I had a problem due
>    to the setting -- a compat function was being called instead of the
>    right one.

I believe it has to be < 30202, because we still use the old form of
event_channel_op hypercall.  We could update xensystem.c to use the
newer event_channel_op (which takes an int argument instead of an
evtchn_op_t), but then our kernel binary wouldn't run on older
versions of Xen3.

>    Or is it really 30303 at this point?

I doubt it, because of this:

#define __XEN_LATEST_INTERFACE_VERSION__ 0x00030204

-- Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] version of XEN INTERFACE in mkfile
  2006-12-06 16:36 [9fans] version of XEN INTERFACE in mkfile ron minnich
  2006-12-06 19:55 ` Richard Miller
@ 2006-12-07 23:23 ` Richard Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Miller @ 2006-12-07 23:23 UTC (permalink / raw)
  To: rminnich, 9fans

>    There is one remaining problem with the cppx or cpp. When this is run,
>    and physdev.h is included, you get two lines like this:
>...

Fixed.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-07 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-06 16:36 [9fans] version of XEN INTERFACE in mkfile ron minnich
2006-12-06 19:55 ` Richard Miller
2006-12-07 23:23 ` Richard Miller

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).