Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 57) sorted by relevance

123

/optee_os/lib/libunw/
H A Dunwind_riscv.c58 frame->pc = caller_state->pc; in unwind_stack_riscv()
60 ftrace_map_lr(&frame->pc); in unwind_stack_riscv()
62 frame->pc -= 4; in unwind_stack_riscv()
74 ftrace_map_lr(&state->pc); in print_stack_riscv()
77 width, state->pc); in print_stack_riscv()
H A Dunwind_arm64.c69 if (!copy_in_reg(&frame->pc, fp + 8)) in unwind_stack_arm64()
72 pauth_strip_pac(&frame->pc); in unwind_stack_arm64()
74 ftrace_map_lr(&frame->pc); in unwind_stack_arm64()
76 frame->pc -= 4; in unwind_stack_arm64()
89 ftrace_map_lr(&state->pc); in print_stack_arm64()
91 va = memtag_strip_tag_vaddr((void *)state->pc); in print_stack_arm64()
/optee_os/lib/libutils/isoc/
H A Dqsort.c78 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in qsort() local
105 pc = pd = (char *)a + (n - 1) * es; in qsort()
107 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in qsort()
115 while (pb <= pc && (r = cmp(pc, a)) >= 0) { in qsort()
118 swap(pc, pd); in qsort()
121 pc -= es; in qsort()
123 if (pb > pc) in qsort()
125 swap(pb, pc); in qsort()
128 pc -= es; in qsort()
140 r = min(pd - pc, pn - pd - (int)es); in qsort()
[all …]
/optee_os/core/arch/arm/kernel/
H A Dunwind_arm64.c58 .pc = read_pc(), in unw_get_kernel_stack()
67 addr[n] = state.pc; in unw_get_kernel_stack()
93 state.pc = read_pc(); in print_kernel_stack()
H A Dtz_ssvce_pl310_a32.S35 mov pc, lr
86 mov pc, lr
114 mov pc, lr
142 mov pc, lr
195 mov pc, lr
H A Dthread.c153 uint32_t a6, uint32_t a7, void *pc) in init_regs() argument
155 thread->regs.pc = (uint32_t)pc; in init_regs()
165 if (thread->regs.pc & 1) in init_regs()
188 uint32_t a6, uint32_t a7, void *pc) in init_regs() argument
190 thread->regs.pc = (uint64_t)pc; in init_regs()
222 void *pc, uint32_t flags) in __thread_alloc_and_run() argument
248 init_regs(threads + n, a0, a1, a2, a3, a4, a5, a6, a7, pc); in __thread_alloc_and_run()
499 int thread_state_suspend(uint32_t flags, uint32_t cpsr, vaddr_t pc) in thread_state_suspend() argument
516 tee_ta_gprof_sample_pc(pc); in thread_state_suspend()
525 threads[ct].regs.pc = pc; in thread_state_suspend()
[all …]
H A Dmisc_a32.S82 pop {r4, pc}
94 pop {r4, pc}
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/general/
H A Dder_encode_asn1_identifier.c42 if (id->pc < LTC_ASN1_PC_PRIMITIVE || id->pc > LTC_ASN1_PC_CONSTRUCTED) { in der_encode_asn1_identifier()
54 out[0] = id->klass << 6 | id->pc << 5; in der_encode_asn1_identifier()
H A Dder_decode_asn1_identifier.c75 id->pc = (in[0] >> 5) & 0x1; in der_decode_asn1_identifier()
101 id->pc = 0; in der_decode_asn1_identifier()
109 (id->pc == tag_constructed_map[id->tag])) { in der_decode_asn1_identifier()
/optee_os/ldelf/
H A Dta_elf.h136 void ta_elf_stack_trace_a64(uint64_t fp, uint64_t sp, uint64_t pc);
137 void ta_elf_stack_trace_riscv(uint64_t fp, uint64_t pc);
142 uint64_t pc __unused) { } in ta_elf_stack_trace_a64()
144 uint64_t pc __unused) { } in ta_elf_stack_trace_riscv()
H A Dsyscalls_a32.S36 pop {r5-r7, pc}
43 mov lr, pc
/optee_os/core/arch/arm/plat-stm/
H A Dtz_a9init.S40 mov pc, lr
68 mov pc, lr
/optee_os/lib/libutils/isoc/arch/arm/
H A Darm32_aeabi_ldivmod_a32.S21 pop {ip, pc}
36 pop {ip, pc}
/optee_os/ldelf/include/
H A Dldelf.h62 uint64_t pc; member
67 unsigned long pc; member
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
H A Dder_length_custom_type.c40 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
48 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
177 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
/optee_os/core/arch/riscv/kernel/
H A Dthread_arch.c195 uint32_t a6, uint32_t a7, void *pc) in init_regs() argument
199 thread->regs.epc = (uintptr_t)pc; in init_regs()
231 void *pc) in __thread_alloc_and_run() argument
257 init_regs(threads + n, a0, a1, a2, a3, a4, a5, a6, a7, pc); in __thread_alloc_and_run()
416 int thread_state_suspend(uint32_t flags, unsigned long status, vaddr_t pc) in thread_state_suspend() argument
431 tee_ta_gprof_sample_pc(pc); in thread_state_suspend()
440 threads[ct].regs.epc = pc; in thread_state_suspend()
H A Dunwind_rv.c21 state.pc = read_pc(); in print_kernel_stack()
/optee_os/lib/libutee/arch/arm/
H A Dutee_syscalls_a32.S45 pop {r5-r7,pc}
52 mov lr, pc
/optee_os/lib/libutils/ext/ftrace/
H A Dftrace.h9 void ftrace_enter(unsigned long pc, unsigned long *lr);
H A Dftrace.c90 void __noprof ftrace_enter(unsigned long pc, unsigned long *lr) in ftrace_enter() argument
98 add_elem(fbuf, fbuf->ret_idx + 1, pc); in ftrace_enter()
/optee_os/lib/libunw/include/unw/
H A Dunwind.h87 uint64_t pc; member
119 unsigned long pc; member
/optee_os/core/arch/arm/sm/
H A Dpm_a32.S37 pop {r0, pc}
44 pop {r4 - r12, pc}
123 ldmia r0!, {sp, pc}
/optee_os/core/arch/riscv/include/
H A Driscv.h164 unsigned long pc = 0; in read_pc() local
166 asm volatile ("auipc %0, 0" : "=r" (pc)); in read_pc()
168 return pc; in read_pc()
/optee_os/core/arch/arm/plat-ls/
H A Dplat_init.S86 mov pc, lr
/optee_os/core/arch/arm/plat-rzn1/
H A Da7_plat_init.S63 mov pc, lr

123