Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/stand/scsiboot Use recent LIBSA_NO_TWIDDLE sup...



details:   https://anonhg.NetBSD.org/src/rev/ae76e599d265
branches:  trunk
changeset: 467925:ae76e599d265
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Mar 31 04:30:11 1999 +0000

description:
Use recent LIBSA_NO_TWIDDLE support.

diffstat:

 sys/arch/pmax/stand/scsiboot/Makefile  |   6 ++--
 sys/arch/pmax/stand/scsiboot/twiddle.c |  44 ----------------------------------
 2 files changed, 3 insertions(+), 47 deletions(-)

diffs (75 lines):

diff -r a737ef614230 -r ae76e599d265 sys/arch/pmax/stand/scsiboot/Makefile
--- a/sys/arch/pmax/stand/scsiboot/Makefile     Wed Mar 31 03:34:21 1999 +0000
+++ b/sys/arch/pmax/stand/scsiboot/Makefile     Wed Mar 31 04:30:11 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 1999/03/27 07:17:51 simonb Exp $
+#      $NetBSD: Makefile,v 1.10 1999/03/31 04:30:11 simonb Exp $
 #      @(#)Makefile    8.3 (Berkeley) 2/16/94
 
 S=     ${.CURDIR}/../../../..
@@ -9,7 +9,7 @@
 MKMAN= no
 
 SRCS=  start.S alloc.c bootxx.c clear_cache.S memcpy.c memset.c printf.S \
-       strcmp.S strcpy.S strlen.S twiddle.c
+       strcmp.S strcpy.S strlen.S
 
 # from sys/lib/libsa:
 SRCS+= disklabel.c dkcksum.c lseek.c open.c read.c ufs.c
@@ -19,7 +19,7 @@
 .PATH:  ${.CURDIR}/../lib $S/lib/libsa $S/lib/libkern
 
 BOOTDEFADD+=-DBOOTXX -DRELOC=0x${RELOC} -DUFS_NOCLOSE -DUFS_NOSYMLINK \
-       -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET
+       -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET -DLIBSA_NO_TWIDDLE
 
 ALL=   rzboot bootrz
 
diff -r a737ef614230 -r ae76e599d265 sys/arch/pmax/stand/scsiboot/twiddle.c
--- a/sys/arch/pmax/stand/scsiboot/twiddle.c    Wed Mar 31 03:34:21 1999 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/*     $NetBSD: twiddle.c,v 1.1 1999/03/25 05:28:36 simonb Exp $       */
-
-/*-
- * Copyright (c) 1999 The NetBSD Foundation, Inc.
- * All rights reserved.
- *
- * This code is derived from software contributed to The NetBSD Foundation
- * by Jonathan Stone, Michael Hitch and Simon Burge.
- *
- * 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.
- */
-
-/* An empty twiddle to save space in the first stage bootblocks. */
-
-void
-twiddle()
-{
-}



Home | Main Index | Thread Index | Old Index