CVS commit: src/sys/arch/x68k/stand

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 07:00:49 UTC 2020

Modified Files:
src/sys/arch/x68k/stand: Makefile.inc
src/sys/arch/x68k/stand/boot: Makefile
src/sys/arch/x68k/stand/mboot: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Make x68k/stand compile with GCC8. Tested with XEiJ.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/Makefile.inc
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/stand/mboot/Makefile
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2020-08-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 10 09:23:37 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/doc: Makefile
src/external/mit/xorg/server/xorg-server/hw/xfree86/doc: Makefile
src/share/mk: bsd.x11.mk

Log Message:
fix various missing transforms for man page, ala PR#55422.

add method to transform both the "__foo__" and "@foo@"
version of various transforms, while upstream are converting
from the former to the latter it seems.  convert all the
common transforms to this method.

expand the grep for .pc files to look for missing @foo@
fixes to the man page genration, and ignore a few things
(thanks uwe@ - .IN lines, and stuff between tab(@) and .TE.)

xorg-server __default_font_path__ -> @default_font_path@,
and xfree86 transform xconfigdir, xkbdir, and modulepath
using new both method.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/mit/xorg/server/xorg-server/doc/Makefile
cvs rdiff -u -r1.7 -r1.8 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/doc/Makefile
cvs rdiff -u -r1.135 -r1.136 src/share/mk/bsd.x11.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 09:30:21 UTC 2020

Modified Files:
src/share/man/man9: ucas.9

Log Message:
Fix typo: than --> then. Probably not worth bumping date.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/ucas.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/m68k/m68k

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 09:38:48 UTC 2020

Modified Files:
src/sys/arch/m68k/m68k: process_machdep.c

Log Message:
Forbid to set odd address to PC in process_write_regs() and process_set_pc().

Otherwise, address error occurs in kernel at rte instruction when returning
to the user level.

Found by tests/lib/libc/t_ptrace_*:access_regs_set_unaligned_pc_0x[137].


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/m68k/m68k/process_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 10:42:10 UTC 2020

Modified Files:
src/external/gpl3/gcc: README.gcc8

Log Message:
Update table for m68000 and m68k ports:
- m68000 and m68k are running.
- ``make release'' completes for all m68k ports.
- amiga, mac68k, and sun3 are running.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/README.gcc8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 10:51:21 UTC 2020

Modified Files:
src/sys/arch/amiga/amiga: trap.c
src/sys/arch/mac68k/mac68k: trap.c
src/sys/arch/sun3/sun3: trap.c

Log Message:
Fix siginfo support for amiga, mac68k, and sun3:

- T_ZERODIV is integer divide by zero. Therefore, ksi_code should be
  FPE_INTDIV, not FPE_FLTDIV.

- Set ksi_addr for SIGTRAP. Also, set TRAP_BRKPT or TRAP_TRACE to
  ksi_code appropriately.

This fixes some tests in lib/libc/sys and lib/libc/gen.

XXX
Apply similar fixes to other m68k ports.


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/amiga/amiga/trap.c
cvs rdiff -u -r1.150 -r1.151 src/sys/arch/mac68k/mac68k/trap.c
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/sun3/sun3/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 10:59:34 UTC 2020

Modified Files:
src/sys/arch/amiga/include: intr.h
src/sys/arch/hpc/stand/libsa: compat.h
src/sys/arch/hpcmips/stand/libsa: compat.h
src/sys/arch/i386/bioscall: Makefile
src/sys/arch/i386/include: byte_swap.h
src/sys/arch/mac68k/obio: iwm_fdvar.h
src/sys/arch/sun2/include: vmparam.h
src/sys/arch/sun3/sun3: genassym.cf
src/sys/dist/pf/net: pf.c
src/sys/secmodel/keylock: keylock.h

Log Message:
Clean up _LKM --> _MODULE leftovers.

Note that _KERNEL is always defined for modules.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amiga/include/intr.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hpc/stand/libsa/compat.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcmips/stand/libsa/compat.h
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/bioscall/Makefile
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/include/byte_swap.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mac68k/obio/iwm_fdvar.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sun2/include/vmparam.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sun3/sun3/genassym.cf
cvs rdiff -u -r1.83 -r1.84 src/sys/dist/pf/net/pf.c
cvs rdiff -u -r1.1 -r1.2 src/sys/secmodel/keylock/keylock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/genfs

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 11:09:15 UTC 2020

Modified Files:
src/sys/miscfs/genfs: genfs_io.c

Log Message:
Output offsets in hex for UVMHIST.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/miscfs/genfs/genfs_io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2020-08-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Aug 10 14:37:38 UTC 2020

Modified Files:
src/common/lib/libc/arch/mips/atomic: membar_ops.S
src/sys/arch/mips/include: asm.h

Log Message:
More SYNC centralisation


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/arch/mips/atomic/membar_ops.S
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/mips/include/asm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make/unit-tests

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 18:19:58 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: posix1.mk

