1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

efidev: Allow for optionally including efidev and efirtc into the kernel

Require both "efirt" and "efidev" in order to build in efidev
Require both "efirt" and "efirtc" in order to build in efirtc

Update FIRECRACKER, GENERIC, and NOTES for amd64
Update NOTES and std.arm for arm64

Reviewed by:	imp
Obtained from:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D44745
This commit is contained in:
Stephen J. Kiernan 2024-04-10 17:44:59 -04:00
parent cb722b6779
commit bfd2ce2a5a
6 changed files with 23 additions and 3 deletions

View File

@ -195,3 +195,7 @@ device pci
options XENHVM # Xen HVM kernel infrastructure
device xenpci # Xen HVM Hypervisor services driver
device xentimer # Xen x86 PV timer device
# EFI devices
device efidev # EFI pseudo-device
device efirtc # EFI RTC

View File

@ -394,3 +394,7 @@ device uinput # install /dev/uinput cdev
options HID_DEBUG # enable debug msgs
device hid # Generic HID support
options IICHID_SAMPLING # Workaround missing GPIO INTR support
# EFI devices
device efidev # EFI pseudo-device
device efirtc # EFI RTC

View File

@ -594,6 +594,12 @@ options NKPT=31
# EFI Runtime Services support
options EFIRT
# EFI pseudo-device
device efidev
# EFI RTC
device efirtc
#
# HID-over-I2C support
#

View File

@ -193,8 +193,9 @@ options EVDEV_SUPPORT # evdev support in legacy drivers
device aw_cir
# Pseudo devices.
options EFIRT # EFI Runtime Services
device clk
device efidev # EFI pseudo-device
device efirtc # EFI RTC
device phy
device hwreset
device nvmem
@ -212,6 +213,7 @@ device xdma # xDMA framework for SoC on-chip dma controllers
# Chip-specific errata
options THUNDERX_PASS_1_1_ERRATA
options EFIRT # EFI Runtime Services
options FDT
device acpi

View File

@ -106,3 +106,7 @@ options SMP # Symmetric MultiProcessor Kernel
# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
options PPS_SYNC
# EFI devices
device efidev # EFI pseudo-device
device efirtc # EFI RTC

View File

@ -1598,9 +1598,9 @@ dev/dwc/if_dwc.c optional dwc fdt
dev/dwc/if_dwc_if.m optional dwc fdt
dev/dwc/dwc1000_core.c optional dwc fdt
dev/dwc/dwc1000_dma.c optional dwc fdt
dev/efidev/efidev.c optional efirt
dev/efidev/efidev.c optional efirt efidev
dev/efidev/efirt.c optional efirt
dev/efidev/efirtc.c optional efirt
dev/efidev/efirtc.c optional efirt efirtc
dev/e1000/if_em.c optional em \
compile-with "${NORMAL_C} -I$S/dev/e1000"
dev/e1000/em_txrx.c optional em \