Go to file
jdolecek 90294f99e6 initalize ci_kfpu_spl, to avoid triggering KASSERT() in fpu_kern_enter()
Follows revision 1.177 of sys/arch/x86/x86/cpu.c:
"""
Add a small API for in-kernel FPU operations.

        fpu_kern_enter();
        /* do FPU stuff */
        fpu_kern_leave();
"""

With this DomU kernel boots with:
[   2.0000571] aes: Intel AES-NI
2020-07-08 11:11:00 +00:00
bin Fix skipping of directories that begin with a '.' in -R mode. 2020-07-07 14:29:06 +00:00
common Fix lint 2020-06-20 00:16:50 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Part of PR port-powerpc/55425 2020-07-07 01:47:47 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib new mapped test. 2020-07-06 18:47:02 +00:00
doc Note that the xen vs non-xen issue has been resolved by recent commit 2020-07-05 02:04:25 +00:00
etc Trailing whitespace 2020-07-04 06:24:53 +00:00
external PR bin/55468 2020-07-07 10:58:43 +00:00
extsrc
games cgram(6): use standard cursor keys, use standard shuffle algorithm 2020-07-02 19:11:01 +00:00
include nameser_compat.h: correct preprocessor error syntax 2020-06-28 02:16:19 +00:00
lib Pads are not to be automatically refreshed on input. 2020-07-06 23:33:38 +00:00
libexec Add -R flag to specify a README file to add at the bottom of directory 2020-07-06 23:31:36 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Use Nm. 2020-06-23 14:08:01 +00:00
share Fix the include file name in the synopsis. 2020-07-05 03:44:13 +00:00
sys initalize ci_kfpu_spl, to avoid triggering KASSERT() in fpu_kern_enter() 2020-07-08 11:11:00 +00:00
tests add a test for v4 mapped addresses 2020-07-06 18:45:25 +00:00
tools Regen: Add AC_MSG_RESULT yes/no to the uio checks. 2020-06-24 14:44:44 +00:00
usr.bin Remove -a from example 2020-07-08 00:06:33 +00:00
usr.sbin Sort missing IDs (users and groups) by the numeric ID. 2020-07-07 12:01:21 +00:00
BUILDING
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING blocklist migration has been automated. 2020-06-15 21:52:03 +00:00
build.sh New build.sh option: -c <compiler> 2020-06-30 21:22:19 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git