Re: CVS commit: src/tests/lib/libm
On Sat, Mar 01, 2014 at 09:08:39PM +, David Laight wrote: Log Message: Some of the acos() tests seem to fail on some systems. Sorting out why isn't helped by the tests not reporting the erronous value. Change the 'boilerplate' pattern used so that all the values are output. Reduce the amount of faffy red tape as well. Some of these reductions could be shared with other libm tests, but for the moment they are defined in this file. All these tests pass on my amd64 system, and when I run amd64 qemu. This sounds like a good idea to remove boilerplate, i.e. a small-scale API for all of the libm-tests. (Though the stuff behind the boilerplate is justified as there has been so many bugs with these cornercase inf/NaN/etc.). - Jukka.
CVS commit: src/sys/arch/hppa/conf
Module Name:src Committed By: skrll Date: Sun Mar 2 08:20:09 UTC 2014 Modified Files: src/sys/arch/hppa/conf: RAMDISK Log Message: Bump MEMORY_DISK_ROOT_SIZE To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hppa/conf/RAMDISK Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/hppa/conf/RAMDISK diff -u src/sys/arch/hppa/conf/RAMDISK:1.1 src/sys/arch/hppa/conf/RAMDISK:1.2 --- src/sys/arch/hppa/conf/RAMDISK:1.1 Mon Feb 24 07:23:42 2014 +++ src/sys/arch/hppa/conf/RAMDISK Sun Mar 2 08:20:09 2014 @@ -1,4 +1,4 @@ -# $NetBSD: RAMDISK,v 1.1 2014/02/24 07:23:42 skrll Exp $ +# $NetBSD: RAMDISK,v 1.2 2014/03/02 08:20:09 skrll Exp $ # # RAMDISK machine description file # @@ -9,6 +9,6 @@ include arch/hppa/conf/GENERIC options MEMORY_DISK_HOOKS options MEMORY_DISK_IS_ROOT # force root on memory disk options MEMORY_DISK_SERVER=0 # no userspace memory disk support -options MEMORY_DISK_ROOT_SIZE=5000 # size of memory disk, in blocks +options MEMORY_DISK_ROOT_SIZE=6000 # size of memory disk, in blocks options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto
Module Name:src Committed By: nakayama Date: Sun Mar 2 08:58:02 UTC 2014 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto: modes.inc sha.inc src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: crypto.inc des.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: aes.inc modes.inc sha.inc Log Message: Use more assembler code on sparc64. bn-sparcv9.S and OPENSSL_BN_ASM_MONT don't work well since they assume BN_ULONG is 32-bit, so don't use them. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/aes.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/modes.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha.inc cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc:1.3 src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc:1.4 --- src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc:1.3 Mon Feb 18 21:15:25 2013 +++ src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc Sun Mar 2 08:58:02 2014 @@ -1,4 +1,4 @@ -# $NetBSD: modes.inc,v 1.3 2013/02/18 21:15:25 riastradh Exp $ +# $NetBSD: modes.inc,v 1.4 2014/03/02 08:58:02 nakayama Exp $ # # @(#) Copyright (c) 1995 Simon J. Gerraty # @@ -14,5 +14,5 @@ MODES_SRCS += cbc128.c ctr128.c cts128.c SRCS += ${MODES_SRCS} .for cryptosrc in ${MODES_SRCS} -CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/modes +CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/modes ${MODESCPPFLAGS} .endfor Index: src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc:1.1 Sun Jul 19 23:30:44 2009 +++ src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc Sun Mar 2 08:58:02 2014 @@ -1,4 +1,4 @@ -# $NetBSD: sha.inc,v 1.1 2009/07/19 23:30:44 christos Exp $ +# $NetBSD: sha.inc,v 1.2 2014/03/02 08:58:02 nakayama Exp $ # # @(#) Copyright (c) 1995 Simon J. Gerraty # @@ -8,7 +8,7 @@ .PATH: ${OPENSSLSRC}/crypto/sha -SHA_SRCS = sha_dgst.c sha1dgst.c sha_one.c sha1_one.c +SHA_SRCS += sha_dgst.c sha1dgst.c sha_one.c sha1_one.c # Replaced OpenSSL version to avoid overlap with libc SHA_SRCS+= libc-sha512.c libc-sha256.c @@ -16,5 +16,5 @@ SHA_SRCS+= libc-sha512.c libc-sha256.c SRCS += ${SHA_SRCS} .for cryptosrc in ${SHA_SRCS} -CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/sha +CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/sha ${SHACPPFLAGS} .endfor Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc:1.4 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc:1.5 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc:1.4 Tue Jul 31 11:08:34 2012 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc Sun Mar 2 08:58:02 2014 @@ -1,4 +1,5 @@ .PATH.S: ${.PARSEDIR} CPUID_SRCS = sparcv9cap.c sparccpuid.S sparcv9-mont.S sparcv9a-mont.S CPUID = yes +#CPPFLAGS += -DOPENSSL_BN_ASM_MONT .include ../../crypto.inc Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc:1.1 Sun Jul 19 23:30:46 2009 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc Sun Mar 2 08:58:02 2014 @@ -1,5 +1,7 @@ -# $NetBSD: des.inc,v 1.1 2009/07/19 23:30:46 christos Exp $ +# $NetBSD: des.inc,v 1.2 2014/03/02 08:58:02 nakayama Exp $ +.PATH.S: ${.PARSEDIR} +DES_SRCS = des_enc-sparc.S fcrypt_b.c CPPFLAGS+= -DDES_RISC2 -DDES_PTR .include ${.CURDIR}/des.inc Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/aes.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/aes.inc:1.1 --- /dev/null Sun Mar 2 08:58:02 2014 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/aes.inc Sun Mar 2 08:58:02 2014 @@ -0,0 +1,4 @@ +.PATH.S: ${.PARSEDIR} +AES_SRCS = aes_core.c aes_cbc.c aes-sparcv9.S +AESCPPFLAGS = -DAES_ASM +.include ../../aes.inc Index:
CVS commit: src/sys/arch/arm/conf
Module Name:src Committed By: joerg Date: Sun Mar 2 13:21:59 UTC 2014 Modified Files: src/sys/arch/arm/conf: Makefile.arm Log Message: Explicitly enable VFP support for vfp_init.c. Fixes build of INTEGRATOR_CP with clang. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/arm/conf/Makefile.arm Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/arm/conf/Makefile.arm diff -u src/sys/arch/arm/conf/Makefile.arm:1.41 src/sys/arch/arm/conf/Makefile.arm:1.42 --- src/sys/arch/arm/conf/Makefile.arm:1.41 Thu Jan 23 20:58:55 2014 +++ src/sys/arch/arm/conf/Makefile.arm Sun Mar 2 13:21:59 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.arm,v 1.41 2014/01/23 20:58:55 martin Exp $ +# $NetBSD: Makefile.arm,v 1.42 2014/03/02 13:21:59 joerg Exp $ # Makefile for NetBSD # @@ -35,6 +35,7 @@ GENASSYM_CONF= ${ARM}/arm32/genassym.cf # CPPFLAGS set by platform-specific Makefile fragment. AFLAGS+= -x assembler-with-cpp COPTS.arm32_kvminit.c+= -fno-stack-protector +COPTS.vfp_init.c= -mfpu=vfp AFLAGS.bcopyinout.S+=-marm AFLAGS.cpuswitch.S+=-marm -mfpu=vfp AFLAGS.locore.S+=-marm
CVS commit: src/sys/arch/arm/ep93xx
Module Name:src Committed By: joerg Date: Sun Mar 2 13:22:21 UTC 2014 Modified Files: src/sys/arch/arm/ep93xx: epe.c Log Message: Make the empty loop body explicit. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/ep93xx/epe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/arm/ep93xx/epe.c diff -u src/sys/arch/arm/ep93xx/epe.c:1.29 src/sys/arch/arm/ep93xx/epe.c:1.30 --- src/sys/arch/arm/ep93xx/epe.c:1.29 Mon Nov 12 18:00:36 2012 +++ src/sys/arch/arm/ep93xx/epe.c Sun Mar 2 13:22:21 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: epe.c,v 1.29 2012/11/12 18:00:36 skrll Exp $ */ +/* $NetBSD: epe.c,v 1.30 2014/03/02 13:22:21 joerg Exp $ */ /* * Copyright (c) 2004 Jesse Off @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: epe.c,v 1.29 2012/11/12 18:00:36 skrll Exp $); +__KERNEL_RCSID(0, $NetBSD: epe.c,v 1.30 2014/03/02 13:22:21 joerg Exp $); #include sys/types.h #include sys/param.h @@ -422,7 +422,8 @@ epe_init(struct epe_softc *sc) /* maximum valid max frame length */ EPE_WRITE(MaxFrmLen, (0x7ff 16)|MHLEN); /* wait for receiver ready */ - while((EPE_READ(BMSts) BMSts_RxAct) == 0); + while((EPE_READ(BMSts) BMSts_RxAct) == 0) + continue; /* enqueue the entries in RXStsQ and RXDQ */ CTRLPAGE_DMASYNC(0, sc-ctrlpage_dmamap-dm_mapsize, BUS_DMASYNC_PREWRITE|BUS_DMASYNC_PREREAD);
CVS commit: src/sys/arch/arm/ep93xx
Module Name:src Committed By: joerg Date: Sun Mar 2 13:22:33 UTC 2014 Modified Files: src/sys/arch/arm/ep93xx: ep93xx_intr.c Log Message: GC ipending. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/ep93xx/ep93xx_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/arm/ep93xx/ep93xx_intr.c diff -u src/sys/arch/arm/ep93xx/ep93xx_intr.c:1.20 src/sys/arch/arm/ep93xx/ep93xx_intr.c:1.21 --- src/sys/arch/arm/ep93xx/ep93xx_intr.c:1.20 Wed Dec 18 13:03:59 2013 +++ src/sys/arch/arm/ep93xx/ep93xx_intr.c Sun Mar 2 13:22:32 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ep93xx_intr.c,v 1.20 2013/12/18 13:03:59 skrll Exp $ */ +/* $NetBSD: ep93xx_intr.c,v 1.21 2014/03/02 13:22:32 joerg Exp $ */ /* * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ep93xx_intr.c,v 1.20 2013/12/18 13:03:59 skrll Exp $); +__KERNEL_RCSID(0, $NetBSD: ep93xx_intr.c,v 1.21 2014/03/02 13:22:32 joerg Exp $); /* * Interrupt support for the Cirrus Logic EP93XX @@ -66,9 +66,6 @@ volatile int hardware_spl_level; volatile uint32_t vic1_intr_enabled; volatile uint32_t vic2_intr_enabled; -/* Interrupts pending. */ -static volatile int ipending; - void ep93xx_intr_dispatch(struct trapframe *); #define VIC1REG(reg) *((volatile uint32_t*) (EP93XX_AHB_VBASE + \
CVS commit: src/sys/arch/arm/ixp12x0
Module Name:src Committed By: joerg Date: Sun Mar 2 13:23:32 UTC 2014 Modified Files: src/sys/arch/arm/ixp12x0: ixp12x0_intr.c Log Message: GC ipending. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/arm/ixp12x0/ixp12x0_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/arm/ixp12x0/ixp12x0_intr.c diff -u src/sys/arch/arm/ixp12x0/ixp12x0_intr.c:1.26 src/sys/arch/arm/ixp12x0/ixp12x0_intr.c:1.27 --- src/sys/arch/arm/ixp12x0/ixp12x0_intr.c:1.26 Wed Dec 18 13:03:59 2013 +++ src/sys/arch/arm/ixp12x0/ixp12x0_intr.c Sun Mar 2 13:23:32 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ixp12x0_intr.c,v 1.26 2013/12/18 13:03:59 skrll Exp $ */ +/* $NetBSD: ixp12x0_intr.c,v 1.27 2014/03/02 13:23:32 joerg Exp $ */ /* * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ixp12x0_intr.c,v 1.26 2013/12/18 13:03:59 skrll Exp $); +__KERNEL_RCSID(0, $NetBSD: ixp12x0_intr.c,v 1.27 2014/03/02 13:23:32 joerg Exp $); /* * Interrupt support for the Intel ixp12x0 @@ -70,9 +70,6 @@ volatile int hardware_spl_level; volatile uint32_t intr_enabled; volatile uint32_t pci_intr_enabled; -/* Interrupts pending. */ -static volatile int ipending; - void ixp12x0_intr_dispatch(struct trapframe *); #define IXPREG(reg) *((volatile uint32_t*) (reg))
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: joerg Date: Sun Mar 2 13:23:17 UTC 2014 Modified Files: src/sys/arch/arm/xscale: i80321_space.c Log Message: Skip a tautologic check if we know it is one. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/xscale/i80321_space.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/arm/xscale/i80321_space.c diff -u src/sys/arch/arm/xscale/i80321_space.c:1.13 src/sys/arch/arm/xscale/i80321_space.c:1.14 --- src/sys/arch/arm/xscale/i80321_space.c:1.13 Fri Jul 1 20:32:51 2011 +++ src/sys/arch/arm/xscale/i80321_space.c Sun Mar 2 13:23:16 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: i80321_space.c,v 1.13 2011/07/01 20:32:51 dyoung Exp $ */ +/* $NetBSD: i80321_space.c,v 1.14 2014/03/02 13:23:16 joerg Exp $ */ /* * Copyright (c) 2001, 2002 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: i80321_space.c,v 1.13 2011/07/01 20:32:51 dyoung Exp $); +__KERNEL_RCSID(0, $NetBSD: i80321_space.c,v 1.14 2014/03/02 13:23:16 joerg Exp $); #include sys/param.h #include sys/systm.h @@ -291,7 +291,10 @@ i80321_mem_bs_map(void *t, bus_addr_t bp paddr_t pa, endpa, physbase; #ifdef I80321_USE_DIRECT_WIN - if (bpa = (VERDE_OUT_DIRECT_WIN_BASE) + if ( +#if VERDE_OUT_DIRECT_WIN_BASE != 0 + bpa = (VERDE_OUT_DIRECT_WIN_BASE) +#endif bpa (VERDE_OUT_DIRECT_WIN_BASE + VERDE_OUT_DIRECT_WIN_SIZE)) { busbase = VERDE_OUT_DIRECT_WIN_BASE; physbase = VERDE_OUT_DIRECT_WIN_BASE;
CVS commit: src
Module Name:src Committed By: joerg Date: Sun Mar 2 13:24:38 UTC 2014 Modified Files: src/distrib/cats/ramdisk: Makefile src/sys/arch/cats/conf: INSTALL Log Message: Clang needs a slightly larger MD image, so bump the size to 2300k. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/distrib/cats/ramdisk/Makefile cvs rdiff -u -r1.91 -r1.92 src/sys/arch/cats/conf/INSTALL Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/cats/ramdisk/Makefile diff -u src/distrib/cats/ramdisk/Makefile:1.21 src/distrib/cats/ramdisk/Makefile:1.22 --- src/distrib/cats/ramdisk/Makefile:1.21 Thu Feb 6 18:36:15 2014 +++ src/distrib/cats/ramdisk/Makefile Sun Mar 2 13:24:38 2014 @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.21 2014/02/06 18:36:15 christos Exp $ +# $NetBSD: Makefile,v 1.22 2014/03/02 13:24:38 joerg Exp $ .include bsd.own.mk .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib IMAGE= ramdisk.fs -IMAGESIZE= 2200k +IMAGESIZE= 2300k MAKEFS_FLAGS= -f 14 WARNS= 1 Index: src/sys/arch/cats/conf/INSTALL diff -u src/sys/arch/cats/conf/INSTALL:1.91 src/sys/arch/cats/conf/INSTALL:1.92 --- src/sys/arch/cats/conf/INSTALL:1.91 Sun Feb 23 13:15:12 2014 +++ src/sys/arch/cats/conf/INSTALL Sun Mar 2 13:24:38 2014 @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.91 2014/02/23 13:15:12 skrll Exp $ +# $NetBSD: INSTALL,v 1.92 2014/03/02 13:24:38 joerg Exp $ # # CATSINST -- CHALTECH CATS Install kernel # @@ -97,7 +97,7 @@ options COMPAT_BSDPTY # /dev/[pt]ty?? p # Device options options MEMORY_DISK_HOOKS # boottime setup of ramdisk -options MEMORY_DISK_ROOT_SIZE=4400 # Size in blocks +options MEMORY_DISK_ROOT_SIZE=4600 # Size in blocks options MEMORY_DISK_IS_ROOT # use memory disk as root options MEMORY_DISK_SERVER=0 # no userspace memory disk support options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: joerg Date: Sun Mar 2 13:26:04 UTC 2014 Modified Files: src/sys/arch/evbarm/conf: TEAMASA_NPWR Log Message: Bump SYMTAB_SPACE for clang. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/arch/evbarm/conf/TEAMASA_NPWR Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/evbarm/conf/TEAMASA_NPWR diff -u src/sys/arch/evbarm/conf/TEAMASA_NPWR:1.81 src/sys/arch/evbarm/conf/TEAMASA_NPWR:1.82 --- src/sys/arch/evbarm/conf/TEAMASA_NPWR:1.81 Sun Jun 30 21:38:56 2013 +++ src/sys/arch/evbarm/conf/TEAMASA_NPWR Sun Mar 2 13:26:03 2014 @@ -1,4 +1,4 @@ -# $NetBSD: TEAMASA_NPWR,v 1.81 2013/06/30 21:38:56 rmind Exp $ +# $NetBSD: TEAMASA_NPWR,v 1.82 2014/03/02 13:26:03 joerg Exp $ # # TEAMASA_NPWR -- Team ASA, Inc. Npwr -- XScale/IOP310-based # server appliance. @@ -136,7 +136,7 @@ options DIAGNOSTIC # internally consist options DDB # in-kernel debugger options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #makeoptions DEBUG=-g # compile full symbol table -options SYMTAB_SPACE=55 +options SYMTAB_SPACE=59 config netbsd root on ? type ? config netbsd-wm0 root on wm0 type nfs
CVS commit: src
Module Name:src Committed By: joerg Date: Sun Mar 2 13:25:43 UTC 2014 Modified Files: src/distrib/evbarm/instkernel/sshramdisk: Makefile src/sys/arch/evbarm/conf: INSTALL Log Message: Bump sshramdisk size to 3800k, reserve 4MB in the install kernel. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/distrib/evbarm/instkernel/sshramdisk/Makefile cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/INSTALL Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/evbarm/instkernel/sshramdisk/Makefile diff -u src/distrib/evbarm/instkernel/sshramdisk/Makefile:1.2 src/distrib/evbarm/instkernel/sshramdisk/Makefile:1.3 --- src/distrib/evbarm/instkernel/sshramdisk/Makefile:1.2 Fri Jun 28 15:31:26 2013 +++ src/distrib/evbarm/instkernel/sshramdisk/Makefile Sun Mar 2 13:25:43 2014 @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.2 2013/06/28 15:31:26 htodd Exp $ +# $NetBSD: Makefile,v 1.3 2014/03/02 13:25:43 joerg Exp $ .include bsd.own.mk .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib IMAGE= sshramdisk.fs -IMAGESIZE= 3684k +IMAGESIZE= 3800k MAKEFS_FLAGS= -f 15 WARNS= 1 Index: src/sys/arch/evbarm/conf/INSTALL diff -u src/sys/arch/evbarm/conf/INSTALL:1.6 src/sys/arch/evbarm/conf/INSTALL:1.7 --- src/sys/arch/evbarm/conf/INSTALL:1.6 Fri Jun 28 15:38:56 2013 +++ src/sys/arch/evbarm/conf/INSTALL Sun Mar 2 13:25:43 2014 @@ -1,11 +1,11 @@ -# $NetBSD: INSTALL,v 1.6 2013/06/28 15:38:56 matt Exp $ +# $NetBSD: INSTALL,v 1.7 2014/03/02 13:25:43 joerg Exp $ # # INSTALL -- Common configuration fragment for install kernels. # options MEMORY_DISK_HOOKS options MEMORY_DISK_IS_ROOT # Force root on ramdisk -options MEMORY_DISK_ROOT_SIZE=7424 +options MEMORY_DISK_ROOT_SIZE=8192 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode -pseudo-device md +pseudo-device md
CVS commit: src/sys/arch/hpcarm/hpcarm
Module Name:src Committed By: joerg Date: Sun Mar 2 13:26:30 UTC 2014 Modified Files: src/sys/arch/hpcarm/hpcarm: locore.S Log Message: Be explicit about the double register use. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/hpcarm/hpcarm/locore.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/arch/hpcarm/hpcarm/locore.S diff -u src/sys/arch/hpcarm/hpcarm/locore.S:1.17 src/sys/arch/hpcarm/hpcarm/locore.S:1.18 --- src/sys/arch/hpcarm/hpcarm/locore.S:1.17 Sat Mar 1 12:48:38 2014 +++ src/sys/arch/hpcarm/hpcarm/locore.S Sun Mar 2 13:26:30 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.17 2014/03/01 12:48:38 joerg Exp $ */ +/* $NetBSD: locore.S,v 1.18 2014/03/02 13:26:30 joerg Exp $ */ /* * Copyright (C) 1994-1997 Mark Brinicombe @@ -263,9 +263,9 @@ ENTRY(dumpsys) add r2, r0, #(PCB_R8) stmia r2, {r8-r13} #else -strdr8, [r0, #(PCB_R8)] -strdr10, [r0, #(PCB_R10)] -strdr12, [r0, #(PCB_R12)] +strdr8, r9, [r0, #(PCB_R8)] +strdr10, r11, [r0, #(PCB_R10)] +strdr12, r13, [r0, #(PCB_R12)] #endif bl _C_LABEL(dodumpsys)
CVS commit: src/sys/arch/hpcarm/hpcarm
Module Name:src Committed By: joerg Date: Sun Mar 2 13:27:38 UTC 2014 Modified Files: src/sys/arch/hpcarm/hpcarm: hpc_machdep.c kloader_machdep.c Log Message: Mark cpu_reset as dead and add an explicit __builtin_unreachable for a terminal function call for clang's noreturn diagnostic. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/hpcarm/hpcarm/hpc_machdep.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hpcarm/hpcarm/kloader_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/hpcarm/hpcarm/hpc_machdep.c diff -u src/sys/arch/hpcarm/hpcarm/hpc_machdep.c:1.102 src/sys/arch/hpcarm/hpcarm/hpc_machdep.c:1.103 --- src/sys/arch/hpcarm/hpcarm/hpc_machdep.c:1.102 Sun Aug 18 22:26:51 2013 +++ src/sys/arch/hpcarm/hpcarm/hpc_machdep.c Sun Mar 2 13:27:38 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: hpc_machdep.c,v 1.102 2013/08/18 22:26:51 matt Exp $ */ +/* $NetBSD: hpc_machdep.c,v 1.103 2014/03/02 13:27:38 joerg Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -40,7 +40,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: hpc_machdep.c,v 1.102 2013/08/18 22:26:51 matt Exp $); +__KERNEL_RCSID(0, $NetBSD: hpc_machdep.c,v 1.103 2014/03/02 13:27:38 joerg Exp $); #include opt_cputypes.h #include opt_kloader.h @@ -101,7 +101,7 @@ void dumpsys(void); void (*__sleep_func)(void *); void *__sleep_ctx; -void (*__cpu_reset)(void) = cpu_reset; +void (*__cpu_reset)(void) __dead = cpu_reset; u_int initarm(int, char **, struct bootinfo *); #if defined(CPU_SA1100) || defined(CPU_SA1110) Index: src/sys/arch/hpcarm/hpcarm/kloader_machdep.c diff -u src/sys/arch/hpcarm/hpcarm/kloader_machdep.c:1.1 src/sys/arch/hpcarm/hpcarm/kloader_machdep.c:1.2 --- src/sys/arch/hpcarm/hpcarm/kloader_machdep.c:1.1 Sat Mar 31 14:02:54 2012 +++ src/sys/arch/hpcarm/hpcarm/kloader_machdep.c Sun Mar 2 13:27:38 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: kloader_machdep.c,v 1.1 2012/03/31 14:02:54 nonaka Exp $ */ +/* $NetBSD: kloader_machdep.c,v 1.2 2014/03/02 13:27:38 joerg Exp $ */ /*- * Copyright (C) 2012 NONAKA Kimihiro non...@netbsd.org @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: kloader_machdep.c,v 1.1 2012/03/31 14:02:54 nonaka Exp $); +__KERNEL_RCSID(0, $NetBSD: kloader_machdep.c,v 1.2 2014/03/02 13:27:38 joerg Exp $); #include debug_kloader.h #include opt_cputypes.h @@ -67,7 +67,7 @@ kloader_reboot_setup(const char *filenam void kloader_hpcarm_reset(void) { - extern void (*__cpu_reset)(void); + extern void (*__cpu_reset)(void) __dead; __cpu_reset(); /*NOTREACHED*/ @@ -83,6 +83,7 @@ kloader_hpcarm_jump(kloader_bootfunc_t f /* jump to 2nd boot-loader */ (*func)(kbi, tag); + __builtin_unreachable(); } /*
CVS commit: src/sys/arch/iyonix/iyonix
Module Name:src Committed By: joerg Date: Sun Mar 2 13:28:23 UTC 2014 Modified Files: src/sys/arch/iyonix/iyonix: iyonix_machdep.c Log Message: Initialize variables used to setup a dummy element. XXX bogus, needs review To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/iyonix/iyonix/iyonix_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/iyonix/iyonix/iyonix_machdep.c diff -u src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.22 src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.23 --- src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.22 Sun Aug 18 21:50:31 2013 +++ src/sys/arch/iyonix/iyonix/iyonix_machdep.c Sun Mar 2 13:28:23 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: iyonix_machdep.c,v 1.22 2013/08/18 21:50:31 matt Exp $ */ +/* $NetBSD: iyonix_machdep.c,v 1.23 2014/03/02 13:28:23 joerg Exp $ */ /* * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. @@ -73,7 +73,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: iyonix_machdep.c,v 1.22 2013/08/18 21:50:31 matt Exp $); +__KERNEL_RCSID(0, $NetBSD: iyonix_machdep.c,v 1.23 2014/03/02 13:28:23 joerg Exp $); #include opt_ddb.h #include opt_kgdb.h @@ -441,8 +441,8 @@ initarm(void *arg) int loop; int loop1; u_int l1pagetable; - paddr_t memstart; - psize_t memsize; + paddr_t memstart = 0; + psize_t memsize = 0; /* Calibrate the delay loop. */ i80321_calibrate_delay();
CVS commit: src/sys/arch/zaurus/conf
Module Name:src Committed By: joerg Date: Sun Mar 2 16:18:41 UTC 2014 Modified Files: src/sys/arch/zaurus/conf: Makefile.zaurus.inc Log Message: Don't overwrite MACHINE_ARCH if it is already set. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/zaurus/conf/Makefile.zaurus.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/zaurus/conf/Makefile.zaurus.inc diff -u src/sys/arch/zaurus/conf/Makefile.zaurus.inc:1.4 src/sys/arch/zaurus/conf/Makefile.zaurus.inc:1.5 --- src/sys/arch/zaurus/conf/Makefile.zaurus.inc:1.4 Fri Jan 20 15:00:27 2012 +++ src/sys/arch/zaurus/conf/Makefile.zaurus.inc Sun Mar 2 16:18:41 2014 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile.zaurus.inc,v 1.4 2012/01/20 15:00:27 nonaka Exp $ +# $NetBSD: Makefile.zaurus.inc,v 1.5 2014/03/02 16:18:41 joerg Exp $ -MACHINE_ARCH= arm +MACHINE_ARCH?= arm CPPFLAGS+= -D${MACHINE} SYSTEM_FIRST_OBJ= zaurus_start.o
CVS commit: src/tests/kernel
Module Name:src Committed By: jmmv Date: Sun Mar 2 20:13:12 UTC 2014 Modified Files: src/tests/kernel: t_sysv.c Log Message: Make cleanup routines actually work. The only way to pass global state from the body to the cleanup is via the file system. Fixes leaks of global system resources (in all cases, given that the body does not by itself clean things up). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/kernel/t_sysv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/kernel/t_sysv.c diff -u src/tests/kernel/t_sysv.c:1.3 src/tests/kernel/t_sysv.c:1.4 --- src/tests/kernel/t_sysv.c:1.3 Wed Jul 24 11:44:10 2013 +++ src/tests/kernel/t_sysv.c Sun Mar 2 20:13:12 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: t_sysv.c,v 1.3 2013/07/24 11:44:10 skrll Exp $ */ +/* $NetBSD: t_sysv.c,v 1.4 2014/03/02 20:13:12 jmmv Exp $ */ /*- * Copyright (c) 1999, 2007 The NetBSD Foundation, Inc. @@ -88,9 +88,6 @@ size_t pgsize; #define MTYPE_2 3 #define MTYPE_2_ACK 4 -int sender_msqid = -1; -int sender_semid = -1; -int sender_shmid = -1; pid_t child_pid; key_t msgkey, semkey, shmkey; @@ -104,6 +101,38 @@ union semun { }; +/* Writes an integer to a file. To be used from the body of the test + * cases below to pass any global identifiers to the cleanup routine. */ +static void +write_int(const char *path, const int value) +{ + int output; + + output = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0600); + ATF_REQUIRE_MSG(output != -1, Failed to create %s, path); + write(output, value, sizeof(value)); + close(output); +} + + +/* Reads an integer from a file. To be used from the cleanup routines + * of the test cases below. */ +static int +read_int(const char *path) +{ + int input; + + input = open(path, O_RDONLY); + if (input == -1) + return -1; + else { + int value; + read(input, value, sizeof(value)); + return value; + } +} + + void sigsys_handler(int signo) { @@ -175,6 +204,7 @@ ATF_TC_BODY(msg, tc) struct msqid_ds m_ds; struct mymsg m; sigset_t sigmask; + int sender_msqid; int loop; int c_status; @@ -206,6 +236,7 @@ ATF_TC_BODY(msg, tc) sender_msqid = msgget(msgkey, IPC_CREAT | 0640); ATF_REQUIRE_MSG(sender_msqid != -1, msgget: %d, errno); + write_int(sender_msqid, sender_msqid); if (did_sigsys) { atf_tc_skip(SYSV Message Queue not supported); @@ -304,14 +335,15 @@ ATF_TC_BODY(msg, tc) ATF_TC_CLEANUP(msg, tc) { + int sender_msqid; /* * Remove the message queue if it exists. */ + sender_msqid = read_int(sender_msqid); if (sender_msqid != -1) - ATF_REQUIRE_MSG(msgctl(sender_msqid, IPC_RMID, NULL) != -1, - msgctl IPC_RMID: %d, errno); - sender_msqid = -1; + if (msgctl(sender_msqid, IPC_RMID, NULL) == -1) + err(1, msgctl IPC_RMID); } void @@ -411,6 +443,7 @@ ATF_TC_BODY(sem, tc) union semun sun; struct semid_ds s_ds; sigset_t sigmask; + int sender_semid; int i; int c_status; @@ -442,6 +475,7 @@ ATF_TC_BODY(sem, tc) sender_semid = semget(semkey, 1, IPC_CREAT | 0640); ATF_REQUIRE_MSG(sender_semid != -1, semget: %d, errno); + write_int(sender_semid, sender_semid); if (did_sigsys) { atf_tc_skip(SYSV Semaphore not supported); @@ -542,14 +576,15 @@ ATF_TC_BODY(sem, tc) ATF_TC_CLEANUP(sem, tc) { + int sender_semid; /* * Remove the semaphore if it exists */ + sender_semid = read_int(sender_semid); if (sender_semid != -1) - ATF_REQUIRE_MSG(semctl(sender_semid, 0, IPC_RMID) != -1, - semctl IPC_RMID: %d, errno); - sender_semid = -1; + if (semctl(sender_semid, 0, IPC_RMID) == -1) + err(1, semctl IPC_RMID); } void @@ -637,6 +672,7 @@ ATF_TC_BODY(shm, tc) struct shmid_ds s_ds; sigset_t sigmask; char *shm_buf; + int sender_shmid; int c_status; /* @@ -670,6 +706,7 @@ ATF_TC_BODY(shm, tc) ATF_REQUIRE_MSG((sender_shmid = shmget(shmkey, pgsize, IPC_CREAT | 0640)) != -1, shmget: %d, errno); + write_int(sender_shmid, sender_shmid); ATF_REQUIRE_MSG(shmctl(sender_shmid, IPC_STAT, s_ds) != -1, shmctl IPC_STAT: %d, errno); @@ -740,14 +777,15 @@ ATF_TC_BODY(shm, tc) ATF_TC_CLEANUP(shm, tc) { + int sender_shmid; /* * Remove the shared memory area if it exists. */ + sender_shmid = read_int(sender_shmid); if (sender_shmid != -1) - ATF_REQUIRE_MSG(shmctl(sender_shmid, IPC_RMID, NULL) != -1, - shmctl IPC_RMID: %d, errno); - sender_shmid = -1; + if (shmctl(sender_shmid, IPC_RMID, NULL) == -1) + err(1, shmctl IPC_RMID); } void
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sun Mar 2 22:22:05 UTC 2014 Modified Files: src/share/mk: bsd.lib.mk bsd.prog.mk Log Message: If we are compiling with -g and using gcc4.8 and dtrace downgrade dwarf generation to version 2 for now. To generate a diff of this commit: cvs rdiff -u -r1.346 -r1.347 src/share/mk/bsd.lib.mk cvs rdiff -u -r1.287 -r1.288 src/share/mk/bsd.prog.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.lib.mk diff -u src/share/mk/bsd.lib.mk:1.346 src/share/mk/bsd.lib.mk:1.347 --- src/share/mk/bsd.lib.mk:1.346 Tue Feb 25 21:51:02 2014 +++ src/share/mk/bsd.lib.mk Sun Mar 2 17:22:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.346 2014/02/26 02:51:02 mrg Exp $ +# $NetBSD: bsd.lib.mk,v 1.347 2014/03/02 22:22:05 christos Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .include bsd.init.mk @@ -185,6 +185,9 @@ FFLAGS+= ${FOPTS} .if defined(CTFCONVERT) .if defined(CFLAGS) !empty(CFLAGS:M*-g*) CTFFLAGS+= -g +.if defined(HAVE_GCC) ${HAVE_GCC} = 48 +CFLAGS+= -gdwarf-2 +.endif .endif .endif Index: src/share/mk/bsd.prog.mk diff -u src/share/mk/bsd.prog.mk:1.287 src/share/mk/bsd.prog.mk:1.288 --- src/share/mk/bsd.prog.mk:1.287 Wed Jan 15 08:59:38 2014 +++ src/share/mk/bsd.prog.mk Sun Mar 2 17:22:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prog.mk,v 1.287 2014/01/15 13:59:38 joerg Exp $ +# $NetBSD: bsd.prog.mk,v 1.288 2014/03/02 22:22:05 christos Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .ifndef HOSTPROG @@ -65,6 +65,9 @@ MKDEP_SUFFIXES?= .o .ln .if defined(MKDTRACE) (${MKDTRACE} != no) (${CFLAGS:M-g} != ) CTFFLAGS+= -g CTFMFLAGS+= -g +.if defined(HAVE_GCC) ${HAVE_GCC} = 48 +CFLAGS+=-gdwarf-2 +.endif .endif # ELF platforms depend on crti.o, crtbegin.o, crtend.o, and crtn.o
CVS commit: src/tests/lib/libm
Module Name:src Committed By: dsl Date: Sun Mar 2 22:40:45 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Include the subtest number in any error output. Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign because the test is being run with 'round towards -ve infinity' set. I think it getting set somewhere and causing this test to fail. The acos() code probably needs fixing - it shouldn't depend on the round mode like this. But first I want to know if this if the error. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libm/t_acos.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libm/t_acos.c diff -u src/tests/lib/libm/t_acos.c:1.5 src/tests/lib/libm/t_acos.c:1.6 --- src/tests/lib/libm/t_acos.c:1.5 Sat Mar 1 21:08:39 2014 +++ src/tests/lib/libm/t_acos.c Sun Mar 2 22:40:45 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: t_acos.c,v 1.5 2014/03/01 21:08:39 dsl Exp $ */ +/* $NetBSD: t_acos.c,v 1.6 2014/03/02 22:40:45 dsl Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -31,29 +31,32 @@ #include atf-c.h #include math.h +#include fenv.h /* * Check result of fn(arg) is correct within the bounds. * Should be ok to do the checks using 'double' for 'float' functions. */ -#define T_LIBM_CHECK(fn, arg, expect, epsilon) do { \ +#define T_LIBM_CHECK(subtest, fn, arg, expect, epsilon) do { \ double r = fn(arg); \ double e = fabs(r - expect); \ if (e epsilon) \ - atf_tc_fail_nonfatal(#fn (%g) is %g not %g (error %g %g), \ - arg, r, expect, e, epsilon); \ + atf_tc_fail_nonfatal( \ + subtest %zu: #fn (%g) is %g not %g (error %g %g), roundmode %x, \ + subtest, arg, r, expect, e, epsilon, fegetround()); \ } while (0) /* Check that the result of fn(arg) is NaN */ #ifndef __vax__ -#define T_LIBM_CHECK_NAN(fn, arg) do { \ +#define T_LIBM_CHECK_NAN(subtest, fn, arg) do { \ double r = fn(arg); \ if (!isnan(r)) \ - atf_tc_fail_nonfatal(#fn (%g) is %g not NaN, arg, r); \ + atf_tc_fail_nonfatal(subtest %zu: #fn (%g) is %g not NaN, \ + subtest, arg, r); \ } while (0) #else /* vax doesn't support NaN */ -#define T_LIBM_CHECK_NAN(fn, arg) (void)(arg) +#define T_LIBM_CHECK_NAN(subtest, fn, arg) (void)(arg) #endif #define AFT_LIBM_TEST(name, description) \ @@ -78,11 +81,11 @@ AFT_LIBM_TEST(acos_nan, Test acos/acosf size_t i; for (i = 0; i __arraycount(x); i++) { - T_LIBM_CHECK_NAN(acos, x[i]); + T_LIBM_CHECK_NAN(i, acos, x[i]); if (i 2) /* Values are too small for float */ continue; - T_LIBM_CHECK_NAN(acosf, x[i]); + T_LIBM_CHECK_NAN(i, acosf, x[i]); } } @@ -104,14 +107,14 @@ AFT_LIBM_TEST(acos_inrange, Test acos/a size_t i; /* - * Note that acos(x) might be calcualted as atan((1-x*x)/x). - * This means that acos(-1) is atan(-0.0), if the sign is lost - * the value will be 0 (atan(+0)) not M_PI. + * Note that acos(x) might be calculated as atan2(sqrt(1-x*x),x). + * This means that acos(-1) is atan2(+0,-1), if the sign is wrong + * the value will be -M_PI (atan2(-0,-1)) not M_PI. */ for (i = 0; i __arraycount(values); i++) { - T_LIBM_CHECK(acos, values[i].x, values[i].y, 1.0e-15); - T_LIBM_CHECK(acosf, values[i].x, values[i].y, 1.0e-5); + T_LIBM_CHECK(i, acos, values[i].x, values[i].y, 1.0e-15); + T_LIBM_CHECK(i, acosf, values[i].x, values[i].y, 1.0e-5); } }
CVS commit: src/external/bsd/atf
Module Name:src Committed By: jmmv Date: Sun Mar 2 22:50:13 UTC 2014 Modified Files: src/external/bsd/atf/dist/tools: atf-version.cpp src/external/bsd/atf/lib/libatf-c: Makefile src/external/bsd/atf/lib/libatf-c++: Makefile src/external/bsd/atf/usr.bin/atf-sh: Makefile src/external/bsd/atf/usr.bin/atf-version: Makefile Log Message: Fix bundling of the atf version into pkgconfig files and atf-version. Sigh; one more attempt. This time I'm sure I've verified that the .pc files contain the right number and that atf-version also outputs the right stuff... Both with a clean and non-clean obj directory. Should fix part of the problems reported in PR bin/48624. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/atf/dist/tools/atf-version.cpp cvs rdiff -u -r1.20 -r1.21 src/external/bsd/atf/lib/libatf-c/Makefile cvs rdiff -u -r1.23 -r1.24 src/external/bsd/atf/lib/libatf-c++/Makefile cvs rdiff -u -r1.11 -r1.12 src/external/bsd/atf/usr.bin/atf-sh/Makefile cvs rdiff -u -r1.12 -r1.13 src/external/bsd/atf/usr.bin/atf-version/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/atf/dist/tools/atf-version.cpp diff -u src/external/bsd/atf/dist/tools/atf-version.cpp:1.5 src/external/bsd/atf/dist/tools/atf-version.cpp:1.6 --- src/external/bsd/atf/dist/tools/atf-version.cpp:1.5 Tue Feb 11 18:07:30 2014 +++ src/external/bsd/atf/dist/tools/atf-version.cpp Sun Mar 2 22:50:13 2014 @@ -31,6 +31,7 @@ #include iostream #include application.hpp +#include version.hpp class atf_version : public tools::application::app { static const char* m_description; Index: src/external/bsd/atf/lib/libatf-c/Makefile diff -u src/external/bsd/atf/lib/libatf-c/Makefile:1.20 src/external/bsd/atf/lib/libatf-c/Makefile:1.21 --- src/external/bsd/atf/lib/libatf-c/Makefile:1.20 Sat Feb 15 04:19:46 2014 +++ src/external/bsd/atf/lib/libatf-c/Makefile Sun Mar 2 22:50:13 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2014/02/15 04:19:46 jmmv Exp $ +# $NetBSD: Makefile,v 1.21 2014/03/02 22:50:13 jmmv Exp $ NOLINT= # defined @@ -59,7 +59,7 @@ FILESDIR= /usr/lib/pkgconfig realall: atf-c.pc atf-c.pc: Makefile atf-c.pc.in atf-version.txt - ${TOOL_SED} -e 's,__ATF_VERSION__,$$(cat atf-version.txt),g' \ + ${TOOL_SED} -e s,__ATF_VERSION__,$$(cat atf-version.txt),g \ -e 's,__CC__,gcc,g' \ -e 's,__INCLUDEDIR__,/usr/include,g' \ -e 's,__LIBDIR__,/usr/lib,g' \ Index: src/external/bsd/atf/lib/libatf-c++/Makefile diff -u src/external/bsd/atf/lib/libatf-c++/Makefile:1.23 src/external/bsd/atf/lib/libatf-c++/Makefile:1.24 --- src/external/bsd/atf/lib/libatf-c++/Makefile:1.23 Sat Feb 15 04:19:46 2014 +++ src/external/bsd/atf/lib/libatf-c++/Makefile Sun Mar 2 22:50:13 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2014/02/15 04:19:46 jmmv Exp $ +# $NetBSD: Makefile,v 1.24 2014/03/02 22:50:13 jmmv Exp $ NOLINT= # defined @@ -48,7 +48,7 @@ FILESDIR= /usr/lib/pkgconfig realall: atf-c++.pc atf-c++.pc: Makefile atf-c++.pc.in atf-version.txt - ${TOOL_SED} -e 's,__ATF_VERSION__,$$(cat atf-version.txt),g' \ + ${TOOL_SED} -e s,__ATF_VERSION__,$$(cat atf-version.txt),g \ -e 's,__CXX__,g++,g' \ -e 's,__INCLUDEDIR__,/usr/include,g' \ -e 's,__LIBDIR__,/usr/lib,g' \ Index: src/external/bsd/atf/usr.bin/atf-sh/Makefile diff -u src/external/bsd/atf/usr.bin/atf-sh/Makefile:1.11 src/external/bsd/atf/usr.bin/atf-sh/Makefile:1.12 --- src/external/bsd/atf/usr.bin/atf-sh/Makefile:1.11 Sat Feb 15 04:19:46 2014 +++ src/external/bsd/atf/usr.bin/atf-sh/Makefile Sun Mar 2 22:50:13 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2014/02/15 04:19:46 jmmv Exp $ +# $NetBSD: Makefile,v 1.12 2014/03/02 22:50:13 jmmv Exp $ .include bsd.init.mk @@ -26,7 +26,7 @@ FILESDIR_atf-sh.pc= /usr/lib/pkgconfig realall: atf-sh.pc atf-sh.pc: Makefile atf-sh.pc.in atf-version.txt - ${TOOL_SED} -e 's,__ATF_VERSION__,$$(cat atf-version.txt),g' \ + ${TOOL_SED} -e s,__ATF_VERSION__,$$(cat atf-version.txt),g \ -e 's,__EXEC_PREFIX__,/usr,g' \ ${SRCDIR}/atf-sh/atf-sh.pc.in atf-sh.pc CLEANFILES+= atf-sh.pc Index: src/external/bsd/atf/usr.bin/atf-version/Makefile diff -u src/external/bsd/atf/usr.bin/atf-version/Makefile:1.12 src/external/bsd/atf/usr.bin/atf-version/Makefile:1.13 --- src/external/bsd/atf/usr.bin/atf-version/Makefile:1.12 Sat Feb 15 04:19:46 2014 +++ src/external/bsd/atf/usr.bin/atf-version/Makefile Sun Mar 2 22:50:13 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2014/02/15 04:19:46 jmmv Exp $ +# $NetBSD: Makefile,v 1.13 2014/03/02 22:50:13 jmmv Exp $ USE_ATF_LIBTOOLS= yes @@ -12,10 +12,13 @@ SRCS= atf-version.cpp MAN= atf-version.1 CPPFLAGS+= -I${SRCDIR}/tools +CPPFLAGS+= -I. WARNS?= 2 -CPPFLAGS+= -DATF_VERSION=\$(ATF_VERSION)\ -atf-version.o: atf-version.txt +DPSRCS+= version.hpp +CLEANFILES+=
CVS commit: src/external/cddl/osnet/dist/tools/ctf/cvt
Module Name:src Committed By: christos Date: Mon Mar 3 00:09:52 UTC 2014 Modified Files: src/external/cddl/osnet/dist/tools/ctf/cvt: dwarf.c Log Message: Don't core-dump if a type cannot be resolved. Still gives an error. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c diff -u src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c:1.6 src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c:1.7 --- src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c:1.6 Fri Jan 18 11:23:48 2013 +++ src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c Sun Mar 2 19:09:52 2014 @@ -1064,6 +1064,9 @@ die_sou_resolve(tdesc_t *tdp, tdesc_t ** if (ml-ml_size == 0) { mt = tdesc_basetype(ml-ml_type); + if (mt == NULL) +continue; + if ((ml-ml_size = tdesc_bitsize(mt)) != 0) continue;
CVS commit: src/share/man/man4
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 01:35:08 UTC 2014 Added Files: src/share/man/man4: micphy.4 Log Message: Add micphy(4) manpage To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/share/man/man4/micphy.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/share/man/man4/micphy.4 diff -u /dev/null src/share/man/man4/micphy.4:1.1 --- /dev/null Mon Mar 3 01:35:08 2014 +++ src/share/man/man4/micphy.4 Mon Mar 3 01:35:08 2014 @@ -0,0 +1,38 @@ +.\ $NetBSD: micphy.4,v 1.1 2014/03/03 01:35:08 ozaki-r Exp $ +.\ +.\ Copyright (c) 2014 The NetBSD Foundation, Inc. +.\ All rights reserved. +.\ +.\ Permission to use, copy, modify, and distribute this software for any +.\ purpose with or without fee is hereby granted, provided that the above +.\ copyright notice and this permission notice appear in all copies. +.\ +.\ THE SOFTWARE IS PROVIDED AS IS AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\ +.Dd March 3, 2014 +.Dt MICPHY 4 +.Os +.Sh NAME +.Nm micphy +.Nd Micrel KSZ9021 10/100/1000 PHY driver +.Sh SYNOPSIS +.Cd micphy* at mii? phy ? +.Sh DESCRIPTION +The +.Nm +driver currently supports only Micrel KSZ9021RN PHY. +The driver has a fixup for +.Xr cpsw 4 +which requires Gig-E PHYs to adjust RGMII signal timing. +.Sh SEE ALSO +.Xr cpsw 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8
CVS commit: src/share/man/man4
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 01:36:21 UTC 2014 Modified Files: src/share/man/man4: mii.4 Log Message: Mention micphy(4) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/share/man/man4/mii.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/mii.4 diff -u src/share/man/man4/mii.4:1.25 src/share/man/man4/mii.4:1.26 --- src/share/man/man4/mii.4:1.25 Tue Mar 13 19:25:40 2012 +++ src/share/man/man4/mii.4 Mon Mar 3 01:36:21 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: mii.4,v 1.25 2012/03/13 19:25:40 njoly Exp $ +.\ $NetBSD: mii.4,v 1.26 2014/03/03 01:36:21 ozaki-r Exp $ .\ .\ Copyright (c) 1998, 2002 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -28,7 +28,7 @@ .\ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\ POSSIBILITY OF SUCH DAMAGE. .\ -.Dd October 13, 2006 +.Dd March 3, 2014 .Dt MII 4 .Os .Sh NAME @@ -51,6 +51,7 @@ .Cd iophy*at mii? phy ? # Intel 82553 PHYs .Cd lxtphy* at mii? phy ? # Level One LXT-970 PHYs .Cd makphy* at mii? phy ? # Marvel 88E1000 Gig-E PHYs +.Cd micphy* at mii? phy ? # Micrel KSZ9021 Gig-E PHYs .Cd nsphy*at mii? phy ? # NatSemi DP83840 PHYs .Cd nsphyter* at mii? phy ? # NatSemi DP83843/DP83815 PHYs .Cd pnaphy* at mii? phy ? # Generic HomePNA PHYs @@ -113,6 +114,7 @@ program. .Xr iophy 4 , .Xr lxtphy 4 , .Xr makphy 4 , +.Xr micphy 4 , .Xr nsphy 4 , .Xr nsphyter 4 , .Xr pnaphy 4 ,
CVS commit: src/share/man/man4
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 02:03:31 UTC 2014 Modified Files: src/share/man/man4: Makefile Log Message: Add micphy.4 To generate a diff of this commit: cvs rdiff -u -r1.608 -r1.609 src/share/man/man4/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/Makefile diff -u src/share/man/man4/Makefile:1.608 src/share/man/man4/Makefile:1.609 --- src/share/man/man4/Makefile:1.608 Mon Feb 24 07:23:40 2014 +++ src/share/man/man4/Makefile Mon Mar 3 02:03:31 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.608 2014/02/24 07:23:40 skrll Exp $ +# $NetBSD: Makefile,v 1.609 2014/03/03 02:03:31 ozaki-r Exp $ # @(#)Makefile 8.1 (Berkeley) 6/18/93 MAN= aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \ @@ -38,7 +38,7 @@ MAN= aac.4 ac97.4 acardide.4 aceride.4 a kloader.4 kse.4 ksyms.4 kttcp.4 \ lc.4 ld.4 lii.4 lo.4 lua.4 lxtphy.4 \ mainbus.4 makphy.4 malo.4 mbe.4 mca.4 mcclock.4 md.4 mfb.4 mfi.4 mhzc.4 \ - midi.4 mii.4 mk48txx.4 mlx.4 mly.4 mpls.4 mpii.4 mpt.4 mpu.4 mtd.4 \ + micphy.4 midi.4 mii.4 mk48txx.4 mlx.4 mly.4 mpls.4 mpii.4 mpt.4 mpu.4 mtd.4 \ mtio.4 msm6242b.4 multicast.4 mvsata.4 \ nadb.4 ne.4 neo.4 netintro.4 nfe.4 nfsmb.4 njata.4 njs.4 \ nsclpcsio.4 nside.4 nsp.4 nsphy.4 nsphyter.4 ntwoc.4 null.4 nsmb.4 \
CVS commit: src/distrib/sets/lists/man
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 02:10:24 UTC 2014 Modified Files: src/distrib/sets/lists/man: mi Log Message: Add micphy To generate a diff of this commit: cvs rdiff -u -r1.1460 -r1.1461 src/distrib/sets/lists/man/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/man/mi diff -u src/distrib/sets/lists/man/mi:1.1460 src/distrib/sets/lists/man/mi:1.1461 --- src/distrib/sets/lists/man/mi:1.1460 Mon Feb 24 07:23:39 2014 +++ src/distrib/sets/lists/man/mi Mon Mar 3 02:10:24 2014 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1460 2014/02/24 07:23:39 skrll Exp $ +# $NetBSD: mi,v 1.1461 2014/03/03 02:10:24 ozaki-r Exp $ # # Note: don't delete entries from here - mark them as obsolete instead. # @@ -1363,6 +1363,7 @@ ./usr/share/man/cat4/mfi.0 man-sys-catman .cat ./usr/share/man/cat4/mgadrm.0 man-sys-catman .cat ./usr/share/man/cat4/mhzc.0 man-sys-catman .cat +./usr/share/man/cat4/micphy.0 man-sys-catman .cat ./usr/share/man/cat4/midi.0 man-sys-catman .cat ./usr/share/man/cat4/mii.0 man-sys-catman .cat ./usr/share/man/cat4/mixer.0 man-sys-catman .cat @@ -4333,6 +4334,7 @@ ./usr/share/man/html4/mfi.html man-sys-htmlman html ./usr/share/man/html4/mgadrm.html man-sys-htmlman html ./usr/share/man/html4/mhzc.html man-sys-htmlman html +./usr/share/man/html4/micphy.html man-sys-htmlman html ./usr/share/man/html4/midi.html man-sys-htmlman html ./usr/share/man/html4/mii.html man-sys-htmlman html ./usr/share/man/html4/mixer.html man-sys-htmlman html @@ -7151,6 +7153,7 @@ ./usr/share/man/man4/mfi.4 man-sys-man .man ./usr/share/man/man4/mgadrm.4 man-sys-man .man ./usr/share/man/man4/mhzc.4 man-sys-man .man +./usr/share/man/man4/micphy.4 man-sys-man .man ./usr/share/man/man4/midi.4 man-sys-man .man ./usr/share/man/man4/mii.4 man-sys-man .man ./usr/share/man/man4/mixer.4 man-sys-man .man
CVS commit: src/sys/arch/evbarm/cubie
Module Name:src Committed By: matt Date: Mon Mar 3 03:06:13 UTC 2014 Modified Files: src/sys/arch/evbarm/cubie: platform.h Log Message: Move IO KVA so it doesn't share the same TLB index as the kernel. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/cubie/platform.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/evbarm/cubie/platform.h diff -u src/sys/arch/evbarm/cubie/platform.h:1.1 src/sys/arch/evbarm/cubie/platform.h:1.2 --- src/sys/arch/evbarm/cubie/platform.h:1.1 Tue Sep 3 18:01:33 2013 +++ src/sys/arch/evbarm/cubie/platform.h Mon Mar 3 03:06:13 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: platform.h,v 1.1 2013/09/03 18:01:33 matt Exp $ */ +/* $NetBSD: platform.h,v 1.2 2014/03/03 03:06:13 matt Exp $ */ /* * Copyright (c) 2007 Microsoft * All rights reserved. @@ -35,10 +35,10 @@ /* * Memory may be mapped VA:PA starting at 0x8000:0x4000 - * Kernel VM space: 512MB at KERNEL_VM_BASE + * Kernel VM space: 576MB at KERNEL_VM_BASE */ #define KERNEL_VM_BASE 0xc000 -#define KERNEL_VM_SIZE 0x2000 +#define KERNEL_VM_SIZE 0x2400 /* * We devmap IO starting at KERNEL_VM_BASE + KERNEL_VM_SIZE @@ -48,5 +48,7 @@ #define AWIN_SRAM_VBASE (AWIN_CORE_VBASE + AWIN_CORE_SIZE) #define AWIN_KERNEL_IO_VEND (AWIN_SRAM_VBASE + AWIN_SRAM_SIZE) #define CONADDR_VA ((CONADDR - AWIN_CORE_PBASE) + AWIN_CORE_VBASE) - +#ifndef _LOCORE +CTASSERT(AWIN_KERNEL_IO_VEND = VM_MAX_KERNEL_ADDRESS); +#endif #endif /* _EVBARM_CUBIE_PLATFORM_H */
CVS commit: src/sys/arch/sparc64/include
Module Name:src Committed By: palle Date: Mon Mar 3 05:05:09 UTC 2014 Modified Files: src/sys/arch/sparc64/include: pte.h Log Message: sun4v: SUN4V_TLB_TSB_LOCK define should have the same LL (instead of UL) as the other defines To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sparc64/include/pte.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/sparc64/include/pte.h diff -u src/sys/arch/sparc64/include/pte.h:1.25 src/sys/arch/sparc64/include/pte.h:1.26 --- src/sys/arch/sparc64/include/pte.h:1.25 Fri Feb 21 18:00:09 2014 +++ src/sys/arch/sparc64/include/pte.h Mon Mar 3 05:05:09 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: pte.h,v 1.25 2014/02/21 18:00:09 palle Exp $ */ +/* $NetBSD: pte.h,v 1.26 2014/03/03 05:05:09 palle Exp $ */ /* * Copyright (c) 1996-1999 Eduardo Horvath @@ -241,7 +241,7 @@ typedef struct sun4u_tte pte_t; #define SUN4V_TLB_ACCESS 0x0010LL #define SUN4V_TLB_MODIFY 0x0020LL #define SUN4V_TLB_REAL_W 0x2000LL -#define SUN4V_TLB_TSB_LOCK 0x1000UL +#define SUN4V_TLB_TSB_LOCK 0x1000LL #define SUN4V_TLB_L SUN4V_TLB_TSB_LOCK #define SUN4V_TLB_EXEC SUN4V_TLB_X #define SUN4V_TLB_EXEC_ONLY 0x0200LL
CVS commit: src/sys/arch/hppa/conf
Module Name:src Committed By: skrll Date: Sun Mar 2 08:20:09 UTC 2014 Modified Files: src/sys/arch/hppa/conf: RAMDISK Log Message: Bump MEMORY_DISK_ROOT_SIZE To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hppa/conf/RAMDISK Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64
Module Name:src Committed By: nakayama Date: Sun Mar 2 08:50:34 UTC 2014 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: Makefile ghash-sparcv9.S sha1-sparcv9.S sha1-sparcv9a.S sha512-sparcv9.S Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: des_enc-sparc.S Log Message: Fix assembler code generation: pass option -m64 properly, and generate more code. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des_enc-sparc.S cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/ghash-sparcv9.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha1-sparcv9.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha1-sparcv9a.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto
Module Name:src Committed By: nakayama Date: Sun Mar 2 08:58:02 UTC 2014 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto: modes.inc sha.inc src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: crypto.inc des.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: aes.inc modes.inc sha.inc Log Message: Use more assembler code on sparc64. bn-sparcv9.S and OPENSSL_BN_ASM_MONT don't work well since they assume BN_ULONG is 32-bit, so don't use them. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/modes.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/sha.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/aes.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/modes.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha.inc cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/crypto.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/des.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc
Module Name:src Committed By: nakayama Date: Sun Mar 2 09:02:44 UTC 2014 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: des.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: Makefile aes-sparcv9.S aes.inc bn-sparcv8.S bn.inc crypto.inc des_enc-sparc.S ghash-sparcv9.S modes.inc sha.inc sha1-sparcv9.S sha1-sparcv9a.S sha512-sparcv9.S sparcv9-mont.S sparcv9a-mont.S Log Message: Use assembler code for 32-bit sparc compat library on sparc64. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/Makefile \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes-sparcv9.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/aes.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn-sparcv8.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/des_enc-sparc.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/ghash-sparcv9.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha1-sparcv9.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha1-sparcv9a.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sha512-sparcv9.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sparcv9-mont.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/sparcv9a-mont.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/des.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/conf
Module Name:src Committed By: joerg Date: Sun Mar 2 13:21:59 UTC 2014 Modified Files: src/sys/arch/arm/conf: Makefile.arm Log Message: Explicitly enable VFP support for vfp_init.c. Fixes build of INTEGRATOR_CP with clang. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/arm/conf/Makefile.arm Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/ep93xx
Module Name:src Committed By: joerg Date: Sun Mar 2 13:22:21 UTC 2014 Modified Files: src/sys/arch/arm/ep93xx: epe.c Log Message: Make the empty loop body explicit. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/ep93xx/epe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/ep93xx
Module Name:src Committed By: joerg Date: Sun Mar 2 13:22:33 UTC 2014 Modified Files: src/sys/arch/arm/ep93xx: ep93xx_intr.c Log Message: GC ipending. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/ep93xx/ep93xx_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: joerg Date: Sun Mar 2 13:23:17 UTC 2014 Modified Files: src/sys/arch/arm/xscale: i80321_space.c Log Message: Skip a tautologic check if we know it is one. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/xscale/i80321_space.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/ixp12x0
Module Name:src Committed By: joerg Date: Sun Mar 2 13:23:32 UTC 2014 Modified Files: src/sys/arch/arm/ixp12x0: ixp12x0_intr.c Log Message: GC ipending. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/arm/ixp12x0/ixp12x0_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: joerg Date: Sun Mar 2 13:24:38 UTC 2014 Modified Files: src/distrib/cats/ramdisk: Makefile src/sys/arch/cats/conf: INSTALL Log Message: Clang needs a slightly larger MD image, so bump the size to 2300k. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/distrib/cats/ramdisk/Makefile cvs rdiff -u -r1.91 -r1.92 src/sys/arch/cats/conf/INSTALL Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: joerg Date: Sun Mar 2 13:26:04 UTC 2014 Modified Files: src/sys/arch/evbarm/conf: TEAMASA_NPWR Log Message: Bump SYMTAB_SPACE for clang. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/arch/evbarm/conf/TEAMASA_NPWR Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: joerg Date: Sun Mar 2 13:25:43 UTC 2014 Modified Files: src/distrib/evbarm/instkernel/sshramdisk: Makefile src/sys/arch/evbarm/conf: INSTALL Log Message: Bump sshramdisk size to 3800k, reserve 4MB in the install kernel. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/distrib/evbarm/instkernel/sshramdisk/Makefile cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/INSTALL Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hpcarm/hpcarm
Module Name:src Committed By: joerg Date: Sun Mar 2 13:26:30 UTC 2014 Modified Files: src/sys/arch/hpcarm/hpcarm: locore.S Log Message: Be explicit about the double register use. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/hpcarm/hpcarm/locore.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hpcarm/hpcarm
Module Name:src Committed By: joerg Date: Sun Mar 2 13:27:38 UTC 2014 Modified Files: src/sys/arch/hpcarm/hpcarm: hpc_machdep.c kloader_machdep.c Log Message: Mark cpu_reset as dead and add an explicit __builtin_unreachable for a terminal function call for clang's noreturn diagnostic. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/hpcarm/hpcarm/hpc_machdep.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hpcarm/hpcarm/kloader_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/iyonix/iyonix
Module Name:src Committed By: joerg Date: Sun Mar 2 13:28:23 UTC 2014 Modified Files: src/sys/arch/iyonix/iyonix: iyonix_machdep.c Log Message: Initialize variables used to setup a dummy element. XXX bogus, needs review To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/iyonix/iyonix/iyonix_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/zaurus/conf
Module Name:src Committed By: joerg Date: Sun Mar 2 16:18:41 UTC 2014 Modified Files: src/sys/arch/zaurus/conf: Makefile.zaurus.inc Log Message: Don't overwrite MACHINE_ARCH if it is already set. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/zaurus/conf/Makefile.zaurus.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/kernel
Module Name:src Committed By: jmmv Date: Sun Mar 2 19:56:48 UTC 2014 Modified Files: src/tests/kernel: t_mqueue.c Log Message: Remove unnecessary and broken cleanup routine. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/kernel/t_mqueue.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/kernel
Module Name:src Committed By: jmmv Date: Sun Mar 2 20:13:12 UTC 2014 Modified Files: src/tests/kernel: t_sysv.c Log Message: Make cleanup routines actually work. The only way to pass global state from the body to the cleanup is via the file system. Fixes leaks of global system resources (in all cases, given that the body does not by itself clean things up). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/kernel/t_sysv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sun Mar 2 22:22:05 UTC 2014 Modified Files: src/share/mk: bsd.lib.mk bsd.prog.mk Log Message: If we are compiling with -g and using gcc4.8 and dtrace downgrade dwarf generation to version 2 for now. To generate a diff of this commit: cvs rdiff -u -r1.346 -r1.347 src/share/mk/bsd.lib.mk cvs rdiff -u -r1.287 -r1.288 src/share/mk/bsd.prog.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libm
Module Name:src Committed By: dsl Date: Sun Mar 2 22:40:45 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Include the subtest number in any error output. Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign because the test is being run with 'round towards -ve infinity' set. I think it getting set somewhere and causing this test to fail. The acos() code probably needs fixing - it shouldn't depend on the round mode like this. But first I want to know if this if the error. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libm/t_acos.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/atf
Module Name:src Committed By: jmmv Date: Sun Mar 2 22:50:13 UTC 2014 Modified Files: src/external/bsd/atf/dist/tools: atf-version.cpp src/external/bsd/atf/lib/libatf-c: Makefile src/external/bsd/atf/lib/libatf-c++: Makefile src/external/bsd/atf/usr.bin/atf-sh: Makefile src/external/bsd/atf/usr.bin/atf-version: Makefile Log Message: Fix bundling of the atf version into pkgconfig files and atf-version. Sigh; one more attempt. This time I'm sure I've verified that the .pc files contain the right number and that atf-version also outputs the right stuff... Both with a clean and non-clean obj directory. Should fix part of the problems reported in PR bin/48624. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/atf/dist/tools/atf-version.cpp cvs rdiff -u -r1.20 -r1.21 src/external/bsd/atf/lib/libatf-c/Makefile cvs rdiff -u -r1.23 -r1.24 src/external/bsd/atf/lib/libatf-c++/Makefile cvs rdiff -u -r1.11 -r1.12 src/external/bsd/atf/usr.bin/atf-sh/Makefile cvs rdiff -u -r1.12 -r1.13 src/external/bsd/atf/usr.bin/atf-version/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/osnet/dist/tools/ctf/cvt
Module Name:src Committed By: christos Date: Mon Mar 3 00:09:52 UTC 2014 Modified Files: src/external/cddl/osnet/dist/tools/ctf/cvt: dwarf.c Log Message: Don't core-dump if a type cannot be resolved. Still gives an error. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 01:35:08 UTC 2014 Added Files: src/share/man/man4: micphy.4 Log Message: Add micphy(4) manpage To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/share/man/man4/micphy.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 01:36:21 UTC 2014 Modified Files: src/share/man/man4: mii.4 Log Message: Mention micphy(4) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/share/man/man4/mii.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 02:03:31 UTC 2014 Modified Files: src/share/man/man4: Makefile Log Message: Add micphy.4 To generate a diff of this commit: cvs rdiff -u -r1.608 -r1.609 src/share/man/man4/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/man
Module Name:src Committed By: ozaki-r Date: Mon Mar 3 02:10:24 UTC 2014 Modified Files: src/distrib/sets/lists/man: mi Log Message: Add micphy To generate a diff of this commit: cvs rdiff -u -r1.1460 -r1.1461 src/distrib/sets/lists/man/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/cubie
Module Name:src Committed By: matt Date: Mon Mar 3 03:06:13 UTC 2014 Modified Files: src/sys/arch/evbarm/cubie: platform.h Log Message: Move IO KVA so it doesn't share the same TLB index as the kernel. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/cubie/platform.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist
Module Name:src Committed By: mrg Date: Mon Mar 3 03:28:56 UTC 2014 Modified Files: src/external/gpl3/gcc/dist/gcc: ChangeLog builtins.c configure configure.ac tree-cfg.c src/external/gpl3/gcc/dist/gcc/config/arm: arm.h arm.md src/external/gpl3/gcc/dist/gcc/config/i386: driver-i386.c i386.c src/external/gpl3/gcc/dist/gcc/config/mips: mips.c src/external/gpl3/gcc/dist/gcc/config/pa: pa.c pa.h src/external/gpl3/gcc/dist/gcc/doc: invoke.texi src/external/gpl3/gcc/dist/libgcc: config.host Removed Files: src/external/gpl3/gcc/dist/libitm/testsuite: Makefile.am Makefile.in src/external/gpl3/gcc/dist/libitm/testsuite/config: default.exp src/external/gpl3/gcc/dist/libitm/testsuite/lib: libitm-dg.exp libitm.exp src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c: c.exp cancel.c clone-1.c dropref-2.c dropref.c memcpy-1.c memset-1.c notx.c reentrant.c simple-1.c simple-2.c stackundo.c txrelease.c src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c++: c++.exp dropref.C eh-1.C static_ctor.C throwdown.C Log Message: merge GCC r208254. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/dist/gcc/ChangeLog \ src/external/gpl3/gcc/dist/gcc/configure cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/builtins.c cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/configure.ac cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/gcc/tree-cfg.c cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h \ src/external/gpl3/gcc/dist/gcc/config/arm/arm.md cvs rdiff -u -r1.3 -r1.4 \ src/external/gpl3/gcc/dist/gcc/config/i386/driver-i386.c cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/config/i386/i386.c cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/config/mips/mips.c cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/config/pa/pa.c \ src/external/gpl3/gcc/dist/gcc/config/pa/pa.h cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/gcc/doc/invoke.texi cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/libgcc/config.host cvs rdiff -u -r1.1.1.1 -r0 \ src/external/gpl3/gcc/dist/libitm/testsuite/Makefile.am \ src/external/gpl3/gcc/dist/libitm/testsuite/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 \ src/external/gpl3/gcc/dist/libitm/testsuite/config/default.exp cvs rdiff -u -r1.1.1.1 -r0 \ src/external/gpl3/gcc/dist/libitm/testsuite/lib/libitm-dg.exp \ src/external/gpl3/gcc/dist/libitm/testsuite/lib/libitm.exp cvs rdiff -u -r1.1.1.1 -r0 \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/c.exp \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/cancel.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/clone-1.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/dropref-2.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/dropref.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/memcpy-1.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/memset-1.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/notx.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/reentrant.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/simple-1.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/simple-2.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/stackundo.c \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c/txrelease.c cvs rdiff -u -r1.1.1.1 -r0 \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c++/c++.exp \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c++/dropref.C \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c++/eh-1.C \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c++/static_ctor.C \ src/external/gpl3/gcc/dist/libitm/testsuite/libitm.c++/throwdown.C Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/sparc64/include
Module Name:src Committed By: palle Date: Mon Mar 3 05:05:09 UTC 2014 Modified Files: src/sys/arch/sparc64/include: pte.h Log Message: sun4v: SUN4V_TLB_TSB_LOCK define should have the same LL (instead of UL) as the other defines To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sparc64/include/pte.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.