Home
last modified time | relevance | path

Searched refs:cur_el (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/arm/
H A Ddebug_helper.c52 int cur_el = arm_current_el(env); in raise_exception_debug() local
59 assert(debug_el >= cur_el); in raise_exception_debug()
60 syndrome |= (debug_el == cur_el) << ARM_EL_EC_SHIFT; in raise_exception_debug()
67 int cur_el = arm_current_el(env); in aa64_generate_debug_exceptions() local
70 if (cur_el == 3) { in aa64_generate_debug_exceptions()
86 if (cur_el == debug_el) { in aa64_generate_debug_exceptions()
92 return debug_el > cur_el; in aa64_generate_debug_exceptions()
518 int cur_el = arm_current_el(env); in HELPER() local
536 if (debug_el < cur_el) { in HELPER()
537 debug_el = cur_el; in HELPER()
H A Dcpu.c686 if (cur_el > target_el) { in arm_excp_unmasked()
749 if ((target_el > cur_el) && (target_el != 1)) { in arm_excp_unmasked()
831 uint32_t cur_el = arm_current_el(env); in arm_cpu_exec_interrupt() local
840 (arm_sctlr(env, cur_el) & SCTLR_NMI)) { in arm_cpu_exec_interrupt()
845 cur_el, secure, hcr_el2)) { in arm_cpu_exec_interrupt()
853 cur_el, secure, hcr_el2)) { in arm_cpu_exec_interrupt()
885 cur_el, secure, hcr_el2)) { in arm_cpu_exec_interrupt()
893 cur_el, secure, hcr_el2)) { in arm_cpu_exec_interrupt()
901 cur_el, secure, hcr_el2)) { in arm_cpu_exec_interrupt()
909 cur_el, secure, hcr_el2)) { in arm_cpu_exec_interrupt()
[all …]
H A Dinternals.h413 unsigned int cur_el = arm_current_el(env); in update_spsel() local
420 aarch64_save_sp(env, cur_el); in update_spsel()
426 assert(cur_el >= 1 && cur_el <= 3); in update_spsel()
427 aarch64_restore_sp(env, cur_el); in update_spsel()
H A Dcpu.h1245 int fp_exception_el(CPUARMState *env, int cur_el);
1246 int sve_exception_el(CPUARMState *env, int cur_el);
1247 int sme_exception_el(CPUARMState *env, int cur_el);
2669 uint32_t cur_el, bool secure);
3057 int cur_el = arm_current_el(env); in arm_cpu_data_is_big_endian() local
3058 uint64_t sctlr = arm_sctlr(env, cur_el); in arm_cpu_data_is_big_endian()
3059 return arm_cpu_data_is_big_endian_a64(cur_el, sctlr); in arm_cpu_data_is_big_endian()
H A Dhelper.c2538 switch (cur_el) { in gt_counter_access()
2576 switch (cur_el) { in gt_timer_access()
5396 int cur_el = arm_current_el(env); in aa64_zva_access() local
5398 if (cur_el < 2) { in aa64_zva_access()
5401 if (cur_el == 0) { in aa64_zva_access()
7009 if (cur_el < 2) { in ctr_el0_access()
7012 if (cur_el == 0) { in ctr_el0_access()
11568 if (cur_el < new_el) { in arm_cpu_do_interrupt_aarch64()
12484 if (cur_el != 0) { in fp_exception_el()
12495 if (cur_el <= 1) { in fp_exception_el()
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dop_helper.c322 int cur_el = arm_current_el(env); in check_wfx_trap() local
333 if (cur_el < 1 && arm_feature(env, ARM_FEATURE_V8)) { in check_wfx_trap()
353 if (cur_el < 2) { in check_wfx_trap()
361 if (cur_el < 3) { in check_wfx_trap()
1000 int cur_el = arm_current_el(env); in HELPER() local
1027 if (secure && (!is_a64(env) || cur_el == 1)) { in HELPER()
1040 int cur_el = arm_current_el(env); in HELPER() local
1108 if (cur_el == 1 && (arm_hcr_el2_eff(env) & HCR_TSC)) { in HELPER()
H A Dhelper-a64.c774 int cur_el = arm_current_el(env); in HELPER() local
775 unsigned int spsr_idx = aarch64_banked_spsr_index(cur_el); in HELPER()
780 aarch64_save_sp(env, cur_el); in HELPER()
800 if (cur_el == 3 && (env->cp15.scr_el3 & (SCR_NS | SCR_NSE)) == SCR_NSE) { in HELPER()
808 if (new_el > cur_el || (new_el == 2 && !arm_is_el2_enabled(env))) { in HELPER()
848 cur_el, new_el, env->regs[15]); in HELPER()
882 cur_el, new_el, env->pc); in HELPER()
889 aarch64_sve_change_el(env, cur_el, new_el, return_to_aa64); in HELPER()
913 helper_rebuild_hflags_a64(env, cur_el); in HELPER()
915 "resuming execution at 0x%" PRIx64 "\n", cur_el, env->pc); in HELPER()
H A Dm_helper.c2563 int cur_el = arm_current_el(env); in HELPER() local
2565 if (cur_el == 0 && reg > 7 && reg != 20) { in HELPER()
2744 if (cur_el > 0 && (arm_feature(env, ARM_FEATURE_V8) || in HELPER()
2748 if (cur_el > 0 && arm_feature(env, ARM_FEATURE_M_MAIN)) { in HELPER()
2762 if (cur_el > 0 && in HELPER()