Home
last modified time | relevance | path

Searched refs:NON_SECURE (Results 1 – 25 of 100) sorted by relevance

1234

/trusted-firmware-a/services/spd/tspd/
A Dtspd_main.c80 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_handle_sp_preemption()
81 cm_set_next_eret_context(NON_SECURE); in tspd_handle_sp_preemption()
157 cm_el1_sysregs_context_save(NON_SECURE); in tspd_sel1_interrupt_handler()
177 cm_el1_sysregs_context_save(NON_SECURE); in tspd_sel1_interrupt_handler()
417 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
502 assert(NON_SECURE == in tspd_smc_handler()
506 cm_prepare_el3_exit(NON_SECURE); in tspd_smc_handler()
507 SMC_RET0(cm_get_context(NON_SECURE)); in tspd_smc_handler()
658 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
699 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
[all …]
/trusted-firmware-a/plat/nvidia/tegra/soc/t186/
A Dplat_memctrl.c38 mc_make_sec_cfg(SCEW, NON_SECURE, NO_OVERRIDE, DISABLE),
39 mc_make_sec_cfg(AFIR, NON_SECURE, OVERRIDE, DISABLE),
40 mc_make_sec_cfg(AFIW, NON_SECURE, OVERRIDE, DISABLE),
50 mc_make_sec_cfg(SATAW, NON_SECURE, OVERRIDE, DISABLE),
58 mc_make_sec_cfg(PTCR, NON_SECURE, OVERRIDE, DISABLE),
60 mc_make_sec_cfg(ETRW, NON_SECURE, OVERRIDE, DISABLE),
64 mc_make_sec_cfg(HDAW, NON_SECURE, OVERRIDE, DISABLE),
65 mc_make_sec_cfg(ISPWA, NON_SECURE, OVERRIDE, ENABLE),
66 mc_make_sec_cfg(EQOSW, NON_SECURE, OVERRIDE, DISABLE),
70 mc_make_sec_cfg(VIW, NON_SECURE, OVERRIDE, ENABLE),
[all …]
/trusted-firmware-a/bl32/sp_min/
A Dsp_min_main.c49 assert(security_state == NON_SECURE);
55 assert(security_state == NON_SECURE); in smc_set_next_ctx()
71 assert(security_state == NON_SECURE); in cm_get_context()
81 assert(security_state == NON_SECURE); in cm_set_context()
94 assert(security_state == NON_SECURE); in cm_get_context_by_index()
105 assert(security_state == NON_SECURE); in cm_set_context_by_index()
128 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_prepare_next_image_entry()
139 smc_set_next_ctx(NON_SECURE); in sp_min_prepare_next_image_entry()
142 copy_cpu_ctx_to_smc_stx(get_regs_ctx(cm_get_context(NON_SECURE)), in sp_min_prepare_next_image_entry()
211 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_warm_boot()
[all …]
/trusted-firmware-a/services/spd/tlkd/
A Dtlkd_main.c76 assert(handle == cm_get_context(NON_SECURE)); in tlkd_interrupt_handler()
79 cm_el1_sysregs_context_save(NON_SECURE); in tlkd_interrupt_handler()
141 set_interrupt_rm_flag(flags, NON_SECURE); in tlkd_setup()
237 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
245 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_smc_handler()
246 cm_set_next_eret_context(NON_SECURE); in tlkd_smc_handler()
303 cm_el1_sysregs_context_save(NON_SECURE); in tlkd_smc_handler()
397 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_smc_handler()
398 cm_set_next_eret_context(NON_SECURE); in tlkd_smc_handler()
472 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_smc_handler()
[all …]
A Dtlkd_common.c31 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_va_translate()
34 write_scr(cm_get_scr_el3(NON_SECURE)); in tlkd_va_translate()
/trusted-firmware-a/services/spd/opteed/
A Dopteed_main.c65 assert(handle == cm_get_context(NON_SECURE)); in opteed_sel1_interrupt_handler()
68 cm_el1_sysregs_context_save(NON_SECURE); in opteed_sel1_interrupt_handler()
216 assert(handle == cm_get_context(NON_SECURE)); in opteed_smc_handler()
218 cm_el1_sysregs_context_save(NON_SECURE); in opteed_smc_handler()
301 set_interrupt_rm_flag(flags, NON_SECURE); in opteed_smc_handler()
367 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
371 cm_el1_sysregs_context_restore(NON_SECURE); in opteed_smc_handler()
372 cm_set_next_eret_context(NON_SECURE); in opteed_smc_handler()
382 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
390 cm_el1_sysregs_context_restore(NON_SECURE); in opteed_smc_handler()
[all …]
/trusted-firmware-a/services/spd/trusty/
A Dtrusty.c102 ctx_smc = cm_get_context(NON_SECURE); in trusty_context_switch()
149 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_ENTER, 0, 0, 0); in trusty_fiq_handler()
207 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_EXIT, 0, 0, 0); in trusty_fiq_exit()
299 ret = trusty_context_switch(NON_SECURE, smc_fid, x1, in trusty_smc_handler()
323 fpregs_context_save(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
324 cm_el1_sysregs_context_save(NON_SECURE); in trusty_init()
348 cm_el1_sysregs_context_restore(NON_SECURE); in trusty_init()
349 fpregs_context_restore(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
350 cm_set_next_eret_context(NON_SECURE); in trusty_init()
485 set_interrupt_rm_flag(flags, NON_SECURE); in trusty_setup()
[all …]
/trusted-firmware-a/plat/nvidia/tegra/common/
A Dtegra_fiq_glue.c42 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler()
60 cm_el1_sysregs_context_save(NON_SECURE); in tegra_fiq_interrupt_handler()
73 cm_set_elr_el3(NON_SECURE, ns_fiq_handler_addr); in tegra_fiq_interrupt_handler()
129 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context()
/trusted-firmware-a/include/common/
A Dep_info.h20 #define NON_SECURE EP_NON_SECURE macro
24 ((s) == NON_SECURE) || \
27 #define sec_state_is_valid(s) (((s) == SECURE) || ((s) == NON_SECURE))
/trusted-firmware-a/bl1/
A Dbl1_fwu.c249 if (GET_SECURITY_STATE(desc->ep_info.h.attr) == NON_SECURE) { in bl1_fwu_image_copy()
531 cm_el1_sysregs_context_save(NON_SECURE); in bl1_fwu_image_execute()
562 if (caller_sec_state == NON_SECURE) { in bl1_fwu_image_resume()
581 resume_sec_state = NON_SECURE; in bl1_fwu_image_resume()
624 if (GET_SECURITY_STATE(flags) == NON_SECURE) { in bl1_fwu_sec_image_done()
655 cm_el1_sysregs_context_restore(NON_SECURE); in bl1_fwu_sec_image_done()
658 cm_set_next_eret_context(NON_SECURE); in bl1_fwu_sec_image_done()
660 *handle = cm_get_context(NON_SECURE); in bl1_fwu_sec_image_done()
663 cm_set_next_context(cm_get_context(NON_SECURE)); in bl1_fwu_sec_image_done()
666 smc_set_next_ctx(NON_SECURE); in bl1_fwu_sec_image_done()
[all …]
/trusted-firmware-a/services/std_svc/spmd/
A Dspmd_main.c189 assert(get_interrupt_src_ss(flags) == NON_SECURE); in spmd_secure_interrupt_handler()
192 assert(handle == cm_get_context(NON_SECURE)); in spmd_secure_interrupt_handler()
195 cm_el1_sysregs_context_save(NON_SECURE); in spmd_secure_interrupt_handler()
197 cm_el2_sysregs_context_save(NON_SECURE); in spmd_secure_interrupt_handler()
220 cm_el1_sysregs_context_restore(NON_SECURE); in spmd_secure_interrupt_handler()
222 cm_el2_sysregs_context_restore(NON_SECURE); in spmd_secure_interrupt_handler()
224 cm_set_next_eret_context(NON_SECURE); in spmd_secure_interrupt_handler()
357 set_interrupt_rm_flag(flags, NON_SECURE); in spmd_spmc_init()
415 unsigned int secure_state_in = (secure_origin) ? SECURE : NON_SECURE; in spmd_smc_forward()
420 if (secure_state_in == NON_SECURE) { in spmd_smc_forward()
[all …]
/trusted-firmware-a/services/std_svc/rmmd/
A Drmmd_main.c69 cm_el1_sysregs_context_save(NON_SECURE); in rmmd_rmm_sync_entry()
70 cm_el2_sysregs_context_save(NON_SECURE); in rmmd_rmm_sync_entry()
85 cm_el1_sysregs_context_restore(NON_SECURE); in rmmd_rmm_sync_entry()
86 cm_el2_sysregs_context_restore(NON_SECURE); in rmmd_rmm_sync_entry()
240 return rmmd_smc_forward(smc_fid, NON_SECURE, REALM, in rmmd_rmi_handler()
253 return rmmd_smc_forward(x1, REALM, NON_SECURE, in rmmd_rmi_handler()
/trusted-firmware-a/plat/arm/css/sgi/
A Dsgi_ras.c123 cm_el1_sysregs_context_save(NON_SECURE); in sgi_ras_intr_handler()
173 cm_el1_sysregs_context_restore(NON_SECURE); in sgi_ras_intr_handler()
174 cm_set_next_eret_context(NON_SECURE); in sgi_ras_intr_handler()
/trusted-firmware-a/services/std_svc/spm_mm/
A Dspm_mm_main.c251 cm_el1_sysregs_context_save(NON_SECURE); in mm_communicate()
257 cm_el1_sysregs_context_restore(NON_SECURE); in mm_communicate()
258 cm_set_next_eret_context(NON_SECURE); in mm_communicate()
331 assert(handle == cm_get_context(NON_SECURE)); in spm_mm_smc_handler()
/trusted-firmware-a/plat/xilinx/versal/
A Dbl31_versal_setup.c37 if (type == NON_SECURE) { in bl31_plat_get_next_image_ep_info()
104 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup2()
166 set_interrupt_rm_flag(flags, NON_SECURE); in bl31_plat_runtime_setup()
/trusted-firmware-a/plat/qti/common/src/
A Dqti_bl31_setup.c129 assert(type == NON_SECURE); in bl31_plat_get_next_image_ep_info()
131 assert(bl33_image_ep_info.h.attr == NON_SECURE); in bl31_plat_get_next_image_ep_info()
/trusted-firmware-a/bl1/tbbr/
A Dtbbr_img_desc.c26 VERSION_1, entry_point_info_t, NON_SECURE | EXECUTABLE),
57 VERSION_1, entry_point_info_t, NON_SECURE),
/trusted-firmware-a/plat/mediatek/mt6795/
A Dbl31_plat_setup.c159 next_image_info = (type == NON_SECURE) ? in bl31_plat_get_next_image_ep_info()
230 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup2()
366 SET_SECURITY_STATE(next_image_info->h.attr, NON_SECURE); in bl31_plat_get_next_kernel64_ep_info()
412 SET_SECURITY_STATE(next_image_info->h.attr, NON_SECURE); in bl31_plat_get_next_kernel32_ep_info()
431 image_type = NON_SECURE; in bl31_prepare_kernel_entry()
/trusted-firmware-a/plat/arm/common/aarch32/
A Darm_bl2_mem_params_desc.c60 VERSION_2, entry_point_info_t, NON_SECURE | NON_EXECUTABLE),
70 VERSION_2, entry_point_info_t, NON_SECURE | EXECUTABLE),
/trusted-firmware-a/plat/xilinx/zynqmp/
A Dbl31_zynqmp_setup.c40 if (type == NON_SECURE) { in bl31_plat_get_next_image_ep_info()
105 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup2()
226 set_interrupt_rm_flag(flags, NON_SECURE); in bl31_plat_runtime_setup()
/trusted-firmware-a/lib/psci/
A Dpsci_setup.c82 NON_SECURE); in psci_init_pwr_domain_node()
312 assert(GET_SECURITY_STATE(next_image_info->h.attr) == NON_SECURE); in psci_prepare_next_non_secure_ctx()
314 cm_prepare_el3_exit(NON_SECURE); in psci_prepare_next_non_secure_ctx()
/trusted-firmware-a/plat/st/stm32mp1/
A Dplat_bl2_mem_params_desc.c91 NON_SECURE | NON_EXECUTABLE),
118 NON_SECURE | EXECUTABLE),
/trusted-firmware-a/plat/arm/common/aarch64/
A Dexecution_state_switch.c157 | NON_SECURE | EP_ST_DISABLE)); in arm_execution_state_switch()
165 cm_prepare_el3_exit(NON_SECURE); in arm_execution_state_switch()
/trusted-firmware-a/plat/allwinner/common/
A Dsunxi_bl31_setup.c104 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup2()
192 if (type == NON_SECURE) in bl31_plat_get_next_image_ep_info()
/trusted-firmware-a/plat/socionext/uniphier/
A Duniphier_image_desc.c33 NON_SECURE | NON_EXECUTABLE),
87 NON_SECURE | EXECUTABLE),

Completed in 24 milliseconds

1234