Commit Graph

5243 Commits

Author SHA1 Message Date
christos 1761a60c58 sync with most recent (no changes) 2019-01-05 21:47:40 +00:00
christos d8993e22ce regen 2019-01-03 17:30:06 +00:00
maya 9cd3ccd06c Revert installing llvm headers. 2019-01-01 18:46:03 +00:00
maya 613a39df76 Install most of the llvm headers.
This is missing some generated files, llvm/include/IR/*.inc
2018-12-31 19:33:02 +00:00
plunky 1b44035b06 remove lwresd as now obsolete 2018-12-24 08:31:08 +00:00
jakllsch 1192b45e7e Add /usr/tests/lib/libnvmm and related debug paths to the directory list. 2018-12-23 15:43:42 +00:00
maxv 9a1e316930 Add /dev/nvmm. 2018-12-23 12:18:30 +00:00
maxv 43c9320743 Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
2018-12-19 13:57:44 +00:00
jmcneill 56c7646905 add tprof 2018-12-15 01:02:58 +00:00
macallan ddba26defe make iic* and more pci* nodes 2018-12-14 23:03:29 +00:00
msaitoh 5ed77d2b40 Add tprof 2018-11-27 14:55:56 +00:00
scole 061a76feb8 install kernel for ppc601 floppies and iso 2018-11-12 20:07:47 +00:00
abs 5b096803d3 Install the sample slip.login to share/examples/slip/slip.login 2018-11-09 21:33:50 +00:00
maxv f3a4baf748 Add NVMM - for NetBSD Virtual Machine Monitor -, a kernel driver that
provides support for hardware-accelerated virtualization on NetBSD.

It is made of an MI frontend, to which MD backends can be plugged. One
MD backend is implemented, x86-SVM, for x86 AMD CPUs.

We install

	/usr/include/dev/nvmm/nvmm.h
	/usr/include/dev/nvmm/nvmm_ioctl.h
	/usr/include/dev/nvmm/{arch}/nvmm_{arch}.h

And the kernel module. For now, the only architecture where we do that
is amd64 (arch=x86).

NVMM is not enabled by default in amd64-GENERIC, but is instead easily
modloadable.

Sent to tech-kern@ a month ago. Validated with kASan, and optimized
with tprof.
2018-11-07 07:43:07 +00:00
skrll eeb96914b4 Match the right MACHINE_ARCHes for GENERIC. 2018-11-05 21:34:33 +00:00
skrll ec787da840 Only add GENERIC to earmv6 and earmv7 builds 2018-11-04 21:41:12 +00:00
maxv 8f30df5465 Add tprof in MAKEDEV.tmpl, and regen MAKEDEV.8. 2018-11-04 12:48:01 +00:00
skrll d71785d000 Add GENERIC to big-endian KERNEL_SETS 2018-11-01 18:23:25 +00:00
skrll 76478902d7 Use the GENERIC kernel where possible in armv7.img and remove the old
kernels from the bulid for SUNXI and TEGRA.

While I'm here disable *_INSTALL kernel builds for boards supported by
armv7.img
2018-11-01 11:05:24 +00:00
mrg 0050db9471 only flush routes in stop routine if flushroutes is true, same as
the start up.
2018-10-23 09:25:33 +00:00
skrll c4336712ef Sort 2018-10-21 07:08:40 +00:00
martin a52a4fdc24 Apply patch from Ian D. Leroux in PR bin/51019:
when unmounting tmpfs file systems at shutdown time, avoid unmounting
a tmpfs created by init on /dev - behaviour overridable from rc.conf.
By default all tmpfs that have device nodes are not mounted.
2018-10-19 14:11:12 +00:00
christos 88efda171e add intermediate directory. 2018-10-11 18:04:06 +00:00
christos c8bc6b1fb6 Add unbound /var/run directory (reported by hannken@) 2018-10-11 15:39:54 +00:00
jmcneill 51976c5c14 If fs_spec starts with the special string "ROOT.", replace it with a device
path derived from the value of the kern.root_device sysctl.
2018-10-06 13:09:53 +00:00
jmcneill 9aee78b66b Create ld[4-7] device nodes, matching evbarm 2018-10-06 10:00:32 +00:00
kre d65b3b7a40 Fix an obvious botch in the previous rev, found by martin@ 2018-10-04 11:50:34 +00:00
martin 0b39a65f52 Redo xz vs. gzip selection via conditional make expressions, suggested
by joerg.
2018-10-01 09:47:34 +00:00
jmcneill 9060f499ba Make more ld device nodes. 2018-09-30 16:01:08 +00:00
martin 56d7a6f003 Discussed some years ago but never commited: add an option to have a
single tmpfs (on /tmp) and use that for /var/shm as well (via a symlink
created after the tmpfs on /tmp has been mounted)
2018-09-30 10:38:05 +00:00
martin 15cb964115 Clarify comment, pointed out by maya: we do not expect bootloaders
to understand xz compression, so the kernel.gz stay as they are, only
the sets are moving to .tar.xz.
2018-09-29 06:10:01 +00:00
kre 5d13792aee Only test USE_XZ_SETS if it is defined. This is probably not the
correct fix, so someone else please do it correctly - either this is
the wrong word, or it should be given a default value elsewhere.
2018-09-29 01:12:22 +00:00
martin d7f296ff14 Prepare for .tar.xz sets 2018-09-28 15:11:36 +00:00
kre 9ae2b31ff9 Convert uses of test (aka '[') to use only posix specified forms,
mostly just on general principle...   this resulted in one or two minor
code reformattings to keep 80 char limits - a few needless uses of
quotes ("no" ??) were also removed (sh is not C. strings are strings
without quotes around them...)
2018-09-23 23:48:33 +00:00
kre ebc67df82a Convert uses of test (ie: '[') to use only POSIX specified forms,
just on general principle (all but 3 of the changes are in code that
is commented out...)
2018-09-23 23:16:34 +00:00
kre d0784034e5 Convert to POSIX specified usage of test (even though it would probably
have never been an issue here, it is trivial..., and one of the two
uses that needed changing was (and still is) commented out anyway).
2018-09-23 23:12:21 +00:00
kre e063fa5f54 rc.subr can be used in install images (from sysinst) so must use only
POSIX specified test uses (no -a or -o).   Also, use printf always,
rather than echo (replace echo as a function using echo with one which
uses printf).
2018-09-23 23:02:39 +00:00
maxv ebec90347e Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
2018-09-23 09:20:57 +00:00
maxv 6049b090a1 Remove the userland part of ISDN. The kernel part is untouched for now.
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.
2018-09-23 07:24:19 +00:00
rin ef012cc21d Remove ISDN. 2018-09-23 06:39:23 +00:00
kre f8f3c1e1aa Avoid use of test -o for when this is used as part of an INSTALL system
and the SMALL test does not support -o
2018-09-22 13:48:22 +00:00
christos ebe8cc5f44 add nta named directory. 2018-09-12 15:29:11 +00:00
christos 6ba44db130 add /var/chroot/nsd/var/run 2018-09-07 16:50:22 +00:00
maxv e0384f18e7 Remove netkey/. 2018-09-06 19:19:44 +00:00
maxv ff954d5a99 remove netnatm leftover 2018-09-06 09:31:06 +00:00
kre d1e529d31c Add ATF tests for printf(1)
Two new test programs, one for the version of printf in /bin/sh
and one for the command /usr/bin/printf (t_builtin and t_command)

Each test program has 28 test cases (the same in each) of which
currently 27 pass, and 1 is skipped.

See the test scripts themselves for more information.
2018-09-05 21:05:40 +00:00
jmcneill d49d0a8c50 Copy bootaa64.efi to releasedir 2018-08-27 22:41:56 +00:00
christos f062baa468 handle v6 addresses 2018-08-13 09:16:06 +00:00
kamil 928317f5a5 Register micro-UBSan ATF tests in the distribution
Populate distrib files, mtree lists and add the entry in Makefile to
include the new code.
2018-08-03 04:24:41 +00:00
maxv 477e523c7d Distribute GENERIC_KASLR on amd64. 2018-08-02 16:26:09 +00:00