Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23240
Modified Files:
mv.h
Log Message:
- So I now start to implement the new vector matching stuff. If you
dislike something, just hack it as you think and check it in.
- The new code is currently be guarded by USE_NEW_VECTORS, which is
per default #undef'ed.
Index: mv.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mv.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- mv.h 13 May 2004 09:43:14 -0000 1.19
+++ mv.h 29 Sep 2004 09:57:30 -0000 1.20
@@ -54,6 +54,7 @@
extern struct vax_mv mv_ka43;
extern struct vax_mv mv_ka46;
extern struct vax_mv mv_ka48;
+extern struct vax_mv mv_ka49;
extern struct vax_mv mv_ka55;
extern struct vax_mv mv_ka410;
extern struct vax_mv mv_ka630;
@@ -62,6 +63,26 @@
extern struct vax_mv mv_ka660;
extern struct vax_mv mv_vxt;
+#undef USE_NEW_VECTORS
+#ifdef USE_NEW_VECTORS
+/*
+ * This defines a match for a machine vector and a macro to install
+ * such a match structure.
+ */
+struct machvec_match {
+ struct vax_mv *mv;
+ unsigned long sid_mask;
+ unsigned long sid_match;
+ unsigned long sidex_addr;
+ unsigned long sidex_mask;
+ unsigned long sidex_match;
+};
+
+#define SET_VECTOR(vec) \
+ static struct machvec_match __init_vecmatch_##vec \
+ __attribute_used__ \
+ __attribute__((__section__(".vax.vecmatch"))) = &(vec)
+#endif /* USE_NEW_VECTORS */
/*
|