The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=5d56a04d1b99c0187c7799be0d1e93586312bd55
commit 5d56a04d1b99c0187c7799be0d1e93586312bd55 Author: Andrew Turner <and...@freebsd.org> AuthorDate: 2025-08-07 10:29:57 +0000 Commit: Andrew Turner <and...@freebsd.org> CommitDate: 2025-08-07 10:34:28 +0000 bhyve/arm64: Add a missing header file This should have been added with 8ae1d55bfcd0 ("bhyve/arm64: Mark CPU0 as on at boot"). Fixes: 8ae1d55bfcd0 ("bhyve/arm64: Mark CPU0 as on at boot") Sponsored by: Arm Ltd --- usr.sbin/bhyve/aarch64/bhyve_machdep.h | 12 ++++++++++++ usr.sbin/bhyve/aarch64/bhyverun_machdep.c | 1 + usr.sbin/bhyve/aarch64/vmexit.c | 1 + 3 files changed, 14 insertions(+) diff --git a/usr.sbin/bhyve/aarch64/bhyve_machdep.h b/usr.sbin/bhyve/aarch64/bhyve_machdep.h new file mode 100644 index 000000000000..9e01d906ad4d --- /dev/null +++ b/usr.sbin/bhyve/aarch64/bhyve_machdep.h @@ -0,0 +1,12 @@ +/*- + * Copyright (c) 2025 Arm Ltd + * + * SPDX-License-Identifier: BSD-2-Clause +*/ + +#ifndef _BHYVE_MACHDEP_H_ +#define _BHYVE_MACHDEP_H_ + +extern cpuset_t running_cpumask; + +#endif /* _BHYVE_MACHDEP_H_ */ diff --git a/usr.sbin/bhyve/aarch64/bhyverun_machdep.c b/usr.sbin/bhyve/aarch64/bhyverun_machdep.c index ffca4aa8c5a6..098454169272 100644 --- a/usr.sbin/bhyve/aarch64/bhyverun_machdep.c +++ b/usr.sbin/bhyve/aarch64/bhyverun_machdep.c @@ -41,6 +41,7 @@ #include <vmmapi.h> +#include "bhyve_machdep.h" #include "bhyverun.h" #include "config.h" #include "debug.h" diff --git a/usr.sbin/bhyve/aarch64/vmexit.c b/usr.sbin/bhyve/aarch64/vmexit.c index 2d350566675a..6b7f80e67a92 100644 --- a/usr.sbin/bhyve/aarch64/vmexit.c +++ b/usr.sbin/bhyve/aarch64/vmexit.c @@ -47,6 +47,7 @@ #include <vmmapi.h> +#include "bhyve_machdep.h" #include "bhyverun.h" #include "config.h" #include "debug.h"