Searched refs:cpsr (Results 1 – 11 of 11) sorted by relevance
/optee_os/core/arch/arm/kernel/ |
A D | misc_a32.S | 67 mrs r0, cpsr /* get cpsr with disabled its*/ 77 mrs r4, cpsr /* save cpsr */ 79 msr cpsr, r0 /* set the new mode */ 81 msr cpsr, r4 /* back to the old mode */ 89 mrs r4, cpsr /* save cpsr */ 91 msr cpsr, r0 /* set the new mode */ 93 msr cpsr, r4 /* back to the old mode */
|
A D | thread_a32.S | 32 mrs r1, cpsr 35 msr cpsr, r1 41 mrs r1, cpsr 44 msr cpsr, r1 50 mrs r1, cpsr 53 msr cpsr, r1 59 mrs r1, cpsr 62 msr cpsr, r1 67 mrs r1, cpsr 71 msr cpsr, r1 [all …]
|
A D | thread.c | 256 uint32_t cpsr = read_cpsr(); in thread_get_exceptions() local 263 uint32_t cpsr = read_cpsr(); in thread_set_exceptions() local 273 write_cpsr(cpsr); in thread_set_exceptions() 464 thread->regs.cpsr |= CPSR_T; in init_regs() 623 static bool is_from_user(uint32_t cpsr) in is_from_user() argument 861 uint32_t cpsr __maybe_unused) in release_unused_kernel_stack() 881 uint32_t cpsr __unused) in release_unused_kernel_stack() 900 if (is_from_user(cpsr)) { in thread_state_suspend() 911 threads[ct].regs.cpsr = cpsr; in thread_state_suspend() 1452 regs->cpsr = spsr; in set_ctx_regs() [all …]
|
A D | secure_partition.c | 401 uint64_t cpsr = 0; in sp_enter_invoke_cmd() local 413 cpsr = sp_regs->cpsr; in sp_enter_invoke_cmd() 414 sp_regs->cpsr = read_daif() & (SPSR_64_DAIF_MASK << SPSR_64_DAIF_SHIFT); in sp_enter_invoke_cmd() 418 sp_regs->cpsr = cpsr; in sp_enter_invoke_cmd()
|
A D | thread_private.h | 161 int thread_state_suspend(uint32_t flags, uint32_t cpsr, vaddr_t pc);
|
A D | asm-defines.c | 38 DEFINE(THREAD_CTX_REGS_CPSR, offsetof(struct thread_ctx_regs, cpsr));
|
A D | stmm_sp.c | 160 spc->regs.cpsr = get_spsr(); in init_stmm_regs() 563 spc->regs.cpsr = svc_regs->spsr; in save_sp_ctx() 579 spc->regs.cpsr = svc_regs->spsr; in save_sp_ctx()
|
/optee_os/core/arch/arm/include/ |
A D | arm32.h | 209 uint32_t cpsr; in read_cpsr() local 212 : [cpsr] "=r" (cpsr) in read_cpsr() 214 return cpsr; in read_cpsr() 217 static inline __noprof void write_cpsr(uint32_t cpsr) in write_cpsr() argument 220 : : [cpsr] "r" (cpsr) in write_cpsr()
|
/optee_os/core/arch/arm/plat-hisilicon/ |
A D | hi3519av100_plat_init.S | 47 mrs r1, cpsr 69 msr cpsr, r1
|
/optee_os/core/arch/arm/sm/ |
A D | sm_a32.S | 333 mrs r1, cpsr 373 msr cpsr, r1 414 mrs r1, cpsr 421 msr cpsr, r1
|
/optee_os/core/arch/arm/include/kernel/ |
A D | thread.h | 239 uint32_t cpsr; member 247 uint64_t cpsr; member
|
Completed in 17 milliseconds