Commit Graph

278253 Commits

Author SHA1 Message Date
uwe
bdbca37a95 BUGS: note that meaning of sustain dots differs from the standard notation.
From FreeBSD.
2020-07-05 00:33:18 +00:00
kim
fb2e468db8 Don't overwrite host_buf as x might be pointing to wanted data in it 2020-07-04 23:30:31 +00:00
uwe
ace06697fe Middle C is in O2 (from RTFS). 2020-07-04 23:24:10 +00:00
uwe
87c8858e80 Add more markup. Edit for clarity. 2020-07-04 23:09:43 +00:00
rillig
65efdddde7 make(1): ignore system-specific error message from regcomp in test
NetBSD 8 has: repetition-operator operand invalid
Ubuntu has: Invalid preceding regular expression
2020-07-04 22:17:09 +00:00
rillig
212e1bfb05 make(1): add post-processing for tests
By defining SED_CMDS.${test}, a test can do additional post-processing
on its output, for example to normalize paths or error messages.

The Makefile for the tests now follows the common style to have all
relevant definitions at the top of the file, and all the implementation
details at the bottom.

By using the += instead of backslashed lists, it becomes easier to
comment out a single test, either temporarily or permanently (such as
the POSIX tests).

The :C modifier has been replaced with the simpler :S, some :S modifiers
have been replaced with simpler := modifiers.

The postprocessing commands have been extracted from the actual command.
This makes editing and commenting them easier.
2020-07-04 22:01:10 +00:00
christos
af4576753e add missing arg 2020-07-04 21:07:29 +00:00
rillig
ec8bdc5cce make(1): improve documentation about adding new tests 2020-07-04 21:04:25 +00:00
chs
0c4f8e69b2 note x86 Xen kernel module change. 2020-07-04 21:03:50 +00:00
chs
af5290a884 the x86 xen and non-xen modules are identical,
so remove the unneeded extra copies.
Xen kernels now use the same modules as native kernels.
2020-07-04 21:02:15 +00:00
uwe
124a6fcf7c Fix off by one in the range of note values (in one instance).
From xordspar0 at gmail.
2020-07-04 19:25:24 +00:00
rillig
02fd3a76b7 make(1): add tests for dollar characters in modifiers 2020-07-04 18:54:18 +00:00
riastradh
5da7826cde Fix kmem_free size in recent malloc->kmem conversion.
Should address this bracket report that has my name all over it:

https://mail-index.netbsd.org/current-users/2020/07/04/msg039059.html
2020-07-04 18:07:31 +00:00
rillig
e75f10238e make(1): expand the test for variable expansion in the :@ modifier 2020-07-04 17:41:04 +00:00
rin
e89698aaab Do not panic when splraise to IPL_NONE, which is required for
subr_cprng.c rev 1.36 and above:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_cprng.c#rev1.36
2020-07-04 17:20:45 +00:00
rillig
41de654ca4 make(1): add debugging output for :@ modifier
The inner working of the :@ modifier is quite tricky.  To understand what
really happens, it helps to look at each word as it is being modified.
2020-07-04 17:10:33 +00:00
rin
a08fee7be0 Use tlen for temporary length variable instead of l, which is usually
used for struct lwp *.

