Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libc/arch Add missing notice.



details:   https://anonhg.NetBSD.org/src/rev/ac1a67c6d393
branches:  nathanw_sa
changeset: 506763:ac1a67c6d393
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jan 16 20:50:42 2003 +0000

description:
Add missing notice.

diffstat:

 lib/libc/arch/alpha/gen/_lwp.c   |  44 +++++++++++++++++++++++++++++++++-----
 lib/libc/arch/i386/gen/_lwp.c    |  45 ++++++++++++++++++++++++++++++++++-----
 lib/libc/arch/m68k/gen/_lwp.c    |  43 +++++++++++++++++++++++++++++++++----
 lib/libc/arch/sparc/gen/_lwp.c   |  36 ++++++++++++++++++++++++++++++-
 lib/libc/arch/sparc64/gen/_lwp.c |  39 ++++++++++++++++++++++++++++++++--
 5 files changed, 185 insertions(+), 22 deletions(-)

diffs (275 lines):

diff -r 991e64d285ac -r ac1a67c6d393 lib/libc/arch/alpha/gen/_lwp.c
--- a/lib/libc/arch/alpha/gen/_lwp.c    Thu Jan 16 17:58:57 2003 +0000
+++ b/lib/libc/arch/alpha/gen/_lwp.c    Thu Jan 16 20:50:42 2003 +0000
@@ -1,16 +1,48 @@
-/*     $Id: _lwp.c,v 1.1.2.3 2002/01/28 20:09:50 nathanw Exp $ */
+/*     $NetBSD: _lwp.c,v 1.1.2.4 2003/01/16 20:50:42 thorpej Exp $     */
 
-/* Copyright */
+/*-
+ * Copyright (c) 2001 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Nathan J. Williams.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *        This product includes software developed by the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
 
 #include <sys/types.h>
 #include <ucontext.h>
-#include <machine/reg.h>
 #include <lwp.h>
 #include <stdlib.h>
 
-
-
-void _lwp_makecontext(ucontext_t *u, void (*start)(void *),
+void
+_lwp_makecontext(ucontext_t *u, void (*start)(void *),
     void *arg, void *private, caddr_t stack_base, size_t stack_size)
 {
        __greg_t *gr;
diff -r 991e64d285ac -r ac1a67c6d393 lib/libc/arch/i386/gen/_lwp.c
--- a/lib/libc/arch/i386/gen/_lwp.c     Thu Jan 16 17:58:57 2003 +0000
+++ b/lib/libc/arch/i386/gen/_lwp.c     Thu Jan 16 20:50:42 2003 +0000
@@ -1,16 +1,49 @@
-/*     $Id: _lwp.c,v 1.1.2.2 2001/12/18 21:25:24 nathanw Exp $ */
+/*     $NetBSD: _lwp.c,v 1.1.2.3 2003/01/16 20:51:56 thorpej Exp $     */
 
-/* Copyright */
+/*-
+ * Copyright (c) 2001 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Nathan J. Williams.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *        This product includes software developed by the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
 
+#include <sys/types.h>
 #include <inttypes.h>
-#include <sys/types.h>
 #include <ucontext.h>
 #include <lwp.h>
 #include <stdlib.h>
 
-
-
-void _lwp_makecontext(ucontext_t *u, void (*start)(void *),
+void
+_lwp_makecontext(ucontext_t *u, void (*start)(void *),
     void *arg, void *private, caddr_t stack_base, size_t stack_size)
 {
        void **sp;
diff -r 991e64d285ac -r ac1a67c6d393 lib/libc/arch/m68k/gen/_lwp.c
--- a/lib/libc/arch/m68k/gen/_lwp.c     Thu Jan 16 17:58:57 2003 +0000
+++ b/lib/libc/arch/m68k/gen/_lwp.c     Thu Jan 16 20:50:42 2003 +0000
@@ -1,15 +1,48 @@
-/*     $NetBSD: _lwp.c,v 1.1.2.1 2001/11/21 20:14:26 scw Exp $ */
+/*     $NetBSD: _lwp.c,v 1.1.2.2 2003/01/16 20:53:33 thorpej Exp $     */
 
-/* Copyright */
+/*-
+ * Copyright (c) 2001 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Nathan J. Williams and Steve C. Woodford.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *        This product includes software developed by the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
 
 #include <sys/types.h>
 #include <ucontext.h>
 #include <lwp.h>
 #include <stdlib.h>
 
-
-
-void _lwp_makecontext(ucontext_t *u, void (*start)(void *),
+void
+_lwp_makecontext(ucontext_t *u, void (*start)(void *),
     void *arg, void *private, caddr_t stack_base, size_t stack_size)
 {
        void **sp;
diff -r 991e64d285ac -r ac1a67c6d393 lib/libc/arch/sparc/gen/_lwp.c
--- a/lib/libc/arch/sparc/gen/_lwp.c    Thu Jan 16 17:58:57 2003 +0000
+++ b/lib/libc/arch/sparc/gen/_lwp.c    Thu Jan 16 20:50:42 2003 +0000
@@ -1,11 +1,43 @@
-/*     $NetBSD: _lwp.c,v 1.1.2.3 2002/12/18 17:39:59 skrll Exp $ */
+/*     $NetBSD: _lwp.c,v 1.1.2.4 2003/01/16 20:56:23 thorpej Exp $     */
+
+/*-
+ * Copyright (c) 2002 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *        This product includes software developed by the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
 
 #include <sys/types.h>
 #include <ucontext.h>
 #include <lwp.h>
 #include <stdlib.h>
 
-
 void
 _lwp_makecontext(ucontext_t *u, void (*start)(void *), void *arg,
                 void *private, caddr_t stack_base, size_t stack_size)
diff -r 991e64d285ac -r ac1a67c6d393 lib/libc/arch/sparc64/gen/_lwp.c
--- a/lib/libc/arch/sparc64/gen/_lwp.c  Thu Jan 16 17:58:57 2003 +0000
+++ b/lib/libc/arch/sparc64/gen/_lwp.c  Thu Jan 16 20:50:42 2003 +0000
@@ -1,12 +1,45 @@
-/*     $NetBSD: _lwp.c,v 1.1.2.3 2002/09/10 01:13:10 petrov Exp $ */
+/*     $NetBSD: _lwp.c,v 1.1.2.4 2003/01/16 20:58:18 thorpej Exp $     */
+
+/*-
+ * Copyright (c) 2002 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *        This product includes software developed by the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
 
 #include <sys/types.h>
 #include <ucontext.h>
 #include <lwp.h>
 #include <stdlib.h>
 
-
-void _lwp_makecontext(ucontext_t *u, void (*start)(void *),
+void
+_lwp_makecontext(ucontext_t *u, void (*start)(void *),
                      void *arg, void *private,
                      caddr_t stack_base, size_t stack_size)
 {



Home | Main Index | Thread Index | Old Index