]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Conditionally compile framebuffer-related code
authorMark Johnston <markj@FreeBSD.org>
Wed, 4 Oct 2023 16:25:47 +0000 (12:25 -0400)
committerMark Johnston <markj@FreeBSD.org>
Wed, 4 Oct 2023 16:53:17 +0000 (12:53 -0400)
commit61429b49d2bd4fdad37e0873b2fc085eacbd26b2
tree6f251e354c091998bd3dffa48541037c6b397e01
parent55c13f6e7a412cc4bd0ea3fc183cd7c5c2348f01
bhyve: Conditionally compile framebuffer-related code

The arm64 port does not implement VGA, so move the device model sources.
Compile framebuffer code only on amd64 for now, but do not move the
sources, as we ought to be able to add support later.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 1 week
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D40740
usr.sbin/bhyve/Makefile
usr.sbin/bhyve/amd64/Makefile.inc
usr.sbin/bhyve/amd64/vga.c [moved from usr.sbin/bhyve/vga.c with 100% similarity]
usr.sbin/bhyve/amd64/vga.h [moved from usr.sbin/bhyve/vga.h with 100% similarity]
usr.sbin/bhyve/pci_fbuf.c