Commit Graph

297949 Commits

Author SHA1 Message Date
rillig 6c259f3957 fix misspellings of 'available' and nearby typos 2022-09-10 12:14:17 +00:00
wiz 6175fbdff5 sqlite-3.39.3 out 2022-09-10 11:40:08 +00:00
skrll 357c76e08c Remove unnecessary cast. 2022-09-10 09:28:26 +00:00
mrg a42111b45b avoid a GCC warning (happens on -current, -9, and -8.) 2022-09-10 07:30:41 +00:00
wiz 3fc88bf6d6 doc: document grep -r change 2022-09-09 22:15:13 +00:00
wiz ab1d953c71 grep: when -r is used, but no path argument provided, search the current dir
As discussed on tech-userlevel.
2022-09-09 22:14:28 +00:00
dholland 93a94d32f0 fortunes: add something 2022-09-09 19:37:15 +00:00
mrg 6b058aa5e8 add missing reallocarray.c. 2022-09-09 19:15:20 +00:00
sjg 252783a4bd Handle deprecation of egrep 2022-09-09 18:36:15 +00:00
rin 92576b307d G/C ``notyet''; OPC_load_st_62 == std{,u} are integer insns.
No binary changes.
2022-09-09 14:35:27 +00:00
christos f90ec61dde Don't forget to free the cred we just held.
Thanks to Chris J-D (chris at accessvector dot net)
While here, de-duplicate the mutex exit sequence.
2022-09-09 14:30:17 +00:00
pgoyette 15e712c966 Add YMMD 2022-09-09 14:16:16 +00:00
uwe 10a3e782b5 make(1): add space before the punctuation argument 2022-09-09 10:57:39 +00:00
rillig 6836e7ba01 make.1: clean up and make the description more accurate
Most changes are editorial.  Notable exceptions are:

The ':Q' in MAKE_PRINT_VAR_ON_ERROR was wrongly added in the previous
commit.  As that variable does not produce a shell command, there is no
point in quoting the characters.

Since 2012.10.07.19.17.31, make doesn't complain anymore if a shell
command in compat mode expands to an empty string, which removes the
need to "keep make happy".
2022-09-09 06:23:36 +00:00
rillig c5a155a374 make.1: only use .Pa for actual pathnames 2022-09-09 05:27:32 +00:00
mrg 65daed00f3 updates for libXfont2 2.0.6. 2022-09-09 03:56:39 +00:00
mrg 1cd7d004e0 updates for libfontenc 1.1.6. 2022-09-09 03:49:19 +00:00
mrg 6e2699387c updates for libFS 1.0.9. 2022-09-09 03:46:29 +00:00
rillig 6e6477ed44 tests/make: extend tests for the ':=' assignment operator 2022-09-08 20:23:45 +00:00
rillig fc8c6bcdfc make.1: rewrite many details in a more precise way 2022-09-08 20:22:55 +00:00
rin 6cf679389a fpu_compare(): Assign r by using return value from fpu_sub(),
instead of directly using &fe->fe_f3. NFC; only for clarity.
2022-09-08 15:22:43 +00:00
rin 1a4f18c70e fpu_compare(): Fix inverted logic and comment it out for now.
VXVC is raised for SNaN if VE == 0.

As we still do not support enabled exception bits, comment out
this if statement for consistency at the moment.
2022-09-08 15:21:50 +00:00
skrll ab6e2fce6d Sprinkle const. Same binary before and after. 2022-09-08 07:05:42 +00:00
knakahara e0d7e70add Fix PR port-i386/57000 (boot failure on qemu). 2022-09-08 06:57:44 +00:00
rillig 2c596ab45f make: list comparison operators in declaration order
This allows a tiny optimization in the switch statement.

