Searched refs:thread (Results 1 – 10 of 10) sorted by relevance
| /optee_os/core/arch/arm/plat-k3/drivers/ |
| H A D | sec_proxy.c | 238 struct k3_sec_proxy_thread *thread; in ti_sci_transport_init() local 252 thread = &spts[SEC_PROXY_TX_THREAD]; in ti_sci_transport_init() 253 thread->name = "SEC_PROXY_LOW_PRIORITY_THREAD"; in ti_sci_transport_init() 255 thread->data = core_mmu_get_va(target_data, MEM_AREA_IO_SEC, in ti_sci_transport_init() 257 if (!thread->data) in ti_sci_transport_init() 260 thread->scfg = core_mmu_get_va(cfg_scfg, MEM_AREA_IO_SEC, in ti_sci_transport_init() 262 if (!thread->scfg) in ti_sci_transport_init() 265 thread->rt = core_mmu_get_va(cfg_rt, MEM_AREA_IO_SEC, in ti_sci_transport_init() 267 if (!thread->rt) in ti_sci_transport_init() 275 thread = &spts[SEC_PROXY_RX_THREAD]; in ti_sci_transport_init() [all …]
|
| /optee_os/core/kernel/ |
| H A D | mutex_lockdep.c | 39 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 D | sub.mk | 44 srcs-y += thread.c
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | thread_arch.c | 193 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 D | thread.c | 151 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 D | sub.mk | 21 srcs-y += thread.c 80 cflags-remove-thread.c-y += -pg
|
| /optee_os/core/lib/libefi/include/efi/ |
| H A D | mpinfo.h | 51 uint32_t thread; member 63 uint32_t thread; member
|
| /optee_os/lib/libutils/isoc/ |
| H A D | bget.doc | 53 systems, multi-thread applications, embedded software in data network
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 527 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 D | CHANGELOG.md | 1740 * 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…
|