aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2017-11-21 17:23:16 +0000
committerAndrew Turner <andrew@FreeBSD.org>2017-11-21 17:23:16 +0000
commita3dff126f9520df0a1365b2490924e24987bec43 (patch)
tree89e33c7f1b2e6bbdc14edc2ea0be007f7b2b8203 /sys/modules
parente7dda951a4588979f606c30ecbe020fb6efa977f (diff)
downloadsrc-a3dff126f9520df0a1365b2490924e24987bec43.tar.gz
src-a3dff126f9520df0a1365b2490924e24987bec43.zip
Add a driver for the EFI RTC. This uses the EFI Runtime Services to query
the system time. As we seem to only read this time on boot, and this is the only source of time on many arm64 machines we need to enable this by default there. As this is not always the case with U-Boot firmware, or when we have been booted from a non-UEFI environment we only enable the device driver when the Runtime Services are present and reading the time doesn't result in an error. PR: 212185 Reviewed by: imp, kib Tested by: emaste Relnotes: yes Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D12650
Notes
Notes: svn path=/head/; revision=326066
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/efirt/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/efirt/Makefile b/sys/modules/efirt/Makefile
index af5cee4ee4bb..2613150db489 100644
--- a/sys/modules/efirt/Makefile
+++ b/sys/modules/efirt/Makefile
@@ -5,6 +5,7 @@
KMOD= efirt
SRCS= efirt.c efirt_machdep.c efidev.c
-SRCS+= device_if.h bus_if.h
+SRCS+= efirtc.c
+SRCS+= device_if.h bus_if.h clock_if.h
.include <bsd.kmod.mk>