No binary changes.
2020-07-04 16:58:11 +00:00
rillig
bc395342ad make(1): constify VarModify parameter
Since var.c r1.238 and r1.239, the callbacks for the :H :T :E :R modifiers
don't modify the word anymore, and the others didn't modify it at all.
2020-07-04 16:30:47 +00:00
rillig
4c7b4343dd make(1): add test for an obscure edge case of using the :@ modifier 2020-07-04 16:15:21 +00:00
rillig
6d21da477d make(1): fix :hash modifier on 16-bit platforms
On platforms where int has only 16 bits the shifts would have been in
16-bit arithmetic, which would invoke undefined behavior for "ustr[3] <<
24" as well as "ustr[2] << 16" (C99, 6.5.7p3).
2020-07-04 15:44:07 +00:00
skrll
6fc5d823c0 G/C 2020-07-04 15:14:56 +00:00
jdolecek
2c10f92295 switch to pci_intr_alloc() so this uses MSI/MSI-X if device supports it 2020-07-04 14:49:24 +00:00
rin
f07b36b9b0 Add missing TMPFS, PTYFS, WAPBL, INET6, and NFS_BOOT_DHCP.
XXX
Sync options with GENERIC. It should be better to introduce
GENERIC.common in a similar manner to evbarm.
2020-07-04 12:04:15 +00:00
rin
e5988cc162 Enable snapper(4) and friends. It works just fine. 2020-07-04 12:00:15 +00:00
rin
298a50bd42 - Adjust location of \n in attach message.
- Convert to aprint_*(9).
2020-07-04 11:55:18 +00:00
rillig
b51cedc104 make(1): remove unnecessary _t suffix from VarLoop type 2020-07-04 10:49:09 +00:00
rillig
27435682ca make(1): fix documentation of Var_Subst, clean up other documentation 2020-07-04 10:46:31 +00:00
rillig
1ebd6baaaf make(1): remove unnecessary forward declarations, fix indentation 2020-07-04 10:35:30 +00:00
rillig
512cc40040 make(1): remove unnecessary forward declarations 2020-07-04 10:19:39 +00:00
rillig
40c4e04e76 make(1): add tests for the :S and :C modifiers 2020-07-04 09:21:30 +00:00
bouyer
387aaee01a Fix unset_idtgate() for XENPV, pointed out by yamaguchi@ 2020-07-04 09:03:54 +00:00
ryoon
f75ffeda10 man4: Add Linux USB 3.0 debu port to ugensa.4 2020-07-04 08:10:21 +00:00
ryoon
ac76789489 usb/ugensa: Support Linux USB 3.0 debugging port serial communication 2020-07-04 08:07:02 +00:00
ryoon
d8bdfea95f usbdevs: Regenerate 2020-07-04 08:06:12 +00:00
ryoon
11e94a8068 usbdevs: Add Linux USB 3.0 debugging port serial device 2020-07-04 08:05:26 +00:00
skrll
db6bf946c6 Protect with #ifdef _KERNEL 2020-07-04 07:02:35 +00:00
skrll
08ffba536b Trailing whitespace 2020-07-04 06:24:53 +00:00
lukem
564e323839 add missing RCSIDs
(copyrights could be added too - that's up to christos@)
2020-07-04 05:18:37 +00:00
rin
95165b7965 Fix previous; add missing <uvm/uvm.h> include. 2020-07-04 04:59:36 +00:00
rin
8c4e0d2bbb Fix uvmexp.ncolors for some big.LITTLE configuration; it is uncertain
which CPU is used as primary, and as a result, secondary CPUs can
require larger number of colors.

In order to solve this problem, update uvmexp.ncolors via
uvm_page_recolor(9) when secondary CPUs are attached, as done for
other ports like x86.

Pointed out by jmcneill@, and discussed on port-arm@:
http://mail-index.netbsd.org/port-arm/2020/07/03/msg006837.html

Tested and OK'd by ryo@.
2020-07-04 04:39:20 +00:00
lukem
702ffa073c make: fix sign-compare warning
Fix -Wsign-compare warning on amd64, introduced in rev 1.239
2020-07-04 03:08:20 +00:00
lukem
95fccb75a2 NetBSD-ftpd 20200615
Update version to "NetBSD-ftpd 20200615" for changes:
- Increase some buffer sizes.
- Rename blacklist to blocklist.
2020-07-04 01:20:42 +00:00
uwe
71a0f0ceb5 wtouchln - verify/clip input parameters
From Naman Jain in PR lib/55454
2020-07-03 23:28:51 +00:00
rillig
f4f4a9077d make(1): reduce line length in var.c 2020-07-03 22:40:55 +00:00
rillig
c1dbee04ea make(1): refactor ApplyModifier_SysV to have less indentation 2020-07-03 22:34:22 +00:00
rillig
977d1d3077 make(1): clean up documentation, small refactorings for variables
- document the callback for VarModify
- clearly mark the callbacks
- shorten the documentation for some callback functions
- fix the documentation of VarSYSVMatch
- remove unnecessary null check from VarLoopExpand
- add test for applying modifiers to empty strings
2020-07-03 22:10:42 +00:00
jdolecek
8648f78621 add a cast to (struct statvfs *) for STATVFSBUF_GET() to make sure it's
never assigned to anything else
2020-07-03 19:37:27 +00:00
rillig
ec00d0b13b make(1): add another test for the SysV :%=% modifier 2020-07-03 19:29:25 +00:00
pgoyette
1aba634484 Consistent use of comma in lists. 2020-07-03 19:22:38 +00:00
rillig
9215194b8f make(1): add expected test result for modmisc 2020-07-03 19:21:11 +00:00