Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/README.md
34672 views

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:

DirectoryDescription
amd64AMD64 (64-bit x86) architecture support
arm32-bit ARM architecture support
arm6464-bit ARM (AArch64) architecture support
camCommon Access Method storage subsystem - cam(4) and ctl(4)
cddlCDDL-licensed optional sources such as DTrace
confkernel build glue
compatLinux compatibility layer, FreeBSD 32-bit compatibility
contrib3rd-party imported software such as OpenZFS
cryptocrypto drivers
ddbinteractive kernel debugger - ddb(4)
fsmost filesystems, excluding UFS, NFS, and ZFS
devdevice drivers and other arch independent code
gdbkernel remote GDB stub - gdb(4)
geomGEOM framework - geom(4)
i386i386 (32-bit x86) architecture support
kernmain part of the kernel
libkernlibc-like and other support functions for kernel use
moduleskernel module infrastructure
netcore networking code
net80211wireless networking (IEEE 802.11) - net80211(4)
netgraphgraph-based networking subsystem - netgraph(4)
netinetIPv4 protocol implementation - inet(4)
netinet6IPv6 protocol implementation - inet6(4)
netipsecIPsec protocol implementation - ipsec(4)
netpfilpacket filters - ipfw(4), pf(4), and ipfilter(4)
opencryptoOpenCrypto framework - crypto(7)
powerpcPowerPC/POWER (32 and 64-bit) architecture support
riscv64-bit RISC-V architecture support
securitysecurity facilities - audit(4) and mac(4)
syskernel headers
testskernel unit tests
ufsUnix File System - ffs(4)
vmvirtual memory system
x86code shared by AMD64 and i386 architectures