Commit Graph

17952 Commits

Author SHA1 Message Date
riastradh
7c54d842f7 New functions kthread_fpu_enter/exit.
The MI definitions don't do anything but maintain a flag, but MD code
can define kthread_fpu_enter/exit_md to actually enable/disable the
FPU.  (These are almost pcu_load/discard on systems that use pcu(9),
except they apply to all PCUs.)

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2020/06/20/msg026524.html

The proposed kthread flag KTHREAD_FPU is not included because I
couldn't find any particular need for it that would not be covered by
just calling kthread_fpu_enter/exit in the kthread function.
2020-08-01 02:04:55 +00:00
fcambus
e275f93abc Update Spleen wscons fonts to version 1.8.2, bringing the following
improvements:

- Fix size of the lower case 'ae' character in the 16x32 and 32x64 versions
- Shorten parentheses, square brackets, braces, slash, backslash in the
  8x16 version, fixing alignment issues
- Shift vertical line and double vertical line characters one pixel
  up in the 8x16 version
2020-07-31 20:46:53 +00:00
leot
afb9677731 Add TSV 2020-07-28 14:35:34 +00:00
jdolecek
9c53671351 add reference to net/py-xmm7360 for the network initialization script 2020-07-27 14:17:47 +00:00
jdolecek
030019dcc8 more attribution 2020-07-27 11:12:56 +00:00
skrll
97f524ff8a Don't define _LKM. LKMs are dead. Long live modules. 2020-07-27 08:26:09 +00:00
wiz
4fb043ce84 Minor wording improvements. 2020-07-26 21:47:16 +00:00
jdolecek
183910b65f finish sentence 2020-07-26 15:57:03 +00:00
jdolecek
73e870b5dc add note that the network initialization script needs the device nodes
to be created
2020-07-26 15:56:30 +00:00
jdolecek
6b6d7b2ff3 add rudimentary wwanc(4) manpage 2020-07-26 15:13:09 +00:00
rillig
3a4242ba1d share/mk/bsd.README: fix typo 2020-07-26 09:22:43 +00:00
rillig
1a15e1964e style: fix typo about enum constants being capitalized 2020-07-26 09:22:15 +00:00
tsutsui
090a690dad Switch x68k to HAVE_XORG_SERVER_VER=120.
Confirmed both color "Graph" VRAM and mono "Text" VRAM servers on XM6i.
2020-07-21 14:42:44 +00:00
tsutsui
2414371414 Switch ports using MI wsfb drivers to HAVE_XORG_SERVER_VER=120.
Xorg wsfb servers from 1.20 for dreamcast (16bpp), hp300 (8bpp), and
luna68k (1bpp) work fine even on NetBSD 9.0, and zaurus is also
confirmed working.

Discussed with mrg@ and macallan@ on tech-x11:
 https://mail-index.netbsd.org/tech-x11/2020/07/thread1.html#002098
2020-07-20 14:24:13 +00:00
fcambus
a41247a4c5 Update Spleen wscons fonts to version 1.8.1, bringing the following
improvements:

- Center tilde vertically for all sizes, as modern fonts do
2020-07-20 13:58:52 +00:00
tsutsui
879355ad78 Fix typos in ${X11INCS.DIX} include paths. PR/55500 2020-07-20 13:55:08 +00:00
dholland
2f503947a6 +craptacular
(originally suggested by pgoyette)
2020-07-16 03:08:58 +00:00
leot
562d999853 Document unbound and unbound_chrootdir. 2020-07-15 17:55:34 +00:00
leot
093639c62c MKBSDTAR is yes by default 2020-07-15 17:46:06 +00:00
jruoho
f1c3cdfd23 's/blacklistd/blocklistd/'. Note also blocklistd_flags. 2020-07-15 16:52:48 +00:00
jruoho
e86652a33f Note modules. 2020-07-15 16:46:11 +00:00
kim
7392fbb224 Document optional speed argument to consdev 2020-07-15 12:38:30 +00:00
jdolecek
5b894df5c4 update list of matched adapters 2020-07-14 17:39:19 +00:00
dholland
e98bb6b88a +corvid
This file already has "covid" somehow, and while that's fine now my
best guess is that it was originally an OCR blooper for "corvid",
which is missing.
2020-07-13 23:56:41 +00:00
jruoho
de35f5b630 Xref rfc6056(7). 2020-07-13 15:05:05 +00:00
uwe
08e4367608 Try to improve markup, PostScript output. 2020-07-13 14:11:16 +00:00
pgoyette
78e3bc6422 Imnprove previous. 2020-07-13 13:42:51 +00:00
jruoho
f2ada8ae6b Complete the example. 2020-07-13 12:44:04 +00:00
nia
f694c820c6 obviously wrong country code 2020-07-13 11:59:37 +00:00
wiz
d85411472e Whitespace/macro usage fixes. 2020-07-13 11:24:27 +00:00
nia
02a8d4e3ea wskbd.4: Add KB_LA 2020-07-13 11:15:48 +00:00
nia
4a2e556972 Move description of keyboard layouts to wskbd.4, add newer layouts
Previously, the best reference was pckbd.4. This does not make much
sense to read if you are on, say, an evbarm device with only USB.

