opnsense-src/sys
Jeremy Karst 623bab2673 arm64: build kernel.bin for the GATEWAY kernel
FreeBSD 15 builds kernel.bin, the booti image U-Boot loads, only with
WITH_KERNEL_BIN (34632ed1a4); it was always built before. The image
and the gateway's FAT kernel update both need it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 15:19:11 -05:00
..
amd64 Revert "amd64 GENERIC: Switch uart hints from "isa" to "acpi"" 2026-06-19 09:47:29 +02:00
arm sound: Check for errors from sndbuf_resize() 2026-10-15 11:28:53 +02:00
arm64 arm64: build kernel.bin for the GATEWAY kernel 2026-11-27 15:19:11 -05:00
bsm
cam cam (scsi): silence "Medium not present" SCSI sense logging for removable media 2026-04-22 12:48:35 -04:00
cddl dtrace: Improve dmesg kernel message prefix 2026-05-07 15:16:38 -07:00
compat LinuxKPI: firmware: remove enoentok logic in *firmware_request(..) 2026-11-10 12:02:39 +01:00
conf iicbus: add INA2xx power monitor driver 2026-11-22 20:41:57 -05:00
contrib arm64, dpaa: build fixes for FreeBSD 15 2026-11-23 19:25:04 -05:00
crypto crypto/openssl: update artifacts to match 3.5.7 release 2026-07-06 11:08:04 +02:00
ddb
dev arm64, dpaa: build fixes for FreeBSD 15 2026-11-23 19:25:04 -05:00
dts
fs fix p9fs_vget_common() panics 2026-11-09 21:44:36 +01:00
gdb
geom glabel(8): Fix debug message for already existing labels 2026-04-22 11:30:27 +02:00
gnu
i386 padlock: Restore padlock_rng to the amd64 build 2026-05-28 15:15:46 -07:00
isa bus: Document special ranges of IVARs 2026-09-23 10:52:48 +02:00
kern kern: add colored timestamps to console output 2026-11-22 21:16:06 -05:00
kgssapi kgss: de-virtualize kgss_gssd_handle 2026-04-27 09:11:51 -07:00
libkern libkern: Add libcalls for ffs and __ffsdi2 2026-04-24 11:26:39 -04:00
modules sff: move SFP module management into sfp_fdt state machine 2026-11-22 21:16:06 -05:00
net pf: add state creation/destruction notification hooks 2026-11-22 21:15:53 -05:00
net80211 SYSCTL(9): Retire SYSCTL_NODE_CHILDREN() 2026-10-09 08:05:40 +02:00
netgraph ng_pppoe: add NGM_PPPOE_GET_SESSION_INFO for PPPoE offload 2026-11-22 21:16:05 -05:00
netinet igmp: Refresh the ip header pointer after m_pullup() 2026-11-10 12:52:07 +01:00
netinet6 netinet6: Fix check for pktinfo outgoing ifindex in route cache 2026-11-10 12:48:11 +01:00
netipsec netipsec: fix V_spd_size updates 2026-10-07 07:49:13 +02:00
netlink netlink: fix unsigned overflow on a truncated message 2026-11-10 12:44:04 +01:00
netpfil pf: add state creation/destruction notification hooks 2026-11-22 21:15:53 -05:00
netsmb
nfs nfs_diskless: Fix handling of nfsuserd case for NFSv4 2026-04-13 20:26:32 -07:00
nfsclient
nfsserver
nlm
ofed RDMA: Fix link active_speed size 2026-07-06 11:07:12 +02:00
opencrypto ktls CBC decrypt: Avoid creating zero length iovec entries 2026-10-09 08:13:07 +02:00
powerpc pci: Reconcile MPS before attaching PCIe devices 2026-09-23 12:01:01 +02:00
riscv sys: Declare 'end' as an extern char[] 2026-04-24 11:43:38 -04:00
rpc rpcsec_tls: Avoid a socket reference underflow in rpctls_server() 2026-07-06 10:29:20 +02:00
security mac_seeotheruids: allow specificgid to be a list of groups 2026-04-28 23:17:06 -05:00
sys arm64: GATEWAY kernel config, device tree, and platform support 2026-11-22 20:41:56 -05:00
teken manpages: Fix author e-mail address formatting 2026-09-23 09:07:21 +02:00
tests
tools
ufs
vm posixshm: Fix handling of sendfile() with largepage objects 2026-07-06 10:29:39 +02:00
x86 sys: Use is_pci_device instead of direct comparisons to devclasses 2026-09-23 11:30:15 +02:00
xdr
xen bus: Document special ranges of IVARs 2026-09-23 10:52:48 +02: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