Go to file
ryo 561087550e Switch the Icache sync operation to the necessary and sufficient one according to the CTR_EL0.DIC and CTR_EL0.IDC flags.
If CTR_EL0.DIC=1, Icache invalidation is not required.
If CTR_EL0.IDC=1, Dcache clean before Icache invalidation is not required.
CLIDR_EL1.LoC is 0, or CLIDR_EL1.LoUIS and CLIDR_EL1.LoUU are 0, Dcache clean is not required as well.

SEE ALSO ARMARM, "CTR_EL0 Cache Type Register", and "CLIDR_EL1 Cache Level ID Register"
2020-07-01 07:59:16 +00:00
bin Note that -h is an extension to POSIX. Bump date. 2020-06-24 17:00:58 +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 remove unneeded ifdefs 2020-06-22 22:43:56 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Add basic checks for a64l(3), l64a(3), and l64a_r(3). 2020-07-01 07:16:37 +00:00
doc New build.sh option: -c <compiler> 2020-06-30 21:22:19 +00:00
etc New test sys/crypto/aes/t_aes. 2020-06-30 20:32:10 +00:00
external use ggc-none.c not ggc-none.o in SRCS 2020-07-01 07:54:24 +00:00
extsrc
games A revision of "The purpose of computing is insight, not numbers" by 2020-06-15 12:57:51 +00:00
include nameser_compat.h: correct preprocessor error syntax 2020-06-28 02:16:19 +00:00
lib hline, vline - don't lose attributes when using default character. 2020-07-01 02:57:01 +00:00
libexec R_ARM_TLS_TPOFF32 needs to adjust the existing value, not blindly 2020-06-16 21:02:20 +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 bsd.dep.mk: fix "make tags" (again) 2020-07-01 07:38:29 +00:00
sys Switch the Icache sync operation to the necessary and sufficient one according to the CTR_EL0.DIC and CTR_EL0.IDC flags. 2020-07-01 07:59:16 +00:00
tests Add basic checks for a64l(3), l64a(3), and l64a_r(3). 2020-07-01 07:16:37 +00:00
tools Regen: Add AC_MSG_RESULT yes/no to the uio checks. 2020-06-24 14:44:44 +00:00
usr.bin Forbid gcc to whine about intended format truncation 2020-07-01 06:31:18 +00:00
usr.sbin Nix trailing whitespace. 2020-06-29 23:04:56 +00:00
build.sh New build.sh option: -c <compiler> 2020-06-30 21:22:19 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
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

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