christos
1a4228f94c
check if the ${MACHINE} directory exists
2024-05-14 17:17:13 +00:00
christos
c3d63bc897
Add the same extra stuff from amd64
2024-05-14 17:15:13 +00:00
riastradh
5e6d5edb94
t_siginfo: Use volatile to prevent optimization.
2024-05-14 16:10:54 +00:00
riastradh
fc245f77a0
t_siginfo: No SIGFPE on RISC-V.
2024-05-14 16:10:14 +00:00
riastradh
fc5f862a3e
t_ptrace_wait: No FPU exception traps on RISC-V.
...
This macro is not named correctly -- RISC-V does implement
floating-point exceptions, but only via sticky status bits, not via
machine traps.
2024-05-14 16:06:20 +00:00
riastradh
c4f7f3bcf7
t_ptrace_wait: Force result by write to volatile, not call to usleep.
...
This is causing each FPE-related test to time out because it's
actually passinga large number to usleep, which now respects large
numbers.
2024-05-14 16:04:17 +00:00
riastradh
fd16ce12c7
tests/kernel/h_segv: Disable SIGFPE test on RISC-V.
...
No floating-point exception traps on RISC-V.
Also don't pass the result of divide-by-zero converted to integer to
usleep. Although the floating-point result of divide-by-zero is
well-defined by IEEE 754 (+/-infinity), the outcome of C conversion
to integer is not. And while on some architectures this might return
zero, on RISC-V it looks like it'll return all bits set. And as of
PR 58184, usleep now honours sleeps longer than 1sec, which means
this will be waiting at least two billion microseconds, or about half
an hour...
So instead, just write the result to a volatile variable.
2024-05-14 15:54:16 +00:00
riastradh
e14c40965f
t_ilogb: Nix spurious line break in ATF_CHECK_MSG.
2024-05-14 15:31:42 +00:00
riastradh
3fd343c9a6
riscv: No volatile needed on asm to _read_ rounding mode, exceptions.
...
These instructions can be omitted if the return values are unused.
In contrast, _writes_ to the rounding mode or exceptions must not be
omitted (even if we ignore the return value, which is the old value
of the field).
I think "memory" is the wrong clobber on these asm blocks too; they
can't be reordered around _floating-point_ instructions, while
reordering around loads and stores is fine. But I don't know how to
spell the right thing in gcclish.
2024-05-14 15:17:57 +00:00
riastradh
5830d5d1cf
riscv: Fix reading and writing frm and fflags.
...
The FRRM/FSRM and FRFLAGS/FSFLAGS instructions do all the masking and
shifting needed -- __SHIFTIN/__SHIFTOUT is wrong.
2024-05-14 15:16:51 +00:00
christos
5685bf84e6
Add the extra spec for the amd64 cdroms
2024-05-14 14:58:41 +00:00
christos
aa283a51b7
Put back -xx (this will break some archs but we'll fix them) and automatically
...
generate the spec for the machine-specific portions of the cdrom.
2024-05-14 14:58:05 +00:00
christos
5c7c1d2b1c
Allow specific subdirectories to be added to the list
2024-05-14 14:57:08 +00:00
riastradh
71e5ba3aae
t_fpsetmask, t_fenv: Skip fp exception trap tests on RISC-V.
...
No architectural support for fp exception traps.
While here, make the macros behave a little better as C statements.
2024-05-14 14:55:43 +00:00
riastradh
26e8a868b4
libm: Fix powerpc64 build.
...
- Include fenv.c and fma(3) symbols (which just use the FMADD
instruction).
- Note the .FN symbols in libm for the asm functions. The FN symbols
point at the function _descriptors_; the .FN symbols point at the
first instruction of the function.
XXX Unclear why we have the .FN symbols for asm functions but not for
C functions. I'm not sure we should be exporting them.
2024-05-14 14:34:35 +00:00
riastradh
2c76d2e0d2
tpm(4): device_printf needs \n.
...
Observed in PR 58255.
2024-05-14 13:41:15 +00:00
uwe
43b4276855
curses_input(3): bump date for define_key() change
2024-05-14 10:40:41 +00:00
uwe
deeae7c15b
curses_termcap(3): fullname() termbuf argument is const
2024-05-14 10:38:16 +00:00
uwe
97b9891f11
curse: constify define_key() argument
...
define_key() is ncurses extension and ncurses defines its first
argument as "const char *". Follow suit.
PR lib/58254
2024-05-14 10:22:48 +00:00
gutteridge
1290da4db3
echo.1: borrow advice about printf(1) from the OpenBSD man page
2024-05-14 01:32:24 +00:00
gutteridge
4a48b9962f
creds_msdos.8: consistently include a hypen in "MS-DOS"
2024-05-13 23:10:47 +00:00
nia
ac38847e11
also exclude DRM_LEGACY from the ISA kernel
2024-05-13 21:50:47 +00:00
rillig
e79ba06d10
libc/hdtoa: suppress lint warning about possible accuracy loss
...
on sparc64: hdtoa.c(340): warning: conversion from 'unsigned long'
to 'char' may lose accuracy [132]
2024-05-13 21:17:24 +00:00
rillig
e040c24146
usr.sbin/flashctl: skip lint's strict bool mode with Clang
...
The strict bool mode is already checked in GCC mode, so restore the
previous idiomatic code.
2024-05-13 20:38:05 +00:00
rillig
7e2cd5d094
tests/t_hypot: actually add nan test
2024-05-13 20:28:15 +00:00
christos
cbec7da0ed
more Xf86misc obsolete
2024-05-13 14:59:31 +00:00
christos
2b74ac1f4d
mark more of libXxf86misc obsolete
2024-05-13 14:56:44 +00:00
nia
93ec4a111e
doc: we've been busy
2024-05-13 08:58:59 +00:00
msaitoh
5613269998
Modify comment. The number of queues is not limited to 8.
...
The number of queue is calculated from both the number of CPUs and
the number of MSI-X vectors.
2024-05-13 03:15:33 +00:00
msaitoh
01f9da81b9
s/of of/of/ in comment.
2024-05-13 00:32:39 +00:00
msaitoh
d40aaeae1e
s/signficant/significant/ in comment.
2024-05-13 00:32:09 +00:00
msaitoh
441cf27377
emtpy -> empty in comment.
2024-05-13 00:25:23 +00:00
msaitoh
a11cd6f1fb
s/contigous/contiguous/ in comment.
2024-05-13 00:24:18 +00:00
msaitoh
5142f02961
s/priviliged/privileged/
2024-05-13 00:12:33 +00:00
msaitoh
905fac3dbb
ficticious -> fictitious in comment.
2024-05-13 00:11:22 +00:00
msaitoh
1fd30753f8
s/Instrcution/Instruction/ in comment.
2024-05-13 00:10:06 +00:00
msaitoh
dec1aa71e3
s/combindations/combinations/ in comment.
2024-05-13 00:08:49 +00:00
msaitoh
3e5d658ac5
s/slighly/slightly/ in comment.
2024-05-13 00:08:06 +00:00
msaitoh
dff1feb038
s/withe/with/
2024-05-13 00:06:04 +00:00
msaitoh
8ae6144b33
s/of of/of/ in comment.
2024-05-13 00:01:52 +00:00
msaitoh
6d9e6faaad
s/Firey/Fiery/ in comment.
2024-05-12 23:58:18 +00:00
msaitoh
c6dd4e7860
Remove duplicated yppush.
2024-05-12 23:57:11 +00:00
msaitoh
51508882aa
s/unitialized/uninitialized/
2024-05-12 23:55:57 +00:00
msaitoh
90016d0b5b
s/occuring/occurring/
2024-05-12 23:53:45 +00:00
msaitoh
70816a3c4f
s/descriminated/discriminated/ in comment.
2024-05-12 23:52:57 +00:00
msaitoh
8db4a15828
s/RPMQUERY/RMPQUERY/
2024-05-12 23:41:10 +00:00
msaitoh
04490aa25c
Regen.
2024-05-12 23:30:35 +00:00
msaitoh
a52e2f339b
Add some Intel Rapotr Lake graphics.
2024-05-12 23:30:07 +00:00
msaitoh
1d1edb8997
Add Phison PS5021 and PS5026.
2024-05-12 23:29:14 +00:00
msaitoh
636c2f2b35
s/iast/iasl/ from FreeBSD.
2024-05-12 23:00:21 +00:00