Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_memctrl.c92 mc_make_sec_cfg(SCEW, NON_SECURE, NO_OVERRIDE, ENABLE),
93 mc_make_sec_cfg(AFIR, NON_SECURE, OVERRIDE, ENABLE),
94 mc_make_sec_cfg(AFIW, NON_SECURE, OVERRIDE, ENABLE),
95 mc_make_sec_cfg(NVDISPLAYR1, NON_SECURE, OVERRIDE, ENABLE),
96 mc_make_sec_cfg(XUSB_DEVR, NON_SECURE, OVERRIDE, ENABLE),
97 mc_make_sec_cfg(VICSRD1, NON_SECURE, NO_OVERRIDE, ENABLE),
98 mc_make_sec_cfg(NVENCSWR, NON_SECURE, NO_OVERRIDE, ENABLE),
99 mc_make_sec_cfg(TSECSRDB, NON_SECURE, NO_OVERRIDE, ENABLE),
101 mc_make_sec_cfg(SDMMCWAB, NON_SECURE, OVERRIDE, ENABLE),
102 mc_make_sec_cfg(AONDMAW, NON_SECURE, NO_OVERRIDE, ENABLE),
[all …]
/device/linaro/bootloader/arm-trusted-firmware/bl32/sp_min/
Dsp_min_main.c39 assert(security_state == NON_SECURE); in smc_get_ctx()
45 assert(security_state == NON_SECURE); in smc_set_next_ctx()
61 assert(security_state == NON_SECURE); in cm_get_context()
71 assert(security_state == NON_SECURE); in cm_set_context()
84 assert(security_state == NON_SECURE); in cm_get_context_by_index()
95 assert(security_state == NON_SECURE); in cm_set_context_by_index()
116 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_prepare_next_image_entry()
122 assert(NON_SECURE == GET_SECURITY_STATE(next_image_info->h.attr)); in sp_min_prepare_next_image_entry()
127 smc_set_next_ctx(NON_SECURE); in sp_min_prepare_next_image_entry()
130 copy_cpu_ctx_to_smc_stx(get_regs_ctx(cm_get_context(NON_SECURE)), in sp_min_prepare_next_image_entry()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/
Dtspd_main.c64 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_handle_sp_preemption()
77 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_handle_sp_preemption()
78 cm_set_next_eret_context(NON_SECURE); in tspd_handle_sp_preemption()
102 assert(get_interrupt_src_ss(flags) == NON_SECURE); in tspd_sel1_interrupt_handler()
105 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler()
108 cm_el1_sysregs_context_save(NON_SECURE); in tspd_sel1_interrupt_handler()
342 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler()
350 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_smc_handler()
351 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
385 set_interrupt_rm_flag(flags, NON_SECURE); in tspd_smc_handler()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/
Dopteed_main.c61 assert(get_interrupt_src_ss(flags) == NON_SECURE); in opteed_sel1_interrupt_handler()
64 assert(handle == cm_get_context(NON_SECURE)); in opteed_sel1_interrupt_handler()
67 cm_el1_sysregs_context_save(NON_SECURE); in opteed_sel1_interrupt_handler()
215 assert(handle == cm_get_context(NON_SECURE)); in opteed_smc_handler()
217 cm_el1_sysregs_context_save(NON_SECURE); in opteed_smc_handler()
300 set_interrupt_rm_flag(flags, NON_SECURE); in opteed_smc_handler()
364 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
368 cm_el1_sysregs_context_restore(NON_SECURE); in opteed_smc_handler()
369 cm_set_next_eret_context(NON_SECURE); in opteed_smc_handler()
379 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tlkd/
Dtlkd_main.c175 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
183 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_smc_handler()
184 cm_set_next_eret_context(NON_SECURE); in tlkd_smc_handler()
217 assert(handle == cm_get_context(NON_SECURE)); in tlkd_smc_handler()
232 cm_el1_sysregs_context_save(NON_SECURE); in tlkd_smc_handler()
313 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
326 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_smc_handler()
327 cm_set_next_eret_context(NON_SECURE); in tlkd_smc_handler()
Dtlkd_common.c29 cm_el1_sysregs_context_restore(NON_SECURE); in tlkd_va_translate()
32 write_scr(cm_get_scr_el3(NON_SECURE)); in tlkd_va_translate()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/
Dtrusty.c89 ctx_smc = cm_get_context(NON_SECURE); in trusty_context_switch()
140 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_ENTER, 0, 0, 0); in trusty_fiq_handler()
157 cm_set_elr_spsr_el3(NON_SECURE, ctx->fiq_handler_pc, ctx->fiq_handler_cpsr); in trusty_fiq_handler()
198 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_EXIT, 0, 0, 0); in trusty_fiq_exit()
216 cm_set_elr_spsr_el3(NON_SECURE, ctx->fiq_pc, ctx->fiq_cpsr); in trusty_fiq_exit()
277 ret = trusty_context_switch(NON_SECURE, smc_fid, x1, in trusty_smc_handler()
302 cm_el1_sysregs_context_save(NON_SECURE); in trusty_init()
325 cm_el1_sysregs_context_restore(NON_SECURE); in trusty_init()
326 cm_set_next_eret_context(NON_SECURE); in trusty_init()
335 ret = trusty_context_switch(NON_SECURE, SMC_FC_CPU_SUSPEND, 0, 0, 0); in trusty_cpu_suspend()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_fiq_glue.c38 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler()
49 cm_el1_sysregs_context_save(NON_SECURE); in tegra_fiq_interrupt_handler()
93 set_interrupt_rm_flag((flags), (NON_SECURE)); in tegra_fiq_handler_setup()
119 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context()
/device/linaro/bootloader/arm-trusted-firmware/bl1/
Dbl1_fwu.c245 if (GET_SECURITY_STATE(image_desc->ep_info.h.attr) == NON_SECURE) { in bl1_fwu_image_copy()
509 (GET_SECURITY_STATE(image_desc->ep_info.h.attr) == NON_SECURE) || in bl1_fwu_image_execute()
520 cm_el1_sysregs_context_save(NON_SECURE); in bl1_fwu_image_execute()
551 if (caller_sec_state == NON_SECURE) { in bl1_fwu_image_resume()
570 resume_sec_state = NON_SECURE; in bl1_fwu_image_resume()
613 if (GET_SECURITY_STATE(flags) == NON_SECURE) { in bl1_fwu_sec_image_done()
644 cm_el1_sysregs_context_restore(NON_SECURE); in bl1_fwu_sec_image_done()
647 cm_set_next_eret_context(NON_SECURE); in bl1_fwu_sec_image_done()
649 *handle = cm_get_context(NON_SECURE); in bl1_fwu_sec_image_done()
652 cm_set_next_context(cm_get_context(NON_SECURE)); in bl1_fwu_sec_image_done()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_sip_calls.c57 cm_set_elr_spsr_el3(NON_SECURE, x1, in plat_sip_handler()
61 cm_write_scr_el3_bit(NON_SECURE, SCR_RW_BITPOS, !x2); in plat_sip_handler()
/device/linaro/bootloader/arm-trusted-firmware/bl31/
Dbl31_context_mgmt.c23 assert(security_state <= NON_SECURE); in cm_get_context()
34 assert(security_state <= NON_SECURE); in cm_set_context()
Dbl31_main.c38 static uint32_t next_image_type = NON_SECURE;
/device/linaro/bootloader/arm-trusted-firmware/bl1/tbbr/
Dtbbr_img_desc.c27 VERSION_1, entry_point_info_t, NON_SECURE | EXECUTABLE),
62 VERSION_1, entry_point_info_t, NON_SECURE),
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt6795/
Dbl31_plat_setup.c158 next_image_info = (type == NON_SECURE) ? in bl31_plat_get_next_image_ep_info()
232 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup()
368 SET_SECURITY_STATE(next_image_info->h.attr, NON_SECURE); in bl31_plat_get_next_kernel64_ep_info()
414 SET_SECURITY_STATE(next_image_info->h.attr, NON_SECURE); in bl31_plat_get_next_kernel32_ep_info()
433 image_type = NON_SECURE; in bl31_prepare_kernel_entry()
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/
Dbl31_zynqmp_setup.c32 if (type == NON_SECURE) in bl31_plat_get_next_image_ep_info()
69 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup()
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_setup.c70 NON_SECURE); in psci_init_pwr_domain_node()
286 assert(GET_SECURITY_STATE(next_image_info->h.attr) == NON_SECURE); in psci_prepare_next_non_secure_ctx()
288 cm_prepare_el3_exit(NON_SECURE); in psci_prepare_next_non_secure_ctx()
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_image_desc.c25 NON_SECURE | NON_EXECUTABLE),
79 NON_SECURE | EXECUTABLE),
Duniphier_bl31_setup.c29 return type == NON_SECURE ? &bl33_image_ep_info : &bl32_image_ep_info; in bl31_plat_get_next_image_ep_info()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Dexecution_state_switch.c148 ((endianness ? EP_EE_BIG : EP_EE_LITTLE) | NON_SECURE | in arm_execution_state_switch()
157 cm_prepare_el3_exit(NON_SECURE); in arm_execution_state_switch()
Darm_bl31_setup.c46 next_image_info = (type == NON_SECURE) in bl31_plat_get_next_image_ep_info()
106 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in arm_bl31_early_platform_setup()
/device/linaro/bootloader/arm-trusted-firmware/include/common/
Dep_info.h14 #define NON_SECURE U(0x1) macro
15 #define sec_state_is_valid(s) (((s) == SECURE) || ((s) == NON_SECURE))
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Dbl31_plat_setup.c47 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/aarch32/
Darm_bl2_mem_params_desc.c63 VERSION_2, entry_point_info_t, NON_SECURE | EXECUTABLE),
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/sp_min/
Darm_sp_min_setup.c74 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in arm_sp_min_early_platform_setup()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/
Dbl31_plat_setup.c95 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()

12