CVS commit: xsrc/external/mit/xorg-server/dist/hw/sun

2020-08-12 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Thu Aug 13 05:12:35 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/hw/sun: sunIo.c sunKbd.c sunMouse.c Log Message: Avoid dumb DevicePtr casts. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: xsrc/external/mit/xorg-server/dist/hw/sun

2020-08-12 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Thu Aug 13 05:12:35 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/hw/sun: sunIo.c sunKbd.c sunMouse.c Log Message: Avoid dumb DevicePtr casts. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 04:25:09 UTC 2020 Modified Files: src/usr.bin/make: buf.h Log Message: make(1): convert Buf_AddByte to inline function This lets the compiler decide whether to actually inline the code (which it does). It also

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 04:25:09 UTC 2020 Modified Files: src/usr.bin/make: buf.h Log Message: make(1): convert Buf_AddByte to inline function This lets the compiler decide whether to actually inline the code (which it does). It also

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 04:12:13 UTC 2020 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: make(1): remove type alias Byte = char This alias was only actually used in very few places, and changing it to unsigned char or any

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 04:12:13 UTC 2020 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: make(1): remove type alias Byte = char This alias was only actually used in very few places, and changing it to unsigned char or any

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:54:57 UTC 2020 Modified Files: src/usr.bin/make: hash.h job.h lst.h make.h metachar.h strlist.h Log Message: make(1): follow naming conventions for multiple-inclusion guards This avoids undefined behavior. To

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:54:57 UTC 2020 Modified Files: src/usr.bin/make: hash.h job.h lst.h make.h metachar.h strlist.h Log Message: make(1): follow naming conventions for multiple-inclusion guards This avoids undefined behavior. To

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:33:56 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): clean up debug logging in dir.c In C90, the variadic macro argument __VA_ARGS__ is not known, therefore fall back to the forms listing

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:33:56 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): clean up debug logging in dir.c In C90, the variadic macro argument __VA_ARGS__ is not known, therefore fall back to the forms listing

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:07:49 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): avoid negated conditions in DirExpandCurly To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/usr.bin/make/dir.c Please

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:07:49 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): avoid negated conditions in DirExpandCurly To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/usr.bin/make/dir.c Please

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:00:44 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): clean up DirExpandCurly Now that nested curly braces work as expected and are covered by unit tests, the debug log is no longer

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 03:00:44 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): clean up DirExpandCurly Now that nested curly braces work as expected and are covered by unit tests, the debug log is no longer

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 02:53:15 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): use enum instead of #define for cached_stats To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/usr.bin/make/dir.c

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 13 02:53:15 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): use enum instead of #define for cached_stats To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/usr.bin/make/dir.c

CVS commit: src/tools/gcc

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 13 01:52:37 UTC 2020 Modified Files: src/tools/gcc: mknative-gcc mknative-gcc.old Log Message: set _OUTDIRBASE depending on $0, and then set _OUTDIR based on this. now you can copy mknative-gcc to mknative-gcc.old without

CVS commit: src/tools/gcc

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 13 01:52:37 UTC 2020 Modified Files: src/tools/gcc: mknative-gcc mknative-gcc.old Log Message: set _OUTDIRBASE depending on $0, and then set _OUTDIR based on this. now you can copy mknative-gcc to mknative-gcc.old without

CVS commit: src/usr.bin/tsort

2020-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 12 23:23:04 UTC 2020 Modified Files: src/usr.bin/tsort: Makefile tsort.1 tsort.c Log Message: - document -d - add -r (reverse) - const, size_t, emalloc, EXIT_FOO To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/usr.bin/tsort

