Home
last modified time | relevance | path

Searched refs:pt_regs (Results 1 – 25 of 119) sorted by relevance

12345

/external/u-boot/arch/mips/lib/
Dasm-offsets.c20 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines()
21 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines()
22 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines()
23 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines()
24 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines()
25 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines()
26 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines()
27 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines()
28 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines()
29 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines()
[all …]
/external/u-boot/arch/arm/lib/
Dinterrupts.c54 static void show_efi_loaded_images(struct pt_regs *regs) in show_efi_loaded_images()
59 static void dump_instr(struct pt_regs *regs) in dump_instr()
83 void show_regs (struct pt_regs *regs) in show_regs()
127 static inline void fixup_pc(struct pt_regs *regs, int offset) in fixup_pc()
133 void do_undefined_instruction (struct pt_regs *pt_regs) in do_undefined_instruction() argument
137 fixup_pc(pt_regs, -4); in do_undefined_instruction()
138 show_regs (pt_regs); in do_undefined_instruction()
139 show_efi_loaded_images(pt_regs); in do_undefined_instruction()
143 void do_software_interrupt (struct pt_regs *pt_regs) in do_software_interrupt() argument
147 fixup_pc(pt_regs, -4); in do_software_interrupt()
[all …]
Dinterrupts_64.c28 void show_regs(struct pt_regs *regs) in show_regs()
47 void do_bad_sync(struct pt_regs *pt_regs, unsigned int esr) in do_bad_sync() argument
51 show_regs(pt_regs); in do_bad_sync()
58 void do_bad_irq(struct pt_regs *pt_regs, unsigned int esr) in do_bad_irq() argument
62 show_regs(pt_regs); in do_bad_irq()
69 void do_bad_fiq(struct pt_regs *pt_regs, unsigned int esr) in do_bad_fiq() argument
73 show_regs(pt_regs); in do_bad_fiq()
80 void do_bad_error(struct pt_regs *pt_regs, unsigned int esr) in do_bad_error() argument
84 show_regs(pt_regs); in do_bad_error()
91 void do_sync(struct pt_regs *pt_regs, unsigned int esr) in do_sync() argument
[all …]
/external/u-boot/arch/arm/include/asm/
Du-boot-arm.h48 struct pt_regs;
51 void do_undefined_instruction(struct pt_regs *pt_regs);
52 void do_software_interrupt(struct pt_regs *pt_regs);
53 void do_prefetch_abort(struct pt_regs *pt_regs);
54 void do_data_abort(struct pt_regs *pt_regs);
55 void do_not_used(struct pt_regs *pt_regs);
57 void do_fiq(struct pt_regs *pt_regs, unsigned int esr);
58 void do_irq(struct pt_regs *pt_regs, unsigned int esr);
60 void do_fiq(struct pt_regs *pt_regs);
61 void do_irq(struct pt_regs *pt_regswq);
/external/u-boot/arch/arc/lib/
Dinterrupts.c61 void show_regs(struct pt_regs *regs) in show_regs()
75 void bad_mode(struct pt_regs *regs) in bad_mode()
83 void do_memory_error(unsigned long address, struct pt_regs *regs) in do_memory_error()
89 void do_instruction_error(unsigned long address, struct pt_regs *regs) in do_instruction_error()
95 void do_machine_check_fault(unsigned long address, struct pt_regs *regs) in do_machine_check_fault()
107 void do_itlb_miss(struct pt_regs *regs) in do_itlb_miss()
113 void do_dtlb_miss(struct pt_regs *regs) in do_dtlb_miss()
119 void do_tlb_prot_violation(unsigned long address, struct pt_regs *regs) in do_tlb_prot_violation()
126 void do_privilege_violation(struct pt_regs *regs) in do_privilege_violation()
132 void do_trap(struct pt_regs *regs) in do_trap()
[all …]
/external/u-boot/include/
Dkgdb.h52 extern void kgdb_enter(struct pt_regs *, kgdb_data *);
53 extern void kgdb_exit(struct pt_regs *, kgdb_data *);
54 extern int kgdb_getregs(struct pt_regs *, char *, int);
55 extern void kgdb_putreg(struct pt_regs *, int, char *, int);
56 extern void kgdb_putregs(struct pt_regs *, char *, int);
57 extern int kgdb_trap(struct pt_regs *);
68 extern int (*debugger_exception_handler)(struct pt_regs *);
/external/u-boot/arch/mips/include/asm/
Dptrace.h20 struct pt_regs { struct
46 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer() argument
56 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
64 #define MAX_REG_OFFSET (offsetof(struct pt_regs, __last))
75 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register()
94 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
99 static inline void user_stack_pointer_set(struct pt_regs *regs, in user_stack_pointer_set()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dtraps.c60 extern void do_bedbug_breakpoint(struct pt_regs *);
87 void show_regs(struct pt_regs *regs) in show_regs()
115 static void _exception(int signr, struct pt_regs *regs) in _exception()
122 void CritcalInputException(struct pt_regs *regs) in CritcalInputException()
129 void MachineCheckException(struct pt_regs *regs) in MachineCheckException()
201 void AlignmentException(struct pt_regs *regs) in AlignmentException()
213 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException()
236 void PITException(struct pt_regs *regs) in PITException()
249 void UnknownException(struct pt_regs *regs) in UnknownException()
261 void ExtIntException(struct pt_regs *regs) in ExtIntException()
[all …]
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dtraps.c51 void show_regs(struct pt_regs *regs) in show_regs()
77 static void _exception(int signr, struct pt_regs *regs) in _exception()
101 void MachineCheckException(struct pt_regs *regs) in MachineCheckException()
160 void AlignmentException(struct pt_regs *regs) in AlignmentException()
171 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException()
182 void SoftEmuException(struct pt_regs *regs) in SoftEmuException()
194 void UnknownException(struct pt_regs *regs) in UnknownException()
206 extern void do_bedbug_breakpoint(struct pt_regs *);
209 void DebugException(struct pt_regs *regs) in DebugException()
/external/u-boot/arch/powerpc/cpu/mpc8xx/
Dtraps.c54 static void show_regs(struct pt_regs *regs) in show_regs()
78 static void _exception(int signr, struct pt_regs *regs) in _exception()
85 void MachineCheckException(struct pt_regs *regs) in MachineCheckException()
123 void AlignmentException(struct pt_regs *regs) in AlignmentException()
130 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException()
137 void SoftEmuException(struct pt_regs *regs) in SoftEmuException()
145 void UnknownException(struct pt_regs *regs) in UnknownException()
152 void DebugException(struct pt_regs *regs) in DebugException()
/external/u-boot/arch/riscv/include/asm/
Dptrace.h12 struct pt_regs { struct
63 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() argument
68 static inline void instruction_pointer_set(struct pt_regs *regs, ulong val) in instruction_pointer_set()
79 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
84 static inline void user_stack_pointer_set(struct pt_regs *regs, ulong val) in user_stack_pointer_set()
93 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer()
98 static inline void frame_pointer_set(struct pt_regs *regs, ulong val) in frame_pointer_set()
/external/u-boot/board/cavium/thunderx/
Datf.c20 struct pt_regs regs; in atf_read_mmc()
33 struct pt_regs regs; in atf_read_nor()
46 struct pt_regs regs; in atf_get_pcount()
56 struct pt_regs regs; in atf_get_part()
68 struct pt_regs regs; in atf_erase_nor()
80 struct pt_regs regs; in atf_write_nor()
94 struct pt_regs regs; in atf_write_mmc()
108 struct pt_regs regs; in atf_dram_size()
119 struct pt_regs regs; in atf_node_count()
129 struct pt_regs regs; in atf_env_count()
[all …]
/external/u-boot/arch/riscv/lib/
Dinterrupts.c15 static void _exit_trap(int code, uint epc, struct pt_regs *regs);
37 uint handle_trap(uint mcause, uint epc, struct pt_regs *regs) in handle_trap()
55 __attribute__((weak)) void external_interrupt(struct pt_regs *regs) in external_interrupt()
59 __attribute__((weak)) void timer_interrupt(struct pt_regs *regs) in timer_interrupt()
63 static void _exit_trap(int code, uint epc, struct pt_regs *regs) in _exit_trap()
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dtraps.c58 void show_regs(struct pt_regs *regs) in show_regs()
86 static void _exception(int signr, struct pt_regs *regs) in _exception()
93 void MachineCheckException(struct pt_regs *regs) in MachineCheckException()
139 void AlignmentException(struct pt_regs *regs) in AlignmentException()
150 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException()
175 void SoftEmuException(struct pt_regs *regs) in SoftEmuException()
186 void UnknownException(struct pt_regs *regs) in UnknownException()
/external/u-boot/arch/sh/include/asm/
Dptrace.h52 struct pt_regs { struct
90 extern void show_regs(struct pt_regs *);
94 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
98 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
102 static inline unsigned long profile_pc(struct pt_regs *regs) in profile_pc()
/external/u-boot/include/bedbug/
Dtype.h8 void do_bedbug_breakpoint (struct pt_regs *);
9 void bedbug_main_loop (unsigned long, struct pt_regs *);
16 struct pt_regs *regs;
19 void (*break_isr) (struct pt_regs *);
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace.h421 struct pt_regs *regs; in show_gpr()
424 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in show_gpr()
446 struct pt_regs *regs; in write_gpr()
449 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in write_gpr()
474 struct pt_regs *regs; in show_ckpt_gpr()
478 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in show_ckpt_gpr()
485 iov.iov_len = sizeof(struct pt_regs); in show_ckpt_gpr()
503 struct pt_regs *regs; in write_ckpt_gpr()
507 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in write_ckpt_gpr()
513 iov.iov_len = sizeof(struct pt_regs); in write_ckpt_gpr()
/external/u-boot/arch/powerpc/lib/
Dkgdb.c80 kgdb_enter(struct pt_regs *regs, kgdb_data *kdp) in kgdb_enter()
106 kgdb_exit(struct pt_regs *regs, kgdb_data *kdp) in kgdb_exit()
130 kgdb_trap(struct pt_regs *regs) in kgdb_trap()
149 kgdb_getregs(struct pt_regs *regs, char *buf, int max) in kgdb_getregs()
183 kgdb_putreg(struct pt_regs *regs, int regno, char *buf, int length) in kgdb_putreg()
217 kgdb_putregs(struct pt_regs *regs, char *buf, int length) in kgdb_putregs()
/external/u-boot/arch/arm/cpu/armv8/
Dfwcall.c22 static void __efi_runtime hvc_call(struct pt_regs *args) in hvc_call()
56 void __efi_runtime smc_call(struct pt_regs *args) in smc_call()
90 struct pt_regs regs; in psci_system_reset()
105 struct pt_regs regs; in psci_system_off()
/external/ltp/testcases/kernel/syscalls/ptrace/
Dsimple_tracer.c44 static void decode_regs(struct pt_regs *pt) in decode_regs()
120 struct pt_regs pt_regs; in main() local
127 ret = vptrace(PTRACE_GETREGS, pid, NULL, &pt_regs); in main()
130 decode_regs(&pt_regs); in main()
/external/u-boot/arch/nds32/lib/
Dinterrupts.c70 void show_regs(struct pt_regs *regs) in show_regs()
99 void do_interruption(struct pt_regs *pt_regs, int EVIC_num) in do_interruption() argument
114 show_regs(pt_regs); in do_interruption()
/external/u-boot/arch/xtensa/include/asm/
Dptrace.h84 struct pt_regs { struct
113 # define task_pt_regs(tsk) ((struct pt_regs *) \ argument
117 void show_regs(struct pt_regs *);
/external/elfutils/backends/
Dppc_initreg.c79 struct pt_regs r; in ppc_set_initial_registers_tid()
80 long l[sizeof (struct pt_regs) / sizeof (long)]; in ppc_set_initial_registers_tid()
83 eu_static_assert (sizeof (struct pt_regs) % sizeof (long) == 0); in ppc_set_initial_registers_tid()
/external/bcc/tools/
Ddeadlock_detector.c71 int trace_mutex_acquire(struct pt_regs *ctx, void *mutex_addr) { in trace_mutex_acquire()
146 int trace_mutex_release(struct pt_regs *ctx, void *mutex_addr) { in trace_mutex_release()
183 int trace_clone(struct pt_regs *ctx, unsigned long flags, void *child_stack, in trace_clone()
184 void *ptid, void *ctid, struct pt_regs *regs) { in trace_clone()
/external/u-boot/arch/arm/include/asm/proc-armv/
Dptrace.h23 struct pt_regs { struct
60 struct pt_regs { struct
110 static inline int valid_user_regs(struct pt_regs *regs) in valid_user_regs()

12345