Page MenuHomeFreeBSD

D36052.id109540.diff
No OneTemporary

D36052.id109540.diff

Index: stand/efi/loader/Makefile
===================================================================
--- stand/efi/loader/Makefile
+++ stand/efi/loader/Makefile
@@ -5,6 +5,7 @@
LOADER_UFS_SUPPORT?= yes
LOADER_CD9660_SUPPORT?= no
LOADER_EXT2FS_SUPPORT?= no
+LOADER_AARCH64_HYPERV_SUPPORT?= no
.include <bsd.init.mk>
Index: stand/efi/loader/conf.c
===================================================================
--- stand/efi/loader/conf.c
+++ stand/efi/loader/conf.c
@@ -88,7 +88,9 @@
struct console *consoles[] = {
&efi_console,
+#if defined(LOADER_AARCH64_HYPERV_SUPPORT)
&comconsole,
+#endif
#if defined(__amd64__) || defined(__i386__)
&nullconsole,
&spinconsole,
Index: stand/loader.mk
===================================================================
--- stand/loader.mk
+++ stand/loader.mk
@@ -99,6 +99,11 @@
CFLAGS+= -DLOADER_UFS_SUPPORT
.endif
+# Hyper-V comconsole support
+.if ${LOADER_AARCH64_HYPERV_SUPPORT:Uno} == "yes"
+CFLAGS+= -DLOADER_AARCH64_HYPERV_SUPPORT
+.endif
+
# Compression
.if ${LOADER_GZIP_SUPPORT:Uno} == "yes"
CFLAGS+= -DLOADER_GZIP_SUPPORT

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 1:40 AM (6 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28522447
Default Alt Text
D36052.id109540.diff (1 KB)

Event Timeline