2020-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 12 23:23:04 UTC 2020 Modified Files: src/usr.bin/tsort: Makefile tsort.1 tsort.c Log Message: - document -d - add -r (reverse) - const, size_t, emalloc, EXIT_FOO To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 19:36:15 UTC 2020 Modified Files: src/usr.bin/make: arch.c Log Message: make(1): remove unnecessary UNCONST from arch.c Somewhere in the refactorings of the last month, the parameter types of the Arch functions had

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 19:36:15 UTC 2020 Modified Files: src/usr.bin/make: arch.c Log Message: make(1): remove unnecessary UNCONST from arch.c Somewhere in the refactorings of the last month, the parameter types of the Arch functions had

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 19:21:05 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): enable -Wcast-qual for var.c again When it became disabled 9 years ago, there were 15 instances of UNCONST in the code. These have

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 19:21:05 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): enable -Wcast-qual for var.c again When it became disabled 9 years ago, there were 15 instances of UNCONST in the code. These have

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 19:14:38 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): prepare var.c for WARNS=6 I'm unhappy with the (unsigned) casts for the enum constants, but there is no way around that since the base

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 19:14:38 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): prepare var.c for WARNS=6 I'm unhappy with the (unsigned) casts for the enum constants, but there is no way around that since the base

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 18:53:59 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): replace redundant NULL tests with assertions To generate a diff of this commit: cvs rdiff -u -r1.446 -r1.447 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 18:53:59 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): replace redundant NULL tests with assertions To generate a diff of this commit: cvs rdiff -u -r1.446 -r1.447 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 18:48:36 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): allow optional compilation with GCC 10, use gcov from GCC To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 18:48:36 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): allow optional compilation with GCC 10, use gcov from GCC To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 18:47:22 UTC 2020 Modified Files: src/usr.bin/make: make_malloc.c Log Message: make(1): remove unnecessary test from bmake_strndup The passed memory is never NULL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 12 18:47:22 UTC 2020 Modified Files: src/usr.bin/make: make_malloc.c Log Message: make(1): remove unnecessary test from bmake_strndup The passed memory is never NULL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/arm/arm32

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 18:30:46 UTC 2020 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Whack-a-mole To generate a diff of this commit: cvs rdiff -u -r1.420 -r1.421 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not

CVS commit: src/sys/arch/arm/arm32

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 18:30:46 UTC 2020 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Whack-a-mole To generate a diff of this commit: cvs rdiff -u -r1.420 -r1.421 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not

CVS commit: src/sys/arch/aarch64

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 13:36:36 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: Part IV of ad's performance improvements for aarch64 - Implement pmap_growkernel(), and

CVS commit: src/sys/arch/aarch64

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 13:36:36 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: Part IV of ad's performance improvements for aarch64 - Implement pmap_growkernel(), and

CVS commit: src/sys/arch

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 13:28:46 UTC 2020 Modified Files: src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/aarch64/include: mutex.h src/sys/arch/evbarm/include: mutex.h Added Files: src/sys/arch/aarch64/aarch64:

CVS commit: src/sys/arch

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 13:28:46 UTC 2020 Modified Files: src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/aarch64/include: mutex.h src/sys/arch/evbarm/include: mutex.h Added Files: src/sys/arch/aarch64/aarch64:

CVS commit: src/sys/arch/aarch64

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 13:19:35 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: copyinout.S cpu_machdep.c cpuswitch.S db_machdep.c fusu.S genassym.cf idle_machdep.S locore.S vectors.S src/sys/arch/aarch64/include:

CVS commit: src/sys/arch/aarch64

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 13:19:35 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: copyinout.S cpu_machdep.c cpuswitch.S db_machdep.c fusu.S genassym.cf idle_machdep.S locore.S vectors.S src/sys/arch/aarch64/include:

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 12:59:57 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_cas_16.S atomic_cas_32.S atomic_cas_64.S atomic_cas_8.S atomic_dec_32.S atomic_dec_64.S atomic_inc_32.S

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 12:59:57 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_cas_16.S atomic_cas_32.S atomic_cas_64.S atomic_cas_8.S atomic_dec_32.S atomic_dec_64.S atomic_inc_32.S

CVS commit: src/sys/arch/arm/nvidia

2020-08-12 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 12 10:21:00 UTC 2020 Modified Files: src/sys/arch/arm/nvidia: tegra124_car.c Log Message: Add CEC clock To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/nvidia/tegra124_car.c Please note

