/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/xilinx/common/ |
H A D | plat_startup.c | 207 if ((target_el == FSBL_FLAGS_EL3) || in fsbl_atf_handover() 208 (target_el == FSBL_FLAGS_EL0)) { in fsbl_atf_handover() 215 target_el == FSBL_FLAGS_EL2) { in fsbl_atf_handover() 217 target_secure, target_el); in fsbl_atf_handover() 238 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 239 target_el = MODE32_hyp; in fsbl_atf_handover() 241 target_el = MODE32_sys; in fsbl_atf_handover() 247 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 248 target_el = MODE_EL2; in fsbl_atf_handover() 250 target_el = MODE_EL1; in fsbl_atf_handover() [all …]
|
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/xilinx/common/ |
H A D | plat_startup.c | 207 if ((target_el == FSBL_FLAGS_EL3) || in fsbl_atf_handover() 208 (target_el == FSBL_FLAGS_EL0)) { in fsbl_atf_handover() 215 target_el == FSBL_FLAGS_EL2) { in fsbl_atf_handover() 217 target_secure, target_el); in fsbl_atf_handover() 238 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 239 target_el = MODE32_hyp; in fsbl_atf_handover() 241 target_el = MODE32_sys; in fsbl_atf_handover() 247 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 248 target_el = MODE_EL2; in fsbl_atf_handover() 250 target_el = MODE_EL1; in fsbl_atf_handover() [all …]
|
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/plat/xilinx/common/ |
H A D | plat_startup.c | 207 if ((target_el == FSBL_FLAGS_EL3) || in fsbl_atf_handover() 208 (target_el == FSBL_FLAGS_EL0)) { in fsbl_atf_handover() 215 target_el == FSBL_FLAGS_EL2) { in fsbl_atf_handover() 217 target_secure, target_el); in fsbl_atf_handover() 238 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 239 target_el = MODE32_hyp; in fsbl_atf_handover() 241 target_el = MODE32_sys; in fsbl_atf_handover() 247 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 248 target_el = MODE_EL2; in fsbl_atf_handover() 250 target_el = MODE_EL1; in fsbl_atf_handover() [all …]
|
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/plat/xilinx/common/ |
H A D | plat_startup.c | 207 if ((target_el == FSBL_FLAGS_EL3) || in fsbl_atf_handover() 208 (target_el == FSBL_FLAGS_EL0)) { in fsbl_atf_handover() 215 target_el == FSBL_FLAGS_EL2) { in fsbl_atf_handover() 217 target_secure, target_el); in fsbl_atf_handover() 238 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 239 target_el = MODE32_hyp; in fsbl_atf_handover() 241 target_el = MODE32_sys; in fsbl_atf_handover() 247 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 248 target_el = MODE_EL2; in fsbl_atf_handover() 250 target_el = MODE_EL1; in fsbl_atf_handover() [all …]
|
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/plat/xilinx/common/ |
H A D | plat_startup.c | 207 if ((target_el == FSBL_FLAGS_EL3) || in fsbl_atf_handover() 208 (target_el == FSBL_FLAGS_EL0)) { in fsbl_atf_handover() 215 target_el == FSBL_FLAGS_EL2) { in fsbl_atf_handover() 217 target_secure, target_el); in fsbl_atf_handover() 238 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 239 target_el = MODE32_hyp; in fsbl_atf_handover() 241 target_el = MODE32_sys; in fsbl_atf_handover() 247 if (target_el == FSBL_FLAGS_EL2) in fsbl_atf_handover() 248 target_el = MODE_EL2; in fsbl_atf_handover() 250 target_el = MODE_EL1; in fsbl_atf_handover() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 113 && info->target_el == 2) { in arm_set_cpu_on_async_work() 119 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 141 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 154 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
H A D | op_helper.c | 43 target_el = 2; in do_raise_exception() 52 env->exception.target_el = target_el; in do_raise_exception() 250 int target_el; in check_wfx_trap() local 299 if (target_el) { in HELPER() 609 int target_el; in HELPER() local 652 target_el = 2; in HELPER() 655 target_el = 3; in HELPER() 662 target_el = 2; in HELPER() 666 target_el = 3; in HELPER() 670 target_el = 2; in HELPER() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
H A D | tlb_helper.c | 16 unsigned int target_el, in merge_syn_data_abort() argument 35 if (!(template_syn & ARM_EL_ISV) || target_el != 2 || s1ptw) { in merge_syn_data_abort() 59 int target_el; in arm_deliver_fault() local 64 target_el = exception_target_el(env); in arm_deliver_fault() 66 target_el = 2; in arm_deliver_fault() 69 same_el = (arm_current_el(env) == target_el); in arm_deliver_fault() 71 if (target_el == 2 || arm_el_is_aa64(env, target_el) || in arm_deliver_fault() 94 syn = merge_syn_data_abort(env->exception.syndrome, target_el, in arm_deliver_fault() 107 raise_exception(env, exc, syn, target_el); in arm_deliver_fault()
|
H A D | op_helper.c | 44 target_el = 2; in do_raise_exception() 53 env->exception.target_el = target_el; in do_raise_exception() 248 int target_el; in check_wfx_trap() local 297 if (target_el) { in HELPER() 599 int target_el; in HELPER() local 621 target_el = 2; in HELPER() 624 target_el = 3; in HELPER() 631 target_el = 2; in HELPER() 635 target_el = 3; in HELPER() 639 target_el = 2; in HELPER() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
H A D | op_helper.c | 43 target_el = 2; in do_raise_exception() 52 env->exception.target_el = target_el; in do_raise_exception() 250 int target_el; in check_wfx_trap() local 299 if (target_el) { in HELPER() 616 int target_el; in HELPER() local 659 target_el = 2; in HELPER() 662 target_el = 3; in HELPER() 669 target_el = 2; in HELPER() 673 target_el = 3; in HELPER() 677 target_el = 2; in HELPER() [all …]
|
H A D | tlb_helper.c | 14 unsigned int target_el, in merge_syn_data_abort() argument 33 if (!(template_syn & ARM_EL_ISV) || target_el != 2 || s1ptw) { in merge_syn_data_abort() 57 int target_el; in arm_deliver_fault() local 62 target_el = exception_target_el(env); in arm_deliver_fault() 64 target_el = 2; in arm_deliver_fault() 67 same_el = (arm_current_el(env) == target_el); in arm_deliver_fault() 69 if (target_el == 2 || arm_el_is_aa64(env, target_el) || in arm_deliver_fault() 92 syn = merge_syn_data_abort(env->exception.syndrome, target_el, in arm_deliver_fault() 105 raise_exception(env, exc, syn, target_el); in arm_deliver_fault()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
H A D | op_helper.c | 43 target_el = 2; in do_raise_exception() 52 env->exception.target_el = target_el; in do_raise_exception() 247 int target_el; in check_wfx_trap() local 296 if (target_el) { in HELPER() 613 int target_el; in HELPER() local 656 target_el = 2; in HELPER() 659 target_el = 3; in HELPER() 666 target_el = 2; in HELPER() 670 target_el = 3; in HELPER() 674 target_el = 2; in HELPER() [all …]
|
H A D | tlb_helper.c | 16 unsigned int target_el, in merge_syn_data_abort() argument 35 if (!(template_syn & ARM_EL_ISV) || target_el != 2 || s1ptw) { in merge_syn_data_abort() 59 int target_el; in arm_deliver_fault() local 64 target_el = exception_target_el(env); in arm_deliver_fault() 66 target_el = 2; in arm_deliver_fault() 69 same_el = (arm_current_el(env) == target_el); in arm_deliver_fault() 71 if (target_el == 2 || arm_el_is_aa64(env, target_el) || in arm_deliver_fault() 94 syn = merge_syn_data_abort(env->exception.syndrome, target_el, in arm_deliver_fault() 107 raise_exception(env, exc, syn, target_el); in arm_deliver_fault()
|
/dports/emulators/qemu42/qemu-4.2.1/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
H A D | tlb_helper.c | 16 unsigned int target_el, in merge_syn_data_abort() argument 35 if (!(template_syn & ARM_EL_ISV) || target_el != 2 || s1ptw) { in merge_syn_data_abort() 59 int target_el; in arm_deliver_fault() local 64 target_el = exception_target_el(env); in arm_deliver_fault() 66 target_el = 2; in arm_deliver_fault() 69 same_el = (arm_current_el(env) == target_el); in arm_deliver_fault() 71 if (target_el == 2 || arm_el_is_aa64(env, target_el) || in arm_deliver_fault() 94 syn = merge_syn_data_abort(env->exception.syndrome, target_el, in arm_deliver_fault() 107 raise_exception(env, exc, syn, target_el); in arm_deliver_fault()
|
H A D | op_helper.c | 44 target_el = 2; in do_raise_exception() 53 env->exception.target_el = target_el; in do_raise_exception() 248 int target_el; in check_wfx_trap() local 297 if (target_el) { in HELPER() 599 int target_el; in HELPER() local 621 target_el = 2; in HELPER() 624 target_el = 3; in HELPER() 631 target_el = 2; in HELPER() 635 target_el = 3; in HELPER() 639 target_el = 2; in HELPER() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/arm/ |
H A D | arm-powerctl.c | 54 uint32_t target_el; member 70 if ((info->target_el < 3) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 79 if ((info->target_el < 2) && arm_feature(&target_cpu->env, in arm_set_cpu_on_async_work() 88 target_cpu->env.pstate = aarch64_pstate_mode(info->target_el, true); in arm_set_cpu_on_async_work() 96 cpsr_write(&target_cpu->env, mode_for_el[info->target_el], CPSR_M, in arm_set_cpu_on_async_work() 100 if (info->target_el == 3) { in arm_set_cpu_on_async_work() 116 && info->target_el == 2) { in arm_set_cpu_on_async_work() 122 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work() 144 uint32_t target_el, bool target_aa64) in arm_set_cpu_on() argument 157 assert((target_el > 0) && (target_el < 4)); in arm_set_cpu_on() [all …]
|
H A D | op_helper.c | 43 target_el = 2; in do_raise_exception() 52 env->exception.target_el = target_el; in do_raise_exception() 247 int target_el; in check_wfx_trap() local 296 if (target_el) { in HELPER() 613 int target_el; in HELPER() local 656 target_el = 2; in HELPER() 659 target_el = 3; in HELPER() 666 target_el = 2; in HELPER() 670 target_el = 3; in HELPER() 674 target_el = 2; in HELPER() [all …]
|
H A D | tlb_helper.c | 16 unsigned int target_el, in merge_syn_data_abort() argument 35 if (!(template_syn & ARM_EL_ISV) || target_el != 2 || s1ptw) { in merge_syn_data_abort() 59 int target_el; in arm_deliver_fault() local 64 target_el = exception_target_el(env); in arm_deliver_fault() 66 target_el = 2; in arm_deliver_fault() 69 same_el = (arm_current_el(env) == target_el); in arm_deliver_fault() 71 if (target_el == 2 || arm_el_is_aa64(env, target_el) || in arm_deliver_fault() 94 syn = merge_syn_data_abort(env->exception.syndrome, target_el, in arm_deliver_fault() 107 raise_exception(env, exc, syn, target_el); in arm_deliver_fault()
|