Home
last modified time | relevance | path

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

123

/Zephyr-latest/arch/arm/core/cortex_a_r/
Dvector_table.S22 ldr pc, =z_arm_reset /* offset 0 */
23 ldr pc, =z_arm_undef_instruction /* undef instruction offset 4 */
24 ldr pc, =z_arm_svc /* svc offset 8 */
25 ldr pc, =z_arm_prefetch_abort /* prefetch abort offset 0xc */
26 ldr pc, =z_arm_data_abort /* data abort offset 0x10 */
29 ldr pc, =_isr_wrapper /* IRQ offset 0x18 */
31 ldr pc, =z_irq_spurious
34 ldr pc, =z_arm_nmi /* FIQ offset 0x1c */
36 ldr pc,=z_irq_spurious
Dfault.c311 if (esf->basic.pc >= start && esf->basic.pc < end) { in memory_fault_recoverable()
312 esf->basic.pc = (uint32_t)(exceptions[i].fixup); in memory_fault_recoverable()
/Zephyr-latest/arch/xtensa/core/
Dxtensa_backtrace.c23 static inline uint32_t xtensa_cpu_process_stack_pc(uint32_t pc) in xtensa_cpu_process_stack_pc() argument
25 if (pc & 0x80000000) { in xtensa_cpu_process_stack_pc()
30 pc = (pc & 0x3fffffff) | mask; in xtensa_cpu_process_stack_pc()
32 pc = (pc & 0x3fffffff) | 0x40000000; in xtensa_cpu_process_stack_pc()
38 return pc - 3; in xtensa_cpu_process_stack_pc()
93 frame->pc = frame->next_pc; in xtensa_backtrace_get_next_frame()
105 xtensa_cpu_process_stack_pc(frame->pc))); in xtensa_backtrace_get_next_frame()
133 xtensa_backtrace_get_start(&(stk_frame.pc), &(stk_frame.sp), in xtensa_backtrace_print()
137 mask = stk_frame.pc & 0xc0000000; in xtensa_backtrace_print()
141 xtensa_cpu_process_stack_pc(stk_frame.pc), in xtensa_backtrace_print()
[all …]
Dvector_handlers.c223 void *pc; in print_fatal_exception() local
249 pc = (void *)bsa->pc; in print_fatal_exception()
251 LOG_ERR(" ** PC %p VADDR %p", pc, (void *)vaddr); in print_fatal_exception()
352 void *pc, *print_stack = (void *)interrupted_stack; in xtensa_excint1_c() local
381 (void *)bsa->ps, (void *)bsa->pc); in xtensa_excint1_c()
388 bsa->pc += 3; in xtensa_excint1_c()
400 pc = (void *)bsa->pc; in xtensa_excint1_c()
419 if (pc == (void *)&xtensa_arch_except_epc) { in xtensa_excint1_c()
423 } else if (pc == (void *)&xtensa_arch_kernel_oops_epc) { in xtensa_excint1_c()
Dthread.c88 frame->bsa.pc = (uintptr_t)arch_user_mode_enter; in init_stack()
90 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()
93 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()
Dcoredump.c57 uint32_t pc; member
145 arch_blk.r.pc = bsa->pc; in arch_coredump_info_dump()
/Zephyr-latest/arch/x86/zefi/
Dprintf.h26 static void pc(struct _pfr *r, int c) in pc() function
41 pc(r, '-'); in prdec()
58 pc(r, digs[i]); in prdec()
76 pc(r, *f); in vpf()
100 pc(r, '%'); in vpf()
103 pc(r, va_arg(ap, int)); in vpf()
109 pc(r, *s); in vpf()
115 pc(r, '0'); in vpf()
116 pc(r, 'x'); /* fall through... */ in vpf()
127 pc(r, "0123456789abcdef"[d]); in vpf()
[all …]
/Zephyr-latest/arch/sparc/core/
Dfatal.c168 LOG_ERR(" pc: %08x npc: %08x", esf->pc, esf->npc); in print_special_registers()
177 LOG_ERR(" #0 %08x %08x", esf->pc, (unsigned int) s); in print_backtrace()
179 const uint32_t pc = s->in[7]; in print_backtrace() local
182 if (sp == 0U && pc == 0U) { in print_backtrace()
185 LOG_ERR(" #%-2d %08x %08x", i, pc, sp); in print_backtrace()
/Zephyr-latest/arch/xtensa/include/
Dxtensa_backtrace.h38 uint32_t pc; /* PC of the current frame */ member
60 void xtensa_backtrace_get_start(uint32_t *pc,
/Zephyr-latest/arch/arm64/core/
Dfpu.c173 uint32_t *pc = (uint32_t *)esf->elr; in simulate_str_q_insn() local
178 uint32_t insn = *pc; in simulate_str_q_insn()
197 pc++; in simulate_str_q_insn()
201 if (pc != (uint32_t *)esf->elr) { in simulate_str_q_insn()
203 esf->elr = (uintptr_t)pc; in simulate_str_q_insn()
/Zephyr-latest/arch/arm/core/cortex_m/
Dfault.c156 if (esf->basic.pc >= start && esf->basic.pc < end) { in memory_fault_recoverable()
157 esf->basic.pc = (uint32_t)(exceptions[i].fixup); in memory_fault_recoverable()
644 uint16_t *ret_addr = (uint16_t *)esf->basic.pc; in z_arm_is_synchronous_svc()
686 static inline bool z_arm_is_pc_valid(uintptr_t pc) in z_arm_is_pc_valid() argument
689 if ((((uintptr_t)&__text_region_start) <= pc) && (pc < ((uintptr_t)&__text_region_end))) { in z_arm_is_pc_valid()
694 if ((((uintptr_t)&__ramfunc_start) <= pc) && (pc < ((uintptr_t)&__ramfunc_end))) { in z_arm_is_pc_valid()
700 if ((((uintptr_t)&__itcm_start) <= pc) && (pc < ((uintptr_t)&__itcm_end))) { in z_arm_is_pc_valid()
733 if (z_arm_is_pc_valid((uintptr_t)esf->basic.pc) && z_arm_is_synchronous_svc(esf)) { in hard_fault()
874 sec_ret_addr = secure_esf->basic.pc;
Dcoredump.c22 uint32_t pc; member
72 arch_blk.r.pc = esf->basic.pc; in arch_coredump_info_dump()
Dthread.c93 iframe->pc = (uint32_t)arch_user_mode_enter; in arch_new_thread()
95 iframe->pc = (uint32_t)z_thread_entry; in arch_new_thread()
98 iframe->pc = (uint32_t)z_thread_entry; in arch_new_thread()
102 iframe->pc &= 0xfffffffe; in arch_new_thread()
/Zephyr-latest/arch/riscv/core/
Dcoredump.c37 uint64_t pc; member
60 uint32_t pc;
109 arch_blk.r.pc = esf->mepc; in arch_coredump_info_dump()
/Zephyr-latest/include/zephyr/arch/sparc/
Dexception.h21 uint32_t pc; member
/Zephyr-latest/tests/arch/arm/arm_interrupt/
DREADME.txt64 E: Faulting instruction address (r15/pc): 0x00000f34
78 E: Faulting instruction address (r15/pc): 0x000009a6
87 E: Faulting instruction address (r15/pc): 0x000009c4
99 E: Faulting instruction address (r15/pc): 0x0000cab0
111 E: Faulting instruction address (r15/pc): 0x0000cab0
122 E: Faulting instruction address (r15/pc): 0xf9cfef45
135 E: Faulting instruction address (r15/pc): 0x0000bec0
/Zephyr-latest/arch/arc/core/
Dfault.c360 if (esf->pc >= start && esf->pc < end) { in _Fault()
361 esf->pc = (uint32_t)(exceptions[i].fixup); in _Fault()
Dthread.c33 uintptr_t pc; member
173 iframe->pc = (uint32_t)z_user_thread_entry_wrapper; in arch_new_thread()
175 iframe->pc = (uint32_t)z_thread_entry_wrapper; in arch_new_thread()
179 iframe->pc = ((uintptr_t)z_thread_entry_wrapper); in arch_new_thread()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dhas_client_test.c355 const struct bt_has_cp_preset_changed *pc; in notify_handler() local
357 if (length < (sizeof(*hdr) + sizeof(*pc))) { in notify_handler()
362 pc = (const void *)hdr->data; in notify_handler()
364 switch (pc->change_id) { in notify_handler()
369 if (length < (sizeof(*hdr) + sizeof(*pc) + sizeof(*gu))) { in notify_handler()
374 gu = (const void *)pc->additional_params; in notify_handler()
385 LOG_DBG("Unexpected Change ID 0x%02x", pc->change_id); in notify_handler()
389 if (pc->is_last) { in notify_handler()
/Zephyr-latest/cmake/toolchain/oneApi/
Dgeneric.cmake22 set(triple x86_64-pc-none-elf)
24 set(triple i686-pc-none-elf)
/Zephyr-latest/samples/arch/mpu/mpu_test/
DREADME.rst58 <err> os: Faulting instruction address (r15/pc): 0x000003c8
74 <err> os: Faulting instruction address (r15/pc): 0x000003b2
88 <err> os: Faulting instruction address (r15/pc): 0x20000000
116 <err> os: Faulting instruction address (r15/pc): 0x08000486
129 <err> os: Faulting instruction address (r15/pc): 0x0800046a
/Zephyr-latest/cmake/toolchain/llvm/
Dtarget.cmake32 set(triple x86_64-pc-none-elf)
34 set(triple i686-pc-none-elf)
/Zephyr-latest/arch/arm/core/
Dfatal.c65 esf->basic.pc); in esf_dump()
165 oops_esf.basic.pc = ssf_contents[3]; in arch_syscall_oops()
Dgdbstub.c69 ctx.registers[PC] = esf->basic.pc; in z_gdb_entry()
86 esf->basic.pc = ctx.registers[PC]; in z_gdb_entry()
94 esf->basic.pc += 0x4; in z_gdb_entry()
/Zephyr-latest/include/zephyr/arch/arm/cortex_a_r/
Dexception.h74 sys_define_gpr_with_alias(pc, r15);

123