Lines Matching refs:regs
59 static void show_efi_loaded_images(struct pt_regs *regs) in show_efi_loaded_images() argument
61 efi_print_image_infos((void *)instruction_pointer(regs)); in show_efi_loaded_images()
64 static void dump_instr(struct pt_regs *regs) in dump_instr() argument
66 unsigned long addr = instruction_pointer(regs); in dump_instr()
67 const int thumb = thumb_mode(regs); in dump_instr()
88 void show_regs (struct pt_regs *regs) in show_regs() argument
102 flags = condition_codes (regs); in show_regs()
105 instruction_pointer(regs), regs->ARM_lr); in show_regs()
108 instruction_pointer(regs) - gd->reloc_off, in show_regs()
109 regs->ARM_lr - gd->reloc_off); in show_regs()
112 regs->ARM_sp, regs->ARM_ip, regs->ARM_fp); in show_regs()
114 regs->ARM_r10, regs->ARM_r9, regs->ARM_r8); in show_regs()
116 regs->ARM_r7, regs->ARM_r6, regs->ARM_r5, regs->ARM_r4); in show_regs()
118 regs->ARM_r3, regs->ARM_r2, regs->ARM_r1, regs->ARM_r0); in show_regs()
124 interrupts_enabled (regs) ? "on" : "off", in show_regs()
125 fast_interrupts_enabled (regs) ? "on" : "off", in show_regs()
126 processor_modes[processor_mode (regs)], in show_regs()
127 thumb_mode (regs) ? " (T)" : ""); in show_regs()
128 dump_instr(regs); in show_regs()
132 static inline void fixup_pc(struct pt_regs *regs, int offset) in fixup_pc() argument
134 uint32_t pc = instruction_pointer(regs) + offset; in fixup_pc()
135 regs->ARM_pc = pc | (regs->ARM_pc & PCMASK); in fixup_pc()