/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/ |
D | plat_memctrl.c | 92 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/ |
D | sp_min_main.c | 39 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/ |
D | tspd_main.c | 64 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/ |
D | opteed_main.c | 61 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/ |
D | tlkd_main.c | 175 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()
|
D | tlkd_common.c | 29 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/ |
D | trusty.c | 89 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/ |
D | tegra_fiq_glue.c | 38 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/ |
D | bl1_fwu.c | 245 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/ |
D | plat_sip_calls.c | 57 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/ |
D | bl31_context_mgmt.c | 23 assert(security_state <= NON_SECURE); in cm_get_context() 34 assert(security_state <= NON_SECURE); in cm_set_context()
|
D | bl31_main.c | 38 static uint32_t next_image_type = NON_SECURE;
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/tbbr/ |
D | tbbr_img_desc.c | 27 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/ |
D | bl31_plat_setup.c | 158 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/ |
D | bl31_zynqmp_setup.c | 32 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/ |
D | psci_setup.c | 70 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/ |
D | uniphier_image_desc.c | 25 NON_SECURE | NON_EXECUTABLE), 79 NON_SECURE | EXECUTABLE),
|
D | uniphier_bl31_setup.c | 29 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/ |
D | execution_state_switch.c | 148 ((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()
|
D | arm_bl31_setup.c | 46 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/ |
D | ep_info.h | 14 #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/ |
D | bl31_plat_setup.c | 47 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/ |
D | arm_bl2_mem_params_desc.c | 63 VERSION_2, entry_point_info_t, NON_SECURE | EXECUTABLE),
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/sp_min/ |
D | arm_sp_min_setup.c | 74 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/ |
D | bl31_plat_setup.c | 95 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()
|