Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/dmover Add "xor2", "xor3", and "xor4" function names...



details:   https://anonhg.NetBSD.org/src/rev/723584056f7f
branches:  trunk
changeset: 534734:723584056f7f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 02 06:45:40 2002 +0000

description:
Add "xor2", "xor3", and "xor4" function names, which perform an
XOR on 2, 3, and 4 input streams, respectively.

diffstat:

 sys/dev/dmover/dmover_util.c |   7 +++++--
 sys/dev/dmover/dmovervar.h   |  11 ++++++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (53 lines):

diff -r 9bc3bd83d447 -r 723584056f7f sys/dev/dmover/dmover_util.c
--- a/sys/dev/dmover/dmover_util.c      Fri Aug 02 06:35:59 2002 +0000
+++ b/sys/dev/dmover/dmover_util.c      Fri Aug 02 06:45:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmover_util.c,v 1.1 2002/08/02 00:30:39 thorpej Exp $  */
+/*     $NetBSD: dmover_util.c,v 1.2 2002/08/02 06:45:40 thorpej Exp $  */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dmover_util.c,v 1.1 2002/08/02 00:30:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dmover_util.c,v 1.2 2002/08/02 06:45:40 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -54,6 +54,9 @@
 const char dmover_funcname_zero[] = "zero";
 const char dmover_funcname_fill8[] = "fill8";
 const char dmover_funcname_copy[] = "copy";
+const char dmover_funcname_xor2[] = "xor2";
+const char dmover_funcname_xor3[] = "xor3";
+const char dmover_funcname_xor4[] = "xor4";
 
 /****************************************************************************
  * Utility functions.
diff -r 9bc3bd83d447 -r 723584056f7f sys/dev/dmover/dmovervar.h
--- a/sys/dev/dmover/dmovervar.h        Fri Aug 02 06:35:59 2002 +0000
+++ b/sys/dev/dmover/dmovervar.h        Fri Aug 02 06:45:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmovervar.h,v 1.1 2002/08/02 00:30:40 thorpej Exp $    */
+/*     $NetBSD: dmovervar.h,v 1.2 2002/08/02 06:45:41 thorpej Exp $    */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -235,6 +235,15 @@
 extern const char dmover_funcname_copy[];
 #define        DMOVER_FUNC_COPY                dmover_funcname_copy
 
+extern const char dmover_funcname_xor2[];
+#define        DMOVER_FUNC_XOR2                dmover_funcname_xor2
+
+extern const char dmover_funcname_xor3[];
+#define        DMOVER_FUNC_XOR3                dmover_funcname_xor3
+
+extern const char dmover_funcname_xor4[];
+#define        DMOVER_FUNC_XOR4                dmover_funcname_xor4
+
 /* Back-end management functions. */
 void   dmover_backend_register(struct dmover_backend *);
 void   dmover_backend_unregister(struct dmover_backend *);



Home | Main Index | Thread Index | Old Index