Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/arch/xen/include Pull up revision 1.2 (requested by y...



details:   https://anonhg.NetBSD.org/src/rev/862e682dd68c
branches:  netbsd-3
changeset: 575365:862e682dd68c
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Apr 13 21:38:38 2005 +0000

description:
Pull up revision 1.2 (requested by yamt in ticket #146):
fix a bug which corrupts runqueue.
when dealing with events, which are handed to xenevt pseudo device,
don't call wakeup(9)/selnotify(9) at too high IPL.  PR/29792.

diffstat:

 sys/arch/xen/include/intr.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r f348e7b3c2e8 -r 862e682dd68c sys/arch/xen/include/intr.h
--- a/sys/arch/xen/include/intr.h       Wed Apr 13 21:36:16 2005 +0000
+++ b/sys/arch/xen/include/intr.h       Wed Apr 13 21:38:38 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.1 2004/03/11 21:44:08 cl Exp $      */
+/*     $NetBSD: intr.h,v 1.1.18.1 2005/04/13 21:38:38 tron Exp $       */
 
 
 #ifndef _XEN_INTR_H_
@@ -15,4 +15,11 @@
 
 #endif /* _LOCORE */
 
+/* XXX intrdefs.h */
+#define        SIR_XENEVT      26      /* not really a soft interrupt. */
+#define        IPL_SOFTXENEVT  IPL_BIO
+#if !defined(_LOCORE)
+#define        splsoftxenevt() splbio()
+#endif
+
 #endif /* _XEN_INTR_H_ */



Home | Main Index | Thread Index | Old Index