summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorkevans <kevans@FreeBSD.org>2018-03-15 20:29:48 +0000
committerkevans <kevans@FreeBSD.org>2018-03-15 20:29:48 +0000
commit0291572749b79ffac20a2f765a2672e21f3940af (patch)
treee92322a5ecaca1fd1913bb38fb5ff51d432b461b /sys/modules
parent53013a820655982f6ec30a5016f74b88c08c75ea (diff)
downloadFreeBSD-src-0291572749b79ffac20a2f765a2672e21f3940af.zip
FreeBSD-src-0291572749b79ffac20a2f765a2672e21f3940af.tar.gz
MFC (partially) r326066, r326121: Add an EFI RTC Driver
This is effectively a direct commit to stable/11 to avoid the arm64 bits, as those are unfortunately not able to MFC'd. MFC r326066: Add a driver for the EFI RTC. This uses the EFI Runtime Services to query the system time. MFC r326121: Zero struct efi_tm before setting the needed values. We don't use the dst or timezone fields so ensure these are set.
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 af5cee4..2613150 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>
OpenPOWER on IntegriCloud