svn commit: r288443 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Thu Oct 1 09:44:16 UTC 2015
Author: andrew
Date: Thu Oct 1 09:44:15 2015
New Revision: 288443
URL: https://svnweb.freebsd.org/changeset/base/288443
Log:
Add the ENTRY/END entries around the exception handlers.
Obtained from: EuroBSDCon Devsummit
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm64/arm64/exception.S
Modified: head/sys/arm64/arm64/exception.S
==============================================================================
--- head/sys/arm64/arm64/exception.S Thu Oct 1 09:40:33 2015 (r288442)
+++ head/sys/arm64/arm64/exception.S Thu Oct 1 09:44:15 2015 (r288443)
@@ -131,45 +131,51 @@ __FBSDID("$FreeBSD$");
2:
.endm
-handle_el1h_sync:
+ENTRY(handle_el1h_sync)
save_registers 1
mov x0, sp
bl do_el1h_sync
restore_registers 1
eret
+END(handle_el1h_sync)
-handle_el1h_irq:
+ENTRY(handle_el1h_irq)
save_registers 1
mov x0, sp
bl arm_cpu_intr
restore_registers 1
eret
+END(handle_el1h_irq)
-handle_el1h_error:
+ENTRY(handle_el1h_error)
brk 0xf13
+END(handle_el1h_error)
-handle_el0_sync:
+ENTRY(handle_el0_sync)
save_registers 0
mov x0, sp
bl do_el0_sync
do_ast
restore_registers 0
eret
+END(handle_el0_sync)
-handle_el0_irq:
+ENTRY(handle_el0_irq)
save_registers 0
mov x0, sp
bl arm_cpu_intr
do_ast
restore_registers 0
eret
+END(handle_el0_irq)
-handle_el0_error:
+ENTRY(handle_el0_error)
save_registers 0
mov x0, sp
bl do_el0_error
brk 0xf23
1: b 1b
+END(handle_el0_error)
.macro vempty
.align 7
More information about the svn-src-all
mailing list