tag | line | file | source code |
regs | 426 | arch/alpha/kernel/alcor.c | struct pt_regs * regs) |
regs | 441 | arch/alpha/kernel/alcor.c | regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset)); |
regs | 450 | arch/alpha/kernel/apecs.c | struct pt_regs * regs) |
regs | 462 | arch/alpha/kernel/apecs.c | regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset)); |
regs | 29 | arch/alpha/kernel/irq.c | extern void timer_interrupt(struct pt_regs * regs); |
regs | 253 | arch/alpha/kernel/irq.c | static inline void handle_nmi(struct pt_regs * regs) |
regs | 259 | arch/alpha/kernel/irq.c | static void unexpected_irq(int irq, struct pt_regs * regs) |
regs | 265 | arch/alpha/kernel/irq.c | printk("PC = %016lx PS=%04lx\n", regs->pc, regs->ps); |
regs | 284 | arch/alpha/kernel/irq.c | static inline void handle_irq(int irq, void *dev_id, struct pt_regs * regs) |
regs | 290 | arch/alpha/kernel/irq.c | unexpected_irq(irq, regs); |
regs | 294 | arch/alpha/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 299 | arch/alpha/kernel/irq.c | static inline void device_interrupt(int irq, int ack, struct pt_regs * regs) |
regs | 314 | arch/alpha/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 337 | arch/alpha/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 347 | arch/alpha/kernel/irq.c | struct pt_regs * regs) |
regs | 382 | arch/alpha/kernel/irq.c | device_interrupt(j, j, regs); |
regs | 406 | arch/alpha/kernel/irq.c | device_interrupt(j, j, regs); |
regs | 412 | arch/alpha/kernel/irq.c | struct pt_regs * regs) |
regs | 436 | arch/alpha/kernel/irq.c | isa_device_interrupt(vector, regs); |
regs | 438 | arch/alpha/kernel/irq.c | device_interrupt(16 + i, 16 + i, regs); |
regs | 445 | arch/alpha/kernel/irq.c | struct pt_regs * regs) |
regs | 465 | arch/alpha/kernel/irq.c | isa_device_interrupt(vector, regs); |
regs | 467 | arch/alpha/kernel/irq.c | device_interrupt(16 + i, 16 + i, regs); |
regs | 496 | arch/alpha/kernel/irq.c | static inline void srm_device_interrupt(unsigned long vector, struct pt_regs * regs) |
regs | 509 | arch/alpha/kernel/irq.c | case 0x660: handle_nmi(regs); return; |
regs | 511 | arch/alpha/kernel/irq.c | case 0x900: handle_irq(4, regs); return; /* com1 -> irq 4 */ |
regs | 512 | arch/alpha/kernel/irq.c | case 0x920: handle_irq(3, regs); return; /* com2 -> irq 3 */ |
regs | 513 | arch/alpha/kernel/irq.c | case 0x980: handle_irq(1, regs); return; /* kbd -> irq 1 */ |
regs | 514 | arch/alpha/kernel/irq.c | case 0x990: handle_irq(9, regs); return; /* mouse -> irq 9 */ |
regs | 525 | arch/alpha/kernel/irq.c | device_interrupt(irq, ack, regs); |
regs | 597 | arch/alpha/kernel/irq.c | static void machine_check(unsigned long vector, unsigned long la, struct pt_regs * regs) |
regs | 601 | arch/alpha/kernel/irq.c | struct pt_regs *regs); |
regs | 602 | arch/alpha/kernel/irq.c | lca_machine_check(vector, la, regs); |
regs | 605 | arch/alpha/kernel/irq.c | struct pt_regs * regs); |
regs | 606 | arch/alpha/kernel/irq.c | apecs_machine_check(vector, la, regs); |
regs | 609 | arch/alpha/kernel/irq.c | struct pt_regs * regs); |
regs | 610 | arch/alpha/kernel/irq.c | alcor_machine_check(vector, la, regs); |
regs | 618 | arch/alpha/kernel/irq.c | struct pt_regs regs) |
regs | 625 | arch/alpha/kernel/irq.c | timer_interrupt(®s); |
regs | 628 | arch/alpha/kernel/irq.c | machine_check(vector, la_ptr, ®s); |
regs | 633 | arch/alpha/kernel/irq.c | srm_device_interrupt(vector, ®s); |
regs | 635 | arch/alpha/kernel/irq.c | cabriolet_and_eb66p_device_interrupt(vector, ®s); |
regs | 637 | arch/alpha/kernel/irq.c | eb66_and_eb64p_device_interrupt(vector, ®s); |
regs | 639 | arch/alpha/kernel/irq.c | isa_device_interrupt(vector, ®s); |
regs | 648 | arch/alpha/kernel/irq.c | printk("PC = %016lx PS=%04lx\n", regs.pc, regs.ps); |
regs | 387 | arch/alpha/kernel/lca.c | void lca_machine_check (unsigned long vector, unsigned long la, struct pt_regs *regs) |
regs | 393 | arch/alpha/kernel/lca.c | printk("lca: machine check (la=0x%lx,pc=0x%lx)\n", la, regs->pc); |
regs | 148 | arch/alpha/kernel/osf_sys.c | struct pt_regs regs) |
regs | 150 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->euid; |
regs | 155 | arch/alpha/kernel/osf_sys.c | struct pt_regs regs) |
regs | 157 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->egid; |
regs | 162 | arch/alpha/kernel/osf_sys.c | struct pt_regs regs) |
regs | 164 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->p_opptr->pid; |
regs | 462 | arch/alpha/kernel/osf_sys.c | struct pt_regs regs) |
regs | 470 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = fd[1]; |
regs | 645 | arch/alpha/kernel/osf_sys.c | struct pt_regs regs) |
regs | 661 | arch/alpha/kernel/osf_sys.c | regs.r0 = 0; |
regs | 35 | arch/alpha/kernel/process.c | struct pt_regs regs) |
regs | 37 | arch/alpha/kernel/process.c | (®s)->hae = hae; |
regs | 58 | arch/alpha/kernel/process.c | void show_regs(struct pt_regs * regs) |
regs | 60 | arch/alpha/kernel/process.c | printk("\nps: %04lx pc: [<%016lx>]\n", regs->ps, regs->pc); |
regs | 61 | arch/alpha/kernel/process.c | printk("rp: [<%016lx>] sp: %p\n", regs->r26, regs+1); |
regs | 63 | arch/alpha/kernel/process.c | regs->r0, regs->r1, regs->r2, regs->r3); |
regs | 65 | arch/alpha/kernel/process.c | regs->r4, regs->r5, regs->r6, regs->r7); |
regs | 67 | arch/alpha/kernel/process.c | regs->r8, regs->r16, regs->r17, regs->r18); |
regs | 69 | arch/alpha/kernel/process.c | regs->r19, regs->r20, regs->r21, regs->r22); |
regs | 71 | arch/alpha/kernel/process.c | regs->r23, regs->r24, regs->r25, regs->r26); |
regs | 73 | arch/alpha/kernel/process.c | regs->r27, regs->r28, regs->gp, regs->hae); |
regs | 120 | arch/alpha/kernel/process.c | struct task_struct * p, struct pt_regs * regs) |
regs | 127 | arch/alpha/kernel/process.c | if (!(regs->ps & 8)) |
regs | 128 | arch/alpha/kernel/process.c | stack_offset = (PAGE_SIZE-1) & (unsigned long) regs; |
regs | 131 | arch/alpha/kernel/process.c | *childregs = *regs; |
regs | 135 | arch/alpha/kernel/process.c | regs->r20 = 0; |
regs | 136 | arch/alpha/kernel/process.c | stack = ((struct switch_stack *) regs) - 1; |
regs | 168 | arch/alpha/kernel/process.c | dump->regs[EF_V0] = pt->r0; |
regs | 169 | arch/alpha/kernel/process.c | dump->regs[EF_T0] = pt->r1; |
regs | 170 | arch/alpha/kernel/process.c | dump->regs[EF_T1] = pt->r2; |
regs | 171 | arch/alpha/kernel/process.c | dump->regs[EF_T2] = pt->r3; |
regs | 172 | arch/alpha/kernel/process.c | dump->regs[EF_T3] = pt->r4; |
regs | 173 | arch/alpha/kernel/process.c | dump->regs[EF_T4] = pt->r5; |
regs | 174 | arch/alpha/kernel/process.c | dump->regs[EF_T5] = pt->r6; |
regs | 175 | arch/alpha/kernel/process.c | dump->regs[EF_T6] = pt->r7; |
regs | 176 | arch/alpha/kernel/process.c | dump->regs[EF_T7] = pt->r8; |
regs | 177 | arch/alpha/kernel/process.c | dump->regs[EF_S0] = sw->r9; |
regs | 178 | arch/alpha/kernel/process.c | dump->regs[EF_S1] = sw->r10; |
regs | 179 | arch/alpha/kernel/process.c | dump->regs[EF_S2] = sw->r11; |
regs | 180 | arch/alpha/kernel/process.c | dump->regs[EF_S3] = sw->r12; |
regs | 181 | arch/alpha/kernel/process.c | dump->regs[EF_S4] = sw->r13; |
regs | 182 | arch/alpha/kernel/process.c | dump->regs[EF_S5] = sw->r14; |
regs | 183 | arch/alpha/kernel/process.c | dump->regs[EF_S6] = sw->r15; |
regs | 184 | arch/alpha/kernel/process.c | dump->regs[EF_A3] = pt->r19; |
regs | 185 | arch/alpha/kernel/process.c | dump->regs[EF_A4] = pt->r20; |
regs | 186 | arch/alpha/kernel/process.c | dump->regs[EF_A5] = pt->r21; |
regs | 187 | arch/alpha/kernel/process.c | dump->regs[EF_T8] = pt->r22; |
regs | 188 | arch/alpha/kernel/process.c | dump->regs[EF_T9] = pt->r23; |
regs | 189 | arch/alpha/kernel/process.c | dump->regs[EF_T10] = pt->r24; |
regs | 190 | arch/alpha/kernel/process.c | dump->regs[EF_T11] = pt->r25; |
regs | 191 | arch/alpha/kernel/process.c | dump->regs[EF_RA] = pt->r26; |
regs | 192 | arch/alpha/kernel/process.c | dump->regs[EF_T12] = pt->r27; |
regs | 193 | arch/alpha/kernel/process.c | dump->regs[EF_AT] = pt->r28; |
regs | 194 | arch/alpha/kernel/process.c | dump->regs[EF_SP] = rdusp(); |
regs | 195 | arch/alpha/kernel/process.c | dump->regs[EF_PS] = pt->ps; |
regs | 196 | arch/alpha/kernel/process.c | dump->regs[EF_PC] = pt->pc; |
regs | 197 | arch/alpha/kernel/process.c | dump->regs[EF_GP] = pt->gp; |
regs | 198 | arch/alpha/kernel/process.c | dump->regs[EF_A0] = pt->r16; |
regs | 199 | arch/alpha/kernel/process.c | dump->regs[EF_A1] = pt->r17; |
regs | 200 | arch/alpha/kernel/process.c | dump->regs[EF_A2] = pt->r18; |
regs | 201 | arch/alpha/kernel/process.c | memcpy((char *)dump->regs + EF_SIZE, sw->fp, 32 * 8); |
regs | 216 | arch/alpha/kernel/process.c | struct pt_regs regs) |
regs | 224 | arch/alpha/kernel/process.c | error = do_execve(filename, (char **) a1, (char **) a2, ®s); |
regs | 487 | arch/alpha/kernel/ptrace.c | int a4, int a5, struct pt_regs regs) |
regs | 554 | arch/alpha/kernel/ptrace.c | regs.r0 = 0; /* special return: no errors */ |
regs | 560 | arch/alpha/kernel/ptrace.c | regs.r0 = 0; /* special return: no errors */ |
regs | 561 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("peek $%ld=%#lx\n", addr, regs.r0)); |
regs | 56 | arch/alpha/kernel/signal.c | asmlinkage int do_sigsuspend(unsigned long mask, struct pt_regs * regs, struct switch_stack * sw) |
regs | 63 | arch/alpha/kernel/signal.c | if (do_signal(oldmask,regs, sw, 0, 0)) |
regs | 72 | arch/alpha/kernel/signal.c | struct pt_regs * regs, struct switch_stack * sw) |
regs | 88 | arch/alpha/kernel/signal.c | regs->pc = get_fs_quad(&sc->sc_pc); |
regs | 92 | arch/alpha/kernel/signal.c | regs->r0 = get_fs_quad(sc->sc_regs+0); |
regs | 93 | arch/alpha/kernel/signal.c | regs->r1 = get_fs_quad(sc->sc_regs+1); |
regs | 94 | arch/alpha/kernel/signal.c | regs->r2 = get_fs_quad(sc->sc_regs+2); |
regs | 95 | arch/alpha/kernel/signal.c | regs->r3 = get_fs_quad(sc->sc_regs+3); |
regs | 96 | arch/alpha/kernel/signal.c | regs->r4 = get_fs_quad(sc->sc_regs+4); |
regs | 97 | arch/alpha/kernel/signal.c | regs->r5 = get_fs_quad(sc->sc_regs+5); |
regs | 98 | arch/alpha/kernel/signal.c | regs->r6 = get_fs_quad(sc->sc_regs+6); |
regs | 99 | arch/alpha/kernel/signal.c | regs->r7 = get_fs_quad(sc->sc_regs+7); |
regs | 100 | arch/alpha/kernel/signal.c | regs->r8 = get_fs_quad(sc->sc_regs+8); |
regs | 108 | arch/alpha/kernel/signal.c | regs->r16 = get_fs_quad(sc->sc_regs+16); |
regs | 109 | arch/alpha/kernel/signal.c | regs->r17 = get_fs_quad(sc->sc_regs+17); |
regs | 110 | arch/alpha/kernel/signal.c | regs->r18 = get_fs_quad(sc->sc_regs+18); |
regs | 111 | arch/alpha/kernel/signal.c | regs->r19 = get_fs_quad(sc->sc_regs+19); |
regs | 112 | arch/alpha/kernel/signal.c | regs->r20 = get_fs_quad(sc->sc_regs+20); |
regs | 113 | arch/alpha/kernel/signal.c | regs->r21 = get_fs_quad(sc->sc_regs+21); |
regs | 114 | arch/alpha/kernel/signal.c | regs->r22 = get_fs_quad(sc->sc_regs+22); |
regs | 115 | arch/alpha/kernel/signal.c | regs->r23 = get_fs_quad(sc->sc_regs+23); |
regs | 116 | arch/alpha/kernel/signal.c | regs->r24 = get_fs_quad(sc->sc_regs+24); |
regs | 117 | arch/alpha/kernel/signal.c | regs->r25 = get_fs_quad(sc->sc_regs+25); |
regs | 118 | arch/alpha/kernel/signal.c | regs->r26 = get_fs_quad(sc->sc_regs+26); |
regs | 119 | arch/alpha/kernel/signal.c | regs->r27 = get_fs_quad(sc->sc_regs+27); |
regs | 120 | arch/alpha/kernel/signal.c | regs->r28 = get_fs_quad(sc->sc_regs+28); |
regs | 121 | arch/alpha/kernel/signal.c | regs->gp = get_fs_quad(sc->sc_regs+29); |
regs | 134 | arch/alpha/kernel/signal.c | unsigned long pc, struct pt_regs * regs, |
regs | 152 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r0 , sc->sc_regs+0); |
regs | 153 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r1 , sc->sc_regs+1); |
regs | 154 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r2 , sc->sc_regs+2); |
regs | 155 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r3 , sc->sc_regs+3); |
regs | 156 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r4 , sc->sc_regs+4); |
regs | 157 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r5 , sc->sc_regs+5); |
regs | 158 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r6 , sc->sc_regs+6); |
regs | 159 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r7 , sc->sc_regs+7); |
regs | 160 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r8 , sc->sc_regs+8); |
regs | 168 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r16, sc->sc_regs+16); |
regs | 169 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r17, sc->sc_regs+17); |
regs | 170 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r18, sc->sc_regs+18); |
regs | 171 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r19, sc->sc_regs+19); |
regs | 172 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r20, sc->sc_regs+20); |
regs | 173 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r21, sc->sc_regs+21); |
regs | 174 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r22, sc->sc_regs+22); |
regs | 175 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r23, sc->sc_regs+23); |
regs | 176 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r24, sc->sc_regs+24); |
regs | 177 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r25, sc->sc_regs+25); |
regs | 178 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r26, sc->sc_regs+26); |
regs | 179 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r27, sc->sc_regs+27); |
regs | 180 | arch/alpha/kernel/signal.c | put_fs_quad(regs->r28, sc->sc_regs+28); |
regs | 181 | arch/alpha/kernel/signal.c | put_fs_quad(regs->gp , sc->sc_regs+29); |
regs | 196 | arch/alpha/kernel/signal.c | regs->r26 = (unsigned long) sc->sc_retcode; |
regs | 197 | arch/alpha/kernel/signal.c | regs->r16 = signr; |
regs | 215 | arch/alpha/kernel/signal.c | struct pt_regs * regs, |
regs | 280 | arch/alpha/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
regs | 294 | arch/alpha/kernel/signal.c | if (regs->r0 == ERESTARTNOHAND || |
regs | 295 | arch/alpha/kernel/signal.c | (regs->r0 == ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
regs | 296 | arch/alpha/kernel/signal.c | regs->r0 = EINTR; |
regs | 302 | arch/alpha/kernel/signal.c | (regs->r0 == ERESTARTNOHAND || |
regs | 303 | arch/alpha/kernel/signal.c | regs->r0 == ERESTARTSYS || |
regs | 304 | arch/alpha/kernel/signal.c | regs->r0 == ERESTARTNOINTR)) { |
regs | 305 | arch/alpha/kernel/signal.c | regs->r0 = r0; /* reset v0 and a3 and replay syscall */ |
regs | 306 | arch/alpha/kernel/signal.c | regs->r19 = r19; |
regs | 307 | arch/alpha/kernel/signal.c | regs->pc -= 4; |
regs | 315 | arch/alpha/kernel/signal.c | pc = regs->pc; |
regs | 324 | arch/alpha/kernel/signal.c | setup_frame(sa,&frame,pc,regs,sw,signr,oldmask); |
regs | 326 | arch/alpha/kernel/signal.c | regs->r27 = pc; |
regs | 334 | arch/alpha/kernel/signal.c | regs->pc = pc; /* "return" to the first handler */ |
regs | 35 | arch/alpha/kernel/time.c | void timer_interrupt(struct pt_regs * regs) |
regs | 40 | arch/alpha/kernel/time.c | do_timer(regs); |
regs | 20 | arch/alpha/kernel/traps.c | void die_if_kernel(char * str, struct pt_regs * regs, long err) |
regs | 26 | arch/alpha/kernel/traps.c | if (regs->ps & 8) |
regs | 29 | arch/alpha/kernel/traps.c | sp = (unsigned long) (regs+1); |
regs | 30 | arch/alpha/kernel/traps.c | printk("pc = [<%lx>] ps = %04lx\n", regs->pc, regs->ps); |
regs | 31 | arch/alpha/kernel/traps.c | printk("rp = [<%lx>] sp = %lx\n", regs->r26, sp); |
regs | 33 | arch/alpha/kernel/traps.c | regs->r0, regs->r1, regs->r2, regs->r3); |
regs | 34 | arch/alpha/kernel/traps.c | printk("r8=%lx\n", regs->r8); |
regs | 36 | arch/alpha/kernel/traps.c | regs->r16, regs->r17, regs->r18, regs->r19); |
regs | 38 | arch/alpha/kernel/traps.c | regs->r20, regs->r21, regs->r22, regs->r23); |
regs | 40 | arch/alpha/kernel/traps.c | regs->r24, regs->r25, regs->r26, regs->r27); |
regs | 42 | arch/alpha/kernel/traps.c | regs->r28, regs->gp, sp); |
regs | 44 | arch/alpha/kernel/traps.c | pc = (unsigned int *) regs->pc; |
regs | 54 | arch/alpha/kernel/traps.c | struct pt_regs regs) |
regs | 57 | arch/alpha/kernel/traps.c | extern long alpha_fp_emul_imprecise (struct pt_regs * regs, |
regs | 63 | arch/alpha/kernel/traps.c | if (alpha_fp_emul_imprecise(®s, write_mask)) { |
regs | 68 | arch/alpha/kernel/traps.c | current->comm, regs.pc, summary, write_mask); |
regs | 69 | arch/alpha/kernel/traps.c | die_if_kernel("Arithmetic fault", ®s, 0); |
regs | 75 | arch/alpha/kernel/traps.c | struct pt_regs regs) |
regs | 79 | arch/alpha/kernel/traps.c | die_if_kernel("Instruction fault", ®s, type); |
regs | 83 | arch/alpha/kernel/traps.c | regs.pc -= 4; /* make pc point to former bpt */ |
regs | 96 | arch/alpha/kernel/traps.c | switch ((long) regs.r16) { |
regs | 138 | arch/alpha/kernel/traps.c | opcode = get_user((__u32*)(regs.pc - 4)) >> 26; |
regs | 144 | arch/alpha/kernel/traps.c | if (!alpha_fp_emul(regs.pc - 4)) |
regs | 172 | arch/alpha/kernel/traps.c | unsigned long regs[32]; |
regs | 182 | arch/alpha/kernel/traps.c | struct allregs regs) |
regs | 192 | arch/alpha/kernel/traps.c | regs.pc - 4, va, opcode, reg); |
regs | 198 | arch/alpha/kernel/traps.c | unaligned[0].pc = regs.pc; |
regs | 205 | arch/alpha/kernel/traps.c | *(reg+regs.regs) = (int) ldl_u(va); |
regs | 208 | arch/alpha/kernel/traps.c | *(reg+regs.regs) = ldq_u(va); |
regs | 211 | arch/alpha/kernel/traps.c | stl_u(*(reg+regs.regs), va); |
regs | 214 | arch/alpha/kernel/traps.c | stq_u(*(reg+regs.regs), va); |
regs | 218 | arch/alpha/kernel/traps.c | regs.pc, va, opcode, reg); |
regs | 386 | arch/alpha/kernel/traps.c | unsigned long a3, unsigned long a4, unsigned long a5, struct pt_regs regs) |
regs | 388 | arch/alpha/kernel/traps.c | if (regs.r0 != 112) |
regs | 389 | arch/alpha/kernel/traps.c | printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2); |
regs | 325 | arch/alpha/math-emu/fp-emul.c | alpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask) |
regs | 327 | arch/alpha/math-emu/fp-emul.c | unsigned long trigger_pc = regs->pc - 4; |
regs | 380 | arch/alpha/math-emu/fp-emul.c | regs->pc = trigger_pc + 4; |
regs | 42 | arch/alpha/mm/fault.c | struct pt_regs regs) |
regs | 80 | arch/alpha/mm/fault.c | if (user_mode(®s)) { |
regs | 82 | arch/alpha/mm/fault.c | current->comm, regs.pc, regs.r26, address); |
regs | 83 | arch/alpha/mm/fault.c | die_if_kernel("oops", ®s, cause); |
regs | 93 | arch/alpha/mm/fault.c | die_if_kernel("Oops", ®s, cause); |
regs | 178 | arch/i386/kernel/irq.c | static void no_action(int cpl, void *dev_id, struct pt_regs *regs) { } |
regs | 202 | arch/i386/kernel/irq.c | static void math_error_irq(int cpl, void *dev_id, struct pt_regs *regs) |
regs | 343 | arch/i386/kernel/irq.c | asmlinkage void do_IRQ(int irq, struct pt_regs * regs) |
regs | 359 | arch/i386/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 207 | arch/i386/kernel/process.c | void show_regs(struct pt_regs * regs) |
regs | 210 | arch/i386/kernel/process.c | printk("EIP: %04x:[<%08lx>]",0xffff & regs->cs,regs->eip); |
regs | 211 | arch/i386/kernel/process.c | if (regs->cs & 3) |
regs | 212 | arch/i386/kernel/process.c | printk(" ESP: %04x:%08lx",0xffff & regs->ss,regs->esp); |
regs | 213 | arch/i386/kernel/process.c | printk(" EFLAGS: %08lx\n",regs->eflags); |
regs | 215 | arch/i386/kernel/process.c | regs->eax,regs->ebx,regs->ecx,regs->edx); |
regs | 217 | arch/i386/kernel/process.c | regs->esi, regs->edi, regs->ebp); |
regs | 219 | arch/i386/kernel/process.c | 0xffff & regs->ds,0xffff & regs->es, |
regs | 220 | arch/i386/kernel/process.c | 0xffff & regs->fs,0xffff & regs->gs); |
regs | 269 | arch/i386/kernel/process.c | struct task_struct * p, struct pt_regs * regs) |
regs | 286 | arch/i386/kernel/process.c | *childregs = *regs; |
regs | 290 | arch/i386/kernel/process.c | p->tss.eflags = regs->eflags & 0xffffcfff; /* iopl is always 0 for a new process */ |
regs | 337 | arch/i386/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
regs | 344 | arch/i386/kernel/process.c | dump->start_stack = regs->esp & ~(PAGE_SIZE - 1); |
regs | 355 | arch/i386/kernel/process.c | dump->regs = *regs; |
regs | 360 | arch/i386/kernel/process.c | asmlinkage int sys_fork(struct pt_regs regs) |
regs | 362 | arch/i386/kernel/process.c | return do_fork(SIGCHLD, regs.esp, ®s); |
regs | 365 | arch/i386/kernel/process.c | asmlinkage int sys_clone(struct pt_regs regs) |
regs | 370 | arch/i386/kernel/process.c | clone_flags = regs.ebx; |
regs | 371 | arch/i386/kernel/process.c | newsp = regs.ecx; |
regs | 373 | arch/i386/kernel/process.c | newsp = regs.esp; |
regs | 374 | arch/i386/kernel/process.c | return do_fork(clone_flags, newsp, ®s); |
regs | 380 | arch/i386/kernel/process.c | asmlinkage int sys_execve(struct pt_regs regs) |
regs | 385 | arch/i386/kernel/process.c | error = getname((char *) regs.ebx, &filename); |
regs | 388 | arch/i386/kernel/process.c | error = do_execve(filename, (char **) regs.ecx, (char **) regs.edx, ®s); |
regs | 23 | arch/i386/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs); |
regs | 31 | arch/i386/kernel/signal.c | struct pt_regs * regs = (struct pt_regs *) &restart; |
regs | 35 | arch/i386/kernel/signal.c | regs->eax = -EINTR; |
regs | 39 | arch/i386/kernel/signal.c | if (do_signal(mask,regs)) |
regs | 49 | arch/i386/kernel/signal.c | #define COPY(x) regs->x = context.x |
regs | 55 | arch/i386/kernel/signal.c | struct pt_regs * regs; |
regs | 57 | arch/i386/kernel/signal.c | regs = (struct pt_regs *) &__unused; |
regs | 58 | arch/i386/kernel/signal.c | if (verify_area(VERIFY_READ, (void *) regs->esp, sizeof(context))) |
regs | 60 | arch/i386/kernel/signal.c | memcpy_fromfs(&context,(void *) regs->esp, sizeof(context)); |
regs | 73 | arch/i386/kernel/signal.c | regs->eflags &= ~0x40DD5; |
regs | 74 | arch/i386/kernel/signal.c | regs->eflags |= context.eflags & 0x40DD5; |
regs | 75 | arch/i386/kernel/signal.c | regs->orig_eax = -1; /* disable syscall checks */ |
regs | 86 | arch/i386/kernel/signal.c | struct pt_regs * regs, int signr, unsigned long oldmask) |
regs | 93 | arch/i386/kernel/signal.c | if (regs->ss != USER_DS && sa->sa_restorer) |
regs | 104 | arch/i386/kernel/signal.c | put_fs_long(regs->gs, frame+2); |
regs | 105 | arch/i386/kernel/signal.c | put_fs_long(regs->fs, frame+3); |
regs | 106 | arch/i386/kernel/signal.c | put_fs_long(regs->es, frame+4); |
regs | 107 | arch/i386/kernel/signal.c | put_fs_long(regs->ds, frame+5); |
regs | 108 | arch/i386/kernel/signal.c | put_fs_long(regs->edi, frame+6); |
regs | 109 | arch/i386/kernel/signal.c | put_fs_long(regs->esi, frame+7); |
regs | 110 | arch/i386/kernel/signal.c | put_fs_long(regs->ebp, frame+8); |
regs | 112 | arch/i386/kernel/signal.c | put_fs_long(regs->ebx, frame+10); |
regs | 113 | arch/i386/kernel/signal.c | put_fs_long(regs->edx, frame+11); |
regs | 114 | arch/i386/kernel/signal.c | put_fs_long(regs->ecx, frame+12); |
regs | 115 | arch/i386/kernel/signal.c | put_fs_long(regs->eax, frame+13); |
regs | 119 | arch/i386/kernel/signal.c | put_fs_long(regs->cs, frame+17); |
regs | 120 | arch/i386/kernel/signal.c | put_fs_long(regs->eflags, frame+18); |
regs | 121 | arch/i386/kernel/signal.c | put_fs_long(regs->esp, frame+19); |
regs | 122 | arch/i386/kernel/signal.c | put_fs_long(regs->ss, frame+20); |
regs | 145 | arch/i386/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs) |
regs | 212 | arch/i386/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
regs | 225 | arch/i386/kernel/signal.c | if (regs->orig_eax >= 0) { |
regs | 226 | arch/i386/kernel/signal.c | if (regs->eax == -ERESTARTNOHAND || |
regs | 227 | arch/i386/kernel/signal.c | (regs->eax == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
regs | 228 | arch/i386/kernel/signal.c | regs->eax = -EINTR; |
regs | 233 | arch/i386/kernel/signal.c | if (regs->orig_eax >= 0 && |
regs | 234 | arch/i386/kernel/signal.c | (regs->eax == -ERESTARTNOHAND || |
regs | 235 | arch/i386/kernel/signal.c | regs->eax == -ERESTARTSYS || |
regs | 236 | arch/i386/kernel/signal.c | regs->eax == -ERESTARTNOINTR)) { |
regs | 237 | arch/i386/kernel/signal.c | regs->eax = regs->orig_eax; |
regs | 238 | arch/i386/kernel/signal.c | regs->eip -= 2; |
regs | 242 | arch/i386/kernel/signal.c | eip = regs->eip; |
regs | 243 | arch/i386/kernel/signal.c | frame = (unsigned long *) regs->esp; |
regs | 251 | arch/i386/kernel/signal.c | setup_frame(sa,&frame,eip,regs,signr,oldmask); |
regs | 255 | arch/i386/kernel/signal.c | regs->cs = USER_CS; regs->ss = USER_DS; |
regs | 256 | arch/i386/kernel/signal.c | regs->ds = USER_DS; regs->es = USER_DS; |
regs | 257 | arch/i386/kernel/signal.c | regs->gs = USER_DS; regs->fs = USER_DS; |
regs | 261 | arch/i386/kernel/signal.c | regs->esp = (unsigned long) frame; |
regs | 262 | arch/i386/kernel/signal.c | regs->eip = eip; /* "return" to the first handler */ |
regs | 263 | arch/i386/kernel/signal.c | regs->eflags &= ~TF_MASK; |
regs | 1055 | arch/i386/kernel/smp.c | void smp_reschedule_irq(int cpl, struct pt_regs *regs) |
regs | 1082 | arch/i386/kernel/smp.c | void smp_message_irq(int cpl, void *dev_id, struct pt_regs *regs) |
regs | 248 | arch/i386/kernel/time.c | static inline void timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 250 | arch/i386/kernel/time.c | do_timer(regs); |
regs | 277 | arch/i386/kernel/time.c | static void pentium_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 283 | arch/i386/kernel/time.c | timer_interrupt(irq, NULL, regs); |
regs | 39 | arch/i386/kernel/traps.c | asmlinkage void do_##name(struct pt_regs * regs, long error_code) \ |
regs | 46 | arch/i386/kernel/traps.c | die_if_kernel(str,regs,error_code); \ |
regs | 97 | arch/i386/kernel/traps.c | /*static*/ void die_if_kernel(const char * str, struct pt_regs * regs, long err) |
regs | 105 | arch/i386/kernel/traps.c | esp = (unsigned long) ®s->esp; |
regs | 107 | arch/i386/kernel/traps.c | if ((regs->eflags & VM_MASK) || (3 & regs->cs) == 3) |
regs | 109 | arch/i386/kernel/traps.c | if (regs->cs & 3) { |
regs | 110 | arch/i386/kernel/traps.c | esp = regs->esp; |
regs | 111 | arch/i386/kernel/traps.c | ss = regs->ss; |
regs | 116 | arch/i386/kernel/traps.c | printk("EIP: %04x:[<%08lx>]\nEFLAGS: %08lx\n", 0xffff & regs->cs,regs->eip,regs->eflags); |
regs | 118 | arch/i386/kernel/traps.c | regs->eax, regs->ebx, regs->ecx, regs->edx); |
regs | 120 | arch/i386/kernel/traps.c | regs->esi, regs->edi, regs->ebp, esp); |
regs | 122 | arch/i386/kernel/traps.c | regs->ds, regs->es, regs->fs, regs->gs, ss); |
regs | 162 | arch/i386/kernel/traps.c | printk("%02x ",0xff & get_seg_byte(regs->cs,(i+(char *)regs->eip))); |
regs | 181 | arch/i386/kernel/traps.c | asmlinkage void do_general_protection(struct pt_regs * regs, long error_code) |
regs | 183 | arch/i386/kernel/traps.c | if (regs->eflags & VM_MASK) { |
regs | 184 | arch/i386/kernel/traps.c | handle_vm86_fault((struct vm86_regs *) regs, error_code); |
regs | 187 | arch/i386/kernel/traps.c | die_if_kernel("general protection",regs,error_code); |
regs | 193 | arch/i386/kernel/traps.c | asmlinkage void do_nmi(struct pt_regs * regs, long error_code) |
regs | 206 | arch/i386/kernel/traps.c | asmlinkage void do_debug(struct pt_regs * regs, long error_code) |
regs | 208 | arch/i386/kernel/traps.c | if (regs->eflags & VM_MASK) { |
regs | 209 | arch/i386/kernel/traps.c | handle_vm86_debug((struct vm86_regs *) regs, error_code); |
regs | 217 | arch/i386/kernel/traps.c | if ((regs->cs & 3) == 0) { |
regs | 224 | arch/i386/kernel/traps.c | die_if_kernel("debug",regs,error_code); |
regs | 277 | arch/i386/kernel/traps.c | asmlinkage void do_coprocessor_error(struct pt_regs * regs, long error_code) |
regs | 36 | arch/i386/kernel/vm86.c | #define AL(regs) (((unsigned char *)&((regs)->eax))[0]) |
regs | 37 | arch/i386/kernel/vm86.c | #define AH(regs) (((unsigned char *)&((regs)->eax))[1]) |
regs | 38 | arch/i386/kernel/vm86.c | #define IP(regs) (*(unsigned short *)&((regs)->eip)) |
regs | 39 | arch/i386/kernel/vm86.c | #define SP(regs) (*(unsigned short *)&((regs)->esp)) |
regs | 53 | arch/i386/kernel/vm86.c | asmlinkage struct pt_regs * save_v86_state(struct vm86_regs * regs) |
regs | 61 | arch/i386/kernel/vm86.c | set_flags(regs->eflags, VEFLAGS, VIF_MASK | current->tss.v86mask); |
regs | 62 | arch/i386/kernel/vm86.c | memcpy_tofs(¤t->tss.vm86_info->regs,regs,sizeof(*regs)); |
regs | 118 | arch/i386/kernel/vm86.c | info.regs.__null_ds = 0; |
regs | 119 | arch/i386/kernel/vm86.c | info.regs.__null_es = 0; |
regs | 120 | arch/i386/kernel/vm86.c | info.regs.__null_fs = 0; |
regs | 121 | arch/i386/kernel/vm86.c | info.regs.__null_gs = 0; |
regs | 127 | arch/i386/kernel/vm86.c | VEFLAGS = info.regs.eflags; |
regs | 128 | arch/i386/kernel/vm86.c | info.regs.eflags &= SAFE_MASK; |
regs | 129 | arch/i386/kernel/vm86.c | info.regs.eflags |= pt_regs->eflags & ~SAFE_MASK; |
regs | 130 | arch/i386/kernel/vm86.c | info.regs.eflags |= VM_MASK; |
regs | 161 | arch/i386/kernel/vm86.c | :"r" (&info.regs)); |
regs | 176 | arch/i386/kernel/vm86.c | static inline void set_IF(struct vm86_regs * regs) |
regs | 180 | arch/i386/kernel/vm86.c | return_to_32bit(regs, VM86_STI); |
regs | 183 | arch/i386/kernel/vm86.c | static inline void clear_IF(struct vm86_regs * regs) |
regs | 188 | arch/i386/kernel/vm86.c | static inline void clear_TF(struct vm86_regs * regs) |
regs | 190 | arch/i386/kernel/vm86.c | regs->eflags &= ~TF_MASK; |
regs | 193 | arch/i386/kernel/vm86.c | static inline void set_vflags_long(unsigned long eflags, struct vm86_regs * regs) |
regs | 196 | arch/i386/kernel/vm86.c | set_flags(regs->eflags, eflags, SAFE_MASK); |
regs | 198 | arch/i386/kernel/vm86.c | set_IF(regs); |
regs | 201 | arch/i386/kernel/vm86.c | static inline void set_vflags_short(unsigned short flags, struct vm86_regs * regs) |
regs | 204 | arch/i386/kernel/vm86.c | set_flags(regs->eflags, flags, SAFE_MASK); |
regs | 206 | arch/i386/kernel/vm86.c | set_IF(regs); |
regs | 209 | arch/i386/kernel/vm86.c | static inline unsigned long get_vflags(struct vm86_regs * regs) |
regs | 211 | arch/i386/kernel/vm86.c | unsigned long flags = regs->eflags & RETURN_MASK; |
regs | 301 | arch/i386/kernel/vm86.c | static void do_int(struct vm86_regs *regs, int i, unsigned char * ssp, unsigned long sp) |
regs | 305 | arch/i386/kernel/vm86.c | if (regs->cs == BIOSSEG) |
regs | 309 | arch/i386/kernel/vm86.c | if (i==0x21 && is_revectored(AH(regs),¤t->tss.vm86_info->int21_revectored)) |
regs | 317 | arch/i386/kernel/vm86.c | pushw(ssp, sp, get_vflags(regs)); |
regs | 318 | arch/i386/kernel/vm86.c | pushw(ssp, sp, regs->cs); |
regs | 319 | arch/i386/kernel/vm86.c | pushw(ssp, sp, IP(regs)); |
regs | 320 | arch/i386/kernel/vm86.c | regs->cs = seg; |
regs | 321 | arch/i386/kernel/vm86.c | SP(regs) -= 6; |
regs | 322 | arch/i386/kernel/vm86.c | IP(regs) = get_fs_word(intr_ptr+0); |
regs | 323 | arch/i386/kernel/vm86.c | clear_TF(regs); |
regs | 324 | arch/i386/kernel/vm86.c | clear_IF(regs); |
regs | 328 | arch/i386/kernel/vm86.c | return_to_32bit(regs, VM86_INTx + (i << 8)); |
regs | 331 | arch/i386/kernel/vm86.c | void handle_vm86_debug(struct vm86_regs * regs, long error_code) |
regs | 334 | arch/i386/kernel/vm86.c | do_int(regs, 1, (unsigned char *) (regs->ss << 4), SP(regs)); |
regs | 344 | arch/i386/kernel/vm86.c | void handle_vm86_fault(struct vm86_regs * regs, long error_code) |
regs | 349 | arch/i386/kernel/vm86.c | csp = (unsigned char *) (regs->cs << 4); |
regs | 350 | arch/i386/kernel/vm86.c | ssp = (unsigned char *) (regs->ss << 4); |
regs | 351 | arch/i386/kernel/vm86.c | sp = SP(regs); |
regs | 352 | arch/i386/kernel/vm86.c | ip = IP(regs); |
regs | 362 | arch/i386/kernel/vm86.c | SP(regs) -= 4; |
regs | 363 | arch/i386/kernel/vm86.c | IP(regs) += 2; |
regs | 364 | arch/i386/kernel/vm86.c | pushl(ssp, sp, get_vflags(regs)); |
regs | 369 | arch/i386/kernel/vm86.c | SP(regs) += 4; |
regs | 370 | arch/i386/kernel/vm86.c | IP(regs) += 2; |
regs | 371 | arch/i386/kernel/vm86.c | set_vflags_long(popl(ssp, sp), regs); |
regs | 376 | arch/i386/kernel/vm86.c | SP(regs) += 12; |
regs | 377 | arch/i386/kernel/vm86.c | IP(regs) = (unsigned short)popl(ssp, sp); |
regs | 378 | arch/i386/kernel/vm86.c | regs->cs = (unsigned short)popl(ssp, sp); |
regs | 379 | arch/i386/kernel/vm86.c | set_vflags_long(popl(ssp, sp), regs); |
regs | 386 | arch/i386/kernel/vm86.c | SP(regs) -= 2; |
regs | 387 | arch/i386/kernel/vm86.c | IP(regs)++; |
regs | 388 | arch/i386/kernel/vm86.c | pushw(ssp, sp, get_vflags(regs)); |
regs | 393 | arch/i386/kernel/vm86.c | SP(regs) += 2; |
regs | 394 | arch/i386/kernel/vm86.c | IP(regs)++; |
regs | 395 | arch/i386/kernel/vm86.c | set_vflags_short(popw(ssp, sp), regs); |
regs | 400 | arch/i386/kernel/vm86.c | IP(regs) += 2; |
regs | 401 | arch/i386/kernel/vm86.c | do_int(regs, popb(csp, ip), ssp, sp); |
regs | 406 | arch/i386/kernel/vm86.c | SP(regs) += 6; |
regs | 407 | arch/i386/kernel/vm86.c | IP(regs) = popw(ssp, sp); |
regs | 408 | arch/i386/kernel/vm86.c | regs->cs = popw(ssp, sp); |
regs | 409 | arch/i386/kernel/vm86.c | set_vflags_short(popw(ssp, sp), regs); |
regs | 414 | arch/i386/kernel/vm86.c | IP(regs)++; |
regs | 415 | arch/i386/kernel/vm86.c | clear_IF(regs); |
regs | 426 | arch/i386/kernel/vm86.c | IP(regs)++; |
regs | 427 | arch/i386/kernel/vm86.c | set_IF(regs); |
regs | 434 | arch/i386/kernel/vm86.c | return_to_32bit(regs, VM86_UNKNOWN); |
regs | 41 | arch/i386/math-emu/fpu_aux.c | regs[r].tag = TW_Empty; |
regs | 120 | arch/i386/math-emu/fpu_emu.h | #define st(x) ( regs[((top+x) &7 )] ) |
regs | 126 | arch/i386/math-emu/fpu_emu.h | #define pop() { regs[(top++ & 7 )].tag = TW_Empty; } |
regs | 127 | arch/i386/math-emu/fpu_emu.h | #define poppop() { regs[((top + 1) & 7 )].tag \ |
regs | 128 | arch/i386/math-emu/fpu_emu.h | = regs[(top & 7 )].tag = TW_Empty; \ |
regs | 162 | arch/i386/math-emu/fpu_entry.c | regs[i].exp = 0; |
regs | 163 | arch/i386/math-emu/fpu_entry.c | regs[i].sigh = 0x80000000; |
regs | 300 | arch/i386/math-emu/fpu_entry.c | regs[r].tag = TW_Empty; |
regs | 60 | arch/i386/math-emu/fpu_system.h | #define regs (I387.soft.regs) |
regs | 1211 | arch/i386/math-emu/reg_ld_str.c | regs[i].tag = TW_Empty; |
regs | 1212 | arch/i386/math-emu/reg_ld_str.c | else if ( regs[i].tag == TW_Empty ) |
regs | 1216 | arch/i386/math-emu/reg_ld_str.c | if ( regs[i].exp == EXP_BIAS - EXTENDED_Ebias ) |
regs | 1218 | arch/i386/math-emu/reg_ld_str.c | if ( !(regs[i].sigl | regs[i].sigh) ) |
regs | 1219 | arch/i386/math-emu/reg_ld_str.c | regs[i].tag = TW_Zero; |
regs | 1221 | arch/i386/math-emu/reg_ld_str.c | regs[i].tag = TW_Valid; |
regs | 1223 | arch/i386/math-emu/reg_ld_str.c | else if ( regs[i].exp == 0x7fff + EXP_BIAS - EXTENDED_Ebias ) |
regs | 1225 | arch/i386/math-emu/reg_ld_str.c | if ( !((regs[i].sigh & ~0x80000000) | regs[i].sigl) ) |
regs | 1226 | arch/i386/math-emu/reg_ld_str.c | regs[i].tag = TW_Infinity; |
regs | 1228 | arch/i386/math-emu/reg_ld_str.c | regs[i].tag = TW_NaN; |
regs | 1231 | arch/i386/math-emu/reg_ld_str.c | regs[i].tag = TW_Valid; |
regs | 1251 | arch/i386/math-emu/reg_ld_str.c | tag = regs[stnr].tag; /* Derived from the fldenv() loaded tag word. */ |
regs | 1252 | arch/i386/math-emu/reg_ld_str.c | reg_load_extended((long double *)(s+i*10), ®s[stnr]); |
regs | 1254 | arch/i386/math-emu/reg_ld_str.c | regs[stnr].tag = tag; |
regs | 1268 | arch/i386/math-emu/reg_ld_str.c | switch ( tag = regs[i].tag ) |
regs | 1271 | arch/i386/math-emu/reg_ld_str.c | if ( regs[i].exp <= (EXP_BIAS - EXTENDED_Ebias) ) |
regs | 1368 | arch/i386/math-emu/reg_ld_str.c | write_to_extended(®s[(top + i) & 7], d + 10 * i); |
regs | 34 | arch/i386/mm/fault.c | asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code) |
regs | 56 | arch/i386/mm/fault.c | if (address + 32 < regs->esp) |
regs | 82 | arch/i386/mm/fault.c | if (regs->eflags & VM_MASK) { |
regs | 89 | arch/i386/mm/fault.c | if (regs->cs == KERNEL_CS) |
regs | 90 | arch/i386/mm/fault.c | printk("WP fault at %08x\n", regs->eip); |
regs | 140 | arch/i386/mm/fault.c | die_if_kernel("Oops", regs, error_code); |
regs | 105 | arch/mips/kernel/gdb-stub.c | void handle_exception(struct gdb_regs *regs); |
regs | 106 | arch/mips/kernel/gdb-stub.c | static void show_gdbregs(struct gdb_regs *regs); |
regs | 414 | arch/mips/kernel/gdb-stub.c | void handle_exception (struct gdb_regs *regs) |
regs | 425 | arch/mips/kernel/gdb-stub.c | show_gdbregs(regs); |
regs | 435 | arch/mips/kernel/gdb-stub.c | trap = (regs->cp0_cause & 0x7c) >> 2; |
regs | 438 | arch/mips/kernel/gdb-stub.c | if (((regs->cp0_cause >> CAUSEB_CE) & 3) == 1) { |
regs | 439 | arch/mips/kernel/gdb-stub.c | regs->cp0_status |= ST0_CU1; |
regs | 447 | arch/mips/kernel/gdb-stub.c | if (trap == 9 && regs->cp0_epc == (unsigned long)breakinst) |
regs | 448 | arch/mips/kernel/gdb-stub.c | regs->cp0_epc += 4; |
regs | 450 | arch/mips/kernel/gdb-stub.c | stack = (long *)regs->reg29; /* stack ptr */ |
regs | 471 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp0_epc, ptr, 4, 0); |
regs | 480 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->reg30, ptr, 4, 0); |
regs | 489 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->reg29, ptr, 4, 0); |
regs | 520 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->reg0, ptr, 32*4, 0); /* r0...r31 */ |
regs | 521 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp0_status, ptr, 6*4, 0); /* cp0 */ |
regs | 522 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->fpr0, ptr, 32*4, 0); /* f0...31 */ |
regs | 523 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp1_fsr, ptr, 2*4, 0); /* cp1 */ |
regs | 524 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->frame_ptr, ptr, 2*4, 0); /* frp */ |
regs | 525 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp0_index, ptr, 16*4, 0); /* cp0 */ |
regs | 597 | arch/mips/kernel/gdb-stub.c | regs->cp0_epc = addr; |
regs | 725 | arch/mips/kernel/gdb-stub.c | void show_gdbregs(struct gdb_regs * regs) |
regs | 731 | arch/mips/kernel/gdb-stub.c | regs->reg0, regs->reg1, regs->reg2, regs->reg3, |
regs | 732 | arch/mips/kernel/gdb-stub.c | regs->reg4, regs->reg5, regs->reg6, regs->reg7); |
regs | 734 | arch/mips/kernel/gdb-stub.c | regs->reg8, regs->reg9, regs->reg10, regs->reg11, |
regs | 735 | arch/mips/kernel/gdb-stub.c | regs->reg12, regs->reg13, regs->reg14, regs->reg15); |
regs | 737 | arch/mips/kernel/gdb-stub.c | regs->reg16, regs->reg17, regs->reg18, regs->reg19, |
regs | 738 | arch/mips/kernel/gdb-stub.c | regs->reg20, regs->reg21, regs->reg22, regs->reg23); |
regs | 740 | arch/mips/kernel/gdb-stub.c | regs->reg24, regs->reg25, regs->reg26, regs->reg27, |
regs | 741 | arch/mips/kernel/gdb-stub.c | regs->reg28, regs->reg29, regs->reg30, regs->reg31); |
regs | 747 | arch/mips/kernel/gdb-stub.c | regs->cp0_epc, regs->cp0_status, regs->cp0_cause); |
regs | 143 | arch/mips/kernel/irq.c | asmlinkage void do_IRQ(int irq, struct pt_regs * regs) |
regs | 151 | arch/mips/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 306 | arch/mips/kernel/irq.c | static void no_action(int cpl, void *dev_id, struct pt_regs * regs) { } |
regs | 69 | arch/mips/kernel/process.c | void show_regs(struct pt_regs * regs) |
regs | 75 | arch/mips/kernel/process.c | 0, regs->reg1, regs->reg2, regs->reg3, |
regs | 76 | arch/mips/kernel/process.c | regs->reg4, regs->reg5, regs->reg6, regs->reg7); |
regs | 78 | arch/mips/kernel/process.c | regs->reg8, regs->reg9, regs->reg10, regs->reg11, |
regs | 79 | arch/mips/kernel/process.c | regs->reg12, regs->reg13, regs->reg14, regs->reg15); |
regs | 81 | arch/mips/kernel/process.c | regs->reg16, regs->reg17, regs->reg18, regs->reg19, |
regs | 82 | arch/mips/kernel/process.c | regs->reg20, regs->reg21, regs->reg22, regs->reg23); |
regs | 84 | arch/mips/kernel/process.c | regs->reg24, regs->reg25, regs->reg28, regs->reg29, |
regs | 85 | arch/mips/kernel/process.c | regs->reg30, regs->reg31); |
regs | 91 | arch/mips/kernel/process.c | regs->cp0_epc, regs->cp0_status, regs->cp0_cause); |
regs | 119 | arch/mips/kernel/process.c | struct task_struct * p, struct pt_regs * regs) |
regs | 129 | arch/mips/kernel/process.c | *childregs = *regs; |
regs | 132 | arch/mips/kernel/process.c | regs->reg2 = p->pid; |
regs | 168 | arch/mips/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
regs | 24 | arch/mips/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs *regs); |
regs | 32 | arch/mips/kernel/signal.c | struct pt_regs * regs = (struct pt_regs *) &restart; |
regs | 36 | arch/mips/kernel/signal.c | regs->reg2 = -EINTR; |
regs | 40 | arch/mips/kernel/signal.c | if (do_signal(mask,regs)) |
regs | 48 | arch/mips/kernel/signal.c | asmlinkage int sys_sigreturn(struct pt_regs *regs) |
regs | 57 | arch/mips/kernel/signal.c | context = (struct sigcontext_struct *) regs->reg29; |
regs | 59 | arch/mips/kernel/signal.c | (regs->reg29 & 3)) |
regs | 63 | arch/mips/kernel/signal.c | regs->reg1 = context->sc_at; |
regs | 64 | arch/mips/kernel/signal.c | regs->reg2 = context->sc_v0; |
regs | 65 | arch/mips/kernel/signal.c | regs->reg3 = context->sc_v1; |
regs | 66 | arch/mips/kernel/signal.c | regs->reg4 = context->sc_a0; |
regs | 67 | arch/mips/kernel/signal.c | regs->reg5 = context->sc_a1; |
regs | 68 | arch/mips/kernel/signal.c | regs->reg6 = context->sc_a2; |
regs | 69 | arch/mips/kernel/signal.c | regs->reg7 = context->sc_a3; |
regs | 70 | arch/mips/kernel/signal.c | regs->reg8 = context->sc_t0; |
regs | 71 | arch/mips/kernel/signal.c | regs->reg9 = context->sc_t1; |
regs | 72 | arch/mips/kernel/signal.c | regs->reg10 = context->sc_t2; |
regs | 73 | arch/mips/kernel/signal.c | regs->reg11 = context->sc_t3; |
regs | 74 | arch/mips/kernel/signal.c | regs->reg12 = context->sc_t4; |
regs | 75 | arch/mips/kernel/signal.c | regs->reg13 = context->sc_t5; |
regs | 76 | arch/mips/kernel/signal.c | regs->reg14 = context->sc_t6; |
regs | 77 | arch/mips/kernel/signal.c | regs->reg15 = context->sc_t7; |
regs | 78 | arch/mips/kernel/signal.c | regs->reg16 = context->sc_s0; |
regs | 79 | arch/mips/kernel/signal.c | regs->reg17 = context->sc_s1; |
regs | 80 | arch/mips/kernel/signal.c | regs->reg18 = context->sc_s2; |
regs | 81 | arch/mips/kernel/signal.c | regs->reg19 = context->sc_s3; |
regs | 82 | arch/mips/kernel/signal.c | regs->reg20 = context->sc_s4; |
regs | 83 | arch/mips/kernel/signal.c | regs->reg21 = context->sc_s5; |
regs | 84 | arch/mips/kernel/signal.c | regs->reg22 = context->sc_s6; |
regs | 85 | arch/mips/kernel/signal.c | regs->reg23 = context->sc_s7; |
regs | 86 | arch/mips/kernel/signal.c | regs->reg24 = context->sc_t8; |
regs | 87 | arch/mips/kernel/signal.c | regs->reg25 = context->sc_t9; |
regs | 91 | arch/mips/kernel/signal.c | regs->reg28 = context->sc_gp; |
regs | 92 | arch/mips/kernel/signal.c | regs->reg29 = context->sc_sp; |
regs | 93 | arch/mips/kernel/signal.c | regs->reg30 = context->sc_fp; |
regs | 94 | arch/mips/kernel/signal.c | regs->reg31 = context->sc_ra; |
regs | 95 | arch/mips/kernel/signal.c | regs->cp0_epc = context->sc_epc; |
regs | 96 | arch/mips/kernel/signal.c | regs->cp0_cause = context->sc_cause; |
regs | 101 | arch/mips/kernel/signal.c | regs->orig_reg2 = -1; |
regs | 147 | arch/mips/kernel/signal.c | unsigned long pc, struct pt_regs *regs, |
regs | 185 | arch/mips/kernel/signal.c | frame->scc.sc_at = regs->reg1; /* Assembler temporary */ |
regs | 186 | arch/mips/kernel/signal.c | frame->scc.sc_v0 = regs->reg2; /* Result registers */ |
regs | 187 | arch/mips/kernel/signal.c | frame->scc.sc_v1 = regs->reg3; |
regs | 188 | arch/mips/kernel/signal.c | frame->scc.sc_a0 = regs->reg4; /* Argument registers */ |
regs | 189 | arch/mips/kernel/signal.c | frame->scc.sc_a1 = regs->reg5; |
regs | 190 | arch/mips/kernel/signal.c | frame->scc.sc_a2 = regs->reg6; |
regs | 191 | arch/mips/kernel/signal.c | frame->scc.sc_a3 = regs->reg7; |
regs | 193 | arch/mips/kernel/signal.c | frame->scc.sc_t0 = regs->reg8; /* Caller saved */ |
regs | 194 | arch/mips/kernel/signal.c | frame->scc.sc_t1 = regs->reg9; |
regs | 195 | arch/mips/kernel/signal.c | frame->scc.sc_t2 = regs->reg10; |
regs | 196 | arch/mips/kernel/signal.c | frame->scc.sc_t3 = regs->reg11; |
regs | 197 | arch/mips/kernel/signal.c | frame->scc.sc_t4 = regs->reg12; |
regs | 198 | arch/mips/kernel/signal.c | frame->scc.sc_t5 = regs->reg13; |
regs | 199 | arch/mips/kernel/signal.c | frame->scc.sc_t6 = regs->reg14; |
regs | 200 | arch/mips/kernel/signal.c | frame->scc.sc_t7 = regs->reg15; |
regs | 202 | arch/mips/kernel/signal.c | frame->scc.sc_s0 = regs->reg16; /* Callee saved */ |
regs | 203 | arch/mips/kernel/signal.c | frame->scc.sc_s1 = regs->reg17; |
regs | 204 | arch/mips/kernel/signal.c | frame->scc.sc_s2 = regs->reg18; |
regs | 205 | arch/mips/kernel/signal.c | frame->scc.sc_s3 = regs->reg19; |
regs | 206 | arch/mips/kernel/signal.c | frame->scc.sc_s4 = regs->reg20; |
regs | 207 | arch/mips/kernel/signal.c | frame->scc.sc_s5 = regs->reg21; |
regs | 208 | arch/mips/kernel/signal.c | frame->scc.sc_s6 = regs->reg22; |
regs | 209 | arch/mips/kernel/signal.c | frame->scc.sc_s7 = regs->reg23; |
regs | 211 | arch/mips/kernel/signal.c | frame->scc.sc_t8 = regs->reg24; /* Caller saved */ |
regs | 212 | arch/mips/kernel/signal.c | frame->scc.sc_t9 = regs->reg25; |
regs | 217 | arch/mips/kernel/signal.c | frame->scc.sc_gp = regs->reg28; /* global pointer / s8 */ |
regs | 218 | arch/mips/kernel/signal.c | frame->scc.sc_sp = regs->reg29; /* old stack pointer */ |
regs | 219 | arch/mips/kernel/signal.c | frame->scc.sc_fp = regs->reg30; /* old frame pointer */ |
regs | 220 | arch/mips/kernel/signal.c | frame->scc.sc_ra = regs->reg31; /* old return address */ |
regs | 222 | arch/mips/kernel/signal.c | frame->scc.sc_epc = regs->cp0_epc; /* Program counter */ |
regs | 223 | arch/mips/kernel/signal.c | frame->scc.sc_cause = regs->cp0_cause; /* c0_epc register */ |
regs | 228 | arch/mips/kernel/signal.c | regs->reg4 = signr; /* argument for handler */ |
regs | 240 | arch/mips/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs) |
regs | 299 | arch/mips/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
regs | 312 | arch/mips/kernel/signal.c | if (regs->orig_reg2 >= 0) { |
regs | 313 | arch/mips/kernel/signal.c | if (regs->reg2 == -ERESTARTNOHAND || |
regs | 314 | arch/mips/kernel/signal.c | (regs->reg2 == -ERESTARTSYS && |
regs | 316 | arch/mips/kernel/signal.c | regs->reg2 = -EINTR; |
regs | 326 | arch/mips/kernel/signal.c | if (regs->orig_reg2 >= 0 && |
regs | 327 | arch/mips/kernel/signal.c | (regs->reg2 == -ERESTARTNOHAND || |
regs | 328 | arch/mips/kernel/signal.c | regs->reg2 == -ERESTARTSYS || |
regs | 329 | arch/mips/kernel/signal.c | regs->reg2 == -ERESTARTNOINTR)) |
regs | 331 | arch/mips/kernel/signal.c | regs->reg2 = regs->orig_reg2; |
regs | 332 | arch/mips/kernel/signal.c | regs->cp0_epc -= 8; |
regs | 336 | arch/mips/kernel/signal.c | pc = regs->cp0_epc; |
regs | 337 | arch/mips/kernel/signal.c | frame = (struct sc *) regs->reg29; |
regs | 345 | arch/mips/kernel/signal.c | setup_frame(sa, &frame, pc, regs, signr, oldmask); |
regs | 352 | arch/mips/kernel/signal.c | regs->reg29 = (unsigned long) frame; /* Stack pointer */ |
regs | 353 | arch/mips/kernel/signal.c | regs->reg31 = (unsigned long) frame->code; /* Return address */ |
regs | 354 | arch/mips/kernel/signal.c | regs->cp0_epc = pc; /* "return" to the first handler */ |
regs | 21 | arch/mips/kernel/syscall.c | extern asmlinkage int do_syscalls(struct pt_regs *regs, syscall_t fun, |
regs | 26 | arch/mips/kernel/syscall.c | asmlinkage int sys_pipe(struct pt_regs *regs) |
regs | 34 | arch/mips/kernel/syscall.c | regs->reg2 = fd[0]; |
regs | 35 | arch/mips/kernel/syscall.c | regs->reg3 = fd[1]; |
regs | 72 | arch/mips/kernel/syscall.c | asmlinkage int sys_fork(struct pt_regs *regs) |
regs | 74 | arch/mips/kernel/syscall.c | return do_fork(SIGCHLD, regs->reg29, regs); |
regs | 77 | arch/mips/kernel/syscall.c | asmlinkage int sys_clone(struct pt_regs *regs) |
regs | 82 | arch/mips/kernel/syscall.c | clone_flags = regs->reg4; |
regs | 83 | arch/mips/kernel/syscall.c | newsp = regs->reg5; |
regs | 85 | arch/mips/kernel/syscall.c | newsp = regs->reg29; |
regs | 86 | arch/mips/kernel/syscall.c | return do_fork(clone_flags, newsp, regs); |
regs | 92 | arch/mips/kernel/syscall.c | asmlinkage int sys_execve(struct pt_regs *regs) |
regs | 97 | arch/mips/kernel/syscall.c | error = getname((char *) regs->reg4, &filename); |
regs | 100 | arch/mips/kernel/syscall.c | error = do_execve(filename, (char **) regs->reg5, |
regs | 101 | arch/mips/kernel/syscall.c | (char **) regs->reg6, regs); |
regs | 132 | arch/mips/kernel/syscall.c | void do_sys(struct pt_regs *regs) |
regs | 141 | arch/mips/kernel/syscall.c | if (regs->cp0_cause & CAUSEF_BD) |
regs | 154 | arch/mips/kernel/syscall.c | regs->cp0_epc += 4; |
regs | 156 | arch/mips/kernel/syscall.c | syscallnr = regs->reg2; |
regs | 173 | arch/mips/kernel/syscall.c | usp = regs->reg29; |
regs | 178 | arch/mips/kernel/syscall.c | regs->reg2 = EFAULT; |
regs | 179 | arch/mips/kernel/syscall.c | regs->reg7 = 1; |
regs | 190 | arch/mips/kernel/syscall.c | errno = do_syscalls(regs, syscall, narg); |
regs | 194 | arch/mips/kernel/syscall.c | regs->reg2 = errno; |
regs | 195 | arch/mips/kernel/syscall.c | regs->reg7 = 0; |
regs | 201 | arch/mips/kernel/syscall.c | errno = do_syscalls(regs, syscall, narg); |
regs | 204 | arch/mips/kernel/syscall.c | regs->reg2 = -errno; |
regs | 205 | arch/mips/kernel/syscall.c | regs->reg7 = 1; |
regs | 209 | arch/mips/kernel/syscall.c | regs->reg2 = errno; |
regs | 210 | arch/mips/kernel/syscall.c | regs->reg7 = 0; |
regs | 218 | arch/mips/kernel/syscall.c | regs->reg2 = -errno; |
regs | 219 | arch/mips/kernel/syscall.c | regs->reg7 = 1; |
regs | 222 | arch/mips/kernel/syscall.c | regs->reg2 = ENOSYS; |
regs | 223 | arch/mips/kernel/syscall.c | regs->reg7 = 1; |
regs | 187 | arch/mips/kernel/time.c | static void timer_interrupt(int irq, struct pt_regs * regs) |
regs | 189 | arch/mips/kernel/time.c | do_timer(regs); |
regs | 83 | arch/mips/kernel/traps.c | void die_if_kernel(char * str, struct pt_regs * regs, long err) |
regs | 90 | arch/mips/kernel/traps.c | if ((regs->cp0_status & (ST0_ERL|ST0_EXL)) == 0) |
regs | 93 | arch/mips/kernel/traps.c | sp = (u32 *)regs->reg29; |
regs | 94 | arch/mips/kernel/traps.c | pc = (u32 *)regs->cp0_epc; |
regs | 99 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 160 | arch/mips/kernel/traps.c | fix_ade(struct pt_regs *regs, int write) |
regs | 166 | arch/mips/kernel/traps.c | void do_adel(struct pt_regs *regs) |
regs | 170 | arch/mips/kernel/traps.c | fix_ade(regs, 0); |
regs | 173 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 179 | arch/mips/kernel/traps.c | void do_ades(struct pt_regs *regs) |
regs | 181 | arch/mips/kernel/traps.c | unsigned long pc = regs->cp0_epc; |
regs | 186 | arch/mips/kernel/traps.c | fix_ade(regs, 1); |
regs | 196 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 210 | arch/mips/kernel/traps.c | void do_ibe(struct pt_regs *regs) |
regs | 212 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 217 | arch/mips/kernel/traps.c | void do_dbe(struct pt_regs *regs) |
regs | 219 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 224 | arch/mips/kernel/traps.c | void do_ov(struct pt_regs *regs) |
regs | 226 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 231 | arch/mips/kernel/traps.c | void do_fpe(struct pt_regs *regs) |
regs | 233 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 238 | arch/mips/kernel/traps.c | void do_bp(struct pt_regs *regs) |
regs | 240 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 245 | arch/mips/kernel/traps.c | void do_tr(struct pt_regs *regs) |
regs | 247 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 252 | arch/mips/kernel/traps.c | void do_ri(struct pt_regs *regs) |
regs | 262 | arch/mips/kernel/traps.c | show_regs(regs); |
regs | 267 | arch/mips/kernel/traps.c | void do_cpu(struct pt_regs *regs) |
regs | 271 | arch/mips/kernel/traps.c | cpid = (regs->cp0_cause >> CAUSEB_CE) & 3; |
regs | 275 | arch/mips/kernel/traps.c | regs->cp0_status |= ST0_CU1; |
regs | 288 | arch/mips/kernel/traps.c | void do_vcei(struct pt_regs *regs) |
regs | 297 | arch/mips/kernel/traps.c | void do_vced(struct pt_regs *regs) |
regs | 306 | arch/mips/kernel/traps.c | void do_watch(struct pt_regs *regs) |
regs | 311 | arch/mips/kernel/traps.c | void do_reserved(struct pt_regs *regs) |
regs | 29 | arch/mips/mm/fault.c | do_page_fault(struct pt_regs *regs, unsigned long writeaccess, unsigned long address) |
regs | 36 | arch/mips/mm/fault.c | address, regs->cp0_epc, regs->reg31); |
regs | 70 | arch/mips/mm/fault.c | if (user_mode(regs)) { |
regs | 82 | arch/mips/mm/fault.c | die_if_kernel("Oops", regs, writeaccess); |
regs | 108 | arch/ppc/kernel/irq.c | asmlinkage void handle_IRQ(struct pt_regs *regs) |
regs | 140 | arch/ppc/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 340 | arch/ppc/kernel/irq.c | static void no_action(int cpl, void *dev_id, struct pt_regs * regs) { } |
regs | 28 | arch/ppc/kernel/mk_defs.c | struct pt_regs regs; |
regs | 94 | arch/ppc/kernel/mk_defs.c | put_line(out, "INT_FRAME_SIZE", sizeof(regs)); |
regs | 95 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR0", (int)®s.gpr[0]-(int)®s); |
regs | 96 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR1", (int)®s.gpr[1]-(int)®s); |
regs | 97 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR2", (int)®s.gpr[2]-(int)®s); |
regs | 98 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR3", (int)®s.gpr[3]-(int)®s); |
regs | 99 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR4", (int)®s.gpr[4]-(int)®s); |
regs | 100 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR5", (int)®s.gpr[5]-(int)®s); |
regs | 101 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR6", (int)®s.gpr[6]-(int)®s); |
regs | 102 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR7", (int)®s.gpr[7]-(int)®s); |
regs | 103 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR8", (int)®s.gpr[8]-(int)®s); |
regs | 104 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR9", (int)®s.gpr[9]-(int)®s); |
regs | 105 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR10", (int)®s.gpr[10]-(int)®s); |
regs | 106 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR11", (int)®s.gpr[11]-(int)®s); |
regs | 107 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR12", (int)®s.gpr[12]-(int)®s); |
regs | 108 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR13", (int)®s.gpr[13]-(int)®s); |
regs | 109 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR14", (int)®s.gpr[14]-(int)®s); |
regs | 110 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR15", (int)®s.gpr[15]-(int)®s); |
regs | 111 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR16", (int)®s.gpr[16]-(int)®s); |
regs | 112 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR17", (int)®s.gpr[17]-(int)®s); |
regs | 113 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR18", (int)®s.gpr[18]-(int)®s); |
regs | 114 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR19", (int)®s.gpr[19]-(int)®s); |
regs | 115 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR20", (int)®s.gpr[20]-(int)®s); |
regs | 116 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR21", (int)®s.gpr[21]-(int)®s); |
regs | 117 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR22", (int)®s.gpr[22]-(int)®s); |
regs | 118 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR23", (int)®s.gpr[23]-(int)®s); |
regs | 119 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR24", (int)®s.gpr[24]-(int)®s); |
regs | 120 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR25", (int)®s.gpr[25]-(int)®s); |
regs | 121 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR26", (int)®s.gpr[26]-(int)®s); |
regs | 122 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR27", (int)®s.gpr[27]-(int)®s); |
regs | 123 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR28", (int)®s.gpr[28]-(int)®s); |
regs | 124 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR29", (int)®s.gpr[29]-(int)®s); |
regs | 125 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR30", (int)®s.gpr[30]-(int)®s); |
regs | 126 | arch/ppc/kernel/mk_defs.c | put_line(out, "GPR31", (int)®s.gpr[31]-(int)®s); |
regs | 127 | arch/ppc/kernel/mk_defs.c | put_line(out, "FPR0", (int)®s.fpr[0]-(int)®s); |
regs | 128 | arch/ppc/kernel/mk_defs.c | put_line(out, "FPR1", (int)®s.fpr[1]-(int)®s); |
regs | 129 | arch/ppc/kernel/mk_defs.c | put_line(out, "FPR2", (int)®s.fpr[2]-(int)®s); |
regs | 130 | arch/ppc/kernel/mk_defs.c | put_line(out, "FPR3", (int)®s.fpr[3]-(int)®s); |
regs | 131 | arch/ppc/kernel/mk_defs.c | put_line(out, "FPCSR", (int)®s.fpcsr-(int)®s); |
regs | 133 | arch/ppc/kernel/mk_defs.c | put_line(out, "_NIP", (int)®s.nip-(int)®s); |
regs | 134 | arch/ppc/kernel/mk_defs.c | put_line(out, "_MSR", (int)®s.msr-(int)®s); |
regs | 135 | arch/ppc/kernel/mk_defs.c | put_line(out, "_CTR", (int)®s.ctr-(int)®s); |
regs | 136 | arch/ppc/kernel/mk_defs.c | put_line(out, "_LINK", (int)®s.link-(int)®s); |
regs | 137 | arch/ppc/kernel/mk_defs.c | put_line(out, "_CCR", (int)®s.ccr-(int)®s); |
regs | 138 | arch/ppc/kernel/mk_defs.c | put_line(out, "_XER", (int)®s.xer-(int)®s); |
regs | 139 | arch/ppc/kernel/mk_defs.c | put_line(out, "_DAR", (int)®s.dar-(int)®s); |
regs | 140 | arch/ppc/kernel/mk_defs.c | put_line(out, "_DSISR", (int)®s.dsisr-(int)®s); |
regs | 141 | arch/ppc/kernel/mk_defs.c | put_line(out, "_HASH1", (int)®s.hash1-(int)®s); |
regs | 142 | arch/ppc/kernel/mk_defs.c | put_line(out, "_HASH2", (int)®s.hash2-(int)®s); |
regs | 143 | arch/ppc/kernel/mk_defs.c | put_line(out, "_IMISS", (int)®s.imiss-(int)®s); |
regs | 144 | arch/ppc/kernel/mk_defs.c | put_line(out, "_DMISS", (int)®s.dmiss-(int)®s); |
regs | 145 | arch/ppc/kernel/mk_defs.c | put_line(out, "_ICMP", (int)®s.icmp-(int)®s); |
regs | 146 | arch/ppc/kernel/mk_defs.c | put_line(out, "_DCMP", (int)®s.dcmp-(int)®s); |
regs | 147 | arch/ppc/kernel/mk_defs.c | put_line(out, "ORIG_GPR3", (int)®s.orig_gpr3-(int)®s); |
regs | 148 | arch/ppc/kernel/mk_defs.c | put_line(out, "RESULT", (int)®s.result-(int)®s); |
regs | 149 | arch/ppc/kernel/mk_defs.c | put_line(out, "TRAP", (int)®s.trap-(int)®s); |
regs | 150 | arch/ppc/kernel/mk_defs.c | put_line(out, "MARKER", (int)®s.marker-(int)®s); |
regs | 41 | arch/ppc/kernel/process.c | struct pt_regs *regs; |
regs | 44 | arch/ppc/kernel/process.c | regs = (struct pt_regs *)new->tss.ksp; |
regs | 79 | arch/ppc/kernel/process.c | void show_regs(struct pt_regs * regs) |
regs | 99 | arch/ppc/kernel/process.c | struct task_struct * p, struct pt_regs * regs) |
regs | 124 | arch/ppc/kernel/process.c | *childregs = *regs; /* STRUCT COPY */ |
regs | 127 | arch/ppc/kernel/process.c | if (usp >= (unsigned long)regs) |
regs | 139 | arch/ppc/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
regs | 147 | arch/ppc/kernel/process.c | void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp) |
regs | 149 | arch/ppc/kernel/process.c | regs->nip = eip; |
regs | 150 | arch/ppc/kernel/process.c | regs->gpr[1] = esp; |
regs | 151 | arch/ppc/kernel/process.c | regs->msr = MSR_USER; |
regs | 156 | arch/ppc/kernel/process.c | regs, eip, regs->msr, esp); |
regs | 163 | arch/ppc/kernel/process.c | asmlinkage int sys_newselect(int p1, int p2, int p3, int p4, int p5, int p6, struct pt_regs *regs) |
regs | 168 | arch/ppc/kernel/process.c | asmlinkage int sys_fork(int p1, int p2, int p3, int p4, int p5, int p6, struct pt_regs *regs) |
regs | 181 | arch/ppc/kernel/process.c | return do_fork( SIGCHLD, regs->gpr[1], regs); |
regs | 186 | arch/ppc/kernel/process.c | struct pt_regs *regs) |
regs | 193 | arch/ppc/kernel/process.c | if ( regs->marker != 0xDEADDEAD ) |
regs | 201 | arch/ppc/kernel/process.c | error = do_execve(filename, (char **) a1, (char **) a2, regs); |
regs | 210 | arch/ppc/kernel/process.c | struct pt_regs *regs) |
regs | 215 | arch/ppc/kernel/process.c | usp = regs->gpr[1]; |
regs | 220 | arch/ppc/kernel/process.c | return do_fork(/*clone_flags*/CLONE_VM, /*usp*/ regs->gpr[1], regs); |
regs | 26 | arch/ppc/kernel/signal.c | asmlinkage int sys_sigsuspend(unsigned long set, int p2, int p3, int p4, int p6, int p7, struct pt_regs *regs) |
regs | 32 | arch/ppc/kernel/signal.c | regs->gpr[3] = -EINTR; |
regs | 34 | arch/ppc/kernel/signal.c | printk("Task: %x[%d] - SIGSUSPEND at %x, Mask: %x\n", current, current->pid, regs->nip, set); |
regs | 39 | arch/ppc/kernel/signal.c | if (do_signal(mask,regs)) |
regs | 47 | arch/ppc/kernel/signal.c | asmlinkage int sys_sigreturn(struct pt_regs *regs) |
regs | 52 | arch/ppc/kernel/signal.c | sc = (struct sigcontext_struct *)regs->gpr[1]; |
regs | 54 | arch/ppc/kernel/signal.c | int_regs = sc->regs; |
regs | 59 | arch/ppc/kernel/signal.c | memcpy(regs, int_regs, sizeof(*regs)); |
regs | 60 | arch/ppc/kernel/signal.c | if ((int)regs->orig_gpr3 >= 0 && |
regs | 61 | arch/ppc/kernel/signal.c | ((int)regs->result == -ERESTARTNOHAND || |
regs | 62 | arch/ppc/kernel/signal.c | (int)regs->result == -ERESTARTSYS || |
regs | 63 | arch/ppc/kernel/signal.c | (int)regs->result == -ERESTARTNOINTR)) |
regs | 65 | arch/ppc/kernel/signal.c | regs->gpr[3] = regs->orig_gpr3; |
regs | 66 | arch/ppc/kernel/signal.c | regs->nip -= 4; /* Back up & retry system call */ |
regs | 67 | arch/ppc/kernel/signal.c | regs->result = 0; |
regs | 69 | arch/ppc/kernel/signal.c | return (regs->result); |
regs | 72 | arch/ppc/kernel/signal.c | regs->gpr[1] = (unsigned long)sc; |
regs | 73 | arch/ppc/kernel/signal.c | regs->gpr[3] = sc->signal; |
regs | 74 | arch/ppc/kernel/signal.c | regs->gpr[4] = sc->regs; |
regs | 75 | arch/ppc/kernel/signal.c | regs->link = (unsigned long)((sc->regs)+1); |
regs | 76 | arch/ppc/kernel/signal.c | regs->nip = sc->handler; |
regs | 91 | arch/ppc/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs) |
regs | 163 | arch/ppc/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
regs | 176 | arch/ppc/kernel/signal.c | if ((int)regs->orig_gpr3 >= 0) { |
regs | 177 | arch/ppc/kernel/signal.c | if ((int)regs->result == -ERESTARTNOHAND || |
regs | 178 | arch/ppc/kernel/signal.c | ((int)regs->result == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
regs | 179 | arch/ppc/kernel/signal.c | (int)regs->result = -EINTR; |
regs | 189 | arch/ppc/kernel/signal.c | nip = regs->nip; |
regs | 190 | arch/ppc/kernel/signal.c | frame = (unsigned long *) regs->gpr[1]; |
regs | 196 | arch/ppc/kernel/signal.c | frame -= sizeof(*regs) / sizeof(long); |
regs | 198 | arch/ppc/kernel/signal.c | memcpy(regs_ptr, regs, sizeof(*regs)); |
regs | 216 | arch/ppc/kernel/signal.c | sc->regs = (unsigned long)regs_ptr; |
regs | 219 | arch/ppc/kernel/signal.c | regs->gpr[3] = signr; |
regs | 220 | arch/ppc/kernel/signal.c | regs->gpr[4] = (unsigned long)regs_ptr; |
regs | 222 | arch/ppc/kernel/signal.c | regs->link = (unsigned long)trampoline; |
regs | 223 | arch/ppc/kernel/signal.c | regs->nip = nip; |
regs | 224 | arch/ppc/kernel/signal.c | regs->gpr[1] = (unsigned long)sc; |
regs | 41 | arch/ppc/kernel/traps.c | _exception(int signr, struct pt_regs *regs) |
regs | 43 | arch/ppc/kernel/traps.c | dump_regs(regs); |
regs | 45 | arch/ppc/kernel/traps.c | if (!user_mode(regs)) |
regs | 47 | arch/ppc/kernel/traps.c | printk("Failure in kernel at PC: %x, MSR: %x\n", regs->nip, regs->msr); |
regs | 52 | arch/ppc/kernel/traps.c | MachineCheckException(struct pt_regs *regs) |
regs | 56 | arch/ppc/kernel/traps.c | printk("Machine check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr); |
regs | 65 | arch/ppc/kernel/traps.c | _exception(SIGSEGV, regs); |
regs | 68 | arch/ppc/kernel/traps.c | ProgramCheckException(struct pt_regs *regs) |
regs | 70 | arch/ppc/kernel/traps.c | printk("Program check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr); |
regs | 72 | arch/ppc/kernel/traps.c | _exception(SIGILL, regs); |
regs | 75 | arch/ppc/kernel/traps.c | FloatingPointCheckException(struct pt_regs *regs) |
regs | 77 | arch/ppc/kernel/traps.c | printk("Floating point check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr); |
regs | 78 | arch/ppc/kernel/traps.c | _exception(SIGFPE, regs); |
regs | 81 | arch/ppc/kernel/traps.c | AlignmentException(struct pt_regs *regs) |
regs | 83 | arch/ppc/kernel/traps.c | printk("Alignment error at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr); |
regs | 84 | arch/ppc/kernel/traps.c | _exception(SIGBUS, regs); |
regs | 87 | arch/ppc/kernel/traps.c | bad_stack(struct pt_regs *regs) |
regs | 89 | arch/ppc/kernel/traps.c | printk("Kernel stack overflow at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr); |
regs | 90 | arch/ppc/kernel/traps.c | dump_regs(regs); |
regs | 94 | arch/ppc/kernel/traps.c | dump_regs(struct pt_regs *regs) |
regs | 97 | arch/ppc/kernel/traps.c | printk("NIP: %08X, MSR: %08X, XER: %08X, LR: %08X, FRAME: %08X\n", regs->nip, regs->msr, regs->xer, regs->link, regs); |
regs | 98 | arch/ppc/kernel/traps.c | printk("HASH = %08X/%08X, MISS = %08X/%08X, CMP = %08X/%08X\n", regs->hash1, regs->hash2, regs->imiss, regs->dmiss, regs->icmp, regs->dcmp); |
regs | 106 | arch/ppc/kernel/traps.c | printk("%08X ", regs->gpr[i]); |
regs | 112 | arch/ppc/kernel/traps.c | dump_buf(regs->nip, 32); |
regs | 113 | arch/ppc/kernel/traps.c | dump_buf((regs->nip&0x0FFFFFFF)|KERNELBASE, 32); |
regs | 116 | arch/ppc/kernel/traps.c | trace_syscall(struct pt_regs *regs) |
regs | 118 | arch/ppc/kernel/traps.c | printk("Task: %08X(%d), PC: %08X/%08X, Syscall: %3d, Result: %d\n", current, current->pid, regs->nip, regs->link, regs->gpr[0], regs->gpr[3]); |
regs | 35 | arch/ppc/mm/fault.c | DataAccessException(struct pt_regs *regs) |
regs | 41 | arch/ppc/mm/fault.c | if (user_mode(regs)) mode |= 0x04; |
regs | 42 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x02000000) mode |= 0x02; /* Load/store */ |
regs | 43 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x08000000) mode |= 0x01; /* Protection violation */ |
regs | 45 | arch/ppc/mm/fault.c | printk("Data fault on %x\n",regs->dar); |
regs | 50 | arch/ppc/mm/fault.c | printk("Write Protect Fault - Loc: %x, DSISR: %x, PC: %x\n", regs->dar, regs->dsisr, regs->nip); |
regs | 55 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
regs | 64 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, regs->dar & PAGE_MASK); |
regs | 67 | arch/ppc/mm/fault.c | pmd = pmd_offset(dir, regs->dar & PAGE_MASK); |
regs | 70 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, regs->dar & PAGE_MASK); |
regs | 76 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
regs | 86 | arch/ppc/mm/fault.c | regs->dar,regs->nip); |
regs | 89 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
regs | 97 | arch/ppc/mm/fault.c | InstructionAccessException(struct pt_regs *regs) |
regs | 105 | arch/ppc/mm/fault.c | printk("Instr fault on %x\n",regs->dar); |
regs | 107 | arch/ppc/mm/fault.c | if (user_mode(regs)) mode |= 0x04; |
regs | 108 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x02000000) mode |= 0x02; /* Load/store */ |
regs | 109 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x08000000) mode |= 0x01; /* Protection violation */ |
regs | 113 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
regs | 119 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, regs->dar & PAGE_MASK); |
regs | 126 | arch/ppc/mm/fault.c | pmd = pmd_offset(dir, regs->dar & PAGE_MASK); |
regs | 129 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, regs->dar & PAGE_MASK); |
regs | 136 | arch/ppc/mm/fault.c | current->mm->pgd+((regs->dar&PAGE_MASK) >> PGDIR_SHIFT)); |
regs | 156 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
regs | 164 | arch/ppc/mm/fault.c | regs->dar, regs->dsisr, regs->nip, current->mm); |
regs | 168 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
regs | 183 | arch/ppc/mm/fault.c | void do_page_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code) |
regs | 195 | arch/ppc/mm/fault.c | regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
regs | 213 | arch/ppc/mm/fault.c | printk("stack: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
regs | 222 | arch/ppc/mm/fault.c | printk("stack2: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
regs | 265 | arch/ppc/mm/fault.c | printk("regs = %x\n", regs); |
regs | 283 | arch/ppc/mm/fault.c | if (user_mode(regs)) { |
regs | 284 | arch/ppc/mm/fault.c | printk("Task: %x, PC: %x, bad area! - Addr: %x\n", current, regs->nip, address); |
regs | 290 | arch/ppc/mm/fault.c | current, regs->nip, address, current->tss.pg_tables); |
regs | 231 | arch/sparc/kernel/irq.c | void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs) |
regs | 237 | arch/sparc/kernel/irq.c | printk("PC = %08lx NPC = %08lx FP=%08lx\n", regs->pc, |
regs | 238 | arch/sparc/kernel/irq.c | regs->npc, regs->u_regs[14]); |
regs | 248 | arch/sparc/kernel/irq.c | void handler_irq(int irq, struct pt_regs * regs) |
regs | 255 | arch/sparc/kernel/irq.c | unexpected_irq(irq, action->dev_id, regs); |
regs | 257 | arch/sparc/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 269 | arch/sparc/kernel/irq.c | asmlinkage void do_IRQ(int irq, struct pt_regs * regs) |
regs | 275 | arch/sparc/kernel/irq.c | action->handler(irq, action->dev_id, regs); |
regs | 312 | arch/sparc/kernel/probe.c | mstk48t02_regs = &mstk48t08_regs->regs; |
regs | 73 | arch/sparc/kernel/process.c | void show_regs(struct pt_regs * regs) |
regs | 75 | arch/sparc/kernel/process.c | printk("PSR: %08lx PC: %08lx NPC: %08lx Y: %08lx\n", regs->psr, |
regs | 76 | arch/sparc/kernel/process.c | regs->pc, regs->npc, regs->y); |
regs | 78 | arch/sparc/kernel/process.c | regs->u_regs[0], regs->u_regs[1], regs->u_regs[2], |
regs | 79 | arch/sparc/kernel/process.c | regs->u_regs[3]); |
regs | 81 | arch/sparc/kernel/process.c | regs->u_regs[4], regs->u_regs[5], regs->u_regs[6], |
regs | 82 | arch/sparc/kernel/process.c | regs->u_regs[7]); |
regs | 84 | arch/sparc/kernel/process.c | regs->u_regs[8], regs->u_regs[9], regs->u_regs[10], |
regs | 85 | arch/sparc/kernel/process.c | regs->u_regs[11]); |
regs | 87 | arch/sparc/kernel/process.c | regs->u_regs[12], regs->u_regs[13], regs->u_regs[14], |
regs | 88 | arch/sparc/kernel/process.c | regs->u_regs[15]); |
regs | 157 | arch/sparc/kernel/process.c | struct task_struct *p, struct pt_regs *regs) |
regs | 171 | arch/sparc/kernel/process.c | if(regs->psr & PSR_PS) |
regs | 174 | arch/sparc/kernel/process.c | *childregs = *regs; |
regs | 176 | arch/sparc/kernel/process.c | old_stack = (((struct reg_window *) regs) - 1); |
regs | 185 | arch/sparc/kernel/process.c | if(regs->psr & PSR_PS) { |
regs | 197 | arch/sparc/kernel/process.c | regs->u_regs[UREG_I1] = 0; |
regs | 203 | arch/sparc/kernel/process.c | void dump_thread(struct pt_regs * regs, struct user * dump) |
regs | 209 | arch/sparc/kernel/process.c | dump->regs.psr = regs->psr; |
regs | 210 | arch/sparc/kernel/process.c | dump->regs.pc = regs->pc; |
regs | 211 | arch/sparc/kernel/process.c | dump->regs.npc = regs->npc; |
regs | 212 | arch/sparc/kernel/process.c | dump->regs.y = regs->y; |
regs | 214 | arch/sparc/kernel/process.c | memcpy(&dump->regs.regs[0], ®s->u_regs[1], (sizeof(unsigned long) * 15)); |
regs | 221 | arch/sparc/kernel/process.c | first_stack_page = (regs->u_regs[UREG_FP] & ~(PAGE_SIZE - 1)); |
regs | 223 | arch/sparc/kernel/process.c | memcpy(&dump->fpu.fpstatus.fregs.regs[0], ¤t->tss.float_regs[0], (sizeof(unsigned long) * 32)); |
regs | 245 | arch/sparc/kernel/process.c | asmlinkage int sparc_execve(struct pt_regs *regs) |
regs | 251 | arch/sparc/kernel/process.c | error = getname((char *) regs->u_regs[UREG_I0], &filename); |
regs | 254 | arch/sparc/kernel/process.c | error = do_execve(filename, (char **) regs->u_regs[UREG_I1], |
regs | 255 | arch/sparc/kernel/process.c | (char **) regs->u_regs[UREG_I2], regs); |
regs | 25 | arch/sparc/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs); |
regs | 31 | arch/sparc/kernel/signal.c | asmlinkage inline void _sigpause_common(unsigned int set, struct pt_regs *regs) |
regs | 43 | arch/sparc/kernel/signal.c | regs->pc = regs->npc; |
regs | 44 | arch/sparc/kernel/signal.c | regs->npc += 4; |
regs | 45 | arch/sparc/kernel/signal.c | regs->psr |= PSR_C; |
regs | 46 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] = EINTR; |
regs | 51 | arch/sparc/kernel/signal.c | if (do_signal(mask, regs)) |
regs | 56 | arch/sparc/kernel/signal.c | asmlinkage void do_sigpause(unsigned int set, struct pt_regs *regs) |
regs | 58 | arch/sparc/kernel/signal.c | _sigpause_common(set, regs); |
regs | 61 | arch/sparc/kernel/signal.c | asmlinkage void do_sigsuspend(unsigned int *sigmaskp, struct pt_regs *regs) |
regs | 71 | arch/sparc/kernel/signal.c | regs->pc = regs->npc; |
regs | 72 | arch/sparc/kernel/signal.c | regs->npc += 4; |
regs | 73 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] = EFAULT; |
regs | 74 | arch/sparc/kernel/signal.c | regs->psr |= PSR_C; |
regs | 78 | arch/sparc/kernel/signal.c | _sigpause_common(set, regs); |
regs | 81 | arch/sparc/kernel/signal.c | asmlinkage void do_sigreturn(struct pt_regs *regs) |
regs | 84 | arch/sparc/kernel/signal.c | (struct sigcontext_struct *) regs->u_regs[UREG_I0]; |
regs | 92 | arch/sparc/kernel/signal.c | current->comm, current->pid, regs->pc, scptr); |
regs | 101 | arch/sparc/kernel/signal.c | regs->pc = scptr->sigc_pc; |
regs | 102 | arch/sparc/kernel/signal.c | regs->npc = scptr->sigc_npc; |
regs | 103 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_FP] = scptr->sigc_sp; |
regs | 104 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] = scptr->sigc_o0; |
regs | 105 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_G1] = scptr->sigc_g1; |
regs | 108 | arch/sparc/kernel/signal.c | regs->psr &= (~PSR_ICC); |
regs | 109 | arch/sparc/kernel/signal.c | regs->psr |= (scptr->sigc_psr & PSR_ICC); |
regs | 138 | arch/sparc/kernel/signal.c | unsigned long pc, unsigned long npc, struct pt_regs *regs, |
regs | 171 | arch/sparc/kernel/signal.c | sc->sigc_sp = regs->u_regs[UREG_FP]; |
regs | 174 | arch/sparc/kernel/signal.c | sc->sigc_psr = regs->psr; |
regs | 175 | arch/sparc/kernel/signal.c | sc->sigc_g1 = regs->u_regs[UREG_G1]; |
regs | 176 | arch/sparc/kernel/signal.c | sc->sigc_o0 = regs->u_regs[UREG_I0]; |
regs | 187 | arch/sparc/kernel/signal.c | memcpy(sframep, (char *)regs->u_regs[UREG_FP], |
regs | 204 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_FP] = (unsigned long) *fp; |
regs | 217 | arch/sparc/kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs) |
regs | 257 | arch/sparc/kernel/signal.c | if(current->binfmt->core_dump(signr, regs)) |
regs | 268 | arch/sparc/kernel/signal.c | if(regs->psr & PSR_C) { |
regs | 269 | arch/sparc/kernel/signal.c | if(regs->u_regs[UREG_I0] == ERESTARTNOHAND || |
regs | 270 | arch/sparc/kernel/signal.c | (regs->u_regs[UREG_I0] == ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
regs | 271 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] = EINTR; |
regs | 276 | arch/sparc/kernel/signal.c | if((regs->psr & PSR_C) && |
regs | 277 | arch/sparc/kernel/signal.c | (regs->u_regs[UREG_I0] == ERESTARTNOHAND || |
regs | 278 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] == ERESTARTSYS || |
regs | 279 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] == ERESTARTNOINTR)) { |
regs | 281 | arch/sparc/kernel/signal.c | regs->u_regs[UREG_I0] = regs->u_regs[UREG_G0]; |
regs | 282 | arch/sparc/kernel/signal.c | regs->pc -= 4; |
regs | 283 | arch/sparc/kernel/signal.c | regs->npc -= 4; |
regs | 287 | arch/sparc/kernel/signal.c | pc = regs->pc; |
regs | 288 | arch/sparc/kernel/signal.c | npc = regs->npc; |
regs | 289 | arch/sparc/kernel/signal.c | frame = (struct sigcontext_struct *) regs->u_regs[UREG_FP]; |
regs | 297 | arch/sparc/kernel/signal.c | setup_frame(sa, &frame, pc, npc, regs, signr, oldmask); |
regs | 305 | arch/sparc/kernel/signal.c | regs->pc = pc; |
regs | 306 | arch/sparc/kernel/signal.c | regs->npc = npc; |
regs | 138 | arch/sparc/kernel/smp.c | void smp_reschedule_irq(int cpl, struct pt_regs *regs) |
regs | 143 | arch/sparc/kernel/smp.c | if(user_mode(regs)) { |
regs | 163 | arch/sparc/kernel/smp.c | unsigned long eip = regs->eip - (unsigned long) &_stext; |
regs | 201 | arch/sparc/kernel/smp.c | void smp_message_irq(int cpl, struct pt_regs *regs) |
regs | 37 | arch/sparc/kernel/sys_bsd.c | struct pt_regs *regs; |
regs | 39 | arch/sparc/kernel/sys_bsd.c | regs = (struct pt_regs *) (current->saved_kernel_stack + |
regs | 41 | arch/sparc/kernel/sys_bsd.c | current->tss.sig_address = regs->pc; |
regs | 42 | arch/sparc/kernel/sys_bsd.c | current->tss.sig_desc = regs->u_regs[UREG_G1]; |
regs | 45 | arch/sparc/kernel/sys_bsd.c | (int) regs->u_regs[UREG_G1]); |
regs | 46 | arch/sparc/kernel/sys_bsd.c | show_regs(regs); |
regs | 32 | arch/sparc/kernel/sys_sparc.c | asmlinkage void sparc_pipe(struct pt_regs *regs) |
regs | 39 | arch/sparc/kernel/sys_sparc.c | regs->u_regs[UREG_I0] = error; |
regs | 41 | arch/sparc/kernel/sys_sparc.c | regs->u_regs[UREG_I0] = fd[0]; |
regs | 42 | arch/sparc/kernel/sys_sparc.c | regs->u_regs[UREG_I1] = fd[1]; |
regs | 519 | arch/sparc/kernel/sys_sunos.c | struct pt_regs *regs; |
regs | 521 | arch/sparc/kernel/sys_sunos.c | regs = (struct pt_regs *) (current->saved_kernel_stack + |
regs | 523 | arch/sparc/kernel/sys_sunos.c | current->tss.sig_address = regs->pc; |
regs | 524 | arch/sparc/kernel/sys_sunos.c | current->tss.sig_desc = regs->u_regs[UREG_G1]; |
regs | 527 | arch/sparc/kernel/sys_sunos.c | (int) regs->u_regs[UREG_G1]); |
regs | 528 | arch/sparc/kernel/sys_sunos.c | show_regs(regs); |
regs | 39 | arch/sparc/kernel/time.c | void timer_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 48 | arch/sparc/kernel/time.c | do_timer(regs); |
regs | 147 | arch/sparc/kernel/time.c | mstk48t02_regs = &mstk48t08_regs->regs; |
regs | 33 | arch/sparc/kernel/traps.c | void syscall_trace_entry(struct pt_regs *regs) |
regs | 36 | arch/sparc/kernel/traps.c | printk("scall<%d> (could be %d)\n", (int) regs->u_regs[UREG_G1], |
regs | 37 | arch/sparc/kernel/traps.c | (int) regs->u_regs[UREG_I0]); |
regs | 40 | arch/sparc/kernel/traps.c | void syscall_trace_exit(struct pt_regs *regs) |
regs | 44 | arch/sparc/kernel/traps.c | void die_if_kernel(char *str, struct pt_regs *regs) |
regs | 49 | arch/sparc/kernel/traps.c | if(regs->psr & PSR_PS) |
regs | 52 | arch/sparc/kernel/traps.c | show_regs(regs); |
regs | 54 | arch/sparc/kernel/traps.c | pc = (unsigned long *) regs->pc; |
regs | 73 | arch/sparc/kernel/traps.c | void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 77 | arch/sparc/kernel/traps.c | die_if_kernel("Kernel illegal instruction", regs); |
regs | 83 | arch/sparc/kernel/traps.c | void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 87 | arch/sparc/kernel/traps.c | die_if_kernel("Penguin instruction from Penguin mode??!?!", regs); |
regs | 95 | arch/sparc/kernel/traps.c | void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 98 | arch/sparc/kernel/traps.c | if(regs->psr & PSR_PS) |
regs | 99 | arch/sparc/kernel/traps.c | die_if_kernel("Kernel MNA access", regs); |
regs | 116 | arch/sparc/kernel/traps.c | void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 121 | arch/sparc/kernel/traps.c | die_if_kernel("Kernel gets Penguin-FPU disabled trap", regs); |
regs | 124 | arch/sparc/kernel/traps.c | regs->psr |= PSR_EF; |
regs | 148 | arch/sparc/kernel/traps.c | void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 161 | arch/sparc/kernel/traps.c | regs->psr &= ~PSR_EF; |
regs | 173 | arch/sparc/kernel/traps.c | regs->pc); |
regs | 174 | arch/sparc/kernel/traps.c | regs->pc = regs->npc; |
regs | 175 | arch/sparc/kernel/traps.c | regs->npc += 4; |
regs | 179 | arch/sparc/kernel/traps.c | regs); |
regs | 184 | arch/sparc/kernel/traps.c | regs->psr &= ~PSR_EF; |
regs | 189 | arch/sparc/kernel/traps.c | void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 193 | arch/sparc/kernel/traps.c | die_if_kernel("Penguin overflow trap from kernel mode", regs); |
regs | 199 | arch/sparc/kernel/traps.c | void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 209 | arch/sparc/kernel/traps.c | void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 217 | arch/sparc/kernel/traps.c | void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 223 | arch/sparc/kernel/traps.c | void handle_bad_flush(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 231 | arch/sparc/kernel/traps.c | void handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 239 | arch/sparc/kernel/traps.c | void handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
regs | 93 | arch/sparc/kernel/windows.c | void try_to_clear_window_buffer(struct pt_regs *regs, int who) |
regs | 104 | arch/sparc/mm/fault.c | asmlinkage void sparc_lvl15_nmi(struct pt_regs *regs, unsigned long serr, |
regs | 115 | arch/sparc/mm/fault.c | show_regs(regs); |
regs | 119 | arch/sparc/mm/fault.c | asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, |
regs | 123 | arch/sparc/mm/fault.c | int from_user = !(regs->psr & PSR_PS); |
regs | 126 | arch/sparc/mm/fault.c | address = regs->pc; |
regs | 179 | arch/sparc/mm/fault.c | regs->pc = regs->npc; |
regs | 180 | arch/sparc/mm/fault.c | regs->npc += 4; |
regs | 192 | arch/sparc/mm/fault.c | die_if_kernel("Oops", regs); |
regs | 241 | arch/sparc/mm/fault.c | void window_ret_fault(struct pt_regs *regs) |
regs | 243 | arch/sparc/mm/fault.c | unsigned long sp = regs->u_regs[UREG_FP]; |
regs | 794 | arch/sparc/mm/srmmu.c | iommu->regs = (struct iommu_regs *) |
regs | 797 | arch/sparc/mm/srmmu.c | if(!iommu->regs) |
regs | 799 | arch/sparc/mm/srmmu.c | impl = (iommu->regs->control & IOMMU_CTRL_IMPL) >> 28; |
regs | 800 | arch/sparc/mm/srmmu.c | vers = (iommu->regs->control & IOMMU_CTRL_VERS) >> 24; |
regs | 801 | arch/sparc/mm/srmmu.c | tmp = iommu->regs->control; |
regs | 804 | arch/sparc/mm/srmmu.c | iommu->regs->control = tmp; |
regs | 805 | arch/sparc/mm/srmmu.c | iommu_invalidate(iommu->regs); |
regs | 822 | arch/sparc/mm/srmmu.c | iommu->regs->base = (((unsigned long) iommu->page_table) - PAGE_OFFSET) >> 4; |
regs | 824 | arch/sparc/mm/srmmu.c | iommu_invalidate(iommu->regs); |
regs | 861 | arch/sparc/mm/srmmu.c | iommu_invalidate(iommu->regs); |
regs | 878 | arch/sparc/mm/srmmu.c | iommu_invalidate(iommu->regs); |
regs | 998 | arch/sparc/mm/sun4c.c | void sun4c_switch_heuristic(struct pt_regs *regs) |
regs | 1000 | arch/sparc/mm/sun4c.c | unsigned long sp = regs->u_regs[UREG_FP]; |
regs | 1003 | arch/sparc/mm/sun4c.c | force_user_fault(regs->pc, 0); |
regs | 55 | arch/sparc/prom/ranges.c | prom_apply_obio_ranges(struct linux_prom_registers *regs, int nregs) |
regs | 58 | arch/sparc/prom/ranges.c | prom_adjust_regs(regs, nregs, promlib_obio_ranges, num_obio_ranges); |
regs | 64 | arch/sparc/prom/ranges.c | prom_apply_sbus_ranges(struct linux_prom_registers *regs, int nregs) |
regs | 67 | arch/sparc/prom/ranges.c | prom_adjust_regs(regs, nregs, promlib_sbus_ranges, num_sbus_ranges); |
regs | 1583 | drivers/block/floppy.c | static void floppy_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 933 | drivers/block/hd.c | static void hd_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 1571 | drivers/block/ide.c | static void ide_intr (int irq, void *dev_id, struct pt_regs *regs) |
regs | 394 | drivers/block/xd.c | static void xd_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs) |
regs | 524 | drivers/cdrom/cdu31a.c | cdu31a_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 224 | drivers/cdrom/cm206.c | static void cm206_interrupt(int sig, void *dev_id, struct pt_regs * regs) /* you rang? */ |
regs | 632 | drivers/cdrom/mcd.c | mcd_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 868 | drivers/cdrom/mcdx.c | mcdx_intr(int irq, void *dev_id, struct pt_regs* regs) |
regs | 316 | drivers/cdrom/sonycd535.c | cdu535_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 72 | drivers/char/atixlmouse.c | void mouse_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 63 | drivers/char/busmouse.c | static void mouse_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 613 | drivers/char/cyclades.c | cy_probe(int irq, void *dev_id, struct pt_regs *regs) |
regs | 646 | drivers/char/cyclades.c | cy_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 1165 | drivers/char/ftape/fdc-io.c | static void ftape_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 340 | drivers/char/keyboard.c | static void keyboard_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 347 | drivers/char/keyboard.c | pt_regs = regs; |
regs | 151 | drivers/char/lp.c | static void lp_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 51 | drivers/char/msbusmouse.c | static void ms_mouse_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 211 | drivers/char/psaux.c | static void aux_interrupt(int cpl, void *dev_id, struct pt_regs * regs) |
regs | 237 | drivers/char/psaux.c | static void qp_interrupt(int cpl, void *dev_id, struct pt_regs * regs) |
regs | 241 | drivers/char/scc.c | static void scc_isr(int irq, void *dev_id, struct pt_regs *regs); |
regs | 735 | drivers/char/scc.c | scc_isr(int irq, void *dev_id, struct pt_regs *regs) |
regs | 356 | drivers/char/serial.c | static void rs_probe(int irq, void *dev_id, struct pt_regs * regs) |
regs | 519 | drivers/char/serial.c | static void rs_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 585 | drivers/char/serial.c | static void rs_interrupt_single(int irq, void *dev_id, struct pt_regs * regs) |
regs | 634 | drivers/char/serial.c | static void rs_interrupt_multi(int irq, void *dev_id, struct pt_regs * regs) |
regs | 517 | drivers/char/stallion.c | static void stl_intr(int irq, void *dev_id, struct pt_regs *regs); |
regs | 1831 | drivers/char/stallion.c | static void stl_intr(int irq, void *dev_id, struct pt_regs *regs) |
regs | 1839 | drivers/char/stallion.c | printk("stl_intr(irq=%d,regs=%x)\n", irq, (int) regs); |
regs | 1800 | drivers/char/tpqic02.c | static void qic02_tape_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 72 | drivers/char/wdt.c | static void wdt_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 671 | drivers/isdn/teles/card.c | teles_interrupt(int intno, void *dev_id, struct pt_regs *regs) |
regs | 122 | drivers/net/3c501.c | static void el_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 491 | drivers/net/3c501.c | static void el_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 283 | drivers/net/3c507.c | static void el16_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 516 | drivers/net/3c507.c | el16_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 114 | drivers/net/3c509.c | static void el3_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 479 | drivers/net/3c509.c | el3_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 240 | drivers/net/3c59x.c | static void vortex_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 739 | drivers/net/3c59x.c | static void vortex_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 742 | drivers/net/3c59x.c | struct device *dev = (struct device *)(irq == 0 ? regs : irq2dev_map[irq]); |
regs | 260 | drivers/net/8390.c | void ei_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 36 | drivers/net/8390.h | extern void ei_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 186 | drivers/net/apricot.c | static void i596_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 746 | drivers/net/apricot.c | i596_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 614 | drivers/net/arcnet.c | static void arcnet_interrupt(int irq,void *dev_id,struct pt_regs *regs); |
regs | 1887 | drivers/net/arcnet.c | arcnet_interrupt(int irq,void *dev_id,struct pt_regs *regs) |
regs | 120 | drivers/net/at1700.c | static void net_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 443 | drivers/net/at1700.c | net_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 138 | drivers/net/atp.c | static void net_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 487 | drivers/net/atp.c | net_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 53 | drivers/net/auto_irq.c | static void autoirq_probe(int irq, void *dev_id, struct pt_regs * regs) |
regs | 533 | drivers/net/de4x5.c | static void de4x5_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 1113 | drivers/net/de4x5.c | de4x5_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 250 | drivers/net/de600.c | static void de600_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 491 | drivers/net/de600.c | de600_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 601 | drivers/net/de620.c | de620_interrupt(int irq_in, void *dev_id, struct pt_regs *regs) |
regs | 384 | drivers/net/depca.c | static void depca_interrupt(int irq, void *dev_id, struct pt_regs * regs); |
regs | 839 | drivers/net/depca.c | depca_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 138 | drivers/net/eepro.c | static void eepro_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 664 | drivers/net/eepro.c | eepro_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 232 | drivers/net/eexpress.c | static void eexp_irq (int irq, void *dev_addr, struct pt_regs *regs); |
regs | 490 | drivers/net/eexpress.c | static void eexp_irq(int irq, void *dev_info, struct pt_regs *regs) |
regs | 329 | drivers/net/eth16i.c | static void eth16i_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 1089 | drivers/net/eth16i.c | static void eth16i_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 291 | drivers/net/ewrk3.c | static void ewrk3_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 874 | drivers/net/ewrk3.c | ewrk3_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 113 | drivers/net/fmv18x.c | static void net_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 407 | drivers/net/fmv18x.c | net_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 199 | drivers/net/hp100.c | static void hp100_interrupt( int irq, void *dev_id, struct pt_regs *regs ); |
regs | 893 | drivers/net/hp100.c | static void hp100_interrupt( int irq, void *dev_id, struct pt_regs *regs ) |
regs | 157 | drivers/net/ibmtr.c | void tok_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 627 | drivers/net/ibmtr.c | void tok_interrupt (int irq, void *dev_id, struct pt_regs *regs) |
regs | 278 | drivers/net/lance.c | static void lance_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 852 | drivers/net/lance.c | lance_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 119 | drivers/net/ni65.c | static void ni65_interrupt(int irq, void * dev_id, struct pt_regs *regs); |
regs | 454 | drivers/net/ni65.c | static void ni65_interrupt(int irq, void * dev_id, struct pt_regs * regs) |
regs | 152 | drivers/net/pi2.c | static void pi_interrupt(int reg_ptr, void *dev_id, struct pt_regs *regs); |
regs | 1512 | drivers/net/pi2.c | static void pi_interrupt(int reg_ptr, void *dev_id, struct pt_regs *regs) |
regs | 142 | drivers/net/plip.c | static void plip_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 803 | drivers/net/plip.c | plip_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 123 | drivers/net/pt.c | static void pt_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 1483 | drivers/net/pt.c | static void pt_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 84 | drivers/net/seeq8005.c | static void seeq8005_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 421 | drivers/net/seeq8005.c | seeq8005_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 489 | drivers/net/sk_g16.c | static void SK_interrupt(int irq, void *dev_id, struct pt_regs * regs); |
regs | 1310 | drivers/net/sk_g16.c | static void SK_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 103 | drivers/net/skeleton.c | static void net_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 400 | drivers/net/skeleton.c | net_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 260 | drivers/net/smc9194.c | static void smc_interrupt(int irq, void *, struct pt_regs *regs); |
regs | 262 | drivers/net/smc9194.c | static void smc_interrupt(int irq, struct pt_regs *regs); |
regs | 1279 | drivers/net/smc9194.c | static void smc_interrupt(int irq, void * dev_id, struct pt_regs * regs) |
regs | 1281 | drivers/net/smc9194.c | static void smc_interrupt(int irq, struct pt_regs * regs) |
regs | 299 | drivers/net/sunlance.c | printk ("dcsr=%8.8x\n", (unsigned int) lp->ledma->regs->cond_reg); |
regs | 309 | drivers/net/sunlance.c | lp->ledma->regs->cond_reg |= DMA_INT_ENAB; |
regs | 431 | drivers/net/sunlance.c | lance_interrupt (int irq, void *dev_id, struct pt_regs *regs) |
regs | 442 | drivers/net/sunlance.c | if (lp->ledma->regs->cond_reg & DMA_HNDL_ERROR){ |
regs | 444 | drivers/net/sunlance.c | (unsigned int) lp->ledma->regs->cond_reg, ll->rdp); |
regs | 503 | drivers/net/sunlance.c | lp->ledma->regs->dma_test = ((unsigned int) lp->init_block) & 0xff000000; |
regs | 514 | drivers/net/sunlance.c | lp->ledma->regs->cond_reg |= DMA_INT_ENAB; |
regs | 558 | drivers/net/sunlance.c | lp->ledma->regs->cond_reg |= DMA_RST_ENET; |
regs | 560 | drivers/net/sunlance.c | lp->ledma->regs->cond_reg &= ~DMA_RST_ENET; |
regs | 561 | drivers/net/sunlance.c | lp->ledma->regs->cond_reg |= DMA_INT_ENAB; |
regs | 158 | drivers/net/tulip.c | static void tulip_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 447 | drivers/net/tulip.c | static void tulip_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 1859 | drivers/net/wavelan.c | wavelan_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 185 | drivers/net/znet.c | static void znet_interrupt(int irq, void *dev_id, struct pt_regs *regs); |
regs | 405 | drivers/net/znet.c | static void znet_interrupt(int irq, void *dev_id, struct pt_regs * regs) |
regs | 280 | drivers/scsi/53c7,8xx.c | static void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs); |
regs | 4335 | drivers/scsi/53c7,8xx.c | NCR53c7x0_intr (int irq, void *dev_id, struct pt_regs * regs) { |
regs | 134 | drivers/scsi/AM53C974.c | static void AM53C974_intr(int irq, void *dev_id, struct pt_regs *regs); |
regs | 928 | drivers/scsi/AM53C974.c | static void AM53C974_intr(int irq, void *dev_id, struct pt_regs *regs) |
regs | 619 | drivers/scsi/NCR5380.c | static void probe_intr (int irq, void *dev_id, struct pt_regs * regs) { |
regs | 1126 | drivers/scsi/NCR5380.c | static void NCR5380_intr (int irq, void *dev_id, struct pt_regs * regs) { |
regs | 278 | drivers/scsi/NCR5380.h | static void NCR5380_intr (int irq, void *dev_id, struct pt_regs * regs); |
regs | 766 | drivers/scsi/NCR53c406a.c | NCR53c406a_intr(int unused, void *dev_id, struct pt_regs *regs){ |
regs | 3580 | drivers/scsi/advansys.c | advansys_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 1310 | drivers/scsi/aha152x.c | void aha152x_intr(int irqno, void *dev_id, struct pt_regs * regs) |
regs | 356 | drivers/scsi/aha1542.c | static void aha1542_intr_handle(int irq, void *dev_id, struct pt_regs *regs) |
regs | 177 | drivers/scsi/aha1740.c | void aha1740_intr_handle(int irq, void *dev_id, struct pt_regs * regs) |
regs | 1683 | drivers/scsi/aic7xxx.c | aic7xxx_isr(int irq, void *dev_id, struct pt_regs * regs) |
regs | 887 | drivers/scsi/eata.c | static void eata2x_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs) { |
regs | 117 | drivers/scsi/eata_dma.c | void eata_fake_int_handler(s32 irq, void *dev_id, struct pt_regs * regs) |
regs | 153 | drivers/scsi/eata_dma.c | void eata_int_handler(int irq, void *dev_id, struct pt_regs * regs) |
regs | 127 | drivers/scsi/eata_pio.c | void eata_pio_int_handler(int irq, void *dev_id, struct pt_regs * regs) |
regs | 350 | drivers/scsi/fdomain.c | extern void fdomain_16x0_intr( int irq, void *dev_id, struct pt_regs * regs ); |
regs | 1224 | drivers/scsi/fdomain.c | void fdomain_16x0_intr( int irq, void *dev_id, struct pt_regs * regs ) |
regs | 281 | drivers/scsi/in2000.c | static void in2000_intr_handle(int irq, void *dev_id, struct pt_regs *regs) |
regs | 449 | drivers/scsi/qlogic.c | static void ql_ihandl(int irq, void *dev_id, struct pt_regs * regs) |
regs | 496 | drivers/scsi/seagate.c | static void seagate_reconnect_intr(int irq, void *dev_id, struct pt_regs *regs) |
regs | 841 | drivers/scsi/u14-34f.c | static void u14_34f_interrupt_handler(int irq, void *dev_id, struct pt_regs * regs) { |
regs | 1028 | drivers/scsi/ultrastor.c | static void ultrastor_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
regs | 811 | drivers/scsi/wd7000.c | void wd7000_intr_handle(int irq, void *dev_id, struct pt_regs * regs) |
regs | 892 | drivers/sound/sscape.c | static unsigned char regs[10] = SSCAPE_REGS; |
regs | 914 | drivers/sound/sscape.c | if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff)) |
regs | 940 | drivers/sound/sscape.c | sscape_write (devc, i, (regs[i] & 0x3f) | |
regs | 953 | drivers/sound/sscape.c | sscape_write (devc, i, regs[i]); |
regs | 30 | fs/binfmt_aout.c | static int load_aout_binary(struct linux_binprm *, struct pt_regs * regs); |
regs | 32 | fs/binfmt_aout.c | static int aout_core_dump(long signr, struct pt_regs * regs); |
regs | 79 | fs/binfmt_aout.c | do_aout_core_dump(long signr, struct pt_regs * regs) |
regs | 134 | fs/binfmt_aout.c | dump.u_ar0 = (void *)(((unsigned long)(&dump.regs)) - ((unsigned long)(&dump))); |
regs | 136 | fs/binfmt_aout.c | dump_thread(regs, &dump); |
regs | 190 | fs/binfmt_aout.c | aout_core_dump(long signr, struct pt_regs * regs) |
regs | 195 | fs/binfmt_aout.c | retval = do_aout_core_dump(signr, regs); |
regs | 259 | fs/binfmt_aout.c | do_load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs) |
regs | 392 | fs/binfmt_aout.c | regs->gp = ex.a_gpvalue; |
regs | 394 | fs/binfmt_aout.c | start_thread(regs, ex.a_entry, p); |
regs | 401 | fs/binfmt_aout.c | load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs) |
regs | 406 | fs/binfmt_aout.c | retval = do_load_aout_binary(bprm, regs); |
regs | 40 | fs/binfmt_elf.c | static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs); |
regs | 42 | fs/binfmt_elf.c | static int elf_core_dump(long signr, struct pt_regs * regs); |
regs | 333 | fs/binfmt_elf.c | do_load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) |
regs | 682 | fs/binfmt_elf.c | regs->edx = 0; |
regs | 684 | fs/binfmt_elf.c | start_thread(regs, elf_entry, bprm->p); |
regs | 691 | fs/binfmt_elf.c | load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) |
regs | 696 | fs/binfmt_elf.c | retval = do_load_elf_binary(bprm, regs); |
regs | 883 | fs/binfmt_elf.c | static const char *regs[] = { "ebx", "ecx", "edx", "esi", "edi", "ebp", |
regs | 892 | fs/binfmt_elf.c | printk(" %-2d %-5s=%08lx %lu\n", i, regs[i], val, val); |
regs | 935 | fs/binfmt_elf.c | static int elf_core_dump(long signr, struct pt_regs * regs) |
regs | 1070 | fs/binfmt_elf.c | *(struct pt_regs *)&prstatus.pr_reg = *regs; |
regs | 1073 | fs/binfmt_elf.c | dump_regs("Passed in regs", (elf_greg_t *)regs); |
regs | 14 | fs/binfmt_script.c | static int do_load_script(struct linux_binprm *bprm,struct pt_regs *regs) |
regs | 95 | fs/binfmt_script.c | return search_binary_handler(bprm,regs); |
regs | 98 | fs/binfmt_script.c | static int load_script(struct linux_binprm *bprm,struct pt_regs *regs) |
regs | 102 | fs/binfmt_script.c | retval = do_load_script(bprm,regs); |
regs | 501 | fs/exec.c | int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs) |
regs | 537 | fs/exec.c | retval = fn(bprm, regs); |
regs | 573 | fs/exec.c | int do_execve(char * filename, char ** argv, char ** envp, struct pt_regs * regs) |
regs | 607 | fs/exec.c | retval = search_binary_handler(&bprm,regs); |
regs | 77 | include/asm-alpha/processor.h | static inline void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) |
regs | 79 | include/asm-alpha/processor.h | regs->pc = pc; |
regs | 80 | include/asm-alpha/processor.h | regs->ps = 8; |
regs | 66 | include/asm-alpha/ptrace.h | #define user_mode(regs) ((regs)->ps & 8) |
regs | 67 | include/asm-alpha/ptrace.h | #define instruction_pointer(regs) ((regs)->pc) |
regs | 281 | include/asm-alpha/unistd.h | struct pt_regs regs; |
regs | 283 | include/asm-alpha/unistd.h | memset(®s, 0, sizeof(regs)); |
regs | 284 | include/asm-alpha/unistd.h | i = do_execve(file, argvp, envp, ®s); |
regs | 289 | include/asm-alpha/unistd.h | : :"r" (®s), "r" (ret_from_sys_call)); |
regs | 33 | include/asm-alpha/user.h | unsigned long regs[EF_SIZE/8+32]; /* integer and fp regs */ |
regs | 41 | include/asm-alpha/user.h | struct regs * u_ar0; /* help gdb find registers */ |
regs | 63 | include/asm-i386/processor.h | struct fpu_reg regs[8]; /* 8*16 bytes for each FP-reg = 128 bytes */ |
regs | 130 | include/asm-i386/processor.h | static inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp) |
regs | 132 | include/asm-i386/processor.h | regs->cs = USER_CS; |
regs | 133 | include/asm-i386/processor.h | regs->ds = regs->es = regs->ss = regs->fs = regs->gs = USER_DS; |
regs | 134 | include/asm-i386/processor.h | regs->eip = eip; |
regs | 135 | include/asm-i386/processor.h | regs->esp = esp; |
regs | 47 | include/asm-i386/ptrace.h | #define user_mode(regs) ((VM_MASK & (regs)->eflags) || (3 & (regs)->cs)) |
regs | 48 | include/asm-i386/ptrace.h | #define instruction_pointer(regs) ((regs)->eip) |
regs | 188 | include/asm-i386/smp.h | extern void smp_message_irq(int cpl, void *dev_id, struct pt_regs *regs); |
regs | 189 | include/asm-i386/smp.h | extern void smp_reschedule_irq(int cpl, struct pt_regs *regs); |
regs | 50 | include/asm-i386/user.h | struct pt_regs regs; /* Where the registers are actually stored */ |
regs | 172 | include/asm-mips/processor.h | void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) |
regs | 179 | include/asm-mips/processor.h | regs->cp0_epc = pc; |
regs | 183 | include/asm-mips/processor.h | regs->cp0_status = (regs->cp0_status & ~(ST0_CU0|ST0_KSU)) | KSU_USER; |
regs | 188 | include/asm-mips/processor.h | regs->reg29 = sp; |
regs | 207 | include/asm-mips/processor.h | #define USES_USER_TIME(regs) (!((regs)->cp0_status & 0x18)) |
regs | 211 | include/asm-mips/processor.h | #define USES_USER_TIME(regs) (!((regs)->cp0_status & 0x4)) |
regs | 64 | include/asm-mips/ptrace.h | #define user_mode(regs) ((regs)->cp0_status & 0x10) |
regs | 68 | include/asm-mips/ptrace.h | #define user_mode(regs) (!((regs)->cp0_status & 0x8)) |
regs | 72 | include/asm-mips/ptrace.h | #define instruction_pointer(regs) ((regs)->cp0_epc) |
regs | 33 | include/asm-mips/user.h | unsigned long regs[EF_SIZE/8+32]; /* integer and fp regs */ |
regs | 41 | include/asm-mips/user.h | struct regs * u_ar0; /* help gdb find registers */ |
regs | 53 | include/asm-ppc/processor.h | static inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp) |
regs | 55 | include/asm-ppc/processor.h | regs->nip = eip; |
regs | 56 | include/asm-ppc/processor.h | regs->gpr[1] = esp; |
regs | 57 | include/asm-ppc/processor.h | regs->msr = MSR_USER; |
regs | 47 | include/asm-ppc/ptrace.h | #define instruction_pointer(regs) ((regs)->nip) |
regs | 48 | include/asm-ppc/ptrace.h | #define user_mode(regs) ((regs)->msr & 0x4000) |
regs | 12 | include/asm-ppc/sigcontext.h | struct pt_regs *regs; |
regs | 53 | include/asm-sparc/dma.h | struct sparc_dma_registers *regs; |
regs | 129 | include/asm-sparc/dma.h | #define DMA_ERROR_P(regs) ((((regs)->cond_reg) & DMA_HNDL_ERROR)) |
regs | 130 | include/asm-sparc/dma.h | #define DMA_IRQ_P(regs) ((((regs)->cond_reg) & DMA_HNDL_INTR)) |
regs | 131 | include/asm-sparc/dma.h | #define DMA_WRITE_P(regs) ((((regs)->cond_reg) & DMA_ST_WRITE)) |
regs | 132 | include/asm-sparc/dma.h | #define DMA_OFF(regs) ((((regs)->cond_reg) &= (~DMA_ENABLE))) |
regs | 133 | include/asm-sparc/dma.h | #define DMA_INTSOFF(regs) ((((regs)->cond_reg) &= (~DMA_INT_ENAB))) |
regs | 134 | include/asm-sparc/dma.h | #define DMA_INTSON(regs) ((((regs)->cond_reg) |= (DMA_INT_ENAB))) |
regs | 135 | include/asm-sparc/dma.h | #define DMA_PUNTFIFO(regs) ((((regs)->cond_reg) |= DMA_FIFO_INV)) |
regs | 136 | include/asm-sparc/dma.h | #define DMA_SETSTART(regs, addr) ((((regs)->st_addr) = (char *) addr)) |
regs | 137 | include/asm-sparc/dma.h | #define DMA_BEGINDMA_W(regs) \ |
regs | 138 | include/asm-sparc/dma.h | ((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB)))) |
regs | 139 | include/asm-sparc/dma.h | #define DMA_BEGINDMA_R(regs) \ |
regs | 140 | include/asm-sparc/dma.h | ((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE))))) |
regs | 158 | include/asm-sparc/dma.h | extern inline void sparc_dma_pause(struct sparc_dma_registers *regs, |
regs | 164 | include/asm-sparc/dma.h | while((regs->cond_reg&bit) && (ctr>0)) { |
regs | 176 | include/asm-sparc/dma.h | struct sparc_dma_registers *regs = dma->regs; \ |
regs | 178 | include/asm-sparc/dma.h | sparc_dma_pause(regs, (DMA_FIFO_ISDRAIN)); \ |
regs | 180 | include/asm-sparc/dma.h | regs->cond_reg |= (DMA_RST_SCSI); /* assert */ \ |
regs | 182 | include/asm-sparc/dma.h | regs->cond_reg &= ~(DMA_RST_SCSI); /* de-assert */ \ |
regs | 183 | include/asm-sparc/dma.h | sparc_dma_enable_interrupts(regs); /* Re-enable interrupts */ \ |
regs | 185 | include/asm-sparc/dma.h | if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \ |
regs | 253 | include/asm-sparc/floppy.h | extern void floppy_hardint(int irq, void *unused, struct pt_regs *regs); |
regs | 100 | include/asm-sparc/iommu.h | struct iommu_regs *regs; |
regs | 107 | include/asm-sparc/iommu.h | extern inline void iommu_invalidate(struct iommu_regs *regs) |
regs | 109 | include/asm-sparc/iommu.h | regs->tlbflush = 0; |
regs | 112 | include/asm-sparc/iommu.h | extern inline void iommu_invalidate_page(struct iommu_regs *regs, unsigned long page) |
regs | 114 | include/asm-sparc/iommu.h | regs->pageflush = (page & PAGE_MASK); |
regs | 68 | include/asm-sparc/mostek.h | struct mostek48t02 regs; /* Here is what we are interested in. */ |
regs | 115 | include/asm-sparc/processor.h | extern inline void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) |
regs | 117 | include/asm-sparc/processor.h | unsigned long saved_psr = (regs->psr & (PSR_CWP)) | PSR_S; |
regs | 120 | include/asm-sparc/processor.h | for(i = 0; i < 16; i++) regs->u_regs[i] = 0; |
regs | 121 | include/asm-sparc/processor.h | regs->y = 0; |
regs | 122 | include/asm-sparc/processor.h | regs->pc = ((pc & (~3)) - 4); |
regs | 123 | include/asm-sparc/processor.h | regs->npc = regs->pc + 4; |
regs | 124 | include/asm-sparc/processor.h | regs->psr = saved_psr; |
regs | 125 | include/asm-sparc/processor.h | regs->u_regs[UREG_G1] = sp; /* Base of arg/env stack area */ |
regs | 126 | include/asm-sparc/processor.h | regs->u_regs[UREG_G2] = regs->u_regs[UREG_G7] = regs->npc; |
regs | 127 | include/asm-sparc/processor.h | regs->u_regs[UREG_FP] = (sp - REGWIN_SZ); |
regs | 65 | include/asm-sparc/ptrace.h | #define user_mode(regs) (!((regs)->psr & PSR_PS)) |
regs | 66 | include/asm-sparc/ptrace.h | #define instruction_pointer(regs) ((regs)->pc) |
regs | 49 | include/asm-sparc/smp.h | extern void smp_message_irq(int cpl, struct pt_regs *regs); |
regs | 50 | include/asm-sparc/smp.h | extern void smp_reschedule_irq(int cpl, struct pt_regs *regs); |
regs | 11 | include/asm-sparc/user.h | unsigned long regs[15]; |
regs | 21 | include/asm-sparc/user.h | unsigned long regs[32]; |
regs | 39 | include/asm-sparc/user.h | struct sunos_regs regs; |
regs | 36 | include/linux/binfmts.h | int (*load_binary)(struct linux_binprm *, struct pt_regs * regs); |
regs | 38 | include/linux/binfmts.h | int (*core_dump)(long signr, struct pt_regs * regs); |
regs | 89 | include/linux/vm86.h | struct vm86_regs regs; |
regs | 120 | include/linux/xd.h | static void xd_interrupt_handler (int irq, void *dev_id, struct pt_regs *regs); |
regs | 6 | kernel/exec_domain.c | static asmlinkage void no_lcall7(struct pt_regs * regs); |
regs | 29 | kernel/exec_domain.c | static asmlinkage void no_lcall7(struct pt_regs * regs) |
regs | 48 | kernel/exec_domain.c | current->exec_domain->handler(regs); |
regs | 199 | kernel/fork.c | int do_fork(unsigned long clone_flags, unsigned long usp, struct pt_regs *regs) |
regs | 264 | kernel/fork.c | copy_thread(nr, clone_flags, usp, p, regs); |
regs | 776 | kernel/sched.c | void do_timer(struct pt_regs * regs) |
regs | 833 | kernel/sched.c | if (user_mode(regs)) { |
regs | 852 | kernel/sched.c | unsigned long ip = instruction_pointer(regs); |
regs | 892 | kernel/sched.c | if (((cpu==i) && user_mode(regs)) || |
regs | 912 | kernel/sched.c | unsigned long ip = instruction_pointer(regs); |