Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 16:54:06 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c7c5d3e3888a - main - bhyve: Move AP startup code to amd64/
Message-ID:  <202310041654.394Gs6v9037944@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=c7c5d3e3888aa9018297794285dcd884e6182bd5

commit c7c5d3e3888aa9018297794285dcd884e6182bd5
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-10-04 16:24:19 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-10-04 16:53:17 +0000

    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
---
 usr.sbin/bhyve/Makefile                | 1 -
 usr.sbin/bhyve/amd64/Makefile.inc      | 1 +
 usr.sbin/bhyve/{ => amd64}/spinup_ap.c | 0
 usr.sbin/bhyve/{ => amd64}/spinup_ap.h | 0
 4 files changed, 1 insertion(+), 1 deletion(-)

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
similarity index 100%
rename from usr.sbin/bhyve/spinup_ap.c
rename to usr.sbin/bhyve/amd64/spinup_ap.c
diff --git a/usr.sbin/bhyve/spinup_ap.h b/usr.sbin/bhyve/amd64/spinup_ap.h
similarity index 100%
rename from usr.sbin/bhyve/spinup_ap.h
rename to usr.sbin/bhyve/amd64/spinup_ap.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310041654.394Gs6v9037944>