While playing with dt(4) on arm64, I noticed that there were some
unrecognized functions.  Diff below fixes that.

ok?


Index: arch/arm64/arm64/exception.S
===================================================================
RCS file: /cvs/src/sys/arch/arm64/arm64/exception.S,v
retrieving revision 1.10
diff -u -p -r1.10 exception.S
--- arch/arm64/arm64/exception.S        17 Dec 2019 22:25:56 -0000      1.10
+++ arch/arm64/arm64/exception.S        17 Mar 2020 17:06:06 -0000
@@ -155,6 +155,8 @@
 1:
 .endm
 
+       .globl handle_el1h_sync
+       .type handle_el1h_sync,@function
 handle_el1h_sync:
        save_registers 1
        mov     x0, sp
@@ -164,6 +166,8 @@ handle_el1h_sync:
        dsb nsh
        isb
 
+       .globl handle_el1h_irq
+       .type handle_el1h_irq,@function
 handle_el1h_irq:
        save_registers 1
        mov     x0, sp
@@ -173,6 +177,8 @@ handle_el1h_irq:
        dsb nsh
        isb
 
+       .globl handle_el1h_error
+       .type handle_el1h_error,@function
 handle_el1h_error:
        brk     0xf13
 

Reply via email to