Commit Graph

15774 Commits

Author SHA1 Message Date
skrll
7977da520a Add mount_cd9660 and sysctl 2019-04-26 18:25:08 +00:00
maya
ff9d8a09c1 Add a test case for signbit.
(paranoia prior to a libm change)
2019-04-26 08:52:16 +00:00
maya
3cdbcb3e1b document cosl with MLINKS and in the man page 2019-04-25 23:17:24 +00:00
roy
d73f7f4f61 Don't install YP rc.d files with MKYP=no 2019-04-25 08:56:21 +00:00
kamil
945ffcea06 Bump the libpthread(3) minor number to 4
Added C11 Threading library support.
2019-04-24 13:01:52 +00:00
kamil
a9ca1710c0 Add a complete C11 threads(3) implementation
C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.

The library is implemented as a thin shim over POSIX interfaces.

NetBSD implements the API as a part of the POSIX threading library
(libpthread(3)).

C11 threads(3) are in the process of making them an integral part
of the POSIX standard. The interface has been implemented in major
OSs and used with stopgap libraries for older versions of them.

C11 threading library is already used (with a stopgap implementation)
in the NetBSD distribution in MESA.

Original implementation by myself from 2016.

ATF tests are new and cover almost all interfaces.

Proposed on tech-userlevel@.
2019-04-24 11:43:19 +00:00
wiz
3229b961ff Fix typo. 2019-04-24 10:43:00 +00:00
roy
81b96f23a9 Don't install YP headers when MKYP=no 2019-04-24 10:26:08 +00:00
maya
dc81fb4d95 Add awge(4) man page 2019-04-22 21:58:56 +00:00
maya
8d57144a9c Express more confidence in our ability to boot on hardware with ACPI
enabled and don't warn our users that it might not and already suggest
workarounds.

The ability to disable ACPI and SMP is still there, by dropping to
the boot prompt.
2019-04-22 13:27:39 +00:00
christos
045eecf05c bump libssh 2019-04-20 17:24:06 +00:00
mrg
badcd40f23 - various updates for GCC 7 riscv definitions: -mabi and -march changed
- add missing LIBGCC_MACHINE_ARCH
- add the new ldscripts for riscv64 MKCOMPAT.
2019-04-18 10:07:07 +00:00
rin
1b7de8e902 Add missing ./var/db/dhcpcd 2019-04-18 03:50:12 +00:00
mrg
81f4fdd260 fix MKCOMPAT=no builds. 2019-04-17 07:55:33 +00:00
mrg
1ce78da3f1 enable EGL and glamor. partly from maya@.
for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files


build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.
2019-04-16 21:20:50 +00:00
jmcneill
337dcfaf52 Remove sun50i support from 32-bit GENERIC. 2019-04-13 10:58:11 +00:00
alnsn
6ea52a40bd Add a symlink to /altroot/stand to help the kernel find modules. 2019-04-11 23:50:01 +00:00
uki
9b084d16c2 Fix "build.sh syspkgs" error when creating base-util-root package 2019-04-11 08:34:19 +00:00
christos
a672382c55 adjust miniroot scripts to deal with the time prefix in dmesg 2019-04-10 14:52:53 +00:00
sevan
768ee5838e typo, pasto 2019-04-10 00:35:25 +00:00
sevan
967446d222 Include npf_boot rc.d scripts which loads an interim config early in boot.
By default /etc/default/npf.boot.conf which can be overriden by /etc/npf.boot.conf.
2019-04-10 00:32:15 +00:00
christos
7309e53737 bump 2019-04-07 20:28:55 +00:00
rin
e0d0a92b2a Bump for recent Mesa update. 2019-04-07 05:29:00 +00:00
kamil
13a8069b3f Register t_ufetchstore.debug in distrib files 2019-04-06 12:34:30 +00:00
kamil
929bdb0fb7 Correct ustore(9) entry for MKCATPAGES=yes 2019-04-06 12:33:18 +00:00
kamil
f8e2ee8875 Revert llvm -> llvmcmds unintended changes in distrib files 2019-04-06 09:33:07 +00:00
thorpej
91bfaeb675 Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.
2019-04-06 03:06:23 +00:00
christos
eca4585910 modernize, and avoid -a -o 2019-04-04 21:00:19 +00:00
christos
95c3b60f74 eXorcize and `` -> $() 2019-04-04 20:51:35 +00:00
kamil
d6a1bc3f07 Upgrade indent(1)
Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi<N> to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.
2019-04-04 15:22:13 +00:00
jmcneill
edce60238f Re-enable efiboot for armv7 (thanks skrll@) 2019-04-04 14:26:39 +00:00
joerg
da48f03c8a Revert MKLLVMCMDS changes. 2019-04-03 15:12:44 +00:00
christos
4a154d606e Give us a bit of breathing room since the calculated size of mkfs is not
working.
2019-04-03 11:29:39 +00:00
jmcneill
d7a2d29c18 Turn off efiboot until we figure out why it fails on some boards. 2019-04-02 10:00:32 +00:00
christos
6772b6ffe7 need bigger clothes 2019-04-01 02:02:54 +00:00
christos
f6a35b660e paleo diet is not working 2019-04-01 02:01:39 +00:00
christos
1d2d37be68 bump 2019-03-31 16:09:14 +00:00
jmcneill
ba4377082a Install GENERIC ELF kernel as /netbsd for EFI booting 2019-03-30 13:43:52 +00:00
jmcneill
753fbe4bcd Switch to efiboot 2019-03-30 13:37:45 +00:00
jmcneill
7bee52e9e0 Install bootarm.efi to boot partition 2019-03-30 13:07:57 +00:00
jmcneill
c00f8285c0 Add bootarm.efi 2019-03-30 13:02:39 +00:00
christos
a9dcd151d2 Bumpity bump bump 2019-03-29 16:08:06 +00:00
christos
ad94cd5960 Bumpity bump bump 2019-03-29 16:06:28 +00:00
christos
226068a73b bumpity bump bump 2019-03-29 16:03:20 +00:00
christos
67177861a2 Dedup and add the small jemalloc implementation so our install media has
a chance to fit again.
2019-03-28 15:04:41 +00:00
pgoyette
538fa6a5ce Update sets lists for new srt(4) man page. 2019-03-26 12:22:07 +00:00
pgoyette
aa88590260 Now that the if_srt module has a chance of working (ie, it now
actually attaches/detaches the cdevsw!), add the required srt
module to allow module autoload triggered by opening /dev/srtN

XXX As noted in the recent commit to if_srt.c, someone(tm) needs
XXX to create the /dev/srt* device nodes with major 179. :)
2019-03-26 00:36:14 +00:00
maxv
ba0aa175c4 Remove compat_osf1, discussed on tech-kern@. 2019-03-25 19:24:29 +00:00
pgoyette
9c4fa8bcb0 Add a loadable module for tap(4).
The code was already modularized, we simply didn't build the loadable
module.

Note also that since the tap(4) device can be reasonably accessed by
either creating a  device instance (using ifconfig(8)) or by opening
/dev/tap, we need to create both if_tap.kmod and tap.kmod (similar to
what is done with tun(4)).
2019-03-24 11:20:26 +00:00
rin
37add47636 Fix MKCOMPAT=no build for sparc64;
Remove duplicate entry for ./usr/include/g++/bits/sparc.

Reported by K. Schreiner.
2019-03-24 01:16:43 +00:00