CVS commit: src/doc
Module Name:src Committed By: kamil Date: Sat Dec 28 04:23:26 UTC 2019 Modified Files: src/doc: TODO.sanitizers Log Message: Sync TODO.sanitizers with reality Done: - compiler-rt sanitizers integration with base - merge TSan, MSan and libFuzzer ATF tests - LSan - finish the research of a new syscall for StopTheWorld() operation ptrace(2) style for self-introspection and debugging (LSan) - attach a NetBSD buildbot testing build of compiler-rt and executing tests - kernel-msan https://github.com/google/kmsan To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/doc/TODO.sanitizers Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/TODO.sanitizers diff -u src/doc/TODO.sanitizers:1.11 src/doc/TODO.sanitizers:1.12 --- src/doc/TODO.sanitizers:1.11 Sun Mar 10 12:59:03 2019 +++ src/doc/TODO.sanitizers Sat Dec 28 04:23:26 2019 @@ -1,8 +1,6 @@ Sanitizer and related tasks. Short term: - - compiler-rt sanitizers integration with base - - merge TSan, MSan and libFuzzer ATF tests - prepare MKSANITIZER readme Long term: @@ -12,20 +10,16 @@ Long term: - improve the framework for ioctl(2) database and handle special cases when a part of a struct can be uninitialized and passed to the kernel (MSan) - port or finish the port of: - * LSan, * shadowcallstack, * cfi, * scudo, * DFSan. - - finish the research of a new syscall for StopTheWorld() operation - ptrace(2) style for self-introspection and debugging (LSan) - port HWASan -- aarch64 specific, needs hardware or emulator - make MKSANITIZER usable with any supported by a compiler combination of sanitizers - pkgsrc integration with sanitizers and MKSANITIZER (PKGSANITIZER?) - port what possible to !amd64 - fixes with the signal code - - attach a NetBSD buildbot testing build of compiler-rt and executing tests - make compiler-rt buildable with GCC - finish the support of float128 for Clang/LLVM/libstdc++/libgcc - merge of the libFuzzer integration with the basesystem @@ -36,7 +30,6 @@ Long term: Unspecified: - - kernel-msan https://github.com/google/kmsan - kernel-tsan? upstream development is stalled with patches for Linux 4.2 https://github.com/google/ktsan - kernel-safestack? implemented in Fuchsia/Magenta
CVS commit: src/sys/dev/pci
Module Name:src Committed By: gutteridge Date: Sat Dec 28 03:09:18 UTC 2019 Modified Files: src/sys/dev/pci: mlyreg.h Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/mlyreg.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/dev/pci/mlyreg.h diff -u src/sys/dev/pci/mlyreg.h:1.6 src/sys/dev/pci/mlyreg.h:1.7 --- src/sys/dev/pci/mlyreg.h:1.6 Tue Nov 21 10:55:23 2017 +++ src/sys/dev/pci/mlyreg.h Sat Dec 28 03:09:18 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: mlyreg.h,v 1.6 2017/11/21 10:55:23 maxv Exp $ */ +/* $NetBSD: mlyreg.h,v 1.7 2019/12/28 03:09:18 gutteridge Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -724,7 +724,7 @@ struct mly_ioctl_getlogdevinfovalid { u_int8_t ar5_algo; u_int16_t logical_device_number; u_int16_t bios_control; - /* erorr counters */ + /* error counters */ u_int16_t soft_errors;/* N/A */ u_int16_t commands_failed; /* N/A */ u_int16_t host_command_aborts; /* N/A */
CVS commit: src/sys/dev/marvell
Module Name:src Committed By: gutteridge Date: Sat Dec 28 03:07:18 UTC 2019 Modified Files: src/sys/dev/marvell: if_mvxpe.c Log Message: Fix typos in messages. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/marvell/if_mvxpe.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/dev/marvell/if_mvxpe.c diff -u src/sys/dev/marvell/if_mvxpe.c:1.30 src/sys/dev/marvell/if_mvxpe.c:1.31 --- src/sys/dev/marvell/if_mvxpe.c:1.30 Tue Oct 15 00:13:53 2019 +++ src/sys/dev/marvell/if_mvxpe.c Sat Dec 28 03:07:18 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_mvxpe.c,v 1.30 2019/10/15 00:13:53 chs Exp $ */ +/* $NetBSD: if_mvxpe.c,v 1.31 2019/12/28 03:07:18 gutteridge Exp $ */ /* * Copyright (c) 2015 Internet Initiative Japan Inc. * All rights reserved. @@ -25,7 +25,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.30 2019/10/15 00:13:53 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.31 2019/12/28 03:07:18 gutteridge Exp $"); #include "opt_multiprocessor.h" @@ -558,11 +558,11 @@ mvxpe_evcnt_attach(struct mvxpe_softc *s evcnt_attach_dynamic(&sc->sc_ev.ev_misc_srse, EVCNT_TYPE_INTR, NULL, device_xname(sc->sc_dev), "MISC SERDES sync error"); evcnt_attach_dynamic(&sc->sc_ev.ev_misc_txreq, EVCNT_TYPE_INTR, - NULL, device_xname(sc->sc_dev), "MISC Tx resource erorr"); + NULL, device_xname(sc->sc_dev), "MISC Tx resource error"); /* RxTx Interrupt */ evcnt_attach_dynamic(&sc->sc_ev.ev_rxtx_rreq, EVCNT_TYPE_INTR, - NULL, device_xname(sc->sc_dev), "RxTx Rx resource erorr"); + NULL, device_xname(sc->sc_dev), "RxTx Rx resource error"); evcnt_attach_dynamic(&sc->sc_ev.ev_rxtx_rpq, EVCNT_TYPE_INTR, NULL, device_xname(sc->sc_dev), "RxTx Rx packet"); evcnt_attach_dynamic(&sc->sc_ev.ev_rxtx_tbrq, EVCNT_TYPE_INTR, @@ -600,7 +600,7 @@ mvxpe_evcnt_attach(struct mvxpe_softc *s evcnt_attach_dynamic(&sc->sc_ev.ev_txd_ur, EVCNT_TYPE_MISC, NULL, device_xname(sc->sc_dev), "Tx FIFO underrun counter"); evcnt_attach_dynamic(&sc->sc_ev.ev_txd_oth, EVCNT_TYPE_MISC, - NULL, device_xname(sc->sc_dev), "Tx unkonwn erorr counter"); + NULL, device_xname(sc->sc_dev), "Tx unknown error counter"); /* Status Registers */ evcnt_attach_dynamic(&sc->sc_ev.ev_reg_pdfc, EVCNT_TYPE_MISC, @@ -610,7 +610,7 @@ mvxpe_evcnt_attach(struct mvxpe_softc *s evcnt_attach_dynamic(&sc->sc_ev.ev_reg_txbadfcs, EVCNT_TYPE_MISC, NULL, device_xname(sc->sc_dev), "Tx bad FCS counter"); evcnt_attach_dynamic(&sc->sc_ev.ev_reg_txdropped, EVCNT_TYPE_MISC, - NULL, device_xname(sc->sc_dev), "Tx dorpped counter"); + NULL, device_xname(sc->sc_dev), "Tx dropped counter"); evcnt_attach_dynamic(&sc->sc_ev.ev_reg_lpic, EVCNT_TYPE_MISC, NULL, device_xname(sc->sc_dev), "LP_IDLE counter");
CVS commit: src/sys/arch/mips/cavium/dev
Module Name:src Committed By: gutteridge Date: Sat Dec 28 02:58:59 UTC 2019 Modified Files: src/sys/arch/mips/cavium/dev: if_cnmac.c Log Message: Fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/cavium/dev/if_cnmac.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/mips/cavium/dev/if_cnmac.c diff -u src/sys/arch/mips/cavium/dev/if_cnmac.c:1.14 src/sys/arch/mips/cavium/dev/if_cnmac.c:1.15 --- src/sys/arch/mips/cavium/dev/if_cnmac.c:1.14 Fri Jun 7 07:41:22 2019 +++ src/sys/arch/mips/cavium/dev/if_cnmac.c Sat Dec 28 02:58:59 2019 @@ -1,8 +1,8 @@ -/* $NetBSD: if_cnmac.c,v 1.14 2019/06/07 07:41:22 martin Exp $ */ +/* $NetBSD: if_cnmac.c,v 1.15 2019/12/28 02:58:59 gutteridge Exp $ */ #include #if 0 -__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.14 2019/06/07 07:41:22 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.15 2019/12/28 02:58:59 gutteridge Exp $"); #endif #include "opt_octeon.h" @@ -20,7 +20,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v #endif /* - * If no free send buffer is available, free all the sent buffer and bail out. + * If no free send buffer is available, free all the sent buffers and bail out. */ #define OCTEON_ETH_SEND_QUEUE_CHECK @@ -1099,7 +1099,7 @@ octeon_eth_start(struct ifnet *ifp) /* * Performance tuning - * presend iobdma request + * pre-send iobdma request */ octeon_eth_send_queue_flush_prefetch(sc); @@ -1131,7 +1131,7 @@ octeon_eth_start(struct ifnet *ifp) /* * If no free send buffer is available, free all the sent - * buffer and bail out. + * buffers and bail out. */ if (octeon_eth_send_queue_is_full(sc)) { SET(ifp->if_flags, IFF_OACTIVE); @@ -1421,7 +1421,7 @@ octeon_eth_recv_check(struct octeon_eth_ return 1; } -#if 0 /* XXX Performance tunig (Jumbo-frame is not supported yet!) */ +#if 0 /* XXX Performance tuning (Jumbo-frame is not supported yet!) */ if (__predict_false(octeon_eth_recv_check_jumbo(sc, word2)) != 0) { /* XXX jumbo frame */ if (ratecheck(&sc->sc_rate_recv_check_jumbo_last, @@ -1438,10 +1438,10 @@ octeon_eth_recv_check(struct octeon_eth_ if ((word2 & PIP_WQE_WORD2_NOIP_OPECODE) == PIP_WQE_WORD2_RE_OPCODE_LENGTH) { /* No logging */ - /* XXX inclement special error count */ + /* XXX increment special error count */ } else if ((word2 & PIP_WQE_WORD2_NOIP_OPECODE) == PIP_WQE_WORD2_RE_OPCODE_PARTIAL) { - /* Not an erorr. it's because of overload */ + /* Not an error, it's because of overload */ } else { if (ratecheck(&sc->sc_rate_recv_check_code_last, @@ -1469,7 +1469,7 @@ octeon_eth_recv(struct octeon_eth_softc /* XXX XXX XXX */ /* * Performance tuning - * presend iobdma request + * pre-send iobdma request */ if (sc->sc_soft_req_cnt > sc->sc_soft_req_thresh) { octeon_eth_send_queue_flush_prefetch(sc);
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: pgoyette Date: Sat Dec 28 00:38:08 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: #include "opt_xen.h" so we can tell if we're in a XEN kernel. We need to know this in order to set module_machine correctly, which in turn is needed to set the module_base path from which modules are loaded and which provides the value of sysctl(8) variable kern.module.path Thanks to jnemeth@ for pointing out the problem. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/arch/x86/x86/x86_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/x86/x86/x86_machdep.c diff -u src/sys/arch/x86/x86/x86_machdep.c:1.133 src/sys/arch/x86/x86/x86_machdep.c:1.134 --- src/sys/arch/x86/x86/x86_machdep.c:1.133 Tue Dec 3 15:20:59 2019 +++ src/sys/arch/x86/x86/x86_machdep.c Sat Dec 28 00:38:08 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: x86_machdep.c,v 1.133 2019/12/03 15:20:59 riastradh Exp $ */ +/* $NetBSD: x86_machdep.c,v 1.134 2019/12/28 00:38:08 pgoyette Exp $ */ /*- * Copyright (c) 2002, 2006, 2007 YAMAMOTO Takashi, @@ -31,13 +31,14 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.133 2019/12/03 15:20:59 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.134 2019/12/28 00:38:08 pgoyette Exp $"); #include "opt_modular.h" #include "opt_physmem.h" #include "opt_splash.h" #include "opt_kaslr.h" #include "opt_svs.h" +#include "opt_xen.h" #include #include
CVS commit: src/sys/arch/aarch64/include
Module Name:src Committed By: rjs Date: Sat Dec 28 00:22:08 UTC 2019 Modified Files: src/sys/arch/aarch64/include: armreg.h Log Message: s/Memroy/Memory/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/aarch64/include/armreg.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/aarch64/include/armreg.h diff -u src/sys/arch/aarch64/include/armreg.h:1.29 src/sys/arch/aarch64/include/armreg.h:1.30 --- src/sys/arch/aarch64/include/armreg.h:1.29 Fri Dec 27 18:56:47 2019 +++ src/sys/arch/aarch64/include/armreg.h Sat Dec 28 00:22:08 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: armreg.h,v 1.29 2019/12/27 18:56:47 jmcneill Exp $ */ +/* $NetBSD: armreg.h,v 1.30 2019/12/28 00:22:08 rjs Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -1297,9 +1297,9 @@ struct aarch64_sysctl_cpu_id { uint64_t ac_aa64isar0; /* A64 Instruction Set Attribute Register 0 */ uint64_t ac_aa64isar1; /* A64 Instruction Set Attribute Register 1 */ - uint64_t ac_aa64mmfr0; /* A64 Memroy Model Feature Register 0 */ - uint64_t ac_aa64mmfr1; /* A64 Memroy Model Feature Register 1 */ - uint64_t ac_aa64mmfr2; /* A64 Memroy Model Feature Register 2 */ + uint64_t ac_aa64mmfr0; /* A64 Memory Model Feature Register 0 */ + uint64_t ac_aa64mmfr1; /* A64 Memory Model Feature Register 1 */ + uint64_t ac_aa64mmfr2; /* A64 Memory Model Feature Register 2 */ uint64_t ac_aa64pfr0; /* A64 Processor Feature Register 0 */ uint64_t ac_aa64pfr1; /* A64 Processor Feature Register 1 */
CVS commit: src/sys/arch/aarch64/aarch64
Module Name:src Committed By: mlelstv Date: Fri Dec 27 21:55:51 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Fix build. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/aarch64/aarch64/cpu.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/aarch64/aarch64/cpu.c diff -u src/sys/arch/aarch64/aarch64/cpu.c:1.29 src/sys/arch/aarch64/aarch64/cpu.c:1.30 --- src/sys/arch/aarch64/aarch64/cpu.c:1.29 Fri Dec 27 15:36:02 2019 +++ src/sys/arch/aarch64/aarch64/cpu.c Fri Dec 27 21:55:51 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.29 2019/12/27 15:36:02 skrll Exp $ */ +/* $NetBSD: cpu.c,v 1.30 2019/12/27 21:55:51 mlelstv Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.29 2019/12/27 15:36:02 skrll Exp $"); +__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.30 2019/12/27 21:55:51 mlelstv Exp $"); #include "locators.h" #include "opt_arm_debug.h" @@ -302,7 +302,8 @@ cpu_identify2(device_t self, struct cpu_ dfr0 = reg_id_aa64dfr0_el1_read(); - aprint_debug_dev(self, "midr=0x%\n" PRIx32, (uint32_t)ci->ci_id.ac_midr); + aprint_debug_dev(self, "midr=0x%" PRIx32 "\n", + (uint32_t)ci->ci_id.ac_midr); aprint_normal_dev(self, "revID=0x%" PRIx64, id->ac_revidr); /* ID_AA64DFR0_EL1 */
CVS commit: src/sys/arch/aarch64
Module Name:src Committed By: jmcneill Date: Fri Dec 27 18:56:47 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf locore.S pmap.c src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/aarch64/include: armreg.h pmap.h Log Message: Enable early write acknowledge for device memory mappings. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/aarch64/aarch64/genassym.cf cvs rdiff -u -r1.47 -r1.48 src/sys/arch/aarch64/aarch64/locore.S cvs rdiff -u -r1.56 -r1.57 src/sys/arch/aarch64/aarch64/pmap.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/aarch64/conf/files.aarch64 cvs rdiff -u -r1.28 -r1.29 src/sys/arch/aarch64/include/armreg.h cvs rdiff -u -r1.26 -r1.27 src/sys/arch/aarch64/include/pmap.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/aarch64/aarch64/genassym.cf diff -u src/sys/arch/aarch64/aarch64/genassym.cf:1.15 src/sys/arch/aarch64/aarch64/genassym.cf:1.16 --- src/sys/arch/aarch64/aarch64/genassym.cf:1.15 Sun Nov 24 11:23:16 2019 +++ src/sys/arch/aarch64/aarch64/genassym.cf Fri Dec 27 18:56:47 2019 @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.15 2019/11/24 11:23:16 skrll Exp $ +# $NetBSD: genassym.cf,v 1.16 2019/12/27 18:56:47 jmcneill Exp $ #- # Copyright (c) 2014 The NetBSD Foundation, Inc. # All rights reserved. @@ -336,6 +336,7 @@ define MAIR_ATTR1 MAIR_ATTR1 define MAIR_ATTR2 MAIR_ATTR2 define MAIR_ATTR3 MAIR_ATTR3 define MAIR_DEVICE_nGnRnE MAIR_DEVICE_nGnRnE +define MAIR_DEVICE_nGnRE MAIR_DEVICE_nGnRE define MAIR_NORMAL_NC MAIR_NORMAL_NC define MAIR_NORMAL_WT MAIR_NORMAL_WT define MAIR_NORMAL_WB MAIR_NORMAL_WB Index: src/sys/arch/aarch64/aarch64/locore.S diff -u src/sys/arch/aarch64/aarch64/locore.S:1.47 src/sys/arch/aarch64/aarch64/locore.S:1.48 --- src/sys/arch/aarch64/aarch64/locore.S:1.47 Thu Dec 26 08:48:53 2019 +++ src/sys/arch/aarch64/aarch64/locore.S Fri Dec 27 18:56:47 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.47 2019/12/26 08:48:53 skrll Exp $ */ +/* $NetBSD: locore.S,v 1.48 2019/12/27 18:56:47 jmcneill Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -38,8 +38,13 @@ #include #include "assym.h" -RCSID("$NetBSD: locore.S,v 1.47 2019/12/26 08:48:53 skrll Exp $") +RCSID("$NetBSD: locore.S,v 1.48 2019/12/27 18:56:47 jmcneill Exp $") +#ifdef AARCH64_DEVICE_MEM_STRICTLY_ORDERED +#define MAIR_DEVICE_MEM MAIR_DEVICE_nGnRnE +#else +#define MAIR_DEVICE_MEM MAIR_DEVICE_nGnRE +#endif /*#define DEBUG_LOCORE /* debug print */ /*#define DEBUG_LOCORE_PRINT_LOCK /* avoid mixing AP's output */ @@ -948,7 +953,7 @@ mair_setting: __SHIFTIN(MAIR_NORMAL_WB, MAIR_ATTR0) | \ __SHIFTIN(MAIR_NORMAL_NC, MAIR_ATTR1) | \ __SHIFTIN(MAIR_NORMAL_WT, MAIR_ATTR2) | \ - __SHIFTIN(MAIR_DEVICE_nGnRnE, MAIR_ATTR3)) + __SHIFTIN(MAIR_DEVICE_MEM, MAIR_ATTR3)) #define VIRT_BIT 48 Index: src/sys/arch/aarch64/aarch64/pmap.c diff -u src/sys/arch/aarch64/aarch64/pmap.c:1.56 src/sys/arch/aarch64/aarch64/pmap.c:1.57 --- src/sys/arch/aarch64/aarch64/pmap.c:1.56 Thu Dec 19 07:44:56 2019 +++ src/sys/arch/aarch64/aarch64/pmap.c Fri Dec 27 18:56:47 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.56 2019/12/19 07:44:56 skrll Exp $ */ +/* $NetBSD: pmap.c,v 1.57 2019/12/27 18:56:47 jmcneill Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.56 2019/12/19 07:44:56 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.57 2019/12/27 18:56:47 jmcneill Exp $"); #include "opt_arm_debug.h" #include "opt_ddb.h" @@ -953,7 +953,7 @@ _pmap_pte_adjust_cacheflags(pt_entry_t p switch (flags & (PMAP_CACHE_MASK|PMAP_DEV)) { case PMAP_DEV ... PMAP_DEV | PMAP_CACHE_MASK: - pte |= LX_BLKPAG_ATTR_DEVICE_MEM; /* nGnRnE */ + pte |= LX_BLKPAG_ATTR_DEVICE_MEM; /* Device-nGnRE */ break; case PMAP_NOCACHE: case PMAP_NOCACHE_OVR: Index: src/sys/arch/aarch64/conf/files.aarch64 diff -u src/sys/arch/aarch64/conf/files.aarch64:1.14 src/sys/arch/aarch64/conf/files.aarch64:1.15 --- src/sys/arch/aarch64/conf/files.aarch64:1.14 Wed Nov 20 19:37:51 2019 +++ src/sys/arch/aarch64/conf/files.aarch64 Fri Dec 27 18:56:47 2019 @@ -1,9 +1,10 @@ -# $NetBSD: files.aarch64,v 1.14 2019/11/20 19:37:51 pgoyette Exp $ +# $NetBSD: files.aarch64,v 1.15 2019/12/27 18:56:47 jmcneill Exp $ defflag opt_cpuoptions.h AARCH64_ALIGNMENT_CHECK defflag opt_cpuoptions.h AARCH64_EL0_STACK_ALIGNMENT_CHECK defflag opt_cpuoptions.h AARCH64_EL1_STACK_ALIGNMENT_CHECK defflag opt_cpuoptions.h AARCH64_HAVE_L2CTLR +defflag opt_cpuoptions.h AARCH64_DEVICE_MEM_STRICTLY_ORDERED defflag opt_cputypes.h CPU_ARMV8 defflag opt_cputypes.h CPU_CORTEX: CPU_ARMV8 Index: src/sys/arch/aarch64/include/armreg.h diff -u src/sys/arch/aarch64/include/armreg.h:1.28 src/sys/arch/aarch64/include/armreg.h:1.29 --- src/sys/arch/aarch64/include/armreg.h:1.28 Sun Sep 15 15:16:30 2019
CVS commit: src/sys/kern
Module Name:src Committed By: maxv Date: Fri Dec 27 15:49:20 UTC 2019 Modified Files: src/sys/kern: subr_pool.c Log Message: Switch to panic, and make the message more useful. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 src/sys/kern/subr_pool.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/kern/subr_pool.c diff -u src/sys/kern/subr_pool.c:1.263 src/sys/kern/subr_pool.c:1.264 --- src/sys/kern/subr_pool.c:1.263 Tue Dec 3 15:20:59 2019 +++ src/sys/kern/subr_pool.c Fri Dec 27 15:49:20 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.263 2019/12/03 15:20:59 riastradh Exp $ */ +/* $NetBSD: subr_pool.c,v 1.264 2019/12/27 15:49:20 maxv Exp $ */ /* * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018 @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.263 2019/12/03 15:20:59 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.264 2019/12/27 15:49:20 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_ddb.h" @@ -3134,17 +3134,17 @@ pool_redzone_check(struct pool *pp, void pat = pool_pattern_generate(cp); expected = (pat == '\0') ? STATIC_BYTE: pat; - if (__predict_false(expected != *cp)) { - printf("%s: %p: 0x%02x != 0x%02x\n", - __func__, cp, *cp, expected); + if (__predict_false(*cp != expected)) { + panic("%s: [%s] 0x%02x != 0x%02x", __func__, + pp->pr_wchan, *cp, expected); } cp++; while (cp < ep) { expected = pool_pattern_generate(cp); if (__predict_false(*cp != expected)) { - printf("%s: %p: 0x%02x != 0x%02x\n", - __func__, cp, *cp, expected); + panic("%s: [%s] 0x%02x != 0x%02x", __func__, + pp->pr_wchan, *cp, expected); } cp++; }
CVS commit: src/sys/arch/aarch64/aarch64
Module Name:src Committed By: skrll Date: Fri Dec 27 15:36:02 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Add a missing newline To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/aarch64/aarch64/cpu.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/aarch64/aarch64/cpu.c diff -u src/sys/arch/aarch64/aarch64/cpu.c:1.28 src/sys/arch/aarch64/aarch64/cpu.c:1.29 --- src/sys/arch/aarch64/aarch64/cpu.c:1.28 Sat Dec 21 12:53:54 2019 +++ src/sys/arch/aarch64/aarch64/cpu.c Fri Dec 27 15:36:02 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.28 2019/12/21 12:53:54 ad Exp $ */ +/* $NetBSD: cpu.c,v 1.29 2019/12/27 15:36:02 skrll Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.28 2019/12/21 12:53:54 ad Exp $"); +__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.29 2019/12/27 15:36:02 skrll Exp $"); #include "locators.h" #include "opt_arm_debug.h" @@ -302,6 +302,7 @@ cpu_identify2(device_t self, struct cpu_ dfr0 = reg_id_aa64dfr0_el1_read(); + aprint_debug_dev(self, "midr=0x%\n" PRIx32, (uint32_t)ci->ci_id.ac_midr); aprint_normal_dev(self, "revID=0x%" PRIx64, id->ac_revidr); /* ID_AA64DFR0_EL1 */
CVS commit: src/sys/uvm
Module Name:src Committed By: ad Date: Fri Dec 27 13:24:53 UTC 2019 Modified Files: src/sys/uvm: uvm_pgflcache.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/uvm_pgflcache.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/uvm/uvm_pgflcache.c diff -u src/sys/uvm/uvm_pgflcache.c:1.1 src/sys/uvm/uvm_pgflcache.c:1.2 --- src/sys/uvm/uvm_pgflcache.c:1.1 Fri Dec 27 12:51:57 2019 +++ src/sys/uvm/uvm_pgflcache.c Fri Dec 27 13:24:52 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_pgflcache.c,v 1.1 2019/12/27 12:51:57 ad Exp $ */ +/* $NetBSD: uvm_pgflcache.c,v 1.2 2019/12/27 13:24:52 ad Exp $ */ /*- * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -43,7 +43,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_pgflcache.c,v 1.1 2019/12/27 12:51:57 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_pgflcache.c,v 1.2 2019/12/27 13:24:52 ad Exp $"); #include "opt_uvm.h" #include "opt_multiprocessor.h" @@ -400,7 +400,7 @@ uvm_pgflcache_start(void) return; } - /* Create each CPU's buckets. */ + /* Create data structures for each CPU. */ for (CPU_INFO_FOREACH(cii, ci)) { uvm_pgflcache_init_cpu(ci); }
CVS commit: src/sys/uvm
Module Name:src Committed By: ad Date: Fri Dec 27 13:19:25 UTC 2019 Modified Files: src/sys/uvm: uvm.h uvm_page.c Log Message: Nothing uses uvm.cpus any more, and we can do the same with cpu_lookup(), so get rid of it. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/uvm/uvm.h cvs rdiff -u -r1.213 -r1.214 src/sys/uvm/uvm_page.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/uvm/uvm.h diff -u src/sys/uvm/uvm.h:1.71 src/sys/uvm/uvm.h:1.72 --- src/sys/uvm/uvm.h:1.71 Fri Dec 27 12:51:57 2019 +++ src/sys/uvm/uvm.h Fri Dec 27 13:19:24 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm.h,v 1.71 2019/12/27 12:51:57 ad Exp $ */ +/* $NetBSD: uvm.h,v 1.72 2019/12/27 13:19:24 ad Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -78,11 +78,14 @@ struct pgflcache; */ struct uvm_cpu { + /* allocator */ struct pgflcache *pgflcache[VM_NFREELIST];/* cpu-local cached pages */ void *pgflcachemem; /* pointer to allocated mem */ size_t pgflcachememsz; /* size of allocated memory */ u_int pgflcolor; /* next color to allocate */ u_int pgflbucket; /* where to send our pages */ + + /* entropy */ krndsource_t rs; /* entropy source */ }; @@ -109,9 +112,6 @@ struct uvm { /* aio_done is locked by uvm.pagedaemon_lock and splbio! */ TAILQ_HEAD(, buf) aio_done; /* done async i/o reqs */ - - /* per-cpu data */ - struct uvm_cpu *cpus[MAXCPUS]; }; /* Index: src/sys/uvm/uvm_page.c diff -u src/sys/uvm/uvm_page.c:1.213 src/sys/uvm/uvm_page.c:1.214 --- src/sys/uvm/uvm_page.c:1.213 Fri Dec 27 12:51:57 2019 +++ src/sys/uvm/uvm_page.c Fri Dec 27 13:19:24 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_page.c,v 1.213 2019/12/27 12:51:57 ad Exp $ */ +/* $NetBSD: uvm_page.c,v 1.214 2019/12/27 13:19:24 ad Exp $ */ /*- * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -95,7 +95,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.213 2019/12/27 12:51:57 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.214 2019/12/27 13:19:24 ad Exp $"); #include "opt_ddb.h" #include "opt_uvm.h" @@ -328,7 +328,6 @@ uvm_page_init(vaddr_t *kvm_startp, vaddr * structures). */ - uvm.cpus[0] = &boot_cpu; curcpu()->ci_data.cpu_uvm = &boot_cpu; uvmpdpol_init(); for (b = 0; b < __arraycount(uvm_freelist_locks); b++) { @@ -979,17 +978,17 @@ uvm_cpu_attach(struct cpu_info *ci) KM_SLEEP); ucpu = (struct uvm_cpu *)roundup2((uintptr_t)ucpu, coherency_unit); - uvm.cpus[cpu_index(ci)] = ucpu; ci->ci_data.cpu_uvm = ucpu; + } else { + ucpu = ci->ci_data.cpu_uvm; } /* * Attach RNG source for this CPU's VM events */ -rnd_attach_source(&uvm.cpus[cpu_index(ci)]->rs, - ci->ci_data.cpu_name, RND_TYPE_VM, - RND_FLAG_COLLECT_TIME|RND_FLAG_COLLECT_VALUE| - RND_FLAG_ESTIMATE_VALUE); +rnd_attach_source(&ucpu->rs, ci->ci_data.cpu_name, RND_TYPE_VM, + RND_FLAG_COLLECT_TIME|RND_FLAG_COLLECT_VALUE| + RND_FLAG_ESTIMATE_VALUE); } /*
CVS commit: src/sys/uvm
Module Name:src Committed By: ad Date: Fri Dec 27 13:13:17 UTC 2019 Modified Files: src/sys/uvm: uvm_page.h uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: vm_page: Now that listq is gone, give the pagedaemon its own private TAILQ_ENTRY, so that update of page replacement state can be made asynchronous/lazy. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/uvm/uvm_page.h cvs rdiff -u -r1.22 -r1.23 src/sys/uvm/uvm_pdpolicy_clock.c cvs rdiff -u -r1.18 -r1.19 src/sys/uvm/uvm_pdpolicy_clockpro.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/uvm/uvm_page.h diff -u src/sys/uvm/uvm_page.h:1.89 src/sys/uvm/uvm_page.h:1.90 --- src/sys/uvm/uvm_page.h:1.89 Fri Dec 27 12:51:57 2019 +++ src/sys/uvm/uvm_page.h Fri Dec 27 13:13:17 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_page.h,v 1.89 2019/12/27 12:51:57 ad Exp $ */ +/* $NetBSD: uvm_page.h,v 1.90 2019/12/27 13:13:17 ad Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -150,12 +150,13 @@ struct vm_page { * or uvm_pglistalloc output */ LIST_ENTRY(vm_page) list; /* f: global free page queue */ } pageq; + TAILQ_ENTRY(vm_page) pdqueue; /* p: pagedaemon queue */ struct vm_anon *uanon; /* o,i: anon */ struct uvm_object *uobject; /* o,i: object */ voff_t offset; /* o: offset into object */ uint16_t flags; /* o: object flags */ uint16_t spare; /* : spare for now */ - uint32_t pqflags; /* p: pdpolicy queue flags */ + uint32_t pqflags; /* p: pagedaemon flags */ uint32_t loan_count; /* o,i: num. active loans */ uint32_t wire_count; /* o,i: wired down map refs */ paddr_t phys_addr; /* o: physical address of pg */ Index: src/sys/uvm/uvm_pdpolicy_clock.c diff -u src/sys/uvm/uvm_pdpolicy_clock.c:1.22 src/sys/uvm/uvm_pdpolicy_clock.c:1.23 --- src/sys/uvm/uvm_pdpolicy_clock.c:1.22 Mon Dec 23 19:29:03 2019 +++ src/sys/uvm/uvm_pdpolicy_clock.c Fri Dec 27 13:13:17 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_pdpolicy_clock.c,v 1.22 2019/12/23 19:29:03 ad Exp $ */ +/* $NetBSD: uvm_pdpolicy_clock.c,v 1.23 2019/12/27 13:13:17 ad Exp $ */ /* NetBSD: uvm_pdaemon.c,v 1.72 2006/01/05 10:47:33 yamt Exp $ */ /* @@ -69,7 +69,7 @@ #else /* defined(PDSIM) */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_pdpolicy_clock.c,v 1.22 2019/12/23 19:29:03 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_pdpolicy_clock.c,v 1.23 2019/12/27 13:13:17 ad Exp $"); #include #include @@ -207,7 +207,7 @@ uvmpdpol_selectvictim(kmutex_t **plock) if (pg == NULL) { break; } - ss->ss_nextpg = TAILQ_NEXT(pg, pageq.queue); + ss->ss_nextpg = TAILQ_NEXT(pg, pdqueue); uvmexp.pdscans++; /* @@ -313,7 +313,7 @@ uvmpdpol_balancequeue(int swap_shortage) for (p = TAILQ_FIRST(&pdpol_state.s_activeq); p != NULL && (inactive_shortage > 0 || swap_shortage > 0); p = nextpg) { - nextpg = TAILQ_NEXT(p, pageq.queue); + nextpg = TAILQ_NEXT(p, pdqueue); /* * if there's a shortage of swap slots, try to free it. @@ -371,7 +371,7 @@ uvmpdpol_pagedeactivate_locked(struct vm KASSERT(uvm_page_locked_p(pg)); if (pg->pqflags & PQ_ACTIVE) { - TAILQ_REMOVE(&pdpol_state.s_activeq, pg, pageq.queue); + TAILQ_REMOVE(&pdpol_state.s_activeq, pg, pdqueue); pg->pqflags &= ~(PQ_ACTIVE | PQ_TIME); KASSERT(pdpol_state.s_active > 0); pdpol_state.s_active--; @@ -379,7 +379,7 @@ uvmpdpol_pagedeactivate_locked(struct vm if ((pg->pqflags & PQ_INACTIVE) == 0) { KASSERT(pg->wire_count == 0); pmap_clear_reference(pg); - TAILQ_INSERT_TAIL(&pdpol_state.s_inactiveq, pg, pageq.queue); + TAILQ_INSERT_TAIL(&pdpol_state.s_inactiveq, pg, pdqueue); pg->pqflags |= PQ_INACTIVE; pdpol_state.s_inactive++; } @@ -400,7 +400,7 @@ uvmpdpol_pageactivate_locked(struct vm_p { uvmpdpol_pagedequeue_locked(pg); - TAILQ_INSERT_TAIL(&pdpol_state.s_activeq, pg, pageq.queue); + TAILQ_INSERT_TAIL(&pdpol_state.s_activeq, pg, pdqueue); pg->pqflags = PQ_ACTIVE | (hardclock_ticks & PQ_TIME); pdpol_state.s_active++; } @@ -424,12 +424,12 @@ uvmpdpol_pagedequeue_locked(struct vm_pa { if (pg->pqflags & PQ_ACTIVE) { - TAILQ_REMOVE(&pdpol_state.s_activeq, pg, pageq.queue); + TAILQ_REMOVE(&pdpol_state.s_activeq, pg, pdqueue); pg->pqflags &= ~(PQ_ACTIVE | PQ_TIME); KASSERT(pdpol_state.s_active > 0); pdpol_state.s_active--; } else if (pg->pqflags & PQ_INACTIVE) { - TAILQ_REMOVE(&pdpol_state.s_inactiveq, pg, pageq.queue); + TAILQ_REMOVE(&pdpol_state.s_inactiveq, pg, pdqueue); pg->pqflags &= ~PQ_INACTIVE; KASSERT(pdpol_state.s_inactive > 0); pdpol_state.s_inactive--; Index: src/sys/uvm/uvm_pdpolicy_clockpro.c diff -u src/sys/uvm/uvm_pdpolicy_clockpro.c:1.18 src/sys/uvm/uvm_pdpolicy_clockpro.c:1.19 --- src/sys/uvm/uvm_pdpolicy_clockpro.c:1.18 Fri Dec 13 20:10:22 2019 +++ src/sys/uvm/uvm_pdpolicy_clockpro.c Fri Dec 27 13:13:17 2019 @@ -1,4 +1,4
CVS commit: src/sys/sys
Module Name:src Committed By: ad Date: Fri Dec 27 12:53:40 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.31 - page allocator changes, struct vm_page changed To generate a diff of this commit: cvs rdiff -u -r1.631 -r1.632 src/sys/sys/param.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/sys/param.h diff -u src/sys/sys/param.h:1.631 src/sys/sys/param.h:1.632 --- src/sys/sys/param.h:1.631 Tue Dec 24 15:20:34 2019 +++ src/sys/sys/param.h Fri Dec 27 12:53:40 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.631 2019/12/24 15:20:34 kamil Exp $ */ +/* $NetBSD: param.h,v 1.632 2019/12/27 12:53:40 ad Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -67,7 +67,7 @@ * 2.99.9 (299000900) */ -#define __NetBSD_Version__ 999003000 /* NetBSD 9.99.30 */ +#define __NetBSD_Version__ 999003100 /* NetBSD 9.99.31 */ #define __NetBSD_Prereq__(M,m,p) (M) * 1) + \ (m) * 100) + (p) * 100) <= __NetBSD_Version__)
CVS commit: src/sys
Module Name:src Committed By: ad Date: Fri Dec 27 12:51:57 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: autoconf.c src/sys/arch/i386/i386: autoconf.c src/sys/ddb: db_command.c src/sys/dev/acpi: acpi_srat.c acpi_srat.h src/sys/kern: init_main.c src/sys/uvm: files.uvm uvm.h uvm_ddb.h uvm_extern.h uvm_glue.c uvm_init.c uvm_page.c uvm_page.h uvm_pglist.c uvm_pglist.h Added Files: src/sys/uvm: uvm_pgflcache.c uvm_pgflcache.h Log Message: Redo the page allocator to perform better, especially on multi-core and multi-socket systems. Proposed on tech-kern. While here: - add rudimentary NUMA support - needs more work. - remove now unused "listq" from vm_page. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/amd64/amd64/autoconf.c cvs rdiff -u -r1.105 -r1.106 src/sys/arch/i386/i386/autoconf.c cvs rdiff -u -r1.165 -r1.166 src/sys/ddb/db_command.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/acpi_srat.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/acpi_srat.h cvs rdiff -u -r1.512 -r1.513 src/sys/kern/init_main.c cvs rdiff -u -r1.31 -r1.32 src/sys/uvm/files.uvm cvs rdiff -u -r1.70 -r1.71 src/sys/uvm/uvm.h cvs rdiff -u -r1.15 -r1.16 src/sys/uvm/uvm_ddb.h cvs rdiff -u -r1.215 -r1.216 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.172 -r1.173 src/sys/uvm/uvm_glue.c cvs rdiff -u -r1.51 -r1.52 src/sys/uvm/uvm_init.c cvs rdiff -u -r1.212 -r1.213 src/sys/uvm/uvm_page.c cvs rdiff -u -r1.88 -r1.89 src/sys/uvm/uvm_page.h cvs rdiff -u -r0 -r1.1 src/sys/uvm/uvm_pgflcache.c \ src/sys/uvm/uvm_pgflcache.h cvs rdiff -u -r1.77 -r1.78 src/sys/uvm/uvm_pglist.c cvs rdiff -u -r1.8 -r1.9 src/sys/uvm/uvm_pglist.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/amd64/amd64/autoconf.c diff -u src/sys/arch/amd64/amd64/autoconf.c:1.28 src/sys/arch/amd64/amd64/autoconf.c:1.29 --- src/sys/arch/amd64/amd64/autoconf.c:1.28 Sun Oct 22 00:59:28 2017 +++ src/sys/arch/amd64/amd64/autoconf.c Fri Dec 27 12:51:56 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.28 2017/10/22 00:59:28 maya Exp $ */ +/* $NetBSD: autoconf.c,v 1.29 2019/12/27 12:51:56 ad Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -46,7 +46,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2017/10/22 00:59:28 maya Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.29 2019/12/27 12:51:56 ad Exp $"); #include "opt_multiprocessor.h" #include "opt_intrdebug.h" @@ -60,9 +60,14 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v #include #include +#include "acpica.h" #include "ioapic.h" #include "lapic.h" +#if NACPICA > 0 +#include +#endif + #if NIOAPIC > 0 #include #endif @@ -112,6 +117,11 @@ cpu_configure(void) cpu_init_idle_lwps(); #endif +#if NACPICA > 0 + /* Load NUMA memory regions into UVM. */ + acpisrat_load_uvm(); +#endif + spl0(); lcr8(0); } Index: src/sys/arch/i386/i386/autoconf.c diff -u src/sys/arch/i386/i386/autoconf.c:1.105 src/sys/arch/i386/i386/autoconf.c:1.106 --- src/sys/arch/i386/i386/autoconf.c:1.105 Sun Oct 22 00:59:28 2017 +++ src/sys/arch/i386/i386/autoconf.c Fri Dec 27 12:51:56 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.105 2017/10/22 00:59:28 maya Exp $ */ +/* $NetBSD: autoconf.c,v 1.106 2019/12/27 12:51:56 ad Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -46,7 +46,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.105 2017/10/22 00:59:28 maya Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.106 2019/12/27 12:51:56 ad Exp $"); #include "opt_intrdebug.h" #include "opt_multiprocessor.h" @@ -65,9 +65,14 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v #include #include +#include "acpica.h" #include "ioapic.h" #include "lapic.h" +#if NACPICA > 0 +#include +#endif + #if NIOAPIC > 0 #include #endif @@ -132,6 +137,11 @@ cpu_configure(void) cpu_init_idle_lwps(); #endif +#if NACPICA > 0 + /* Load NUMA memory regions into UVM. */ + acpisrat_load_uvm(); +#endif + spl0(); #if NLAPIC > 0 lapic_write_tpri(0); Index: src/sys/ddb/db_command.c diff -u src/sys/ddb/db_command.c:1.165 src/sys/ddb/db_command.c:1.166 --- src/sys/ddb/db_command.c:1.165 Sun Dec 15 20:29:08 2019 +++ src/sys/ddb/db_command.c Fri Dec 27 12:51:56 2019 @@ -1,7 +1,8 @@ -/* $NetBSD: db_command.c,v 1.165 2019/12/15 20:29:08 joerg Exp $ */ +/* $NetBSD: db_command.c,v 1.166 2019/12/27 12:51:56 ad Exp $ */ /* - * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009 The NetBSD Foundation, Inc. + * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019 + * The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation @@ -60,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.165 2019/12/15 20:29:08 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: d
CVS commit: src/usr.sbin/fstyp
Module Name:src Committed By: tkusumi Date: Fri Dec 27 11:15:06 UTC 2019 Modified Files: src/usr.sbin/fstyp: Makefile fstyp.c fstyp.h Added Files: src/usr.sbin/fstyp: apfs.c Log Message: fstyp: Add APFS support taken-from: FreeBSD (freebsd/freebsd@171bb54729d6d6554eb09c9a3507b184795f33e3) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/fstyp/Makefile cvs rdiff -u -r0 -r1.1 src/usr.sbin/fstyp/apfs.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fstyp/fstyp.c cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/fstyp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/fstyp/Makefile diff -u src/usr.sbin/fstyp/Makefile:1.7 src/usr.sbin/fstyp/Makefile:1.8 --- src/usr.sbin/fstyp/Makefile:1.7 Fri Dec 27 11:06:23 2019 +++ src/usr.sbin/fstyp/Makefile Fri Dec 27 11:15:06 2019 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2019/12/27 11:06:23 tkusumi Exp $ +# $NetBSD: Makefile,v 1.8 2019/12/27 11:15:06 tkusumi Exp $ .include PROG= fstyp -SRCS= cd9660.c exfat.c ext2fs.c fstyp.c hfsplus.c msdosfs.c ntfs.c ufs.c +SRCS= apfs.c cd9660.c exfat.c ext2fs.c fstyp.c hfsplus.c msdosfs.c ntfs.c ufs.c .if (${MKZFS} != "no") SRCS+= zfs.c Index: src/usr.sbin/fstyp/fstyp.c diff -u src/usr.sbin/fstyp/fstyp.c:1.4 src/usr.sbin/fstyp/fstyp.c:1.5 --- src/usr.sbin/fstyp/fstyp.c:1.4 Fri Dec 27 11:06:23 2019 +++ src/usr.sbin/fstyp/fstyp.c Fri Dec 27 11:15:06 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fstyp.c,v 1.4 2019/12/27 11:06:23 tkusumi Exp $ */ +/* $NetBSD: fstyp.c,v 1.5 2019/12/27 11:15:06 tkusumi Exp $ */ /*- * Copyright (c) 2017 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ * */ #include -__RCSID("$NetBSD: fstyp.c,v 1.4 2019/12/27 11:06:23 tkusumi Exp $"); +__RCSID("$NetBSD: fstyp.c,v 1.5 2019/12/27 11:15:06 tkusumi Exp $"); #include #include @@ -63,6 +63,7 @@ static struct { fstyp_function function; bool unmountable; } fstypes[] = { + { "apfs", &fstyp_apfs, true }, { "cd9660", &fstyp_cd9660, false }, { "exfat", &fstyp_exfat, false }, { "ext2fs", &fstyp_ext2fs, false }, Index: src/usr.sbin/fstyp/fstyp.h diff -u src/usr.sbin/fstyp/fstyp.h:1.3 src/usr.sbin/fstyp/fstyp.h:1.4 --- src/usr.sbin/fstyp/fstyp.h:1.3 Fri Dec 27 11:06:23 2019 +++ src/usr.sbin/fstyp/fstyp.h Fri Dec 27 11:15:06 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fstyp.h,v 1.3 2019/12/27 11:06:23 tkusumi Exp $ */ +/* $NetBSD: fstyp.h,v 1.4 2019/12/27 11:15:06 tkusumi Exp $ */ /*- * Copyright (c) 2017 The NetBSD Foundation, Inc. @@ -43,6 +43,7 @@ void *read_buf(FILE *, off_t, size_t); char *checked_strdup(const char *); void rtrim(char *, size_t); +int fstyp_apfs(FILE *fp, char *label, size_t size); int fstyp_cd9660(FILE *, char *, size_t); int fstyp_exfat(FILE *fp, char *label, size_t size); int fstyp_ext2fs(FILE *, char *, size_t); Added files: Index: src/usr.sbin/fstyp/apfs.c diff -u /dev/null src/usr.sbin/fstyp/apfs.c:1.1 --- /dev/null Fri Dec 27 11:15:06 2019 +++ src/usr.sbin/fstyp/apfs.c Fri Dec 27 11:15:06 2019 @@ -0,0 +1,107 @@ +/* $NetBSD: apfs.c,v 1.1 2019/12/27 11:15:06 tkusumi Exp $ */ +/* + * Copyright (c) 2019 Conrad Meyer . 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. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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 +__RCSID("$NetBSD: apfs.c,v 1.1 2019/12/27 11:15:06 tkusumi Exp $"); + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "fstyp.h" + +/* + * This really detects the container format, which might be best supported by + * geom_part or a special GEOM class. + * + * https://developer.apple.com/support/downloads/Apple-File-System-Reference.pdf + */ + +#define NX_CKSUM_SZ 8 + +typedef uint64_t nx_o
CVS commit: src/usr.sbin/fstyp
Module Name:src Committed By: tkusumi Date: Fri Dec 27 11:06:23 UTC 2019 Modified Files: src/usr.sbin/fstyp: Makefile fstyp.c fstyp.h Added Files: src/usr.sbin/fstyp: hfsplus.c Log Message: fstyp: Add HFS+ support taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f787e74e712423def67de8bd76f71943a) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fstyp/Makefile cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/fstyp.c cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/fstyp.h cvs rdiff -u -r0 -r1.1 src/usr.sbin/fstyp/hfsplus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/fstyp/Makefile diff -u src/usr.sbin/fstyp/Makefile:1.6 src/usr.sbin/fstyp/Makefile:1.7 --- src/usr.sbin/fstyp/Makefile:1.6 Mon Nov 18 14:53:34 2019 +++ src/usr.sbin/fstyp/Makefile Fri Dec 27 11:06:23 2019 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.6 2019/11/18 14:53:34 tkusumi Exp $ +# $NetBSD: Makefile,v 1.7 2019/12/27 11:06:23 tkusumi Exp $ .include PROG= fstyp -SRCS= cd9660.c exfat.c ext2fs.c fstyp.c msdosfs.c ntfs.c ufs.c +SRCS= cd9660.c exfat.c ext2fs.c fstyp.c hfsplus.c msdosfs.c ntfs.c ufs.c .if (${MKZFS} != "no") SRCS+= zfs.c Index: src/usr.sbin/fstyp/fstyp.c diff -u src/usr.sbin/fstyp/fstyp.c:1.3 src/usr.sbin/fstyp/fstyp.c:1.4 --- src/usr.sbin/fstyp/fstyp.c:1.3 Mon Nov 18 14:53:34 2019 +++ src/usr.sbin/fstyp/fstyp.c Fri Dec 27 11:06:23 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fstyp.c,v 1.3 2019/11/18 14:53:34 tkusumi Exp $ */ +/* $NetBSD: fstyp.c,v 1.4 2019/12/27 11:06:23 tkusumi Exp $ */ /*- * Copyright (c) 2017 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ * */ #include -__RCSID("$NetBSD: fstyp.c,v 1.3 2019/11/18 14:53:34 tkusumi Exp $"); +__RCSID("$NetBSD: fstyp.c,v 1.4 2019/12/27 11:06:23 tkusumi Exp $"); #include #include @@ -66,6 +66,7 @@ static struct { { "cd9660", &fstyp_cd9660, false }, { "exfat", &fstyp_exfat, false }, { "ext2fs", &fstyp_ext2fs, false }, + { "hfs+", &fstyp_hfsp, false }, { "msdosfs", &fstyp_msdosfs, false }, { "ntfs", &fstyp_ntfs, false }, { "ufs", &fstyp_ufs, false }, Index: src/usr.sbin/fstyp/fstyp.h diff -u src/usr.sbin/fstyp/fstyp.h:1.2 src/usr.sbin/fstyp/fstyp.h:1.3 --- src/usr.sbin/fstyp/fstyp.h:1.2 Mon Nov 18 14:53:34 2019 +++ src/usr.sbin/fstyp/fstyp.h Fri Dec 27 11:06:23 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fstyp.h,v 1.2 2019/11/18 14:53:34 tkusumi Exp $ */ +/* $NetBSD: fstyp.h,v 1.3 2019/12/27 11:06:23 tkusumi Exp $ */ /*- * Copyright (c) 2017 The NetBSD Foundation, Inc. @@ -46,6 +46,7 @@ void rtrim(char *, size_t); int fstyp_cd9660(FILE *, char *, size_t); int fstyp_exfat(FILE *fp, char *label, size_t size); int fstyp_ext2fs(FILE *, char *, size_t); +int fstyp_hfsp(FILE *fp, char *label, size_t size); int fstyp_msdosfs(FILE *, char *, size_t); int fstyp_ntfs(FILE *, char *, size_t); int fstyp_ufs(FILE *, char *, size_t); Added files: Index: src/usr.sbin/fstyp/hfsplus.c diff -u /dev/null src/usr.sbin/fstyp/hfsplus.c:1.1 --- /dev/null Fri Dec 27 11:06:23 2019 +++ src/usr.sbin/fstyp/hfsplus.c Fri Dec 27 11:06:23 2019 @@ -0,0 +1,125 @@ +/* $NetBSD: hfsplus.c,v 1.1 2019/12/27 11:06:23 tkusumi Exp $ */ +/* + * Copyright (c) 2019 Conrad Meyer . 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. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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 +__RCSID("$NetBSD: hfsplus.c,v 1.1 2019/12/27 11:06:23 tkusumi Exp $"); + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "fstyp.h" + +/* + * https://developer.apple.com/library/archive/technotes/tn/tn1150.html + */ + +#define VOL_HDR_OFF 1024 + +typedef uint32_t hfsp_cat_nodeid; + +typedef struct hfsp_e
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 10:20:02 UTC 2019 Modified Files: src/sys/arch/epoc32/stand/e32boot/ldd: ekern.h src/usr.bin/spell: TODO src/usr.sbin/rpc.pcnfsd: pcnfsd_print.c Log Message: s/orignal/original/ To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/epoc32/stand/e32boot/ldd/ekern.h cvs rdiff -u -r1.1 -r1.2 src/usr.bin/spell/TODO cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/rpc.pcnfsd/pcnfsd_print.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/epoc32/stand/e32boot/ldd/ekern.h diff -u src/sys/arch/epoc32/stand/e32boot/ldd/ekern.h:1.1 src/sys/arch/epoc32/stand/e32boot/ldd/ekern.h:1.2 --- src/sys/arch/epoc32/stand/e32boot/ldd/ekern.h:1.1 Sun Apr 28 12:11:27 2013 +++ src/sys/arch/epoc32/stand/e32boot/ldd/ekern.h Fri Dec 27 10:20:01 2019 @@ -53,7 +53,7 @@ protected: IMPORT_C virtual void foo6(){ /* - * DLogicalDevice is probaly derived from CObject as the orignal Arlo + * DLogicalDevice is probaly derived from CObject as the original Arlo * calls SetName from Install */ class DLogicalDevice : public CObject Index: src/usr.bin/spell/TODO diff -u src/usr.bin/spell/TODO:1.1 src/usr.bin/spell/TODO:1.2 --- src/usr.bin/spell/TODO:1.1 Wed Jun 29 21:06:12 2005 +++ src/usr.bin/spell/TODO Fri Dec 27 10:20:01 2019 @@ -1,4 +1,4 @@ - $NetBSD: TODO,v 1.1 2005/06/29 21:06:12 perry Exp $ + $NetBSD: TODO,v 1.2 2019/12/27 10:20:01 msaitoh Exp $ Things to do with spell(1) @@ -15,7 +15,7 @@ e) The way this works is bad. All the ru spelling, suffixes, etc, are hard-coded in. That made sense in v7, but it doesn't any more. f) The word search algorithm might be made better. millert turned it - into a binary search from the orignal hash mechanism. + into a binary search from the original hash mechanism. g) Also, the general mode that this program works in is VERY 1970s -- it just spits out a list of words that are misspelled without context. By merging spell and spellprog, and doing a wee bit of Index: src/usr.sbin/rpc.pcnfsd/pcnfsd_print.c diff -u src/usr.sbin/rpc.pcnfsd/pcnfsd_print.c:1.14 src/usr.sbin/rpc.pcnfsd/pcnfsd_print.c:1.15 --- src/usr.sbin/rpc.pcnfsd/pcnfsd_print.c:1.14 Tue Jan 23 21:06:25 2018 +++ src/usr.sbin/rpc.pcnfsd/pcnfsd_print.c Fri Dec 27 10:20:02 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pcnfsd_print.c,v 1.14 2018/01/23 21:06:25 sevan Exp $ */ +/* $NetBSD: pcnfsd_print.c,v 1.15 2019/12/27 10:20:02 msaitoh Exp $ */ /* RE_SID: @(%)/usr/dosnfs/shades_SCCS/unix/pcnfsd/v2/src/SCCS/s.pcnfsd_print.c 1.7 92/01/24 19:58:58 SMI */ /* @@ -329,7 +329,7 @@ pr_start2(char *sys, char *pr, char *use if (!xcmd) { #ifdef SVR4 /* - * Use the copy option so we can remove the orignal + * Use the copy option so we can remove the original * spooled nfs file from the spool directory. */ snprintf(cmdbuf, sizeof(cmdbuf), "/usr/bin/lp -c -d%s %s",
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Fri Dec 27 10:17:57 UTC 2019 Modified Files: src/sys/netinet: ip_output.c src/sys/netinet6: nd6_rtr.c src/sys/uvm: uvm_map.c Log Message: s/referece/reference/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.314 -r1.315 src/sys/netinet/ip_output.c cvs rdiff -u -r1.146 -r1.147 src/sys/netinet6/nd6_rtr.c cvs rdiff -u -r1.367 -r1.368 src/sys/uvm/uvm_map.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/netinet/ip_output.c diff -u src/sys/netinet/ip_output.c:1.314 src/sys/netinet/ip_output.c:1.315 --- src/sys/netinet/ip_output.c:1.314 Wed Jun 5 01:31:04 2019 +++ src/sys/netinet/ip_output.c Fri Dec 27 10:17:56 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_output.c,v 1.314 2019/06/05 01:31:04 knakahara Exp $ */ +/* $NetBSD: ip_output.c,v 1.315 2019/12/27 10:17:56 msaitoh Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -91,7 +91,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.314 2019/06/05 01:31:04 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.315 2019/12/27 10:17:56 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -2037,7 +2037,7 @@ ip_getmoptions(struct ip_moptions *imo, uint8_t optval; int error = 0; - /* imo is protected by solock or refereced only by the caller */ + /* imo is protected by solock or referenced only by the caller */ switch (sopt->sopt_name) { case IP_MULTICAST_IF: Index: src/sys/netinet6/nd6_rtr.c diff -u src/sys/netinet6/nd6_rtr.c:1.146 src/sys/netinet6/nd6_rtr.c:1.147 --- src/sys/netinet6/nd6_rtr.c:1.146 Wed Sep 25 09:53:38 2019 +++ src/sys/netinet6/nd6_rtr.c Fri Dec 27 10:17:56 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: nd6_rtr.c,v 1.146 2019/09/25 09:53:38 ozaki-r Exp $ */ +/* $NetBSD: nd6_rtr.c,v 1.147 2019/12/27 10:17:56 msaitoh Exp $ */ /* $KAME: nd6_rtr.c,v 1.95 2001/02/07 08:09:47 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.146 2019/09/25 09:53:38 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.147 2019/12/27 10:17:56 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -821,7 +821,7 @@ insert: /* * Insert the new router in the Default Router List; * The Default Router List should be in the descending order - * of router-preferece. Routers with the same preference are + * of router-preference. Routers with the same preference are * sorted in the arriving time order. */ Index: src/sys/uvm/uvm_map.c diff -u src/sys/uvm/uvm_map.c:1.367 src/sys/uvm/uvm_map.c:1.368 --- src/sys/uvm/uvm_map.c:1.367 Fri Dec 13 20:10:22 2019 +++ src/sys/uvm/uvm_map.c Fri Dec 27 10:17:57 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.367 2019/12/13 20:10:22 ad Exp $ */ +/* $NetBSD: uvm_map.c,v 1.368 2019/12/27 10:17:57 msaitoh Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.367 2019/12/13 20:10:22 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.368 2019/12/27 10:17:57 msaitoh Exp $"); #include "opt_ddb.h" #include "opt_pax.h" @@ -4246,7 +4246,7 @@ uvmspace_exec(struct lwp *l, vaddr_t sta } /* - * uvmspace_addref: add a referece to a vmspace. + * uvmspace_addref: add a reference to a vmspace. */ void
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 10:13:59 UTC 2019 Modified Files: src/lib/libpuffs: puffs.3 src/share/man/man4/man4.amiga: p5pb.4 Log Message: s/conjuction/conjunction/ To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/lib/libpuffs/puffs.3 cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/man4.amiga/p5pb.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpuffs/puffs.3 diff -u src/lib/libpuffs/puffs.3:1.63 src/lib/libpuffs/puffs.3:1.64 --- src/lib/libpuffs/puffs.3:1.63 Mon Jul 3 21:32:51 2017 +++ src/lib/libpuffs/puffs.3 Fri Dec 27 10:13:59 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: puffs.3,v 1.63 2017/07/03 21:32:51 wiz Exp $ +.\" $NetBSD: puffs.3,v 1.64 2019/12/27 10:13:59 msaitoh Exp $ .\" .\" Copyright (c) 2006, 2007, 2008 Antti Kantee. All rights reserved. .\" @@ -107,7 +107,7 @@ takes execution context away from the ca all requests by using the callbacks. By using .Xr puffs_framebuf 3 -in conjuction with +in conjunction with .Fn puffs_mainloop , it is possible to handle I/O to and from file descriptors. This is suited e.g. for distributed file servers. Index: src/share/man/man4/man4.amiga/p5pb.4 diff -u src/share/man/man4/man4.amiga/p5pb.4:1.15 src/share/man/man4/man4.amiga/p5pb.4:1.16 --- src/share/man/man4/man4.amiga/p5pb.4:1.15 Sat Feb 18 22:39:00 2017 +++ src/share/man/man4/man4.amiga/p5pb.4 Fri Dec 27 10:13:59 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: p5pb.4,v 1.15 2017/02/18 22:39:00 wiz Exp $ +.\" $NetBSD: p5pb.4,v 1.16 2019/12/27 10:13:59 msaitoh Exp $ .\" .\" Copyright (c) 2011, 2012 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -53,7 +53,7 @@ BlizzardVisionPPC, allowing the attachme .Xr genfb 4 driver. 3Dfx Voodoo 3 boards installed in G-REX are also supported as console by -this option in conjuction with the +this option in conjunction with the .Xr voodoofb 4 driver. .Pp
CVS commit: src/sys/dev/isa
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:50:27 UTC 2019 Modified Files: src/sys/dev/isa: isareg.h Log Message: s/reister/register/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/isa/isareg.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/dev/isa/isareg.h diff -u src/sys/dev/isa/isareg.h:1.10 src/sys/dev/isa/isareg.h:1.11 --- src/sys/dev/isa/isareg.h:1.10 Tue May 29 06:14:33 2018 +++ src/sys/dev/isa/isareg.h Fri Dec 27 09:50:27 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: isareg.h,v 1.10 2018/05/29 06:14:33 jdolecek Exp $ */ +/* $NetBSD: isareg.h,v 1.11 2019/12/27 09:50:27 msaitoh Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -133,7 +133,7 @@ #define IO_COMSIZE 8 /* 8250, 16X50 com controllers */ #define IO_CGASIZE 16 /* CGA controllers */ #define IO_DMASIZE 16 /* 8237 DMA controllers */ -#define IO_DPGSIZE 32 /* 74LS612 DMA page reisters */ +#define IO_DPGSIZE 32 /* 74LS612 DMA page registers */ #define IO_FDCSIZE 8 /* Nec765 floppy controllers */ #define IO_WDCSIZE 8 /* WD compatible disk controller */ #define IO_GAMSIZE 16 /* AT compatible game controller */
CVS commit: src/sys/dev/ic
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:48:35 UTC 2019 Modified Files: src/sys/dev/ic: advlib.h Log Message: s/transef/transfer/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/advlib.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/dev/ic/advlib.h diff -u src/sys/dev/ic/advlib.h:1.21 src/sys/dev/ic/advlib.h:1.22 --- src/sys/dev/ic/advlib.h:1.21 Sun Dec 15 16:48:27 2019 +++ src/sys/dev/ic/advlib.h Fri Dec 27 09:48:35 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: advlib.h,v 1.21 2019/12/15 16:48:27 tsutsui Exp $*/ +/* $NetBSD: advlib.h,v 1.22 2019/12/27 09:48:35 msaitoh Exp $*/ /* * Definitions for low level routines and data structures @@ -442,7 +442,7 @@ typedef struct asc_scisq_1 u_int8_t sg_queue_cnt; /* number of SG entries */ u_int8_t target_id; u_int8_t target_lun; - u_int32_t data_addr; /* physical address of first segment to transef */ + u_int32_t data_addr; /* physical address of first segment to transfer */ u_int32_t data_cnt; /* byte count of first segment to transfer */ u_int32_t sense_addr; /* physical address of the sense buffer */ u_int8_t sense_len; /* length of sense buffer */
CVS commit: src/sys/dev/dec
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:47:55 UTC 2019 Modified Files: src/sys/dev/dec: files.dec Log Message: s/le_de_subr/le_dec_subr/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/dec/files.dec Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/dec/files.dec diff -u src/sys/dev/dec/files.dec:1.8 src/sys/dev/dec/files.dec:1.9 --- src/sys/dev/dec/files.dec:1.8 Sat Jul 29 19:10:56 2006 +++ src/sys/dev/dec/files.dec Fri Dec 27 09:47:55 2019 @@ -1,11 +1,11 @@ -# $NetBSD: files.dec,v 1.8 2006/07/29 19:10:56 ad Exp $ +# $NetBSD: files.dec,v 1.9 2019/12/27 09:47:55 msaitoh Exp $ # # Config file and device description for machine-independent # code for devices for Digital Equipment Corp. systems. # Included by ports that need it. # Attribute for DEC lance padded-DMA copy functions. Lance attachments -# which need it should specify the le_de_subr attribute. +# which need it should specify the le_dec_subr attribute. define le_dec_subr # DMA copy functions. Lance attachments qhich Decices
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:47:18 UTC 2019 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: s/defintion/definition/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/arch/mips/mips/cache.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/mips/mips/cache.c diff -u src/sys/arch/mips/mips/cache.c:1.60 src/sys/arch/mips/mips/cache.c:1.61 --- src/sys/arch/mips/mips/cache.c:1.60 Mon Sep 3 16:29:26 2018 +++ src/sys/arch/mips/mips/cache.c Fri Dec 27 09:47:18 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: cache.c,v 1.60 2018/09/03 16:29:26 riastradh Exp $ */ +/* $NetBSD: cache.c,v 1.61 2019/12/27 09:47:18 msaitoh Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.60 2018/09/03 16:29:26 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.61 2019/12/27 09:47:18 msaitoh Exp $"); #include "opt_cputype.h" #include "opt_mips_cache.h" @@ -1406,7 +1406,7 @@ mips_config_cache_modern(uint32_t cpu_id } } else if (MIPS_PRID_CID(cpu_id) == MIPS_PRID_CID_MTI) { /* - * All MTI cores share a (mostly) common config7 defintion. + * All MTI cores share a (mostly) common config7 definition. * Use it to determine if the caches have virtual aliases. * If the core doesn't have a config7 register, its caches * are too small or have too many ways to have aliases.
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:45:27 UTC 2019 Modified Files: src/lib/libpthread: pthread_mutex.3 src/lib/libutil: pidfile.c src/sys/arch/arm/arm32: arm32_machdep.c src/sys/arch/mips/mips: cpu_subr.c src/sys/arch/powerpc/booke: booke_machdep.c src/sys/arch/x86/x86: bios32.c src/sys/dev/audio: audio.c src/sys/dev/ic: aic79xx.c aic7xxx.c src/sys/dev/ppbus: ppbus_conf.c src/sys/stand/efiboot: smbios.c src/usr.bin/vmstat: vmstat.c Log Message: s/sucess/success/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libpthread/pthread_mutex.3 cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/pidfile.c cvs rdiff -u -r1.129 -r1.130 src/sys/arch/arm/arm32/arm32_machdep.c cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mips/mips/cpu_subr.c cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/booke/booke_machdep.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/bios32.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/audio/audio.c cvs rdiff -u -r1.52 -r1.53 src/sys/dev/ic/aic79xx.c cvs rdiff -u -r1.138 -r1.139 src/sys/dev/ic/aic7xxx.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ppbus/ppbus_conf.c cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/smbios.c cvs rdiff -u -r1.229 -r1.230 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpthread/pthread_mutex.3 diff -u src/lib/libpthread/pthread_mutex.3:1.10 src/lib/libpthread/pthread_mutex.3:1.11 --- src/lib/libpthread/pthread_mutex.3:1.10 Sun Oct 22 16:37:24 2017 +++ src/lib/libpthread/pthread_mutex.3 Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: pthread_mutex.3,v 1.10 2017/10/22 16:37:24 abhinav Exp $ +.\" $NetBSD: pthread_mutex.3,v 1.11 2019/12/27 09:45:26 msaitoh Exp $ .\" .\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -176,7 +176,7 @@ function shall return the current priori The .Fn pthread_mutex_setprioceiling function shall either lock the mutex if it is unlocked, or block until -it can sucessfully lock the mutex, then it shall change the mutex's priority +it can successfully lock the mutex, then it shall change the mutex's priority ceiling and release the mutex. When the change is successful, the previous value of the priority ceiling shall be returned Index: src/lib/libutil/pidfile.c diff -u src/lib/libutil/pidfile.c:1.14 src/lib/libutil/pidfile.c:1.15 --- src/lib/libutil/pidfile.c:1.14 Tue Apr 12 20:40:43 2016 +++ src/lib/libutil/pidfile.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $ */ +/* $NetBSD: pidfile.c,v 1.15 2019/12/27 09:45:26 msaitoh Exp $ */ /*- * Copyright (c) 1999, 2016 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $"); +__RCSID("$NetBSD: pidfile.c,v 1.15 2019/12/27 09:45:26 msaitoh Exp $"); #endif #include @@ -205,7 +205,7 @@ pidfile_lock(const char *path) if (errno == EAGAIN) { /* The pidfile is locked, return the process ID * it contains. - * If sucessful, set errno to EEXIST. */ + * If successful, set errno to EEXIST. */ if ((pid = pidfile_read(path)) != -1) errno = EEXIST; } else Index: src/sys/arch/arm/arm32/arm32_machdep.c diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.129 src/sys/arch/arm/arm32/arm32_machdep.c:1.130 --- src/sys/arch/arm/arm32/arm32_machdep.c:1.129 Wed Dec 18 21:45:44 2019 +++ src/sys/arch/arm/arm32/arm32_machdep.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: arm32_machdep.c,v 1.129 2019/12/18 21:45:44 riastradh Exp $ */ +/* $NetBSD: arm32_machdep.c,v 1.130 2019/12/27 09:45:26 msaitoh Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.129 2019/12/18 21:45:44 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.130 2019/12/27 09:45:26 msaitoh Exp $"); #include "opt_arm_debug.h" #include "opt_arm_start.h" @@ -734,7 +734,7 @@ cpu_uarea_alloc_idlelwp(struct cpu_info void cpu_init_secondary_processor(int cpuindex) { - // pmap_kernel has been sucessfully built and we can switch to it + // pmap_kernel has been successfully built and we can switch to it cpu_domains(DOMAIN_DEFAULT); cpu_idcache_wbinv_all(); Index: src/sys/arch/mips/mips/cpu_subr.c diff -u src/sys/arch/mips/mips/cpu_subr.c:1.42 src/sys/arch/mips/mips/cpu_subr.c:1.43 --- src/sys/arch/mips/mips/cpu_subr.c:1.42 Sat Dec 21 13:00:22 2019 +++ src/sys/arch/mips/mips/cpu_subr.c Fri Dec 27 09:45:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu_subr.c,v 1.42 2019/12/21 13:00:22 ad Exp $ */ +/* $NetBSD: cpu_subr.c,v 1.43 2019/12/27 09:45:26 msaitoh Exp $ */ /*- * Copyright (c) 2010, 2019 The NetBSD Foundation, Inc. @@ -30,7 +30,7
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:41:52 UTC 2019 Modified Files: src/lib/librmt: rmtlib.c src/share/man/man9/man9.sun3: isr_add.9 src/sys/arch/acorn32/podulebus: esc.c sfas.c src/sys/arch/alpha/stand/common: blkdev.c src/sys/arch/amiga/dev: sbicvar.h src/sys/arch/arc/jazz: asc.c src/sys/arch/arm/at91: at91spi.c src/sys/arch/atari/dev: atari5380.c src/sys/arch/bebox/stand/boot: siop.c src/sys/arch/sandpoint/stand/altboot: tlp.c src/sys/arch/sbmips/stand/common: blkdev.c src/sys/arch/sgimips/hpc: hpcdma.h pi1ppc.c src/sys/arch/sgimips/ioc: oiocsc.c src/sys/arch/sun3/dev: si_obio.c src/sys/dev: video.c video_if.h src/sys/dev/ata: wd.c src/sys/dev/dtv: dtv_scatter.c src/sys/dev/ic: ahcisata_core.c atppc.c mvsata.c siop_common.c sl811hs.c wd33c93var.h wdc.c src/sys/dev/isa: README.seagate if_ecreg.h src/sys/dev/marvell: gtidmac.c mvxpsec.c mvxpsecvar.h src/sys/dev/scsipi: scsi_disk.h scsipi_ioctl.c st.c src/sys/dev/usb: if_atu.c if_cue.c udl.c uvisor.c src/sys/fs/nilfs: nilfs_vnops.c src/sys/fs/udf: udf_vnops.c src/sys/kern: tty_subr.c vfs_bio.c src/sys/uvm: uvm_swap.c src/usr.sbin/lpr/lpd: recvjob.c src/usr.sbin/mopd/mopcopy: mopcopy.c Log Message: s/transfered/transferred/ To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/librmt/rmtlib.c cvs rdiff -u -r1.9 -r1.10 src/share/man/man9/man9.sun3/isr_add.9 cvs rdiff -u -r1.31 -r1.32 src/sys/arch/acorn32/podulebus/esc.c cvs rdiff -u -r1.27 -r1.28 src/sys/arch/acorn32/podulebus/sfas.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/alpha/stand/common/blkdev.c cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amiga/dev/sbicvar.h cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arc/jazz/asc.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/at91/at91spi.c cvs rdiff -u -r1.63 -r1.64 src/sys/arch/atari/dev/atari5380.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/bebox/stand/boot/siop.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sandpoint/stand/altboot/tlp.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sbmips/stand/common/blkdev.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sgimips/hpc/hpcdma.h cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sgimips/hpc/pi1ppc.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sgimips/ioc/oiocsc.c cvs rdiff -u -r1.36 -r1.37 src/sys/arch/sun3/dev/si_obio.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/video.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/video_if.h cvs rdiff -u -r1.452 -r1.453 src/sys/dev/ata/wd.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/dtv/dtv_scatter.c cvs rdiff -u -r1.79 -r1.80 src/sys/dev/ic/ahcisata_core.c cvs rdiff -u -r1.34 -r1.35 src/sys/dev/ic/atppc.c cvs rdiff -u -r1.51 -r1.52 src/sys/dev/ic/mvsata.c cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/siop_common.c cvs rdiff -u -r1.101 -r1.102 src/sys/dev/ic/sl811hs.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ic/wd33c93var.h cvs rdiff -u -r1.295 -r1.296 src/sys/dev/ic/wdc.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/isa/README.seagate cvs rdiff -u -r1.1 -r1.2 src/sys/dev/isa/if_ecreg.h cvs rdiff -u -r1.16 -r1.17 src/sys/dev/marvell/gtidmac.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/marvell/mvxpsec.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/marvell/mvxpsecvar.h cvs rdiff -u -r1.32 -r1.33 src/sys/dev/scsipi/scsi_disk.h cvs rdiff -u -r1.72 -r1.73 src/sys/dev/scsipi/scsipi_ioctl.c cvs rdiff -u -r1.239 -r1.240 src/sys/dev/scsipi/st.c cvs rdiff -u -r1.68 -r1.69 src/sys/dev/usb/if_atu.c cvs rdiff -u -r1.86 -r1.87 src/sys/dev/usb/if_cue.c cvs rdiff -u -r1.23 -r1.24 src/sys/dev/usb/udl.c cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/uvisor.c cvs rdiff -u -r1.37 -r1.38 src/sys/fs/nilfs/nilfs_vnops.c cvs rdiff -u -r1.106 -r1.107 src/sys/fs/udf/udf_vnops.c cvs rdiff -u -r1.42 -r1.43 src/sys/kern/tty_subr.c cvs rdiff -u -r1.284 -r1.285 src/sys/kern/vfs_bio.c cvs rdiff -u -r1.184 -r1.185 src/sys/uvm/uvm_swap.c cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/lpr/lpd/recvjob.c cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/mopd/mopcopy/mopcopy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/librmt/rmtlib.c diff -u src/lib/librmt/rmtlib.c:1.27 src/lib/librmt/rmtlib.c:1.28 --- src/lib/librmt/rmtlib.c:1.27 Thu Oct 3 17:56:17 2019 +++ src/lib/librmt/rmtlib.c Fri Dec 27 09:41:48 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: rmtlib.c,v 1.27 2019/10/03 17:56:17 christos Exp $ */ +/* $NetBSD: rmtlib.c,v 1.28 2019/12/27 09:41:48 msaitoh Exp $ */ /* * rmt --- remote tape emulator subroutines @@ -28,7 +28,7 @@ */ #include -__RCSID("$NetBSD: rmtlib.c,v 1.27 2019/10/03 17:56:17 christos Exp $"); +__RCSID("$NetBSD: rmtlib.c,v 1.28 2019/12/27 09:41:48 msaitoh Exp $"); #define RMTIOCTL 1 /* #define USE_REXEC 1 */ /* rexec code courtesy of Dan Kegel, srs!dan */ @@ -500,7 +500,7 @@ _rmt_ioctl(int fildes, unsigned long op, _DIAGASSERT(arg !
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:32:10 UTC 2019 Modified Files: src/sys/arch/mac68k/dev: if_mc.c src/sys/arch/macppc/dev: am79c950.c src/sys/dev/ic: lance.c src/sys/dev/marvell: gtpcireg.h mvpexreg.h src/usr.bin/vgrind: regexp.c Log Message: s/expresion/expression/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch/mac68k/dev/if_mc.c cvs rdiff -u -r1.46 -r1.47 src/sys/arch/macppc/dev/am79c950.c cvs rdiff -u -r1.58 -r1.59 src/sys/dev/ic/lance.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/marvell/gtpcireg.h cvs rdiff -u -r1.2 -r1.3 src/sys/dev/marvell/mvpexreg.h cvs rdiff -u -r1.13 -r1.14 src/usr.bin/vgrind/regexp.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/mac68k/dev/if_mc.c diff -u src/sys/arch/mac68k/dev/if_mc.c:1.51 src/sys/arch/mac68k/dev/if_mc.c:1.52 --- src/sys/arch/mac68k/dev/if_mc.c:1.51 Tue May 28 07:41:46 2019 +++ src/sys/arch/mac68k/dev/if_mc.c Fri Dec 27 09:32:09 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_mc.c,v 1.51 2019/05/28 07:41:46 msaitoh Exp $ */ +/* $NetBSD: if_mc.c,v 1.52 2019/12/27 09:32:09 msaitoh Exp $ */ /*- * Copyright (c) 1997 David Huang @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.51 2019/05/28 07:41:46 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.52 2019/12/27 09:32:09 msaitoh Exp $"); #include "opt_ddb.h" #include "opt_inet.h" @@ -117,7 +117,7 @@ ether_cmp(void *one, void *two) diff |= *a++ - *b++; #else /* - * Most modern CPUs do better with a single expresion. + * Most modern CPUs do better with a single expression. * Note that short-cut evaluation is NOT helpful here, * because it just makes the code longer, not faster! */ Index: src/sys/arch/macppc/dev/am79c950.c diff -u src/sys/arch/macppc/dev/am79c950.c:1.46 src/sys/arch/macppc/dev/am79c950.c:1.47 --- src/sys/arch/macppc/dev/am79c950.c:1.46 Wed May 29 10:07:28 2019 +++ src/sys/arch/macppc/dev/am79c950.c Fri Dec 27 09:32:10 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: am79c950.c,v 1.46 2019/05/29 10:07:28 msaitoh Exp $ */ +/* $NetBSD: am79c950.c,v 1.47 2019/12/27 09:32:10 msaitoh Exp $ */ /*- * Copyright (c) 1997 David Huang @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: am79c950.c,v 1.46 2019/05/29 10:07:28 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: am79c950.c,v 1.47 2019/12/27 09:32:10 msaitoh Exp $"); #include "opt_inet.h" @@ -116,7 +116,7 @@ ether_cmp(void *one, void *two) diff |= *a++ - *b++; #else /* - * Most modern CPUs do better with a single expresion. + * Most modern CPUs do better with a single expression. * Note that short-cut evaluation is NOT helpful here, * because it just makes the code longer, not faster! */ Index: src/sys/dev/ic/lance.c diff -u src/sys/dev/ic/lance.c:1.58 src/sys/dev/ic/lance.c:1.59 --- src/sys/dev/ic/lance.c:1.58 Wed May 29 10:07:29 2019 +++ src/sys/dev/ic/lance.c Fri Dec 27 09:32:10 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: lance.c,v 1.58 2019/05/29 10:07:29 msaitoh Exp $ */ +/* $NetBSD: lance.c,v 1.59 2019/12/27 09:32:10 msaitoh Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.58 2019/05/29 10:07:29 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.59 2019/12/27 09:32:10 msaitoh Exp $"); #include #include @@ -144,7 +144,7 @@ ether_cmp(void *one, void *two) diff |= *a++ - *b++; #else /* - * Most modern CPUs do better with a single expresion. + * Most modern CPUs do better with a single expression. * Note that short-cut evaluation is NOT helpful here, * because it just makes the code longer, not faster! */ Index: src/sys/dev/marvell/gtpcireg.h diff -u src/sys/dev/marvell/gtpcireg.h:1.6 src/sys/dev/marvell/gtpcireg.h:1.7 --- src/sys/dev/marvell/gtpcireg.h:1.6 Wed Jun 2 06:02:20 2010 +++ src/sys/dev/marvell/gtpcireg.h Fri Dec 27 09:32:10 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: gtpcireg.h,v 1.6 2010/06/02 06:02:20 kiyohara Exp $ */ +/* $NetBSD: gtpcireg.h,v 1.7 2019/12/27 09:32:10 msaitoh Exp $ */ /* * Copyright (c) 2008, 2009 KIYOHARA Takashi * All rights reserved. @@ -78,7 +78,7 @@ #define GTPCI_P2PM0BARL(p) (0x0d5c | ((p) << 7)) /* P2P Mem0 (Low) */ #define GTPCI_P2PM0BARH(p) (0x0d60 | ((p) << 7)) /* P2P Mem0 (High) */ #define GTPCI_P2PIOBAR(p) (0x0d6c | ((p) << 7)) /* P2P I/O */ -#define GTPCI_EROMBAR(p) (0x0f38 | ((p) << 7)) /* Expresion ROM */ +#define GTPCI_EROMBAR(p) (0x0f38 | ((p) << 7)) /* Expression ROM */ #define GTPCI_DRAMBARBS(p) (0x0c1c | ((p) << 7)) /*DRAM BAR Bank Select*/ #define GTPCI_ADC(p) (0x0d3c | ((p) << 7)) /* Addr Decode Ctrl */ #define GTPCI_ADC_REMAPWRDIS (1 << 0) Index: src/sys/dev/marvell/mvpexreg.h diff -u src/sys/dev/marvell/mvpexreg.h:1.2 src/sys/dev/marvell/mvpexreg.h:1.3 --- src/sys/dev/marvell/
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:28:41 UTC 2019 Modified Files: src/sys/arch/acorn32/mainbus: lpt_pioc.c src/sys/arch/hppa/gsc: lpt_gsc.c src/sys/dev/isa: lpt_isa.c src/sys/dev/ppbus: lpt.c Log Message: s/manaul/manual/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/acorn32/mainbus/lpt_pioc.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hppa/gsc/lpt_gsc.c cvs rdiff -u -r1.69 -r1.70 src/sys/dev/isa/lpt_isa.c cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ppbus/lpt.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/acorn32/mainbus/lpt_pioc.c diff -u src/sys/arch/acorn32/mainbus/lpt_pioc.c:1.12 src/sys/arch/acorn32/mainbus/lpt_pioc.c:1.13 --- src/sys/arch/acorn32/mainbus/lpt_pioc.c:1.12 Tue Jul 19 15:59:53 2011 +++ src/sys/arch/acorn32/mainbus/lpt_pioc.c Fri Dec 27 09:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: lpt_pioc.c,v 1.12 2011/07/19 15:59:53 dyoung Exp $ */ +/* $NetBSD: lpt_pioc.c,v 1.13 2019/12/27 09:28:41 msaitoh Exp $ */ /* * Copyright (c) 1997 Mark Brinicombe @@ -36,7 +36,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: lpt_pioc.c,v 1.12 2011/07/19 15:59:53 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lpt_pioc.c,v 1.13 2019/12/27 09:28:41 msaitoh Exp $"); #include #include @@ -90,7 +90,7 @@ lpt_port_test(bus_space_tag_t iot, bus_s * * 2) You should be able to write to and read back the same value * to the control port lower 5 bits, the upper 3 bits are reserved - * per the IBM PC technical reference manauls and different boards + * per the IBM PC technical reference manuals and different boards * do different things with them. Do an alternating zeros, alternating * ones, walking zero, and walking one test to check for stuck bits. * Index: src/sys/arch/hppa/gsc/lpt_gsc.c diff -u src/sys/arch/hppa/gsc/lpt_gsc.c:1.1 src/sys/arch/hppa/gsc/lpt_gsc.c:1.2 --- src/sys/arch/hppa/gsc/lpt_gsc.c:1.1 Mon Feb 24 07:23:43 2014 +++ src/sys/arch/hppa/gsc/lpt_gsc.c Fri Dec 27 09:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: lpt_gsc.c,v 1.1 2014/02/24 07:23:43 skrll Exp $ */ +/* $NetBSD: lpt_gsc.c,v 1.2 2019/12/27 09:28:41 msaitoh Exp $ */ /* $OpenBSD: lpt_gsc.c,v 1.6 2000/07/21 17:41:06 mickey Exp $ */ @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lpt_gsc.c,v 1.1 2014/02/24 07:23:43 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lpt_gsc.c,v 1.2 2019/12/27 09:28:41 msaitoh Exp $"); #include #include @@ -119,7 +119,7 @@ lpt_port_test(bus_space_tag_t iot, bus_s * * 2) You should be able to write to and read back the same value * to the control port lower 5 bits, the upper 3 bits are reserved - * per the IBM PC technical reference manauls and different boards + * per the IBM PC technical reference manuals and different boards * do different things with them. Do an alternating zeros, alternating * ones, walking zero, and walking one test to check for stuck bits. * Index: src/sys/dev/isa/lpt_isa.c diff -u src/sys/dev/isa/lpt_isa.c:1.69 src/sys/dev/isa/lpt_isa.c:1.70 --- src/sys/dev/isa/lpt_isa.c:1.69 Sat Mar 24 18:34:43 2018 +++ src/sys/dev/isa/lpt_isa.c Fri Dec 27 09:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: lpt_isa.c,v 1.69 2018/03/24 18:34:43 jdolecek Exp $ */ +/* $NetBSD: lpt_isa.c,v 1.70 2019/12/27 09:28:41 msaitoh Exp $ */ /* * Copyright (c) 1993, 1994 Charles M. Hannum. @@ -54,7 +54,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lpt_isa.c,v 1.69 2018/03/24 18:34:43 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lpt_isa.c,v 1.70 2019/12/27 09:28:41 msaitoh Exp $"); #include #include @@ -130,7 +130,7 @@ lpt_port_test(bus_space_tag_t iot, bus_s * * 2) You should be able to write to and read back the same value * to the control port lower 5 bits, the upper 3 bits are reserved - * per the IBM PC technical reference manauls and different boards + * per the IBM PC technical reference manuals and different boards * do different things with them. Do an alternating zeros, alternating * ones, walking zero, and walking one test to check for stuck bits. * Index: src/sys/dev/ppbus/lpt.c diff -u src/sys/dev/ppbus/lpt.c:1.31 src/sys/dev/ppbus/lpt.c:1.32 --- src/sys/dev/ppbus/lpt.c:1.31 Mon Sep 3 16:29:33 2018 +++ src/sys/dev/ppbus/lpt.c Fri Dec 27 09:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: lpt.c,v 1.31 2018/09/03 16:29:33 riastradh Exp $ */ +/* $NetBSD: lpt.c,v 1.32 2019/12/27 09:28:41 msaitoh Exp $ */ /* * Copyright (c) 1990 William F. Jolitz, TeleMuse @@ -64,7 +64,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lpt.c,v 1.31 2018/09/03 16:29:33 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lpt.c,v 1.32 2019/12/27 09:28:41 msaitoh Exp $"); #include "opt_ppbus_lpt.h" @@ -305,7 +305,7 @@ lpt_release_ppbus(struct lpt_softc * lpt * * 2) You should be able to write to and read back the sam
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:25:58 UTC 2019 Modified Files: src/lib/libc/gen: randomid.c src/sys/arch/arm/xscale: ixp425_qmgr.c src/sys/kern: kern_tc.c src/sys/net80211: ieee80211_node.c src/sys/netinet: dccp_tfrc.c sctp_constants.h src/sys/ufs/chfs: chfs_vfsops.c src/sys/ufs/lfs: ulfs_dirhash.h src/sys/ufs/ufs: dirhash.h src/tests/lib/libc/sys: t_pipe.c Log Message: s/inital/initial/ To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/randomid.c cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/xscale/ixp425_qmgr.c cvs rdiff -u -r1.52 -r1.53 src/sys/kern/kern_tc.c cvs rdiff -u -r1.78 -r1.79 src/sys/net80211/ieee80211_node.c cvs rdiff -u -r1.5 -r1.6 src/sys/netinet/dccp_tfrc.c cvs rdiff -u -r1.1 -r1.2 src/sys/netinet/sctp_constants.h cvs rdiff -u -r1.19 -r1.20 src/sys/ufs/chfs/chfs_vfsops.c cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/lfs/ulfs_dirhash.h cvs rdiff -u -r1.7 -r1.8 src/sys/ufs/ufs/dirhash.h cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_pipe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/gen/randomid.c diff -u src/lib/libc/gen/randomid.c:1.13 src/lib/libc/gen/randomid.c:1.14 --- src/lib/libc/gen/randomid.c:1.13 Sun Jan 11 02:46:27 2009 +++ src/lib/libc/gen/randomid.c Fri Dec 27 09:25:57 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: randomid.c,v 1.13 2009/01/11 02:46:27 christos Exp $ */ +/* $NetBSD: randomid.c,v 1.14 2019/12/27 09:25:57 msaitoh Exp $ */ /* $KAME: ip6_id.c,v 1.8 2003/09/06 13:41:06 itojun Exp $ */ /* $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */ @@ -83,7 +83,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: randomid.c,v 1.13 2009/01/11 02:46:27 christos Exp $"); +__RCSID("$NetBSD: randomid.c,v 1.14 2019/12/27 09:25:57 msaitoh Exp $"); #endif #include "namespace.h" @@ -200,7 +200,7 @@ pmod(u_int32_t gen, u_int32_t expo, u_in } /* - * Initalizes the seed and chooses a suitable generator. Also toggles + * Initializes the seed and chooses a suitable generator. Also toggles * the msb flag. The msb flag is used to generate two distinct * cycles of random numbers and thus avoiding reuse of ids. * Index: src/sys/arch/arm/xscale/ixp425_qmgr.c diff -u src/sys/arch/arm/xscale/ixp425_qmgr.c:1.9 src/sys/arch/arm/xscale/ixp425_qmgr.c:1.10 --- src/sys/arch/arm/xscale/ixp425_qmgr.c:1.9 Sun Nov 10 21:16:24 2019 +++ src/sys/arch/arm/xscale/ixp425_qmgr.c Fri Dec 27 09:25:57 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ixp425_qmgr.c,v 1.9 2019/11/10 21:16:24 chs Exp $ */ +/* $NetBSD: ixp425_qmgr.c,v 1.10 2019/12/27 09:25:57 msaitoh Exp $ */ /*- * Copyright (c) 2006 Sam Leffler, Errno Consulting @@ -60,7 +60,7 @@ */ #include /*__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_qmgr.c,v 1.1 2006/11/19 23:55:23 sam Exp $");*/ -__KERNEL_RCSID(0, "$NetBSD: ixp425_qmgr.c,v 1.9 2019/11/10 21:16:24 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixp425_qmgr.c,v 1.10 2019/12/27 09:25:57 msaitoh Exp $"); /* * Intel XScale Queue Manager support. @@ -331,7 +331,7 @@ ixpqmgr_init(bus_space_tag_t iot) sc->aqmFreeSramAddress = 0x100; /* Q buffer space starts at 0x2100 */ - ixpqmgr_rebuild(sc); /* build inital priority table */ + ixpqmgr_rebuild(sc); /* build initial priority table */ aqm_reset(sc); /* reset h/w */ return (sc); Index: src/sys/kern/kern_tc.c diff -u src/sys/kern/kern_tc.c:1.52 src/sys/kern/kern_tc.c:1.53 --- src/sys/kern/kern_tc.c:1.52 Sun Oct 6 15:11:17 2019 +++ src/sys/kern/kern_tc.c Fri Dec 27 09:25:58 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_tc.c,v 1.52 2019/10/06 15:11:17 uwe Exp $ */ +/* $NetBSD: kern_tc.c,v 1.53 2019/12/27 09:25:58 msaitoh Exp $ */ /*- * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ #include /* __FBSDID("$FreeBSD: src/sys/kern/kern_tc.c,v 1.166 2005/09/19 22:16:31 andre Exp $"); */ -__KERNEL_RCSID(0, "$NetBSD: kern_tc.c,v 1.52 2019/10/06 15:11:17 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_tc.c,v 1.53 2019/12/27 09:25:58 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_ntp.h" @@ -1329,7 +1329,7 @@ inittimecounter(void) * Set the initial timeout to * max(1, ). * People should probably not use the sysctl to set the timeout - * to smaller than its inital value, since that value is the + * to smaller than its initial value, since that value is the * smallest reasonable one. If they want better timestamps they * should use the non-"get"* functions. */ Index: src/sys/net80211/ieee80211_node.c diff -u src/sys/net80211/ieee80211_node.c:1.78 src/sys/net80211/ieee80211_node.c:1.79 --- src/sys/net80211/ieee80211_node.c:1.78 Thu Dec 19 15:54:21 2019 +++ src/sys/net80211/ieee80211_node.c Fri Dec 27 09:25:58 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ieee80211_node.c,v 1.78 2019/12/19 15:54:21 jakllsch Exp $ */ +/* $NetBSD: ieee
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:22:20 UTC 2019 Modified Files: src/doc: CHANGES.prev src/sys/arch/acorn32/stand/boot32: boot32.c src/sys/arch/evbmips/conf: files.evbmips src/sys/arch/sgimips/dev: crmfb.c src/sys/dev/dm: dm_target_zero.c src/sys/dev/ic: bwfm.c lsi64854var.h src/sys/dev/isa: pas.c src/sys/dev/pci/cxgb: cxgb_offload.c src/usr.sbin/inetd: inetd.c Log Message: s/suport/support/ To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/doc/CHANGES.prev cvs rdiff -u -r1.46 -r1.47 src/sys/arch/acorn32/stand/boot32/boot32.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/files.evbmips cvs rdiff -u -r1.46 -r1.47 src/sys/arch/sgimips/dev/crmfb.c cvs rdiff -u -r1.30 -r1.31 src/sys/dev/dm/dm_target_zero.c cvs rdiff -u -r1.18 -r1.19 src/sys/dev/ic/bwfm.c cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/lsi64854var.h cvs rdiff -u -r1.72 -r1.73 src/sys/dev/isa/pas.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/cxgb/cxgb_offload.c cvs rdiff -u -r1.125 -r1.126 src/usr.sbin/inetd/inetd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES.prev diff -u src/doc/CHANGES.prev:1.152 src/doc/CHANGES.prev:1.153 --- src/doc/CHANGES.prev:1.152 Thu Dec 5 16:51:06 2019 +++ src/doc/CHANGES.prev Fri Dec 27 09:22:19 2019 @@ -1,4 +1,4 @@ -LIST OF CHANGES FROM PREVIOUS RELEASES: <$Revision: 1.152 $> +LIST OF CHANGES FROM PREVIOUS RELEASES: <$Revision: 1.153 $> Changes from 386bsd 0.1 + patchkit 0.2.2 to NetBSD 0.8: @@ -9331,7 +9331,7 @@ Changes from NetBSD 4.0 to NetBSD 5.0: iwn(4): Added a driver for the Intel Pro/Wireless Lan 4965AGN Mini-PCI Adapter, ported from OpenBSD. [ober 20080209] pcc(1): Import PCC 0.9.9-080210. [ragge 20080210] - uhmodem(4): Add suport for NTT DoCoMo A2502 3G/HSDPA modem. + uhmodem(4): Add support for NTT DoCoMo A2502 3G/HSDPA modem. [ichiro 20080211] libc: Enable atomic_ops(3) in userspace. [ad 20080210] ofppc: Add support for the 7046-B50. [garbled 20080213] Index: src/sys/arch/acorn32/stand/boot32/boot32.c diff -u src/sys/arch/acorn32/stand/boot32/boot32.c:1.46 src/sys/arch/acorn32/stand/boot32/boot32.c:1.47 --- src/sys/arch/acorn32/stand/boot32/boot32.c:1.46 Wed Jan 23 14:52:49 2019 +++ src/sys/arch/acorn32/stand/boot32/boot32.c Fri Dec 27 09:22:19 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: boot32.c,v 1.46 2019/01/23 14:52:49 sborrill Exp $ */ +/* $NetBSD: boot32.c,v 1.47 2019/12/27 09:22:19 msaitoh Exp $ */ /*- * Copyright (c) 2002 Reinoud Zandijk @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Thanks a bunch for Ben's framework for the bootloader and its suporting + * Thanks a bunch for Ben's framework for the bootloader and its supporting * libs. This file tries to actually boot NetBSD/acorn32 ! * */ Index: src/sys/arch/evbmips/conf/files.evbmips diff -u src/sys/arch/evbmips/conf/files.evbmips:1.7 src/sys/arch/evbmips/conf/files.evbmips:1.8 --- src/sys/arch/evbmips/conf/files.evbmips:1.7 Sat Aug 27 13:34:29 2011 +++ src/sys/arch/evbmips/conf/files.evbmips Fri Dec 27 09:22:20 2019 @@ -1,4 +1,4 @@ -# $NetBSD: files.evbmips,v 1.7 2011/08/27 13:34:29 bouyer Exp $ +# $NetBSD: files.evbmips,v 1.8 2019/12/27 09:22:20 msaitoh Exp $ # maxpartitions must be the first item in files.${ARCH} maxpartitions 16 @@ -20,7 +20,7 @@ defparam ETHADDR # Console glue. file dev/cons.c -# PMON suport +# PMON support defflag PMON file arch/mips/pmon/pmon.c pmon file arch/mips/pmon/pmon32.S pmon Index: src/sys/arch/sgimips/dev/crmfb.c diff -u src/sys/arch/sgimips/dev/crmfb.c:1.46 src/sys/arch/sgimips/dev/crmfb.c:1.47 --- src/sys/arch/sgimips/dev/crmfb.c:1.46 Sun Dec 22 23:23:31 2019 +++ src/sys/arch/sgimips/dev/crmfb.c Fri Dec 27 09:22:20 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: crmfb.c,v 1.46 2019/12/22 23:23:31 thorpej Exp $ */ +/* $NetBSD: crmfb.c,v 1.47 2019/12/27 09:22:20 msaitoh Exp $ */ /*- * Copyright (c) 2007 Jared D. McNeill @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: crmfb.c,v 1.46 2019/12/22 23:23:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: crmfb.c,v 1.47 2019/12/27 09:22:20 msaitoh Exp $"); #include #include @@ -1148,7 +1148,7 @@ crmfb_setup_video(struct crmfb_softc *sc sc->sc_mte_x_shift = 2; break; default: - panic("%s: unsuported colour depth %d\n", __func__, + panic("%s: unsupported colour depth %d\n", __func__, depth); } sc->sc_needs_sync = 0; Index: src/sys/dev/dm/dm_target_zero.c diff -u src/sys/dev/dm/dm_target_zero.c:1.30 src/sys/dev/dm/dm_target_zero.c:1.31 --- src/sys/dev/dm/dm_target_zero.c:1.30 Mon Dec 23 16:17:35 2019 +++ src/sys/dev/dm/dm_target_zero.c Fri Dec 27 09:22:20 2019 @@ -1,4 +1,4 @@ -/*$NetBSD: dm_target_zero.c,v 1.30 2019/12/23
CVS commit: src
Module Name:src Committed By: msaitoh Date: Fri Dec 27 09:18:00 UTC 2019 Modified Files: src/games/mille: mille.h src/sys/dev/ic: aic7xxx.c Log Message: s/saftey/safety/ To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/games/mille/mille.h cvs rdiff -u -r1.137 -r1.138 src/sys/dev/ic/aic7xxx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/mille/mille.h diff -u src/games/mille/mille.h:1.19 src/games/mille/mille.h:1.20 --- src/games/mille/mille.h:1.19 Fri Aug 26 06:18:17 2011 +++ src/games/mille/mille.h Fri Dec 27 09:17:59 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: mille.h,v 1.19 2011/08/26 06:18:17 dholland Exp $ */ +/* $NetBSD: mille.h,v 1.20 2019/12/27 09:17:59 msaitoh Exp $ */ /* * Copyright (c) 1982, 1993 @@ -56,7 +56,7 @@ #define HAND_SZ 7 /* number of cards in a hand */ #define DECK_SZ 101 /* number of cards in decks */ -#define NUM_SAFE 4 /* number of saftey cards */ +#define NUM_SAFE 4 /* number of safety cards */ #define NUM_MILES 5 /* number of milestones types */ #define NUM_CARDS 20 /* number of types of cards */ #define BOARD_Y 17 /* size of board screen */ Index: src/sys/dev/ic/aic7xxx.c diff -u src/sys/dev/ic/aic7xxx.c:1.137 src/sys/dev/ic/aic7xxx.c:1.138 --- src/sys/dev/ic/aic7xxx.c:1.137 Sun Nov 10 21:16:35 2019 +++ src/sys/dev/ic/aic7xxx.c Fri Dec 27 09:18:00 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: aic7xxx.c,v 1.137 2019/11/10 21:16:35 chs Exp $ */ +/* $NetBSD: aic7xxx.c,v 1.138 2019/12/27 09:18:00 msaitoh Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -39,7 +39,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $Id: aic7xxx.c,v 1.137 2019/11/10 21:16:35 chs Exp $ + * $Id: aic7xxx.c,v 1.138 2019/12/27 09:18:00 msaitoh Exp $ * * //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $ * @@ -50,7 +50,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.137 2019/11/10 21:16:35 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.138 2019/12/27 09:18:00 msaitoh Exp $"); #include #include @@ -922,7 +922,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, scbptr, ahc_inb(ahc, ARG_1), ahc->scb_data->hscbs[scbptr].tag); ahc_dump_card_state(ahc); - panic("for saftey"); + panic("for safety"); break; } case OUT_OF_RANGE:
CVS commit: src/sys/dev/usb
Module Name:src Committed By: msaitoh Date: Fri Dec 27 08:53:30 UTC 2019 Modified Files: src/sys/dev/usb: if_urlreg.h Log Message: URL_TCR_IFG0 is not bit 4 but bit3. From OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/if_urlreg.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/dev/usb/if_urlreg.h diff -u src/sys/dev/usb/if_urlreg.h:1.15 src/sys/dev/usb/if_urlreg.h:1.16 --- src/sys/dev/usb/if_urlreg.h:1.15 Fri Dec 27 08:22:50 2019 +++ src/sys/dev/usb/if_urlreg.h Fri Dec 27 08:53:30 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_urlreg.h,v 1.15 2019/12/27 08:22:50 msaitoh Exp $ */ +/* $NetBSD: if_urlreg.h,v 1.16 2019/12/27 08:53:30 msaitoh Exp $ */ /* * Copyright (c) 2001, 2002 * Shingo WATANABE . All rights reserved. @@ -82,7 +82,7 @@ #define URL_TCR_TXRR1 (1<<7) /* TX Retry Count */ #define URL_TCR_TXRR0 (1<<6) /* TX Retry Count */ #define URL_TCR_IFG1 (1<<4) /* Interframe Gap Time */ -#define URL_TCR_IFG0 (1<<4) /* Interframe Gap Time */ +#define URL_TCR_IFG0 (1<<3) /* Interframe Gap Time */ #define URL_TCR_NOCRC (1<<0) /* no CRC Append */ #define URL_RCR 0x0130 /* Receive Configuration Register */
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Fri Dec 27 08:22:50 UTC 2019 Modified Files: src/sys/arch/arm/xscale: ixp425_if_npe.c src/sys/arch/evbarm/dev: plcomreg.h src/sys/arch/mmeye/dev: rtciic.c src/sys/dev/pci: if_bnx.c src/sys/dev/usb: if_urlreg.h Log Message: s/recive/receive/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/arm/xscale/ixp425_if_npe.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/dev/plcomreg.h cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mmeye/dev/rtciic.c cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/if_bnx.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/if_urlreg.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/arm/xscale/ixp425_if_npe.c diff -u src/sys/arch/arm/xscale/ixp425_if_npe.c:1.43 src/sys/arch/arm/xscale/ixp425_if_npe.c:1.44 --- src/sys/arch/arm/xscale/ixp425_if_npe.c:1.43 Sun Nov 10 21:16:24 2019 +++ src/sys/arch/arm/xscale/ixp425_if_npe.c Fri Dec 27 08:22:49 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ixp425_if_npe.c,v 1.43 2019/11/10 21:16:24 chs Exp $ */ +/* $NetBSD: ixp425_if_npe.c,v 1.44 2019/12/27 08:22:49 msaitoh Exp $ */ /*- * Copyright (c) 2006 Sam Leffler. All rights reserved. @@ -28,7 +28,7 @@ #if 0 __FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $"); #endif -__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.43 2019/11/10 21:16:24 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.44 2019/12/27 08:22:49 msaitoh Exp $"); /* * Intel XScale NPE Ethernet driver. @@ -1112,7 +1112,7 @@ npeinit_macreg(struct npe_softc *sc) /* Configure MAC to generate MDC clock */ WR4(sc, NPE_MAC_CORE_CNTRL, NPE_CORE_MDC_EN); - /* Disable transmitter and reciver in the MAC */ + /* Disable transmitter and receiver in the MAC */ WR4(sc, NPE_MAC_RX_CNTRL1, RD4(sc, NPE_MAC_RX_CNTRL1) &~ NPE_RX_CNTRL1_RX_EN); WR4(sc, NPE_MAC_TX_CNTRL1, @@ -1188,7 +1188,7 @@ npeinit_locked(void *xsc) ifp->if_flags &= ~IFF_OACTIVE; ifp->if_timer = 0; /* just in case */ - /* Enable transmitter and reciver in the MAC */ + /* Enable transmitter and receiver in the MAC */ WR4(sc, NPE_MAC_RX_CNTRL1, RD4(sc, NPE_MAC_RX_CNTRL1) | NPE_RX_CNTRL1_RX_EN); WR4(sc, NPE_MAC_TX_CNTRL1, @@ -1367,7 +1367,7 @@ npestop(struct ifnet *ifp, int disable) { struct npe_softc *sc = ifp->if_softc; - /* Disable transmitter and reciver in the MAC */ + /* Disable transmitter and receiver in the MAC */ WR4(sc, NPE_MAC_RX_CNTRL1, RD4(sc, NPE_MAC_RX_CNTRL1) &~ NPE_RX_CNTRL1_RX_EN); WR4(sc, NPE_MAC_TX_CNTRL1, Index: src/sys/arch/evbarm/dev/plcomreg.h diff -u src/sys/arch/evbarm/dev/plcomreg.h:1.5 src/sys/arch/evbarm/dev/plcomreg.h:1.6 --- src/sys/arch/evbarm/dev/plcomreg.h:1.5 Wed Oct 24 21:23:45 2012 +++ src/sys/arch/evbarm/dev/plcomreg.h Fri Dec 27 08:22:50 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: plcomreg.h,v 1.5 2012/10/24 21:23:45 skrll Exp $ */ +/* $NetBSD: plcomreg.h,v 1.6 2019/12/27 08:22:50 msaitoh Exp $ */ /*- * Copyright (c) 2001 ARM Ltd @@ -91,7 +91,7 @@ /* flag register */ #define PL011_FR_RI 0x100 /* Ring Indicator */ #define PL01X_FR_TXFE 0x080 /* Transmit fifo empty */ -#define PL01X_FR_RXFF 0x040 /* Recive fifo full */ +#define PL01X_FR_RXFF 0x040 /* Receive fifo full */ #define PL01X_FR_TXFF 0x020 /* Transmit fifo full */ #define PL01X_FR_RXFE 0x010 /* Receive fifo empty */ #define PL01X_FR_BUSY 0x008 /* Uart Busy */ Index: src/sys/arch/mmeye/dev/rtciic.c diff -u src/sys/arch/mmeye/dev/rtciic.c:1.2 src/sys/arch/mmeye/dev/rtciic.c:1.3 --- src/sys/arch/mmeye/dev/rtciic.c:1.2 Sun Dec 22 23:23:31 2019 +++ src/sys/arch/mmeye/dev/rtciic.c Fri Dec 27 08:22:50 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: rtciic.c,v 1.2 2019/12/22 23:23:31 thorpej Exp $ */ +/* $NetBSD: rtciic.c,v 1.3 2019/12/27 08:22:50 msaitoh Exp $ */ /* * Copyright (c) 2011 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ * */ #include -__KERNEL_RCSID(0, "$NetBSD: rtciic.c,v 1.2 2019/12/22 23:23:31 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rtciic.c,v 1.3 2019/12/27 08:22:50 msaitoh Exp $"); #include #include @@ -46,7 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: rtciic.c,v 1 #define DPRINTF(x) #endif -#define RTCIIC_SDAR (1 << 3) /* recived serial data */ +#define RTCIIC_SDAR (1 << 3) /* received serial data */ #define RTCIIC_SDAW (1 << 2) /* sended serial data */ #define RTCIIC_SCL (1 << 1) /* serial clock */ #define RTCIIC_RW (1 << 0) /* data direction (0:write, 1:read) */ Index: src/sys/dev/pci/if_bnx.c diff -u src/sys/dev/pci/if_bnx.c:1.88 src/sys/dev/pci/if_bnx.c:1.89 --- src/sys/dev/pci/if_bnx.c:1.88 Sun Nov 10 21:16:36 2019 +++ src/sys/dev/pci/if_bnx.c Fri Dec 27 08:22:50 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_bnx.c,v 1.88 2019/11/10 21:16:36 chs Exp $ */ +/* $NetBSD: if_bnx.c,v 1.89 2019/12/27 08:22:50 msaitoh Exp $ */ /* $OpenBSD: if_bnx.c,v 1.10
CVS commit: src/sys/dev/pcmcia
Module Name:src Committed By: msaitoh Date: Fri Dec 27 08:01:58 UTC 2019 Modified Files: src/sys/dev/pcmcia: if_ne_pcmcia.c Log Message: s/enty/entry/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/dev/pcmcia/if_ne_pcmcia.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/dev/pcmcia/if_ne_pcmcia.c diff -u src/sys/dev/pcmcia/if_ne_pcmcia.c:1.160 src/sys/dev/pcmcia/if_ne_pcmcia.c:1.161 --- src/sys/dev/pcmcia/if_ne_pcmcia.c:1.160 Thu Oct 17 21:06:47 2013 +++ src/sys/dev/pcmcia/if_ne_pcmcia.c Fri Dec 27 08:01:58 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ne_pcmcia.c,v 1.160 2013/10/17 21:06:47 christos Exp $ */ +/* $NetBSD: if_ne_pcmcia.c,v 1.161 2019/12/27 08:01:58 msaitoh Exp $ */ /* * Copyright (c) 1997 Marc Horowitz. All rights reserved. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.160 2013/10/17 21:06:47 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.161 2019/12/27 08:01:58 msaitoh Exp $"); #include #include @@ -256,7 +256,7 @@ static const struct ne2000dev { * * While the 1st and the 2nd types should use the "D-Link DE-650" entry, * the 3rd and the 4th types should use the "Linksys EtherCard" entry. - * Therefore, this enty must be below the LINKSYS_ECARD_1. --itohy + * Therefore, this entry must be below the LINKSYS_ECARD_1. --itohy */ { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_DLINK_DE650,