aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-10-04 16:24:19 +0000
committerMark Johnston <markj@FreeBSD.org>2023-10-11 13:22:03 +0000
commit4b5b18f0cfbbad795afa505ace37e2e5654ee1c0 (patch)
treedd311816ed853446c6b90051acf4969d69581971
parent2efcefea15e25b1d000318105282bf4d59c607ed (diff)
downloadsrc-4b5b18f0cfbbad795afa505ace37e2e5654ee1c0.tar.gz
src-4b5b18f0cfbbad795afa505ace37e2e5654ee1c0.zip
bhyve: Move AP startup code to amd64/
This code is only invoked via MD vmexit handlers. No functional change intended. Reviewed by: corvink, jhb MFC after: 1 week Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D40737 (cherry picked from commit c7c5d3e3888aa9018297794285dcd884e6182bd5)
-rw-r--r--usr.sbin/bhyve/Makefile1
-rw-r--r--usr.sbin/bhyve/amd64/Makefile.inc1
-rw-r--r--usr.sbin/bhyve/amd64/spinup_ap.c (renamed from usr.sbin/bhyve/spinup_ap.c)0
-rw-r--r--usr.sbin/bhyve/amd64/spinup_ap.h (renamed from usr.sbin/bhyve/spinup_ap.h)0
4 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index d510c32fccd0..f6db03a3358b 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -62,7 +62,6 @@ SRCS= \
rfb.c \
smbiostbl.c \
sockstream.c \
- spinup_ap.c \
tpm_device.c \
tpm_emul_passthru.c \
tpm_intf_crb.c \
diff --git a/usr.sbin/bhyve/amd64/Makefile.inc b/usr.sbin/bhyve/amd64/Makefile.inc
index 5caecb35a620..824f12861923 100644
--- a/usr.sbin/bhyve/amd64/Makefile.inc
+++ b/usr.sbin/bhyve/amd64/Makefile.inc
@@ -10,6 +10,7 @@ SRCS+= \
ps2kbd.c \
ps2mouse.c \
rtc.c \
+ spinup_ap.c \
task_switch.c \
xmsr.c
diff --git a/usr.sbin/bhyve/spinup_ap.c b/usr.sbin/bhyve/amd64/spinup_ap.c
index f874efcd374b..f874efcd374b 100644
--- a/usr.sbin/bhyve/spinup_ap.c
+++ b/usr.sbin/bhyve/amd64/spinup_ap.c
diff --git a/usr.sbin/bhyve/spinup_ap.h b/usr.sbin/bhyve/amd64/spinup_ap.h
index 5877446297c2..5877446297c2 100644
--- a/usr.sbin/bhyve/spinup_ap.h
+++ b/usr.sbin/bhyve/amd64/spinup_ap.h