opnsense-src/sys
Emmanuel Vadot 0cb63dcac4 Revert "dwc: re-rewrite barrier part"
Turns out we need all the barrier.
The one before writing the OWN bit is needed so the DMA engine
have coherent data, the second one (after the OWN bit is set) is
also needed because the DMA buffers are allocated with VM_MEMATTR_DEFAULT
whic equals to being cached.

This reverts commit 2b4f615e7d4720b16007cfa8aaedf720f572067a.
This reverts commit 4870346488051b9c4a1dc8b11cab55d4e5b7c230.

Reported by:	mmel
2023-10-16 21:48:19 +02:00
..
amd64 pmap: add pmap_kextract(9) man page 2023-10-13 15:27:24 -03:00
arm Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
arm64 arm64: Raise a SIGBUS on a user external abort 2023-10-16 11:38:14 +01:00
bsm timerfd: Move implementation from linux compat to sys/kern 2023-08-24 14:28:56 -06:00
cam cam/scsi: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
cddl dtrace: remove x86 non-EARLY_AP_STARTUP support 2023-10-10 11:03:27 -04:00
compat netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
conf netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
contrib zfs: merge openzfs/zfs@8a7407012 2023-10-13 09:45:15 +02:00
crypto ossl: Rebuild the openssl asm 2023-10-02 17:12:50 +01:00
ddb ddb: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
dev Revert "dwc: re-rewrite barrier part" 2023-10-16 21:48:19 +02:00
dts sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
fs nfscl: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
gdb sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom Fix geom build with clang 17 and KTR enabled 2023-09-17 14:13:09 +02:00
gnu sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
i386 x86: Rename {stop,start}_emulating to fpu_{enable,disable} 2023-10-11 14:32:06 -07:00
isa sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
kern prf: add setting of msgbuftrigger in paths where it is missing 2023-10-13 15:02:37 -07:00
kgssapi sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
libkern sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
modules veriexec: Correctly export symbols 2023-10-15 22:29:18 +08:00
net bpf: Add IfAPI analogue for bpf_peers_present() 2023-10-13 14:33:31 -04:00
net80211 net80211: pass __func__, __LINE__ also to ieee80211_alloc_node() 2023-10-06 10:50:06 +00:00
netgraph ng_eiface: switch VNETs when injecting mbufs into netgraph 2023-09-23 10:56:56 +02:00
netinet netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netinet6 netinet6: Add sysctl flag CTLFLAG_TUN to loader tunables 2023-09-25 18:10:47 +08:00
netipsec sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netlink netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netpfil pf: implement start/stop calls via netlink 2023-10-13 09:53:22 +02:00
netsmb sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfsclient sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
nfsserver sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
nlm sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ofed ofed: mask seq_num identifier to occupy only 3 bytes 2023-08-22 16:09:13 -07:00
opencrypto sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
powerpc Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
riscv pmap: add pmap_kextract(9) man page 2023-10-13 15:27:24 -03:00
rpc sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
security cr_canseejailproc(): New privilege, no direct check for UID 0 2023-09-28 11:42:22 -03:00
sys (s)tty: add support for IUTF8 input flag 2023-10-07 20:59:57 +03:00
teken teken: fix style in teken_wcwidth.h 2023-10-13 08:14:57 +03:00
tests netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
tools pccarddevs2h.awk: Remove 2023-08-25 15:12:44 -06:00
ufs ufs: restore name cache fast path lookup 2023-09-09 21:48:57 +00:00
vm uma.h: Fix a typo in a source code comment 2023-10-15 14:09:21 +02:00
x86 x86: Rename {stop,start}_emulating to fpu_{enable,disable} 2023-10-11 14:32:06 -07:00
xdr sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
xen sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
README.md sys/README.md: Add a section for documentation 2023-08-03 11:07:41 -03:00

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures