freebsd-src/sys
Olivier Certner fde9fe1821
i386: Fix kernel compilation after introduction of ASMC_DEBUG option
Fixes:          f224591746 ("Add ASMC_DEBUG make option")
Sponsored by:   The FreeBSD Foundation
2026-01-09 17:34:56 +01:00
..
amd64 vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-01-08 21:54:16 +00:00
arm aw_rtc: bump settime() delays 2025-12-15 11:29:21 -04:00
arm64 vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-01-08 21:54:16 +00:00
bsm
cam cam: When inq data isn't valid, pass NULL 2026-01-07 23:19:21 -07:00
cddl mips: remove mips leftovers 2026-01-06 12:56:50 -05:00
compat linuxkpi: Add rol32() 2026-01-07 23:39:04 +01:00
conf i386: Fix kernel compilation after introduction of ASMC_DEBUG option 2026-01-09 17:34:56 +01:00
contrib zfs: emit .note.GNU-stack section for all ELF targets 2026-01-08 09:51:36 +01:00
crypto crypto: avoid warnings about too-long initializer strings 2025-12-30 13:46:46 +01:00
ddb
dev bnxt: Fix up ioctl opcodes to support IOC_VOID along with IOC_IN 2026-01-09 10:40:18 +00:00
dts remove sys/dts/arm/socfpga_*_sdmmc.dts 2025-12-15 18:47:17 +01:00
fs nfsd: Fix handling of hidden/system during Open/Create 2026-01-08 08:27:32 -08:00
gdb
geom geom/zero: Add support for unmapped I/O 2025-11-11 17:06:59 +01:00
gnu
i386 x86: change ap_boot_mtx from spinlock mutex to naive lock 2026-01-06 01:12:22 +02:00
isa bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD 2025-12-09 15:00:06 -05:00
kern cache: avoid hardcoded CACHE_PATH_CUTOFF 2026-01-09 14:15:43 +00:00
kgssapi kgssapi: Remove broken MOD_UNLOAD code 2025-11-27 20:29:55 -05:00
libkern libkern: Avoid a one-byte OOB access in strndup() 2025-12-08 14:08:22 +00:00
modules Makefile*: remove powerpcspe 2026-01-09 11:28:43 -05:00
net iflib: remove convoluted custom zeroing code 2026-01-09 14:19:49 +00:00
net80211 bpf: modularize ifnet(9) part of bpf 2025-12-15 12:50:35 -08:00
netgraph ng_tty: avoid the sign extention of char 2026-01-06 04:10:11 +02:00
netinet tcp: Unifidef use of rss software hash in syncache 2026-01-05 15:57:11 -05:00
netinet6 in6_ifattach: include sys/eventhandler.h to unbreak NOVIMAGE builds 2025-12-20 22:47:40 +00:00
netipsec sys/netipsec: ensure sah stability during input callback processing 2025-12-22 14:31:25 +02:00
netlink net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming 2025-12-21 18:23:14 -08:00
netpfil pf: handle nlattr_add_nested() failure 2026-01-08 13:25:25 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc powerpc: put the isync inside the TD_LOCK() checking loop 2026-01-03 18:27:48 -08:00
riscv vmm: Move common accessors and vm_eventinfo into sys/dev/vmm 2026-01-08 21:54:16 +00:00
rpc
security MAC: Rename mac_cred_create_swapper to mac_cred_create_kproc0 2025-12-04 14:52:59 -05:00
sys sys/_types.h: avoid use of __has_feature() 2026-01-09 14:42:00 +00:00
teken
tests
tools make_dtb.sh: add include path 2025-12-11 18:19:44 +01:00
ufs
vm vm_object.h: tweak OBJ_ONEMAPPING comment even more 2026-01-08 01:56:33 +02:00
x86 x86: change ap_boot_mtx from spinlock mutex to naive lock 2026-01-06 01:12:22 +02:00
xdr
xen sys/xen: Use __printflike() instead of format(printf) 2025-12-28 22:16:40 +01:00
Makefile
README.md

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(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures