mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 23:32:52 -04:00
Note that this requires marking efi_rt_fault as a non-preemptible
local symbol.
Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org>
Reviewed by: imp, andrew
Obtained from: CheriBSD
Fixes: d7f930b80e ("arm64: Implement efi_rt_arch_call")
Differential Revision: https://reviews.freebsd.org/D48715
21 lines
480 B
Makefile
21 lines
480 B
Makefile
.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE}
|
|
.PATH: ${SRCTOP}/sys/dev/efidev
|
|
|
|
KMOD= efirt
|
|
SRCS= efirt.c efirt_machdep.c efidev.c
|
|
SRCS+= efirtc.c
|
|
SRCS+= efirt_support.S
|
|
SRCS+= device_if.h bus_if.h clock_if.h
|
|
DPSRCS+= assym.inc
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
SRCS+= opt_hwpmc_hooks.h opt_kstack_pages.h
|
|
.endif
|
|
|
|
efirt_support.o: efirt_support.S assym.inc
|
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
|
${.IMPSRC} -o ${.TARGET}
|
|
|
|
EXPORT_SYMS= YES
|
|
|
|
.include <bsd.kmod.mk>
|