freebsd-dev/sys
Andrew Turner 62f9bcf2b4 Switch to contigmalloc in the Hyper-V code
In the Hyper-V drivers we need to allocate buffers shared between the
host and guest. This memory has been allocated with bus_dma, however
it doesn't use this correctly, e.g. it is missing calls to
bus_dmamap_sync. Along with this on arm64 we need this memory to be
mapped with the correct memory type that bus_dma may not use.

Switch to contigmalloc to allocate this memory as this will correctly
allocate cacheable memory.

Reviewed by:	Souradeep Chakrabarti <schakrabarti@microsoft.com>
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D40227
2023-06-06 10:50:59 +01:00
..
amd64 Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
arm sysarch: Add includes required for ktrcapfail() calls to be compiled 2023-06-01 17:18:23 -04:00
arm64 gve: Fix build on i386 and enable LINT builds. 2023-06-04 16:35:00 -07:00
bsm
cam spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
cddl kinst: fix kinst_probe_md field indentation 2023-06-03 23:03:14 +03:00
compat linux(4): Add a dedicated linux_exec_copyin_args() 2023-05-29 12:18:16 +03:00
conf tslog: Optionally instrument pmap_zero_page 2023-06-04 10:16:31 -07:00
contrib zfs: Fix build on 32-bit platforms after most recent import. 2023-05-25 07:11:38 -07:00
crypto ossl: Provide a fallback definition of __uint128_t when needed 2023-06-04 12:39:44 -04:00
ddb spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
dev Switch to contigmalloc in the Hyper-V code 2023-06-06 10:50:59 +01:00
dts spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fs fusefs: Remove an unused pbuf zone 2023-05-22 09:33:57 -04:00
gdb netgdb: Fix netgdb double ack, print proxy address 2023-05-27 09:34:17 -07:00
geom spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
gnu spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
i386 gve: Fix build on i386 and enable LINT builds. 2023-06-04 16:35:00 -07:00
isa spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
kgssapi spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
libkern spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
modules gve: Fix build on i386 and enable LINT builds. 2023-06-04 16:35:00 -07:00
net if_epair: do not transmit packets that exceed the interface MTU 2023-06-06 10:00:48 +02:00
net80211 net80211: Radiotap: update for defines 2023-05-20 00:56:21 +00:00
netgraph SPDX: It's spelled 'SPDX-License-Identifier' 2023-05-12 10:44:04 -06:00
netinet netinet: re-read IP length after PFIL hook 2023-06-06 10:01:03 +02:00
netinet6 netinet6: make IPv6 fragment TTL per-VNET configurable. 2023-06-01 12:04:49 +00:00
netipsec ipsec: Make algorithm tables read-only 2023-06-02 13:43:15 -04:00
netlink netlink: fix compilation withous INET6 2023-06-02 09:10:26 -07:00
netpfil pf: fix log message 2023-06-02 16:05:30 +02:00
netsmb spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
nfs Fix panic in nfs bootp/diskless after 0785c323f3. 2023-06-02 12:57:26 -04:00
nfsclient
nfsserver
nlm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ofed spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
opencrypto spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
powerpc sysentvec: Retire sv_imgact_try as unneeded anymore 2023-05-29 11:18:11 +03:00
riscv sysentvec: Retire sv_imgact_try as unneeded anymore 2023-05-29 11:18:11 +03:00
rpc spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
security mac: Honor order when registering MAC modules. 2023-04-18 15:36:27 -04:00
sys tslog.h: Wrap in #ifdef _KERNEL 2023-06-04 22:49:38 -07:00
teken spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tests spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tools spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
ufs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2023-05-27 12:24:11 -07:00
vm vm_phys: Change the return type of vm_phys_unfree_page() to bool 2023-06-05 12:22:11 -04:00
x86 Revert "Revert "tslog: Annotate some early boot functions"" 2023-06-04 22:49:38 -07:00
xdr spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
xen spdx: Remove duplicate lines 2023-05-12 10:44:03 -06: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.

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