On Tuesday, December 24, 2013 6:20:53 am Roger Pau Monne wrote: > This allows Dom0 to manage physical hardware, redirecting the > physical interrupts to event channels. > --- > sys/x86/xen/xen_intr.c | 190 +++++++++++++++++++++++++++++++++++++++++++++-- > sys/xen/xen_intr.h | 11 +++ > 2 files changed, 192 insertions(+), 9 deletions(-) > > diff --git a/sys/x86/xen/xen_intr.c b/sys/x86/xen/xen_intr.c > index bc0781e..340e5ed 100644 > --- a/sys/x86/xen/xen_intr.c > +++ b/sys/x86/xen/xen_intr.c > _at__at_ -104,6 +104,8 _at__at_ DPCPU_DECLARE(struct vcpu_info *, vcpu_info); > > #define is_valid_evtchn(x) ((x) != 0) > > +#define EEXIST 17 /* Xen "already exists" error */ Is there a xen_errno.h header? Might be nice to have one and give these constants unique names (e.g. XEN_EEXIST or some such) to avoid confusion/conflicts with <sys/errno.h>. Other than that I think this looks fine. -- John BaldwinReceived on Tue Jan 21 2014 - 18:03:20 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC