opnsense-src/sys
Andriy Gapon 0d2fd5b99c ns8250: use LSR_THRE instead of LSR_TEMT for checking tx flush
LSR_TEMT bit is set if both transmit hold and shift registers are
empty, but the flush command flushes only the hold register.

While here, update the diagnostic message to report which registers
could not be flushed.

MFC after:	2 weeks
2025-05-20 17:55:18 +03:00
..
amd64 ppt: Fix panic when configuring unavailable MSI-X vector 2025-05-16 13:29:08 +02:00
arm subr_devmap: Implement pmap_mapdev with pmap_mapdev_attr 2025-05-15 16:09:46 +01:00
arm64 rk_i2s: correct some bit-field definitions, add more bits 2025-05-19 12:19:03 +03:00
bsm
cam scsi/da: Only send SYNC CACHE for devices with mode page 8 2025-05-07 15:36:55 -06:00
cddl dtrace/arm64: Fix dtrace_gethrtime() 2025-03-09 23:01:13 -04:00
compat LinuxKPI: 802.11: make sure AUTH frames are not being sent if BSS changed 2025-05-12 19:15:13 +00:00
conf linuxkpi: Add folio and folio_batch APIs 2025-05-12 19:08:03 +02:00
contrib iwlwifi: update script to extract firmware/chipset generations/flavors/.. 2025-05-13 00:04:46 +00:00
crypto openssl: update ASM and version info for 3.0.16 import 2025-03-13 23:42:02 -07:00
ddb
dev ns8250: use LSR_THRE instead of LSR_TEMT for checking tx flush 2025-05-20 17:55:18 +03:00
dts dts: fix RT-AC58U to match the updated device tree name/alias changes. 2025-04-07 20:45:40 -07:00
fs nullfs lookup: cn_flags is 64bit 2025-05-18 12:21:14 +03:00
gdb
geom sysctl(9): Ease exporting struct sizes; Discourage doing that 2025-05-07 12:13:40 +02:00
gnu
i386 i386: replace tailq pointers with iterators 2025-04-20 23:05:48 -05:00
isa
kern pctrie: use popmap in locked lookup_range 2025-05-17 22:12:52 -05:00
kgssapi crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
libkern libkern: strdup.c, strndup.c: Prefer memcpy() over bcopy() 2025-02-17 23:37:59 +08:00
modules wtap(4): Connect to build 2025-05-20 10:04:18 +08:00
net ifnet: Fix a typo in a source code comment 2025-05-19 12:35:55 +08:00
net80211 net80211: refactor sequence number assignment code 2025-05-15 19:33:27 -07:00
netgraph ng_sample: fix style nits 2025-05-16 21:29:47 +01:00
netinet tcp: allow connections to IPv6 anycast address 2025-05-19 13:40:26 +01:00
netinet6 bridge: allow IP addresses on members to be disabled 2025-05-05 22:47:36 +01:00
netipsec pfkey2: use correct value for a key length 2025-03-06 15:18:59 +03:00
netlink jail: add allow.routing jail permission 2025-05-12 23:13:18 +01:00
netpfil pf: use __func__ rather than hardcoded function names 2025-05-09 22:49:29 +02:00
netsmb sockets: garbage collect SB_NOINTR 2025-02-02 22:38:18 -08:00
nfs
nfsclient
nfsserver
nlm nlm: set vnet(9) context in the NLM syscall 2025-02-01 01:00:26 -08:00
ofed ofed: jiffies is unsigned long 2025-04-29 13:53:40 +00:00
opencrypto crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
powerpc powerpc: Enable VIMAGE on more kernel configs 2025-05-20 12:09:29 +08:00
riscv subr_devmap: Reduce the use of the static devmap 2025-05-02 16:39:04 +01:00
rpc krpc/clnt_nl: unregister the netlink group, when client is destroyed 2025-02-05 10:09:06 -08:00
security grantbylabel_syscall check p_textvp != NULL 2025-05-16 15:19:06 -07:00
sys link_addr: be more strict about address formats 2025-05-15 01:02:52 +01:00
teken
tests netlink: refactor KPI for generic Netlink modules 2025-02-05 10:09:06 -08:00
tools makesyscalls: emit cpp in syscalls.map 2025-02-18 22:03:33 +00:00
ufs ufs_aclcheck(): accurately dereference vp->v_mount 2025-03-22 01:40:00 +02:00
vm Revert "vm_page: drop mpred from grab_valid_iter()" 2025-05-20 03:08:43 -05:00
x86 tls: Introduce struct dtv and struct dtv_slot 2025-05-07 20:20:26 +01:00
xdr xdr: provide x_putmbuf method for xdrmem 2025-02-01 01:00:25 -08:00
xen
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