CVS commit: src/sys/arch/arm/nvidia

2020-08-12 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 12 10:21:00 UTC 2020 Modified Files: src/sys/arch/arm/nvidia: tegra124_car.c Log Message: Add CEC clock To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/nvidia/tegra124_car.c Please note

CVS commit: src/sys/dev/pci/ixgbe

2020-08-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 12 09:13:46 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c Log Message: Fix checking return value of atomic_cas_uint(). This change fixes a bug that extra delay() is called only once even if

CVS commit: src/sys/dev/pci/ixgbe

2020-08-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 12 09:13:46 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c Log Message: Fix checking return value of atomic_cas_uint(). This change fixes a bug that extra delay() is called only once even if

CVS commit: src/sys/arch/mips/mips

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 08:57:03 UTC 2020 Modified Files: src/sys/arch/mips/mips: genassym.cf Log Message: No need for MIPS_EBASE_CPUNUM now that asm.h supports __BITS To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/arch/mips/mips

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 08:57:03 UTC 2020 Modified Files: src/sys/arch/mips/mips: genassym.cf Log Message: No need for MIPS_EBASE_CPUNUM now that asm.h supports __BITS To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/arch/mips/include

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 08:56:37 UTC 2020 Modified Files: src/sys/arch/mips/include: asm.h Log Message: Provide assmebler versions of BITS(3) macros. These are only good for 32 bit masks To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/mips/include

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 08:56:37 UTC 2020 Modified Files: src/sys/arch/mips/include: asm.h Log Message: Provide assmebler versions of BITS(3) macros. These are only good for 32 bit masks To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tools/gcc

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 12 08:53:20 UTC 2020 Modified Files: src/tools/gcc: mknative-gcc mknative-gcc.old Log Message: mknative-gcc is for GCC 8.4. mknative-gcc.old is supposed to be for GCC 7, but is the GCC 6 version. update it and mark it for

CVS commit: src/tools/gcc

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 12 08:53:20 UTC 2020 Modified Files: src/tools/gcc: mknative-gcc mknative-gcc.old Log Message: mknative-gcc is for GCC 8.4. mknative-gcc.old is supposed to be for GCC 7, but is the GCC 6 version. update it and mark it for

CVS commit: src/sys/arch/mips

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 07:37:39 UTC 2020 Modified Files: src/sys/arch/mips/mips: db_interface.c src/sys/arch/mips/rmi: rmixl_cpu.c Log Message: Don't include mips/asm.h from a C file To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/mips

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 07:37:39 UTC 2020 Modified Files: src/sys/arch/mips/mips: db_interface.c src/sys/arch/mips/rmi: rmixl_cpu.c Log Message: Don't include mips/asm.h from a C file To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 12 06:48:50 UTC 2020 Modified Files: src: UPDATING Log Message: 20200811: GCC updates may require cleaning the objdir. To generate a diff of this commit: cvs rdiff -u -r1.310 -r1.311 src/UPDATING Please note that

CVS commit: src

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 12 06:48:50 UTC 2020 Modified Files: src: UPDATING Log Message: 20200811: GCC updates may require cleaning the objdir. To generate a diff of this commit: cvs rdiff -u -r1.310 -r1.311 src/UPDATING Please note that

CVS commit: src/external/gpl3/gcc/dist/gcc

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 12 06:42:53 UTC 2020 Removed Files: src/external/gpl3/gcc/dist/gcc: gengtype-lex.c Log Message: delete this file; it needs to be newer than the .l file or else sys.mk will attempt to write it to the source tree, which may be

CVS commit: src/external/gpl3/gcc/dist/gcc

2020-08-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 12 06:42:53 UTC 2020 Removed Files: src/external/gpl3/gcc/dist/gcc: gengtype-lex.c Log Message: delete this file; it needs to be newer than the .l file or else sys.mk will attempt to write it to the source tree, which may be