| /optee_os/core/arch/riscv/kernel/ |
| H A D | sbi_mpxy.c | 35 assert((thread_get_exceptions() & THREAD_EXCP_ALL) == THREAD_EXCP_ALL); in mpxy_get_core_local() 89 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_set_shmem() 144 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_get_channel_ids() 202 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_read_attributes() 249 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_write_attributes() 305 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_send_message_with_response() 365 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_send_message_without_response() 411 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_get_channel_count() 465 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in sbi_mpxy_get_notification_events()
|
| H A D | thread_arch.c | 48 uint32_t xie = read_csr(CSR_XIE) & THREAD_EXCP_ALL; in thread_get_exceptions() 50 return xie ^ THREAD_EXCP_ALL; in thread_get_exceptions() 68 exceptions &= THREAD_EXCP_ALL; in thread_set_exceptions() 69 exceptions ^= THREAD_EXCP_ALL; in thread_set_exceptions() 80 thread_set_exceptions(state | (exceptions & THREAD_EXCP_ALL)); in thread_mask_exceptions() 86 thread_set_exceptions(state & THREAD_EXCP_ALL); in thread_unmask_exceptions() 543 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in thread_enter_user_mode()
|
| H A D | boot.c | 133 thread_set_exceptions(THREAD_EXCP_ALL); in init_primary() 278 thread_set_exceptions(THREAD_EXCP_ALL); in init_secondary_helper()
|
| H A D | thread_optee_abi.c | 50 assert(thread_get_exceptions() == THREAD_EXCP_ALL); in thread_handle_fast_abi()
|
| /optee_os/core/include/kernel/ |
| H A D | spinlock.h | 121 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in cpu_spin_lock_xsave_no_dldetect() 135 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in cpu_spin_lock_xsave_dldetect()
|
| /optee_os/core/kernel/ |
| H A D | trace_ext.c | 24 uint32_t itr_status = thread_mask_exceptions(THREAD_EXCP_ALL); in trace_ext_puts()
|
| H A D | panic.c | 68 (void)thread_mask_exceptions(THREAD_EXCP_ALL); in __do_panic()
|
| H A D | thread.c | 180 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in thread_update_canaries()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | thread.c | 64 return (cpsr >> CPSR_F_SHIFT) & THREAD_EXCP_ALL; in thread_get_exceptions() 75 cpsr &= ~(THREAD_EXCP_ALL << CPSR_F_SHIFT); in thread_set_exceptions() 76 cpsr |= ((exceptions & THREAD_EXCP_ALL) << CPSR_F_SHIFT); in thread_set_exceptions() 89 return (daif >> DAIF_F_SHIFT) & THREAD_EXCP_ALL; in thread_get_exceptions() 100 daif &= ~(THREAD_EXCP_ALL << DAIF_F_SHIFT); in thread_set_exceptions() 101 daif |= ((exceptions & THREAD_EXCP_ALL) << DAIF_F_SHIFT); in thread_set_exceptions() 113 thread_set_exceptions(state | (exceptions & THREAD_EXCP_ALL)); in thread_mask_exceptions() 119 thread_set_exceptions(state & THREAD_EXCP_ALL); in thread_unmask_exceptions() 1025 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in thread_enter_user_mode()
|
| H A D | boot.c | 893 thread_set_exceptions(THREAD_EXCP_ALL); in init_primary() 1117 thread_set_exceptions(THREAD_EXCP_ALL); in init_secondary_helper()
|
| H A D | thread_optee_smc.c | 49 assert(thread_get_exceptions() == THREAD_EXCP_ALL); in thread_handle_fast_smc()
|
| H A D | stmm_sp.c | 124 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in stmm_enter_user_mode()
|
| H A D | thread_spmc.c | 1935 assert((thread_get_exceptions() & THREAD_EXCP_ALL) == THREAD_EXCP_ALL); in thread_spmc_msg_recv()
|
| /optee_os/core/arch/arm/plat-rzn1/ |
| H A D | psci.c | 69 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
|
| /optee_os/core/drivers/pm/imx/ |
| H A D | psci.c | 84 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
|
| /optee_os/core/arch/riscv/include/kernel/ |
| H A D | thread_arch.h | 24 #define THREAD_EXCP_ALL (THREAD_EXCP_FOREIGN_INTR |\ macro
|
| /optee_os/core/arch/arm/plat-stm32mp1/pm/ |
| H A D | psci.c | 217 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
|
| /optee_os/core/arch/riscv/mm/ |
| H A D | core_mmu_arch.c | 686 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in arch_va2pa_helper() 754 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_find_table() 947 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_set_user_map() 1037 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_user_mapping_is_active()
|
| /optee_os/core/arch/arm/mm/ |
| H A D | core_mmu.c | 194 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in arch_va2pa_helper()
|
| H A D | core_mmu_lpae.c | 371 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in get_prtn() 1277 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_find_table() 1441 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_user_mapping_is_active() 1472 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_set_user_map() 1563 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_set_user_map()
|
| H A D | core_mmu_v7.c | 732 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_set_user_map() 762 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in core_mmu_user_mapping_is_active()
|
| /optee_os/core/drivers/ |
| H A D | atmel_shdwc.c | 73 thread_mask_exceptions(THREAD_EXCP_ALL); in atmel_shdwc_shutdown()
|
| H A D | stm32_i2c.c | 796 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in lock_i2c_bus_access()
|
| /optee_os/core/arch/arm/plat-rockchip/ |
| H A D | psci_rk322x.c | 312 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
|
| /optee_os/core/arch/arm/include/kernel/ |
| H A D | thread_arch.h | 358 #define THREAD_EXCP_ALL (THREAD_EXCP_FOREIGN_INTR \ macro
|