No functional change.
2022-09-08 05:52:56 +00:00
rillig e51eb8f694 tests/make: document an edge case in evaluating conditionals 2022-09-08 05:43:20 +00:00
rillig 5afb8d05a5 distrib/sets/sets.subr: remove trailing whitespace 2022-09-08 05:26:34 +00:00
rillig 9ef29268a6 distrib/sets: remove trailing empty lines 2022-09-08 05:16:45 +00:00
rillig ba6367b404 distrib/sets: fix typo in comment 2022-09-08 05:16:20 +00:00
rillig f6315b462e distrib/sets/fmt-list: clean up string formatting
No functional change.
2022-09-08 05:05:08 +00:00
msaitoh a83948eac0 KNF. Modify comment. No fucntional change. 2022-09-08 02:40:10 +00:00
rillig ec40413dc3 make.1: clean up style, grammar, punctuation, improve clarity 2022-09-07 23:34:56 +00:00
rillig 0ba6f9d9a6 make.1: remove redundant 'then' from conditional sentences. 2022-09-07 22:57:43 +00:00
rillig f69e668dd2 make.1: use present tense in conditional sentences
These sentences are about general, timeless rules, rather than about
predictions about the future.
2022-09-07 22:36:48 +00:00
martin 855dd252b4 Comment out emuxki here for now - I don't think they belong here and
something else(tm) is wrong with the setup anyway, so better fix the build
for now and leave cleanup to somebody else.
2022-09-07 11:37:25 +00:00
martin 6e81fb1ea4 Move emuxki from i386/amd64 specific modules to attachment specific
modules (effectively disabling it for the build for now, as it needs
setlist fixes and breaks the build).
2022-09-07 11:26:23 +00:00
riastradh e056547bb7 usbdi(9): Fix timeout after non-racy xfer resubmission.
Previously we would never clear ux_timeout_set if an xfer timedout,
so resubmission of the same xfer later would fail to schedule a
callout.
2022-09-07 10:41:34 +00:00
rin 4d3fc228c7 Fix mnemonics for fm{add,sub}. NFC except for evcnt(9) names. 2022-09-07 06:53:03 +00:00
rin f3f59a5d73 fpu_explode(): Fix sign for FTYPE_INT.
NFC for now; conversion for this type is used only for immediate 1.
2022-09-07 06:51:58 +00:00
martin c596e001a0 Fix the build, add new emuxki_boards.c 2022-09-07 06:37:04 +00:00
khorben 664760effc emuxki(4): import a list of board definitions
This is inspired by the cxdtv(4) driver.

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870, PCI)
and with a Sound Blaster Audigy Rx 7.1 (SB1550, PCIe).

Additional sound cards sponsored by the NetBSD Foundation; thanks!
2022-09-07 03:34:43 +00:00
rin 89b83c1832 Turn fpu_sub() macro into static inline function for clarity.
No binary changes.
2022-09-07 02:41:39 +00:00
pgoyette 0996b25df1 Update to match recent changes in implementation. 2022-09-07 01:18:32 +00:00
khorben ee8b02526e emuxki(4): place struct emuxki_softc into its own file
NFCI
2022-09-07 01:00:37 +00:00
khorben 28051c0112 emuxki(4): restrict DMA memory within the first 2GB
As implemented in the driver, the EMU10K1 chip can only address memory
up to 31-bit addresses.

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870, PCI)
and with a Sound Blaster Audigy Rx 7.1 (SB1550, PCIe).

Additional sound cards sponsored by the NetBSD Foundation; thanks!
2022-09-07 00:44:07 +00:00
knakahara ff4bde1056 NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.
There has been no objection for three years.
    https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html
Implemented by nonaka@n.o, updated by me.
2022-09-07 00:40:18 +00:00
khorben 6db74d261e tpm(4): add missing newline character in device_printf()
Observed with on a Sun Ultra 24, NetBSD/amd64:

tpm0 at acpi0 (TPM, IFX0102-1): io 0x4e-0x4f,0x4700-0x470b mem 0xfed40000-0xfed44fff
tpm0: device 0x000b15d1 rev 0x10
tpm0: read 8 bytes, expected 10tpm0: deactivating entropy source
2022-09-07 00:34:19 +00:00
khorben 347306b26e emuxki(4): allow building as a module
Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870)

Note that this required setting outputs.master to the maximum value
allowed (255) to get sound out, and then cranking the volume pretty
high.

Additional sound cards sponsored by the NetBSD Foundation; thanks!
2022-09-07 00:29:23 +00:00
rin 5002171409 Style sync with other parts of this file, as well as FreeBSD:
https://cgit.freebsd.org/src/commit/sys/powerpc/fpu/fpu_sqrt.c?id=81dd9c5e69a2709ae3317dd383093e1c8a970d9e

NFC since q is initialized to zero just above.
2022-09-06 23:14:28 +00:00
rin 4c285109b9 Fix errors in calculation of intermediate mantissa bits > 95.
NFC since this does not affect the final results; we do not
support any extended-precision formats at the moment (never?).

Taken from FreeBSD:
https://cgit.freebsd.org/src/commit/sys/powerpc/fpu/fpu_sqrt.c?id=81dd9c5e69a2709ae3317dd383093e1c8a970d9e
except for stylistic changes that will be committed soon.
2022-09-06 23:12:42 +00:00