Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144403991
D48715.id150532.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48715.id150532.diff
View Options
diff --git a/sys/arm64/arm64/efirt_support.S b/sys/arm64/arm64/efirt_support.S
--- a/sys/arm64/arm64/efirt_support.S
+++ b/sys/arm64/arm64/efirt_support.S
@@ -85,7 +85,7 @@
ret
END(efi_rt_arch_call)
-ENTRY(efi_rt_fault)
+LENTRY(efi_rt_fault)
/* Clear pcb_onfault */
SET_FAULT_HANDLER(xzr, x11)
/* Load curthread */
@@ -96,6 +96,6 @@
/* Normal exit returning an error */
ldr x0, =EFAULT
b .Lefi_rt_arch_call_exit
-END(efi_rt_fault)
+LEND(efi_rt_fault)
GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL)
diff --git a/sys/modules/efirt/Makefile b/sys/modules/efirt/Makefile
--- a/sys/modules/efirt/Makefile
+++ b/sys/modules/efirt/Makefile
@@ -4,16 +4,17 @@
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
-SRCS+= efirt_support.S
-DPSRCS+= assym.inc
+.endif
+
efirt_support.o: efirt_support.S assym.inc
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
${.IMPSRC} -o ${.TARGET}
-.endif
EXPORT_SYMS= YES
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 6:33 AM (22 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28473722
Default Alt Text
D48715.id150532.diff (1 KB)
Attached To
Mode
D48715: arm64: Hook up efi_rt_arch_call in efirt.ko
Attached
Detach File
Event Timeline
Log In to Comment