Log Message:
make(1): clean up temporary files after posix1.mk test


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/posix1.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 18:20:28 UTC 2020

Modified Files:
src/usr.bin/make: Makefile

Log Message:
make(1): clean up coverage files even if USE_COVERAGE is not set


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/usr.bin/make/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 18:40:24 UTC 2020

Modified Files:
src/usr.bin/make: Makefile

Log Message:
make(1): make gcov command line configurable

Some useful options are -a or -f.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/make/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 19:20:34 UTC 2020

Modified Files:
src/usr.bin/make: str.c

Log Message:
make(1): fix integer type in str_concat


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/make/str.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2020-08-10 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Mon Aug 10 19:27:28 UTC 2020

Modified Files:
src/sys/dev: video.c
src/sys/dev/usb: uvideo.c
src/sys/sys: videoio.h

Log Message:
Add some extra V4L ioctl() requests to latest V4L userland to work.

Import sys/videoio.h from OpenBSD, this is just the Linux headers
concatenated together.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/video.c
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/uvideo.c
cvs rdiff -u -r1.11 -r1.12 src/sys/sys/videoio.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/sys

2020-08-10 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Mon Aug 10 19:29:13 UTC 2020

Modified Files:
src/sys/sys: param.h

Log Message:
NetBSD 9.99.70 - changes to video(4).


To generate a diff of this commit:
cvs rdiff -u -r1.672 -r1.673 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 19:30:30 UTC 2020

Modified Files:
src/usr.bin/make: dir.c make.h nonints.h str.c suff.c

Log Message:
make(1): fix parameter name of str_concat

The previous documentation mentioned Str_Concat, but str_concat has been
written in lowercase for years.  The "flags" are not flags since they
cannot be combined, not even when they are written in hex.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/make/dir.c
cvs rdiff -u -r1.113 -r1.114 src/usr.bin/make/make.h
cvs rdiff -u -r1.91 -r1.92 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/make/str.c
cvs rdiff -u -r1.93 -r1.94 src/usr.bin/make/suff.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 19:53:19 UTC 2020

Modified Files:
src/usr.bin/make: dir.c job.c main.c nonints.h parse.c str.c suff.c

Log Message:
make(1): replace str_concat with str_concat2 and str_concat3

The new functions have a simpler interface, and str_concat3 is even more
general-purpose, since the middle string is no longer required to be
exactly of length 1.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/make/dir.c
cvs rdiff -u -r1.205 -r1.206 src/usr.bin/make/job.c
cvs rdiff -u -r1.302 -r1.303 src/usr.bin/make/main.c
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.250 -r1.251 src/usr.bin/make/parse.c
cvs rdiff -u -r1.58 -r1.59 src/usr.bin/make/str.c
cvs rdiff -u -r1.94 -r1.95 src/usr.bin/make/suff.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-08-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Aug 10 20:07:14 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): replace snprintf with concat3

This makes the code more predictable for long strings, since the main
action is never skipped.

The code also becomes simpler since there is no %s anymore, and the 3
arguments just appear in the same order as in the result.


To generate a diff of this commit:
cvs rdiff -u -r1.445 -r1.446 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/i386

2020-08-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Aug 11 04:30:16 UTC 2020

Modified Files:
src/sys/arch/i386/i386: trap.c

Log Message:
- fix lcall test
- refactor all the TRAP_SIGDEBUG printfs and use hexdump like we did on
  amd64


To generate a diff of this commit:
cvs rdiff -u -r1.305 -r1.306 src/sys/arch/i386/i386/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm/pmap

2020-08-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Aug 11 05:43:45 UTC 2020

Modified Files:
src/sys/uvm/pmap: pmap.c

Log Message:
Fix a comment


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/uvm/pmap/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm/pmap

2020-08-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Aug 11 06:09:44 UTC 2020

Modified Files:
src/sys/uvm/pmap: pmap.c pmap_tlb.c

Log Message:
More UVMHIST_LOG.  Remove some commented output printfs.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/uvm/pmap/pmap.c
cvs rdiff -u -r1.34 -r1.35 src/sys/uvm/pmap/pmap_tlb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2020-08-10 Thread Izumi Tsutsui
Module Name:xsrc
Committed By:   tsutsui
Date:   Tue Aug 11 06:49:09 UTC 2020

Modified Files:
xsrc/external/mit/xorg-server/dist/hw/sun: sun.h sunInit.c sunIo.c

Log Message:
Remove more redundant command option arg checks.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 xsrc/external/mit/xorg-server/dist/hw/sun/sun.h
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/xorg-server/dist/hw/sun/sunInit.c
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xorg-server/dist/hw/sun/sunIo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm/pmap

2020-08-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Aug 11 06:54:14 UTC 2020

Modified Files:
src/sys/uvm/pmap: pmap_tlb.c

Log Message:
s/pmaphist/maphist/ for now


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/uvm/pmap/pmap_tlb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.