/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/ |
D | tspd_main.c | 81 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_handle_sp_preemption() 88 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_handle_sp_preemption() 89 cm_set_next_eret_context(NON_SECURE); in tspd_handle_sp_preemption() 108 assert(get_interrupt_src_ss(flags) == NON_SECURE); in tspd_sel1_interrupt_handler() 117 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler() 120 cm_el1_sysregs_context_save(NON_SECURE); in tspd_sel1_interrupt_handler() 360 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler() 368 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_smc_handler() 369 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler() 392 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/ |
D | opteed_main.c | 105 assert(get_interrupt_src_ss(flags) == NON_SECURE); in opteed_sel1_interrupt_handler() 114 assert(handle == cm_get_context(NON_SECURE)); in opteed_sel1_interrupt_handler() 117 cm_el1_sysregs_context_save(NON_SECURE); in opteed_sel1_interrupt_handler() 371 assert(handle == cm_get_context(NON_SECURE)); in opteed_smc_handler() 373 cm_el1_sysregs_context_save(NON_SECURE); in opteed_smc_handler() 448 set_interrupt_rm_flag(flags, NON_SECURE); in opteed_smc_handler() 512 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler() 516 cm_el1_sysregs_context_restore(NON_SECURE); in opteed_smc_handler() 517 cm_set_next_eret_context(NON_SECURE); in opteed_smc_handler() 527 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/ |
D | bl31_fvp_setup.c | 103 if (type == NON_SECURE) in bl31_plat_get_next_image_ep_info() 112 next_image_info = (type == NON_SECURE) ? in bl31_plat_get_next_image_ep_info() 135 if (type == NON_SECURE) in bl31_plat_get_next_image_image_info() 144 next_image_info = (type == NON_SECURE) ? in bl31_plat_get_next_image_image_info() 210 SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); in bl31_early_platform_setup()
|
D | bl2_fvp_setup.c | 260 SET_SECURITY_STATE(bl33_ep_info->h.attr, NON_SECURE); in bl2_plat_set_bl33_ep_info()
|
/device/linaro/bootloader/arm-trusted-firmware/include/bl31/ |
D | context_mgmt.h | 74 assert(security_state <= NON_SECURE); in cm_get_context() 85 assert(security_state <= NON_SECURE); in cm_set_context()
|
D | interrupt_mgmt.h | 77 #define INTR_RM_FROM_NS_SHIFT NON_SECURE /* BIT[1] */
|
/device/linaro/bootloader/arm-trusted-firmware/include/common/ |
D | bl_common.h | 35 #define NON_SECURE 0x1 macro 36 #define sec_state_is_valid(s) (((s) == SECURE) || ((s) == NON_SECURE))
|
/device/linaro/bootloader/arm-trusted-firmware/bl31/ |
D | bl31_main.c | 54 static uint32_t next_image_type = NON_SECURE;
|
D | interrupt_mgmt.c | 156 set_scr_el3_from_rm(type, flags, NON_SECURE); in set_routing_model()
|
D | context_mgmt.c | 227 if (security_state == NON_SECURE) { in cm_prepare_el3_exit()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
D | bl31_plat_setup.c | 97 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()
|
D | bl2_plat_setup.c | 339 SET_SECURITY_STATE(bl33_ep_info->h.attr, NON_SECURE); in bl2_plat_set_bl33_ep_info()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/ |
D | bl31_plat_setup.c | 98 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()
|
D | bl2_plat_setup.c | 296 SET_SECURITY_STATE(bl33_ep_info->h.attr, NON_SECURE); in bl2_plat_set_bl33_ep_info()
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/ |
D | bl1_main.c | 52 if (GET_SECURITY_STATE(bl2_ep->h.attr) == NON_SECURE) in bl1_run_bl2()
|
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/psci/ |
D | psci_afflvl_on.c | 348 cm_prepare_el3_exit(NON_SECURE); in psci_afflvl0_on_finish()
|
D | psci_afflvl_suspend.c | 410 cm_prepare_el3_exit(NON_SECURE); in psci_afflvl0_suspend_finish()
|
D | psci_setup.c | 232 NON_SECURE); in psci_init_aff_map_node()
|
D | psci_common.c | 337 ep_attr = NON_SECURE | EP_ST_DISABLE; in psci_get_ns_ep_info()
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 793 rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocate() 838 int rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocateMore() 1051 int rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocateMore()
|
D | QCamera2HWI.cpp | 1387 rc = capabilityHeap->allocate(1, sizeof(cam_capability_t), NON_SECURE); in initCapabilities() 1792 rc = mem->allocate(bufferCnt, size, NON_SECURE); in allocateStreamBuf() 1873 rc = miscBuf->allocate(bufNum, bufSize, NON_SECURE); in allocateMiscBuf() 1908 rc = streamInfoBuf->allocate(1, sizeof(cam_stream_info_t), NON_SECURE); in allocateStreamInfoBuf() 1923 streamInfo->is_secure = NON_SECURE; in allocateStreamInfoBuf() 1953 streamInfo->is_secure = NON_SECURE; in allocateStreamInfoBuf() 2109 rc = mem->allocate(1, size, NON_SECURE); in allocateStreamUserBuf() 4074 rc = imgBuf->allocate(1, config->input_buf_planes.plane_info.frame_len, NON_SECURE); in registerFaceImage()
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 793 rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocate() 838 int rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocateMore() 1053 int rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocateMore()
|
D | QCamera2HWI.cpp | 1387 rc = capabilityHeap->allocate(1, sizeof(cam_capability_t), NON_SECURE); in initCapabilities() 1794 rc = mem->allocate(bufferCnt, size, NON_SECURE); in allocateStreamBuf() 1875 rc = miscBuf->allocate(bufNum, bufSize, NON_SECURE); in allocateMiscBuf() 1910 rc = streamInfoBuf->allocate(1, sizeof(cam_stream_info_t), NON_SECURE); in allocateStreamInfoBuf() 1925 streamInfo->is_secure = NON_SECURE; in allocateStreamInfoBuf() 1955 streamInfo->is_secure = NON_SECURE; in allocateStreamInfoBuf() 2111 rc = mem->allocate(1, size, NON_SECURE); in allocateStreamUserBuf() 4076 rc = imgBuf->allocate(1, config->input_buf_planes.plane_info.frame_len, NON_SECURE); in registerFaceImage()
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 805 rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocate() 857 int rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocateMore() 1128 int rc = alloc(count, size, heap_id_mask, NON_SECURE); in allocateMore()
|
/device/linaro/bootloader/arm-trusted-firmware/docs/ |
D | interrupt-framework-design.md | 420 set_interrupt_rm_flag(flags, NON_SECURE); 702 `cm_el1_sysregs_context_save(NON_SECURE);`. 751 calling `cm_el1_sysregs_context_restore(NON_SECURE)`. It sets `x0` to 759 `cm_set_next_eret_context(NON_SECURE)`. 774 `cm_el1_sysregs_context_save(NON_SECURE)`.
|