1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Mark Johnston 7e0fa79412 libvmmapi: Make memory segment handling a bit more abstract
libvmmapi leaves a hole at [3GB, 4GB) in the guest physical address
space.  This hole is not used in the arm64 port, which maps everything
above 4GB.  This change makes the code a bit more general to accomodate
arm64 more naturally.  In particular:

- Remove vm_set_lowmem_limit(): it is unused and doesn't have
  well-defined constraints, e.g., nothing prevents a consumer from
  setting a lowmem limit above the highmem base.
- Define a constant for the highmem base and use that everywhere that
  the base is currently hard-coded.
- Make the lowmem limit a compile-time constant instead of a vmctx field.
- Store segment info in an array.
- Add vm_get_highmem_base(), for use in bhyve since the current value is
  hard-coded in some places.

No functional change intended.

Reviewed by:	corvink, jhb
MFC after:	2 weeks
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D41004
2024-04-10 11:17:56 -04:00
.cirrus-ci
.github Vendor import of OpenSSH 9.7p1 2024-03-17 13:47:10 -04:00
bin cp: Never follow symbolic links in destination. 2024-04-09 00:41:33 +02:00
cddl zfs: merge openzfs/zfs@8f2f6cd2a 2024-03-07 10:52:19 +01:00
contrib Merge llvm-project release/18.x llvmorg-18.1.3-0-gc13b7485b879 2024-04-06 22:14:34 +02:00
crypto ssh: remove deprecated client VersionAddendum 2024-03-18 10:20:18 -04:00
etc Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb 2024-04-06 22:11:55 +02:00
gnu misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
include include: Ensure security/audit/audit.h gets staged properly. 2024-04-03 20:26:33 -04:00
kerberos5 kerberos5: Mitigate the possibility of using an old libcrypto 2024-01-18 07:12:14 -08:00
lib libvmmapi: Make memory segment handling a bit more abstract 2024-04-10 11:17:56 -04:00
libexec dma.conf: Fix typo 2024-03-27 10:37:22 -04:00
release Reapply "release.sh: Add -jN to make release" 2024-04-09 20:29:16 -07:00
rescue rescue: Stop using LDADD_zstd 2024-02-22 20:56:05 +00:00
sbin bectl(8): authors: Kyle Evans: fine-tune 2024-04-09 22:01:03 -06:00
secure caroot: routine update 2024-02-11 00:35:16 -06:00
share sys: Enable NVMe drivers on all architectures 2024-04-09 15:02:58 -07:00
stand stand: Install gptboot.efi(8) 2024-04-05 16:53:47 -06:00
sys sys_procctl(): Make it clear that negative commands are invalid 2024-04-10 17:15:25 +02:00
targets Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
tests tests: Add ktrace regression test for shm_open 2024-04-09 21:19:03 -05:00
tools Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a 2024-04-06 22:13:06 +02:00
usr.bin ktrace: Record detailed ECAPMODE violations 2024-04-07 18:52:51 -05:00
usr.sbin bhyve: Use vm_get_highmem_base() instead of hard-coding the value 2024-04-10 11:17:55 -04:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: switch to llvm18 by default 2024-04-07 17:23:25 -04:00
.clang-format
.git-blame-ignore-revs Add another commit to .git-blame-ignore-revs 2024-03-15 23:11:52 +00:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore Vendor import of OpenSSH 9.7p1 2024-03-17 13:47:10 -04:00
.mailmap mailmap: Translate olce's personal address to olce@FreeBSD.org 2024-01-04 15:59:01 +01:00
CONTRIBUTING.md CONTRIBUTING.md: fix typo from commmit to commit 2023-12-28 10:01:03 -05:00
COPYRIGHT copyright: Bump the copyright date. 2023-12-31 23:15:43 -07:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS MAINTAINERS: change linuxkpi review Phabricator group. 2024-01-16 19:23:39 +00:00
Makefile build: Order kernel-toolchain and buildkernel targets 2024-03-20 01:32:24 -04:00
Makefile.inc1 pkgbase: add a mechanism to be able to force a give ucl include 2024-03-20 09:39:18 +01:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc Merge llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4 2024-04-06 22:13:16 +02:00
README.md
RELNOTES RELNOTES: Add entry for updates to ktrace(2) 2024-04-07 18:52:51 -05:00
UPDATING libc: link libsys as a auxiliary filter library 2024-02-05 20:34:56 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.