freebsd-src/sys
John Baldwin d79b6b8ec2 pci_host_generic: Don't rewrite resource start address for translation
Allocate resources from the parent device for decoded physical address
ranges.  When child resources suballocated from rman's are mapped,
translate those mapping requests into a mapping request of the
associated physical address range in a bus_map_resource method.

While here, convert generic_pcie_rman to a bus_get_rman method and use
bus_generic_rman_* for operations on child resources.

Factor out a generic_pcie_containing_range to share logic between
bus_translate_resource and bus_*map_resource.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43894
2024-02-14 14:07:33 -08:00
..
amd64 amd64 pcb.h: use 4 hex digits for pcb flags 2024-02-11 05:38:41 +02:00
arm arm: Add EARLY_PRINTF and SOCDEV_PA/VA to NOTES 2024-02-13 11:48:53 +00:00
arm64 arm64: Add EARLY_PRINTF and SOCDEV_PA to NOTES 2024-02-13 11:48:53 +00:00
bsm
cam Fix typo in da flags reporting 2024-02-13 10:44:59 -07:00
cddl Abstract UIO allocation and deallocation. 2024-02-10 11:38:04 -05:00
compat LinuxKPI: sort dev_<loglevel>() functions 2024-02-14 22:05:21 +00:00
conf riscv: Introduce support for APLIC interrupt controller 2024-02-14 11:42:29 -04:00
contrib iwlwifi: improve error message 2024-02-14 19:36:30 +00:00
crypto
ddb
dev pci_host_generic: Don't rewrite resource start address for translation 2024-02-14 14:07:33 -08:00
dts
fs fusefs: only test for incoherency if FN_SIZECHANGE is set 2024-02-08 20:13:24 -07:00
gdb
geom graid: unbreak Promise RAID1 with 4+ providers 2024-02-12 14:33:43 +07:00
gnu
i386
isa
kern physmem ram: Don't reserve excluded regions 2024-02-14 14:07:33 -08:00
kgssapi
libkern
modules
net
net80211 net80211: deal with lost state transitions 2024-02-14 19:47:21 +00:00
netgraph
netinet tcp: fix RTO ssthresh for non-6675 pipe calculation 2024-02-14 14:51:53 +01:00
netinet6
netipsec
netlink
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv riscv: Introduce support for APLIC interrupt controller 2024-02-14 11:42:29 -04:00
rpc rpc: Fix typo in comment 2024-02-13 14:20:45 +08:00
security
sys sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
teken
tests
tools
ufs
vm
x86 x86/ucode: add const where appropriate 2024-02-13 08:18:06 -08:00
xdr
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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures