Home
last modified time | relevance | path

Searched refs:THREAD_EXCP_ALL (Results 1 – 25 of 27) sorted by relevance

12

/optee_os/core/arch/riscv/kernel/
H A Dsbi_mpxy.c35 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 Dthread_arch.c48 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 Dboot.c133 thread_set_exceptions(THREAD_EXCP_ALL); in init_primary()
278 thread_set_exceptions(THREAD_EXCP_ALL); in init_secondary_helper()
H A Dthread_optee_abi.c50 assert(thread_get_exceptions() == THREAD_EXCP_ALL); in thread_handle_fast_abi()
/optee_os/core/include/kernel/
H A Dspinlock.h121 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 Dtrace_ext.c24 uint32_t itr_status = thread_mask_exceptions(THREAD_EXCP_ALL); in trace_ext_puts()
H A Dpanic.c68 (void)thread_mask_exceptions(THREAD_EXCP_ALL); in __do_panic()
H A Dthread.c180 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in thread_update_canaries()
/optee_os/core/arch/arm/kernel/
H A Dthread.c64 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 Dboot.c893 thread_set_exceptions(THREAD_EXCP_ALL); in init_primary()
1117 thread_set_exceptions(THREAD_EXCP_ALL); in init_secondary_helper()
H A Dthread_optee_smc.c49 assert(thread_get_exceptions() == THREAD_EXCP_ALL); in thread_handle_fast_smc()
H A Dstmm_sp.c124 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in stmm_enter_user_mode()
H A Dthread_spmc.c1935 assert((thread_get_exceptions() & THREAD_EXCP_ALL) == THREAD_EXCP_ALL); in thread_spmc_msg_recv()
/optee_os/core/arch/arm/plat-rzn1/
H A Dpsci.c69 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
/optee_os/core/drivers/pm/imx/
H A Dpsci.c84 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
/optee_os/core/arch/riscv/include/kernel/
H A Dthread_arch.h24 #define THREAD_EXCP_ALL (THREAD_EXCP_FOREIGN_INTR |\ macro
/optee_os/core/arch/arm/plat-stm32mp1/pm/
H A Dpsci.c217 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c686 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 Dcore_mmu.c194 uint32_t exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in arch_va2pa_helper()
H A Dcore_mmu_lpae.c371 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 Dcore_mmu_v7.c732 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 Datmel_shdwc.c73 thread_mask_exceptions(THREAD_EXCP_ALL); in atmel_shdwc_shutdown()
H A Dstm32_i2c.c796 exceptions = thread_mask_exceptions(THREAD_EXCP_ALL); in lock_i2c_bus_access()
/optee_os/core/arch/arm/plat-rockchip/
H A Dpsci_rk322x.c312 thread_mask_exceptions(THREAD_EXCP_ALL); in psci_cpu_off()
/optee_os/core/arch/arm/include/kernel/
H A Dthread_arch.h358 #define THREAD_EXCP_ALL (THREAD_EXCP_FOREIGN_INTR \ macro

12