Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/include Add Xen specific ipi bitmasks
details: https://anonhg.NetBSD.org/src/rev/effc219d3a3f
branches: trunk
changeset: 768165:effc219d3a3f
user: cherry <cherry%NetBSD.org@localhost>
date: Wed Aug 10 06:29:23 2011 +0000
description:
Add Xen specific ipi bitmasks
diffstat:
sys/arch/xen/include/intrdefs.h | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r 134a67e0e428 -r effc219d3a3f sys/arch/xen/include/intrdefs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/xen/include/intrdefs.h Wed Aug 10 06:29:23 2011 +0000
@@ -0,0 +1,17 @@
+/* $NetBSD: intrdefs.h,v 1.10 2011/08/10 06:29:23 cherry Exp $ */
+
+/* This file co-exists, and is included via machine/intrdefs.h */
+
+#ifndef _XEN_INTRDEFS_H_
+#define _XEN_INTRDEFS_H_
+
+/* Xen IPI types */
+#define XEN_IPI_KICK 0x00000000
+#define XEN_IPI_HALT 0x00000001
+#define XEN_IPI_SYNCH_FPU 0x00000002
+#define XEN_IPI_DDB 0x00000004
+#define XEN_IPI_XCALL 0x00000008
+
+#define XEN_NIPIS 4 /* IPI_KICK doesn't have a handler */
+
+#endif /* _XEN_INTRDEFS_H_ */
Home |
Main Index |
Thread Index |
Old Index