]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Use vm_get_highmem_base() instead of hard-coding the value
authorMark Johnston <markj@FreeBSD.org>
Wed, 3 Apr 2024 16:51:37 +0000 (12:51 -0400)
committerMark Johnston <markj@FreeBSD.org>
Wed, 10 Apr 2024 15:17:55 +0000 (11:17 -0400)
commite497fe8657031bf52a27d28943e6517922e330ba
treea8a025b48ba29ed4b15a9cf7394c4e63c3e12f51
parenteaff4c4f92dc447cf5f0bbf80449cad7738fdf39
bhyve: Use vm_get_highmem_base() instead of hard-coding the value

This reduces the coupling between libvmmapi (which creates the highmem
segment) and bhyve, in preparation for the arm64 port.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D40992
usr.sbin/bhyve/bootrom.c
usr.sbin/bhyve/pci_emul.c
usr.sbin/bhyve/smbiostbl.c
usr.sbin/bhyve/snapshot.c