wsconsctl.8 contained a vaguer description of supported language names,
which isn't very useful because you can't pass full language names
to the command. Point readers to wskbd.4 instead.

Note in the wskbd.4 page that while all layouts are generally supported
by pckbd(4) and ukbd(4), older keyboard interfaces might only support
a subset.
2020-07-13 11:14:12 +00:00
jruoho
0eb7ac5e23 Add stub manual pages for /etc/changelist and /etc/pkgpath.conf.
Fixes PR bin/55477.
2020-07-13 09:10:34 +00:00
wiz
2f0f2880cd Fix xref. 2020-07-13 08:59:34 +00:00
wiz
63b4dc12b3 New sentence, new line. 2020-07-13 08:58:48 +00:00
jruoho
7d2da5ea1f Add the missing rescue(8) and tests(7) sets. XXX: this manual is somewhat
broken due to the differences in the archival formats used.
2020-07-13 07:26:27 +00:00
mrg
6ba881664e MKLLVMRT is automatically enabled on x86 and arm64, not mesa18+. 2020-07-13 07:22:51 +00:00
simonb
f732e865a3 Copy "mach reset" logic from arm32 recently added by jmcneill@. The
previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
CPUs only.
2020-07-13 05:20:45 +00:00
skrll
1fde49c064 Note arm KUBSAN support 2020-07-12 13:40:44 +00:00
maxv
0d658a2d6f fix inaccuracy about kmsan 2020-07-12 10:10:53 +00:00
nia
1930f11c1e Update lists of keyboard layouts to add Turkish and Brazilian 2020-07-12 01:36:32 +00:00
nia
eae18cbc82 spell system correctly; from vezhlys on freenode 2020-07-11 13:04:29 +00:00
skrll
d329adb039 Add support for KASAN on ARMv[67]
Thanks to maxv for many pointers and reviews.
2020-07-10 12:25:08 +00:00
wiz
9749401cc3 Remove trailing comma. 2020-07-10 06:28:49 +00:00
thorpej
26c5d1c962 Update pci_configure_bus(9) to reflect the new reality -- no more manual
fiddling with extent maps, use pciconf_resource_{init,add,fini}() instead.
2020-07-10 02:27:13 +00:00
fcambus
4e5575e9c8 Add font file for Spleen 6x12, which can be loaded into the wsfont pool
or a wscons display device using wsfontload(8).
2020-07-08 11:24:49 +00:00
uwe
c3c716f32b Fix the include file name in the synopsis.
While here, drop the device path from synopsis,
its place is in the files section.
2020-07-05 03:44:13 +00:00
uwe
ae1206698b Clarify initial state some more.
Mention that the initial current octave is 4.  Drop filler verbiage
that octaves are "from C to B".
2020-07-05 01:05:01 +00:00
uwe
918bd55417 Clarify that whitespace is only ignored between groups.
Actually everything that doesn't start a group is ignored.
Whitespace is not allowed inside groups.
2020-07-05 00:38:23 +00:00
uwe
bdbca37a95 BUGS: note that meaning of sustain dots differs from the standard notation.
From FreeBSD.
2020-07-05 00:33:18 +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
christos
af4576753e add missing arg 2020-07-04 21:07:29 +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
ryoon
f75ffeda10 man4: Add Linux USB 3.0 debu port to ugensa.4 2020-07-04 08:10:21 +00:00
maxv
f235863a23 Enable trace-cmp. 2020-07-03 16:12:16 +00:00
jmcneill
336dbb3e65 Add ddb "mach reset" command for Arm ports. 2020-07-02 11:10:47 +00:00
jmcneill
891b1559b6 Document OBJMACHINE_ARCH 2020-07-02 10:22:28 +00:00
lukem
1defdf0961 bsd.dep.mk: fix "make tags" (again)
[repeat revision 1.85]

