From 2e2c9b138dab0b3e6662ed02ecaa77f3a235771e Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 28 Nov 2016 00:36:28 +0100 Subject: [PATCH] kernel/efirt: Make efirt compilable into the kernel and add to LINT64. --- sys/conf/files | 1 + sys/config/LINT64 | 3 +++ sys/platform/pc64/conf/files | 1 + sys/platform/pc64/conf/options | 3 +++ 4 files changed, 8 insertions(+) diff --git a/sys/conf/files b/sys/conf/files index 5816f2684e..af532fbcc7 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -377,6 +377,7 @@ dev/misc/dcons/dcons_crom.c optional dcons_crom dev/misc/dcons/dcons_os.c optional dcons dev/raid/dpt/dpt_scsi.c optional dpt dev/raid/dpt/dpt_pci.c optional dpt pci +dev/misc/efirt/efidev.c optional efirt dev/netif/em/if_em.c optional em dev/netif/emx/if_emx.c optional emx dev/netif/igb/if_igb.c optional igb diff --git a/sys/config/LINT64 b/sys/config/LINT64 index 3c3582ead6..241bbb0658 100644 --- a/sys/config/LINT64 +++ b/sys/config/LINT64 @@ -1734,6 +1734,9 @@ device wbsio0 at isa? port 0x2e device wbsio1 at isa? port 0x4e device uguru0 at isa? port 0xe0 # ABIT uGuru +# EFI Runtime Services support (not functional yet). +options EFIRT + # Parallel-Port Bus # # Parallel port bus support is provided by the `ppbus' device. diff --git a/sys/platform/pc64/conf/files b/sys/platform/pc64/conf/files index fba590bafc..41899367af 100644 --- a/sys/platform/pc64/conf/files +++ b/sys/platform/pc64/conf/files @@ -195,6 +195,7 @@ platform/pc64/acpica/acpi_fadt.c standard platform/pc64/acpica/acpi_madt.c standard dev/misc/atkbd/atkbd_isa.c optional atkbd dev/misc/atkbdc_layer/atkbdc_isa.c optional atkbdc +platform/pc64/x86_64/efirt.c optional efirt dev/misc/ppc/ppc.c optional ppc dev/misc/psm/psm.c optional psm dev/serial/sio/sio.c optional sio diff --git a/sys/platform/pc64/conf/options b/sys/platform/pc64/conf/options index bd6be1d0e1..5d2fe3e9fc 100644 --- a/sys/platform/pc64/conf/options +++ b/sys/platform/pc64/conf/options @@ -54,3 +54,6 @@ KBD_MAXRETRY opt_kbd.h KBD_MAXWAIT opt_kbd.h KBD_RESETDELAY opt_kbd.h KBDIO_DEBUG opt_kbd.h + +# EFI Runtime services support +EFIRT opt_efirt.h -- 2.11.4.GIT