CVS commit: src/sys/lib/libkern/arch/ia64

2016-08-05 Thread Sean Cole
Module Name:src
Committed By:   scole
Date:   Fri Aug  5 17:10:48 UTC 2016

Modified Files:
src/sys/lib/libkern/arch/ia64: Makefile.inc
Removed Files:
src/sys/lib/libkern/arch/ia64: memcpy.S

Log Message:
PR port-ia64/51261

Use common/lib/libc/arch/ia64/string functions


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/lib/libkern/arch/ia64/Makefile.inc
cvs rdiff -u -r1.1 -r0 src/sys/lib/libkern/arch/ia64/memcpy.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/arch/ia64/Makefile.inc
diff -u src/sys/lib/libkern/arch/ia64/Makefile.inc:1.4 src/sys/lib/libkern/arch/ia64/Makefile.inc:1.5
--- src/sys/lib/libkern/arch/ia64/Makefile.inc:1.4	Fri Aug 14 19:23:54 2009
+++ src/sys/lib/libkern/arch/ia64/Makefile.inc	Fri Aug  5 17:10:48 2016
@@ -1,8 +1,8 @@
-#	$NetBSD: Makefile.inc,v 1.4 2009/08/14 19:23:54 dsl Exp $
+#	$NetBSD: Makefile.inc,v 1.5 2016/08/05 17:10:48 scole Exp $
 #
 
 SRCS+=	ffs.c
 
 SRCS+=	divdi3.S divsi3.S modsi3.S moddi3.S udivdi3.S udivsi3.S
 SRCS+=	umoddi3.S umodsi3.S bswap64.S bswap32.S bswap16.S ntohl.S htonl.S
-SRCS+=	memcpy.S
+SRCS+=	bcopy.S bzero.S ffs.S memcpy.S memmove.S



CVS commit: src/sys/lib/libkern/arch/ia64

2009-07-20 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Jul 20 11:23:04 UTC 2009

Modified Files:
src/sys/lib/libkern/arch/ia64: Makefile.inc
Added Files:
src/sys/lib/libkern/arch/ia64: bswap64.S byte_swap_8.S

Log Message:
Fix little bit, and add a few files.
  current status is to see following thread.
http://mail-index.netbsd.org/port-ia64/2009/06/18/msg000102.html


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/lib/libkern/arch/ia64/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/sys/lib/libkern/arch/ia64/bswap64.S \
src/sys/lib/libkern/arch/ia64/byte_swap_8.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/arch/ia64/Makefile.inc
diff -u src/sys/lib/libkern/arch/ia64/Makefile.inc:1.1 src/sys/lib/libkern/arch/ia64/Makefile.inc:1.2
--- src/sys/lib/libkern/arch/ia64/Makefile.inc:1.1	Fri Apr  7 13:57:43 2006
+++ src/sys/lib/libkern/arch/ia64/Makefile.inc	Mon Jul 20 11:23:04 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.1 2006/04/07 13:57:43 cherry Exp $
+#	$NetBSD: Makefile.inc,v 1.2 2009/07/20 11:23:04 kiyohara Exp $
 #
 
 SRCS+=	__assert.c __main.c memset.c skpc.c scanc.c random.c \
@@ -8,5 +8,5 @@
 	memchr.c
 
 SRCS+=	divdi3.S divsi3.S modsi3.S moddi3.S udivdi3.S udivsi3.S \
-	umoddi3.S umodsi3.S bswap32.S bswap16.S ntohl.S htonl.S \
+	umoddi3.S umodsi3.S bswap64.S bswap32.S bswap16.S ntohl.S htonl.S \
 	memcpy.S

Added files:

Index: src/sys/lib/libkern/arch/ia64/bswap64.S
diff -u /dev/null src/sys/lib/libkern/arch/ia64/bswap64.S:1.1
--- /dev/null	Mon Jul 20 11:23:04 2009
+++ src/sys/lib/libkern/arch/ia64/bswap64.S	Mon Jul 20 11:23:04 2009
@@ -0,0 +1,37 @@
+/*	$NetBSD: bswap64.S,v 1.1 2009/07/20 11:23:04 kiyohara Exp $	*/
+	
+/*-
+ * Copyright (c) 1996 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ *
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS AS IS
+ * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ *  Software Distribution Coordinator  or  software.distribut...@cs.cmu.edu
+ *  School of Computer Science
+ *  Carnegie Mellon University
+ *  Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ *
+ *	from: NetBSD: htonl.S,v 1.1 1996/04/17 22:36:52 cgd
+ *	from: src/sys/libkern/ia64/htonl.S,v 1.2 2002/02/18 20:35:21
+ *
+ * $FreeBSD$
+ */
+
+#define	NAME	bswap64
+
+#include byte_swap_8.S
Index: src/sys/lib/libkern/arch/ia64/byte_swap_8.S
diff -u /dev/null src/sys/lib/libkern/arch/ia64/byte_swap_8.S:1.1
--- /dev/null	Mon Jul 20 11:23:04 2009
+++ src/sys/lib/libkern/arch/ia64/byte_swap_8.S	Mon Jul 20 11:23:04 2009
@@ -0,0 +1,45 @@
+/*	$NetBSD: byte_swap_8.S,v 1.1 2009/07/20 11:23:04 kiyohara Exp $	*/
+
+/*-
+ * Copyright (c) 1996 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ *
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS AS IS
+ * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ *  Software Distribution Coordinator  or  software.distribut...@cs.cmu.edu
+ *  School of Computer Science
+ *  Carnegie Mellon University
+ *  Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ */
+
+#include machine/asm.h
+
+#ifndef NAME
+#error NAME not defined
+#endif
+
+/*
+ * Byte-swap a 8-byte quantity.
+ *   (Convert 0x0123456789012345 to 0x4523018967452301.)
+ *
+ * Argument is an unsigned 8-byte integer (u_int64_t).
+ */
+ENTRY(NAME, 1)
+	mux1	r8=in0,@rev
+	br.ret.sptk.few rp
+END(NAME)