Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/arch/arm/plat-k3/drivers/
H A Dsec_proxy.c62 * k3_sec_proxy_verify_thread() - Verify thread status before
64 * @dir: Direction of the thread in k3_sec_proxy_verify_thread()
73 FMSG("Check for thread corruption"); in k3_sec_proxy_verify_thread()
85 IMSG("Resetting proxy thread %s", spt->name); in k3_sec_proxy_verify_thread()
90 FMSG("Check for thread direction"); in k3_sec_proxy_verify_thread()
91 /* Make sure thread is configured for right direction */ in k3_sec_proxy_verify_thread()
102 FMSG("Check for thread queue"); in k3_sec_proxy_verify_thread()
107 DMSG("Waiting for thread %s to %s", spt->name, in k3_sec_proxy_verify_thread()
133 FMSG("Verifying the thread"); in k3_sec_proxy_send()
195 FMSG("Verifying thread"); in k3_sec_proxy_recv()
236 struct k3_sec_proxy_thread *thread; k3_sec_proxy_init() local
[all...]
/optee_os/core/kernel/
H A Dmutex_lockdep.c39 short int thread = thread_get_id(); in mutex_lock_check() local
43 lockdep_lock_acquire(&graph, &owned[thread], (uintptr_t)m); in mutex_lock_check()
49 short int thread = thread_get_id(); in mutex_trylock_check() local
53 lockdep_lock_tryacquire(&graph, &owned[thread], (uintptr_t)m); in mutex_trylock_check()
59 short int thread = thread_get_id(); in mutex_unlock_check() local
63 lockdep_lock_release(&owned[thread], (uintptr_t)m); in mutex_unlock_check()
H A Dsub.mk44 srcs-y += thread.c
/optee_os/core/arch/riscv/kernel/
H A Dthread_arch.c193 static void init_regs(struct thread_ctx *thread, uint32_t a0, uint32_t a1, in init_regs() argument
197 memset(&thread->regs, 0, sizeof(thread->regs)); in init_regs()
199 thread->regs.epc = (uintptr_t)pc; in init_regs()
202 thread->regs.status = xstatus_for_xret(true, PRV_S); in init_regs()
205 thread->regs.ie = THREAD_EXCP_NATIVE_INTR; in init_regs()
208 thread->regs.sp = thread->stack_va_end; in init_regs()
211 thread->regs.gp = read_gp(); in init_regs()
212 thread->regs.tp = read_tp(); in init_regs()
218 thread->regs.a0 = a0; in init_regs()
219 thread->regs.a1 = a1; in init_regs()
[all …]
/optee_os/core/arch/arm/kernel/
H A Dthread.c151 static void init_regs(struct thread_ctx *thread, uint32_t a0, uint32_t a1, in init_regs() argument
155 thread->regs.pc = (uint32_t)pc; in init_regs()
161 thread->regs.cpsr = read_cpsr() & ARM32_CPSR_E; in init_regs()
162 thread->regs.cpsr |= CPSR_MODE_SVC | CPSR_A | in init_regs()
165 if (thread->regs.pc & 1) in init_regs()
166 thread->regs.cpsr |= CPSR_T; in init_regs()
168 thread->regs.svc_sp = thread->stack_va_end; in init_regs()
174 thread->regs.r0 = a0; in init_regs()
175 thread->regs.r1 = a1; in init_regs()
176 thread->regs.r2 = a2; in init_regs()
[all …]
H A Dsub.mk21 srcs-y += thread.c
80 cflags-remove-thread.c-y += -pg
/optee_os/core/lib/libefi/include/efi/
H A Dmpinfo.h51 uint32_t thread; member
63 uint32_t thread; member
/optee_os/lib/libutils/isoc/
H A Dbget.doc53 systems, multi-thread applications, embedded software in data network
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog527 docs/architecture/psa-thread-safety/psa-thread-safety.md for more details.
3544 whose implementation should behave as a thread-safe version of gmtime().
3718 * Use gmtime_r/gmtime_s for thread-safety. Fixed by Nick Wilson.
4743 * Prepend a "thread identifier" to debug messages (issue pointed out by
4927 thread-safe if MBEDTLS_THREADING_C is enabled.
4987 * Fix thread safety bug in RSA operations (found by Fredrik Axelsson).
5316 now thread-safe if POLARSSL_THREADING_C defined
5359 * x509_get_current_time() uses localtime_r() to prevent thread issues
5665 * x509_get_current_time() uses localtime_r() to prevent thread issues
5687 * Changed RSA blinding to a slower but thread-safe version
/optee_os/
H A DCHANGELOG.md1740 * Rework thread [synchronization][synchro] in optee_os.
1788 [synchro]: https://github.com/OP-TEE/optee_os/blob/master/documentation/optee_design.md#4-thread-ha…