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

2020-07-29 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jul 30 06:54:07 UTC 2020

Modified Files:
src/sys/arch/mips/include: types.h

Log Message:
Sort the #define __HAVEs. NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/mips/include/types.h

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



CVS commit: src/sys/arch/sh3/sh3

2020-07-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jul 30 03:57:52 UTC 2020

Added Files:
src/sys/arch/sh3/sh3: pmb.c

Log Message:
Code to dump PMB contents.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/sh3/sh3/pmb.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/sh3/include

2020-07-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jul 30 03:19:34 UTC 2020

Modified Files:
src/sys/arch/sh3/include: pmb.h

Log Message:
Add snprintb formats.  Fix PASCR name.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sh3/include/pmb.h

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



CVS commit: src/sys/ddb

2020-07-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jul 29 23:29:42 UTC 2020

Modified Files:
src/sys/ddb: db_lex.c db_lex.h

Log Message:
db_get_line - raw access to the DDB command line.

Provide a way for DDB commands to access the remainder of the command
line as-is.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/ddb/db_lex.c
cvs rdiff -u -r1.15 -r1.16 src/sys/ddb/db_lex.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-07-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 29 21:35:35 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk

Log Message:
make(1): remove unnecessary assignments to st->next

No change in the size of the resulting binary.  Apparently GCC already
knew these assignments were redundant.


To generate a diff of this commit:
cvs rdiff -u -r1.357 -r1.358 src/usr.bin/make/var.c
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/make/unit-tests/modmisc.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-07-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 29 21:23:26 UTC 2020

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

Log Message:
make(1): document parameters to ApplyModifiers


To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357 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/usr.bin/make

2020-07-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 29 20:57:31 UTC 2020

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

Log Message:
make(1): use specialized return type for ApplyModifier functions

This makes it immediately obvious what happens after a modifier has been
applied, instead of having to translate single-character mnemonics or
booleans to their actual intention.

This also reduces the size of the binary since there are fewer jumps.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/usr.bin/make/Makefile
cvs rdiff -u -r1.355 -r1.356 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/usr.bin/make

2020-07-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 29 20:33:38 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk

Log Message:
make(1): fix segfault when evaluating ${::=value}

The bug had been in the handling of the SysV modifier for many years, but
it had not been triggered since the "parsing position for the next
modifier" had been initialized to a non-NULL pointer.

In var.v r1.350, this pointer had been initialized to NULL instead since
every ApplyModifier function must set it in every case where it returns
anything except "default_case".

There might have been a slight chance of tricking make to output a wrong
error message, but nothing worse.


To generate a diff of this commit:
cvs rdiff -u -r1.354 -r1.355 src/usr.bin/make/var.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/moderrs.exp
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/moderrs.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-07-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 29 19:48:33 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: Makefile moderrs.exp moderrs.mk

Log Message:
make(1): add enough tests to cover the ApplyModifier functions

Only a few return statements are still missing from the code coverage.

In ApplyModifier_Assign, the test for an empty variable name is skipped
for now since it segfaults.

In ApplyModifier_SysV after the second ParseModifierPart, the branch for
the missing delimiter is not reached since this case is already checked
for in the first part of the function. To trigger this branch, a
specially crafted, unrealistic string needs to be created, and that's too
complicated for the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.353 -r1.354 src/usr.bin/make/var.c
cvs rdiff -u -r1.75 -r1.76 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/moderrs.exp
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/moderrs.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/unit-tests

2020-07-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 29 18:48:47 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk modmisc.exp
modmisc.mk

Log Message:
make(1): add unit tests for parse errors in modifiers


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/moderrs.exp
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/moderrs.mk
cvs rdiff -u -r1.30 -r1.31 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/make/unit-tests/modmisc.mk

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-07-29 Thread Izumi Tsutsui
Module Name:xsrc
Committed By:   tsutsui
Date:   Wed Jul 29 17:29:53 UTC 2020

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

Log Message:
Remove unused functions required to handle non-XKB autorepeat.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xorg-server/dist/hw/sun/sun.h \
xsrc/external/mit/xorg-server/dist/hw/sun/sunKbd.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-07-29 Thread Izumi Tsutsui
Module Name:xsrc
Committed By:   tsutsui
Date:   Wed Jul 29 17:27:44 UTC 2020

Modified Files:
xsrc/external/mit/xorg-server/dist/hw/sun: sunKbd.c

Log Message:
Fix LED defintions to match xkb/xkbInit.c.

Now CapsLock and NumLock LEDs work correctly.
XXX: No ScrollLock LED


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 xsrc/external/mit/xorg-server/dist/hw/sun/sunKbd.c

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



CVS commit: src/sys/crypto/chacha/arch/arm

2020-07-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul 29 14:23:59 UTC 2020

Modified Files:
src/sys/crypto/chacha/arch/arm: chacha_neon_32.S

Log Message:
Issue three more swaps to save eight stores.

Reduces code size and yields a small (~2%) cgd throughput boost.

Remove duplicate comment while here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/arch/arm/chacha_neon_32.S

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



CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jul 29 13:03:36 UTC 2020

Modified Files:
src/sys/dev/pci: xmm7360.c

Log Message:
fix xmm7360_os_msleep() macro to actually work when not wrapped inside a block

from genua


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/xmm7360.c

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



CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jul 29 13:01:19 UTC 2020

Modified Files:
src/sys/dev/pci: xmm7360.c

Log Message:
sprinkle __diagused so this compiles without DIAGNOSTIC


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/xmm7360.c

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



CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jul 29 13:00:26 UTC 2020

Modified Files:
src/sys/dev/pci: xmm7360.c

Log Message:
adjust OpenBSD mbuf handling so tcpdump(1) works there; from genua

keep code as-is for NetBSD, DLT_RAW works there


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/xmm7360.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/mips/include

2020-07-29 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Wed Jul 29 09:00:05 UTC 2020

Modified Files:
src/sys/arch/mips/include: cpuregs.h

Log Message:
Add definitions for the CP0 WatchLo/WatchHi registers.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/mips/include/cpuregs.h

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



CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jul 29 07:14:45 UTC 2020

Modified Files:
src/sys/dev/pci: nvme_pci.c

Log Message:
rename label now that it has dual purpose; suggested by mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/pci/nvme_pci.c

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