Fix "make tags" to actually build a tags file:
- Use !commands() instead of !target(), so that the rule actually works
- Write to ${.OBJDIR}/tags for read-only source (don't know why ${.TARGET}
  isn't sufficient).
- Only match *.[cly] from ${.ALLSRCS} - just excluding *.h causes failures
  because of ${targ}: subdir-${targ} in bsd.subdir.mk.

Thanks to uwe@ for assistance.
2020-07-01 07:38:29 +00:00
maxv
64f849a4c1 fix file path 2020-06-30 16:22:55 +00:00
fcambus
b11e06097c Update Spleen wscons fonts to version 1.8.0, bringing the following
improvements:

- Improve ampersand character, making it more consistent with other
  sizes (5x8 version)
2020-06-29 09:57:46 +00:00
fcambus
ad2873740c Add font files for Spleen, which can be loaded into the wsfont pool
or a wscons display device using wsfontload(8).

For example, Spleen 16x32 can be loaded and enabled as follow:

wsfontload -N spleen-16x32 -w 16 -h 32 spleen-16x32.fnt
wsconsctl -dw font=spleen-16x32
2020-06-28 14:26:18 +00:00
jruoho
319465cf55 As bin/55344 was fixed, note the flags also in rc.conf(5). 2020-06-24 10:30:43 +00:00
wiz
bc3f8a62e1 New sentence, new line. Fix macro arguments. Improve Nd.
Remove superfluous Pp. Other minor cleanups.
2020-06-24 08:20:13 +00:00
maxv
61584588ce kernel_sanitizers.7 2020-06-23 16:08:46 +00:00
fcambus
832eb6ac89 Fix filenames for vt220* wscons fonts listed in COPYRIGHT.
The extension of uuencoded files on disk is ".uue".
2020-06-22 15:07:11 +00:00
rin
09b1c677c0 Add missing Makefile. 2020-06-22 03:15:48 +00:00
lukem
c72411c4b5 bsd.dep.mk: revert 1.85 (for now)
Revert my recent 1.85 revision that fixed "make tags".  It causes too
much build breakage elsewhere in the tree that needs to be resolved first.

Issues include:
- Directories using TESTS_CXX with .cpp and .cxx extension instead of the
  default .cc extension (see bsd.prog.mk). Most of these have been fixed.
- external/gpl3/gcc build of .cc files. (No idea what's wrong there).
2020-06-22 01:04:26 +00:00
thorpej
8025a6eb14 Add additional sunxi boards:
- libretech,all-h3-cc-h2-plus
- libretech,all-h3-cc-h3
- libretech,all-h3-cc-h5
2020-06-21 19:39:11 +00:00
thorpej
2d473240cd Add evbmips installboot board data. 2020-06-21 17:15:51 +00:00
thorpej
10311849cd Add several boards:
- terasic,de0-atlas
- asus,rk3288-tinker
- nvidia,p3450-0000
- ti,omap4-panda
- ti,omap4-panda-es
- olimex,a20-olinuxino-lime2
- olimex,a20-olinuxino-lime2-emmc
- olimex,a20-olinuxino-micro
- olimex,a20-olinuxino-micro-emmc
- digilent,zynq-zybo
- digilent,zynq-zybo-z7

Update the nvidia,p2771-0000 description to match recent DTS.

Fix u-boot package name for cubietech,cubietruck-plus.
2020-06-21 16:53:57 +00:00
lukem
caf254b942 document PROGS and PROGS_CXX, and default c++ SRCS 2020-06-21 13:29:05 +00:00
lukem
6445c9ec5a bsd.dep.mk: fix "make tags"
Fix "make tags" to actually build a tags file:
- Use !commands() instead of !target(), so that the rule actually works
- Write to ${.OBJDIR}/tags for read-only source (don't know why ${.TARGET}
  isn't sufficient).
- Only match *.[cly] from ${.ALLSRCS} - just excluding *.h causes failures
  because of ${targ}: subdir-${targ} in bsd.subdir.mk.

Thanks to uwe@ for assistance.
2020-06-21 03:39:21 +00:00
wiz
6778ca9128 Remove trailing whitespace. 2020-06-19 07:25:20 +00:00
kamil
460ab12717 Document kmem_strdup() and kmem_strndup()
Added in 2018 by christos@ in sys/sys/kmem.h r. 1.11.
2020-06-18 23:30:51 +00:00
wiz
e830eb67a9 Add acl(9) from FreeBSD.
Needs work before it should be added to the build.
2020-06-18 20:38:42 +00:00
thorpej
4abc8d232e Add vmem_xfreeall(), which frees all allocated regions in the specified arena.
All outstanding allocations MUST have been performed with vmem_xalloc() or
else the behavior is undefined.  (This also implies that the arena must also
not have a quantum cache; note this in the documentation.)
2020-06-16 01:29:00 +00:00
christos
2f0bfbf344 Rename blacklist -> blocklist 2020-06-15 01:57:29 +00:00
rkujawa
6944fee265 is -> are 2020-06-14 22:30:44 +00:00
ad
83f424cd54 g/c vm.idlezero 2020-06-13 20:18:00 +00:00
sevan
4fc6f47689 BAU 2020-06-13 14:31:49 +00:00
wiz
a00a9756c0 Use more markup. 2020-06-12 20:58:43 +00:00
sevan
7509833203 QOI 2020-06-11 23:19:53 +00:00
roy
fead816208 bpf(4): Add ioctls BIOCSETWF and BIOCLOCK
Once BIOCLOCK is executed, the device becomes locked which prevents the
execution of ioctl(2) commands which can change the underlying parameters
of the bpf(4) device. An example might be the setting of bpf(4) filter
programs or attaching to different network interfaces.

BIOCSETWF can be used to set write filters for outgoing packets.
Currently if a bpf(4) consumer is compromised, the bpf(4) descriptor can
essentially be used as a raw socket, regardless of consumer's UID.
Write filters give users the ability to constrain which packets can be sent
through the bpf(4) descriptor.

Taken from OpenBSD.
2020-06-11 13:36:20 +00:00
sevan
4d18db3c85 Sync with r359561 2020-06-11 09:15:31 +00:00
sevan
1f66fbf040 URM 2020-06-10 20:26:52 +00:00
nia
9e48297e1f FQA GCHQ 2020-06-09 19:45:29 +00:00
sevan
919267d79b Use Dx macro 2020-06-08 20:19:12 +00:00
sevan
7b7e9ceaac Pp before Bl 2020-06-08 17:28:10 +00:00
sevan
0d0557bb3b white space 2020-06-08 17:19:44 +00:00
joerg
001816e78d sun2 and vax have no native TLS support, so avoid using modern jemalloc
as it has a couple of nasty race conditions when using TSD.
2020-06-06 22:06:42 +00:00
nia
fcbb6d8f6a FTP 2020-06-06 17:39:35 +00:00
sevan
b56f55278d IME, SCIM 2020-06-05 19:45:51 +00:00
nia
276f012c94 ACAB (worksafe variant) 2020-06-04 14:33:28 +00:00
nia
fbdd61721c ACAB 2020-06-04 14:09:54 +00:00
wiz
4a32f951d1 Add missing comma. 2020-06-04 13:45:19 +00:00
sevan
cc25c51647 Add FHRP, GLBP, HSRP 2020-06-03 14:19:10 +00:00
jmcneill
ea2cc58941 Set USE_XZ_SETS for evbarm-aarch64 2020-06-02 14:26:01 +00:00
christos
6e8b36d108 1. if ${LIBISPRIVATE} == "pic", create _pic.a so that we can embed the library
to another shared object
2. Don't compare ${LIBISPRIVATE} to "yes", because there are 3 places in
   Makefiles which set it to empty (this was a bug)
3. For private libraries, don't create .so* files
2020-06-01 14:39:14 +00:00