[BACK]Return to vectors.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / aarch64 / aarch64

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/aarch64/aarch64/vectors.S between version 1.12 and 1.13

version 1.12, 2020/04/11 09:02:04 version 1.13, 2020/04/12 07:49:58
Line 2 
Line 2 
   
 #include <aarch64/asm.h>  #include <aarch64/asm.h>
 #include "assym.h"  #include "assym.h"
   #include "opt_cpuoptions.h"
 #include "opt_ddb.h"  #include "opt_ddb.h"
 #include "opt_dtrace.h"  #include "opt_dtrace.h"
   
           ARMV8_DEFINE_OPTIONS
   
 #ifdef KDTRACE_HOOKS  #ifdef KDTRACE_HOOKS
 /*  /*
  * dtrace needs to emulate  stp x29,x30,[sp,#-FRAMESIZE]!   where   * dtrace needs to emulate  stp x29,x30,[sp,#-FRAMESIZE]!   where
Line 81  ENTRY_NP(\func)
Line 84  ENTRY_NP(\func)
         ldr     x1, [x1, #CI_CURLWP]    /* x1 = curcpu()->ci_curlwp */          ldr     x1, [x1, #CI_CURLWP]    /* x1 = curcpu()->ci_curlwp */
         mrs     x0, tpidr\tpidr\()_el0          mrs     x0, tpidr\tpidr\()_el0
         str     x0, [x1, #L_PRIVATE]    /* curlwp->l_private = tpidr{,ro}_el0 */          str     x0, [x1, #L_PRIVATE]    /* curlwp->l_private = tpidr{,ro}_el0 */
   
   #ifdef ARMV83_PAC
           /* Switch to the kern PAC key. */
           adrl    x4, _C_LABEL(aarch64_pac_enabled)
           ldr     w4, [x4]
           cbz     w4, 1f
           ldr     x5, [x1, #L_MD_IA_KERN_LO]
           ldr     x6, [x1, #L_MD_IA_KERN_HI]
           msr     APIAKeyLo_EL1, x5
           msr     APIAKeyHi_EL1, x6
   1:
   #endif
         .endif          .endif
   
         adr     x30, el\el\()_trap_exit /* el[01]_trap_exit */          adr     x30, el\el\()_trap_exit /* el[01]_trap_exit */

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>