diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2018-09-02 21:37:05 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2018-09-02 21:37:05 +0000 |
commit | 50cd0be78f3e7fc069f5a06a4dc9aac35a4c0af0 (patch) | |
tree | b4dd97e402be82e6732923105fd8cf33ff6d286e /sys/modules/efirt | |
parent | 1565fb29a78f0e70bd1dd4287ee7b87854131c1e (diff) | |
download | src-50cd0be78f3e7fc069f5a06a4dc9aac35a4c0af0.tar.gz src-50cd0be78f3e7fc069f5a06a4dc9aac35a4c0af0.zip |
Catch exceptions during EFI RT calls on amd64.
This appeared to be required to have EFI RT support and EFI RTC
enabled by default, because there are too many reports of faulting
calls on many different machines. The knob is added to leave the
exceptions unhandled to allow to debug the actual bugs.
Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (rgrimes)
Differential revision: https://reviews.freebsd.org/D16972
Notes
Notes:
svn path=/head/; revision=338437
Diffstat (limited to 'sys/modules/efirt')
-rw-r--r-- | sys/modules/efirt/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/modules/efirt/Makefile b/sys/modules/efirt/Makefile index 2613150db489..2e53336cf22d 100644 --- a/sys/modules/efirt/Makefile +++ b/sys/modules/efirt/Makefile @@ -8,4 +8,11 @@ SRCS= efirt.c efirt_machdep.c efidev.c SRCS+= efirtc.c SRCS+= device_if.h bus_if.h clock_if.h +.if ${MACHINE_CPUARCH} == "amd64" +SRCS+= efirt_support.S +efirt_support.o: efirt_support.S assym.inc + ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ + ${.IMPSRC} -o ${.TARGET} +.endif + .include <bsd.kmod.mk> |