Home
last modified time | relevance | path

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

123456

/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_64.c29 static void show_efi_loaded_images(struct pt_regs *regs) in show_efi_loaded_images()
34 static void dump_instr(struct pt_regs *regs) in dump_instr()
45 void show_regs(struct pt_regs *regs) in show_regs()
65 void do_bad_sync(struct pt_regs *pt_regs, unsigned int esr) in do_bad_sync() argument
69 show_regs(pt_regs); in do_bad_sync()
70 show_efi_loaded_images(pt_regs); in do_bad_sync()
77 void do_bad_irq(struct pt_regs *pt_regs, unsigned int esr) in do_bad_irq() argument
81 show_regs(pt_regs); in do_bad_irq()
82 show_efi_loaded_images(pt_regs); in do_bad_irq()
89 void do_bad_fiq(struct pt_regs *pt_regs, unsigned int esr) in do_bad_fiq() argument
[all …]
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 …]
/external/u-boot/arch/arm/include/asm/
Du-boot-arm.h39 struct pt_regs;
42 void do_undefined_instruction(struct pt_regs *pt_regs);
43 void do_software_interrupt(struct pt_regs *pt_regs);
44 void do_prefetch_abort(struct pt_regs *pt_regs);
45 void do_data_abort(struct pt_regs *pt_regs);
46 void do_not_used(struct pt_regs *pt_regs);
48 void do_fiq(struct pt_regs *pt_regs, unsigned int esr);
49 void do_irq(struct pt_regs *pt_regs, unsigned int esr);
51 void do_fiq(struct pt_regs *pt_regs);
52 void do_irq(struct pt_regs *pt_regswq);
/external/u-boot/arch/arc/lib/
Dinterrupts.c62 void show_regs(struct pt_regs *regs) in show_regs()
76 void bad_mode(struct pt_regs *regs) in bad_mode()
84 void do_memory_error(unsigned long address, struct pt_regs *regs) in do_memory_error()
90 void do_instruction_error(unsigned long address, struct pt_regs *regs) in do_instruction_error()
96 void do_machine_check_fault(unsigned long address, struct pt_regs *regs) in do_machine_check_fault()
108 void do_itlb_miss(struct pt_regs *regs) in do_itlb_miss()
114 void do_dtlb_miss(struct pt_regs *regs) in do_dtlb_miss()
120 void do_tlb_prot_violation(unsigned long address, struct pt_regs *regs) in do_tlb_prot_violation()
127 void do_privilege_violation(struct pt_regs *regs) in do_privilege_violation()
133 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 *);
Dirq_func.h12 struct pt_regs;
17 void timer_interrupt(struct pt_regs *regs);
18 void external_interrupt(struct pt_regs *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.c61 extern void do_bedbug_breakpoint(struct pt_regs *);
88 void show_regs(struct pt_regs *regs) in show_regs()
116 static void _exception(int signr, struct pt_regs *regs) in _exception()
123 void CritcalInputException(struct pt_regs *regs) in CritcalInputException()
130 void MachineCheckException(struct pt_regs *regs) in MachineCheckException()
202 void AlignmentException(struct pt_regs *regs) in AlignmentException()
214 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException()
237 void PITException(struct pt_regs *regs) in PITException()
250 void UnknownException(struct pt_regs *regs) in UnknownException()
262 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/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/bpf/progs/
Dtest_attach_probe.c16 int handle_sys_nanosleep_entry(struct pt_regs *ctx) in handle_sys_nanosleep_entry()
25 int handle_sys_getpid_return(struct pt_regs *ctx) in handle_sys_getpid_return()
34 int handle_uprobe_entry(struct pt_regs *ctx) in handle_uprobe_entry()
43 int handle_uprobe_return(struct pt_regs *ctx) in handle_uprobe_return()
Dtest_rdonly_maps.c25 int skip_loop(struct pt_regs *ctx) in skip_loop()
44 int part_loop(struct pt_regs *ctx) in part_loop()
63 int full_loop(struct pt_regs *ctx) in full_loop()
/external/u-boot/arch/arm/cpu/armv8/
Dfwcall.c21 static void hvc_call(struct pt_regs *args) in hvc_call()
54 void smc_call(struct pt_regs *args) in smc_call()
88 struct pt_regs regs; in psci_system_reset()
103 struct pt_regs regs; in psci_system_off()
/external/u-boot/arch/riscv/lib/
Dinterrupts.c16 static void _exit_trap(ulong code, ulong epc, struct pt_regs *regs) in _exit_trap()
68 ulong handle_trap(ulong cause, ulong epc, struct pt_regs *regs) in handle_trap()
99 __attribute__((weak)) void external_interrupt(struct pt_regs *regs) in external_interrupt()
103 __attribute__((weak)) void timer_interrupt(struct pt_regs *regs) in timer_interrupt()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace.h417 struct pt_regs *regs; in show_gpr()
420 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in show_gpr()
442 struct pt_regs *regs; in write_gpr()
445 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in write_gpr()
470 struct pt_regs *regs; in show_ckpt_gpr()
474 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in show_ckpt_gpr()
481 iov.iov_len = sizeof(struct pt_regs); in show_ckpt_gpr()
499 struct pt_regs *regs; in write_ckpt_gpr()
503 regs = (struct pt_regs *) malloc(sizeof(struct pt_regs)); in write_ckpt_gpr()
509 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/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.c71 void show_regs(struct pt_regs *regs) in show_regs()
100 void do_interruption(struct pt_regs *pt_regs, int EVIC_num) in do_interruption() argument
115 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 *);

123456