Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/
Dtspd_main.c81 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/
Dopteed_main.c105 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/
Dbl31_fvp_setup.c103 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()
Dbl2_fvp_setup.c260 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/
Dcontext_mgmt.h74 assert(security_state <= NON_SECURE); in cm_get_context()
85 assert(security_state <= NON_SECURE); in cm_set_context()
Dinterrupt_mgmt.h77 #define INTR_RM_FROM_NS_SHIFT NON_SECURE /* BIT[1] */
/device/linaro/bootloader/arm-trusted-firmware/include/common/
Dbl_common.h35 #define NON_SECURE 0x1 macro
36 #define sec_state_is_valid(s) (((s) == SECURE) || ((s) == NON_SECURE))
/device/linaro/bootloader/arm-trusted-firmware/bl31/
Dbl31_main.c54 static uint32_t next_image_type = NON_SECURE;
Dinterrupt_mgmt.c156 set_scr_el3_from_rm(type, flags, NON_SECURE); in set_routing_model()
Dcontext_mgmt.c227 if (security_state == NON_SECURE) { in cm_prepare_el3_exit()
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dbl31_plat_setup.c97 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()
Dbl2_plat_setup.c339 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/
Dbl31_plat_setup.c98 next_image_info = (type == NON_SECURE) ? &bl33_ep_info : &bl32_ep_info; in bl31_plat_get_next_image_ep_info()
Dbl2_plat_setup.c296 SET_SECURITY_STATE(bl33_ep_info->h.attr, NON_SECURE); in bl2_plat_set_bl33_ep_info()
/device/linaro/bootloader/arm-trusted-firmware/bl1/
Dbl1_main.c52 if (GET_SECURITY_STATE(bl2_ep->h.attr) == NON_SECURE) in bl1_run_bl2()
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/psci/
Dpsci_afflvl_on.c348 cm_prepare_el3_exit(NON_SECURE); in psci_afflvl0_on_finish()
Dpsci_afflvl_suspend.c410 cm_prepare_el3_exit(NON_SECURE); in psci_afflvl0_suspend_finish()
Dpsci_setup.c232 NON_SECURE); in psci_init_aff_map_node()
Dpsci_common.c337 ep_attr = NON_SECURE | EP_ST_DISABLE; in psci_get_ns_ep_info()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp793 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()
DQCamera2HWI.cpp1387 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/
DQCameraMem.cpp793 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()
DQCamera2HWI.cpp1387 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/
DQCameraMem.cpp805 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/
Dinterrupt-framework-design.md420 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)`.

12