freebsd-src/sys
Assume-Zhan eb8ba6fb74
rpc: Fix typo in comment
Event:		Advanced UNIX Programming Course (Fall’23) at NTHU.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/995
2024-02-13 14:20:45 +08:00
..
amd64 amd64 pcb.h: use 4 hex digits for pcb flags 2024-02-11 05:38:41 +02:00
arm arm: Move locore-v6.S to locore.S 2024-02-06 15:49:08 -07:00
arm64 arm64: Add a GENERIC-KMSAN kernel configuration 2024-02-09 09:56:55 -05:00
bsm
cam cam: Check if cam_simq_alloc fails for the xpt bus during module init 2024-02-09 11:53:43 -08:00
cddl Abstract UIO allocation and deallocation. 2024-02-10 11:38:04 -05:00
compat LinuxKPI: Allow kmalloc to be called when FPU protection is enabled 2024-02-11 01:01:50 +03:00
conf files: make uart_bus_puc.c not depend on puc 2024-02-12 18:18:20 +01:00
contrib ck/aarch64: Specify output operands for ck_pr_md_store_* 2024-02-08 11:35:03 -05:00
crypto ossl: Remove a stray __FBSDID("$FreeBSD$") 2023-12-04 12:29:30 -05:00
ddb ddb: Fix typo (triple S) 2023-12-27 20:24:31 -07:00
dev snd_uaudio: mark selected configurations 2024-02-12 13:07:50 +02:00
dts add allwinner overlays for enabling additional USB ports 2024-01-28 13:12:39 +02:00
fs fusefs: only test for incoherency if FN_SIZECHANGE is set 2024-02-08 20:13:24 -07:00
gdb sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom graid: unbreak Promise RAID1 with 4+ providers 2024-02-12 14:33:43 +07:00
gnu sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
i386 i386: Use bool for booleans in getmemsize 2024-02-05 15:39:31 -08:00
isa sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kern ELF note parser: provide more info on failure 2024-02-11 05:37:12 +02:00
kgssapi sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
libkern sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
modules zfs: merge openzfs/zfs@229b9f4ed 2024-02-08 16:51:08 +01:00
net fib_algo(4): Lower level of algorithm switching messages to LOG_INFO 2024-02-05 23:44:38 +01:00
net80211 net80211: make sure calls to (*iv_update_bss)() are locked 2024-02-03 13:55:29 +00:00
netgraph sockets: garbage collect SS_ISCONFIRMING 2024-01-30 10:38:33 -08:00
netinet tcp: partially undo D43792 2024-02-12 22:38:11 +01:00
netinet6 Revert "sockets: retire sorflush()" 2024-02-03 13:08:41 -08:00
netipsec netipsec: fix LINT-NOINET build 2024-01-20 22:22:21 +01:00
netlink sys/netlink/route/iface.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
netpfil pf: add a probe point to BOUND_IFACE 2024-02-06 18:47:07 +01:00
netsmb sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nfs sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nfsclient sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
nfsserver sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
nlm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofed sockets: provide correct pr_shutdown for keysock and SDP 2024-01-16 12:02:59 -08:00
opencrypto sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
powerpc ddb: Use bool for boolean variables in MD code 2024-02-02 15:08:53 -08:00
riscv pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
rpc rpc: Fix typo in comment 2024-02-13 14:20:45 +08:00
security sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sys Bump __FreeBSD_version after clang/llvm PIE change 2024-02-11 23:45:51 +01:00
teken
tests callout: retire callout_async_drain() 2024-01-24 09:33:27 -08:00
tools makesyscalls: generate private syscall symbols 2024-02-05 20:34:56 +00:00
ufs Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
vm pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
x86 x86 mem: Pass standard bool value to pmap_demote_DMAP 2024-02-02 15:32:44 -08:00
xdr sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
xen xen: add atomic #defines to accomodate differing xen_ulong_t sizes 2023-12-15 14:59:26 +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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures