tag | line | file | source code |
regs | 39 | drivers/FPU-emu/fpu_aux.c | regs[r].tag = TW_Empty; |
regs | 85 | drivers/FPU-emu/fpu_emu.h | #define st(x) ( regs[((top+x) &7 )] ) |
regs | 175 | drivers/FPU-emu/fpu_entry.c | regs[i].exp = 0; |
regs | 176 | drivers/FPU-emu/fpu_entry.c | regs[i].sigh = 0x80000000; |
regs | 280 | drivers/FPU-emu/fpu_entry.c | regs[r].tag = TW_Empty; |
regs | 36 | drivers/FPU-emu/fpu_system.h | #define regs (I387.soft.regs) |
regs | 1184 | drivers/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Empty; |
regs | 1185 | drivers/FPU-emu/reg_ld_str.c | else if ( regs[i].tag == TW_Empty ) |
regs | 1189 | drivers/FPU-emu/reg_ld_str.c | if ( regs[i].exp == EXP_BIAS - EXTENDED_Ebias ) |
regs | 1191 | drivers/FPU-emu/reg_ld_str.c | if ( !(regs[i].sigl | regs[i].sigh) ) |
regs | 1192 | drivers/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Zero; |
regs | 1194 | drivers/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Valid; |
regs | 1196 | drivers/FPU-emu/reg_ld_str.c | else if ( regs[i].exp == 0x7fff + EXP_BIAS - EXTENDED_Ebias ) |
regs | 1198 | drivers/FPU-emu/reg_ld_str.c | if ( !((regs[i].sigh & ~0x80000000) | regs[i].sigl) ) |
regs | 1199 | drivers/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Infinity; |
regs | 1201 | drivers/FPU-emu/reg_ld_str.c | regs[i].tag = TW_NaN; |
regs | 1204 | drivers/FPU-emu/reg_ld_str.c | regs[i].tag = TW_Valid; |
regs | 1231 | drivers/FPU-emu/reg_ld_str.c | tag = regs[stnr].tag; /* Derived from the loaded tag word. */ |
regs | 1232 | drivers/FPU-emu/reg_ld_str.c | reg_move(&FPU_loaded_data, ®s[stnr]); |
regs | 1234 | drivers/FPU-emu/reg_ld_str.c | regs[stnr].tag = tag; |
regs | 1252 | drivers/FPU-emu/reg_ld_str.c | switch ( tag = regs[i].tag ) |
regs | 1255 | drivers/FPU-emu/reg_ld_str.c | if ( regs[i].exp <= (EXP_BIAS - EXTENDED_Ebias) ) |
regs | 1317 | drivers/FPU-emu/reg_ld_str.c | write_to_extended(®s[(top + i) & 7], d + 10 * i); |
regs | 51 | fs/binfmt_elf.c | int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) |
regs | 327 | fs/binfmt_elf.c | regs->eip = elf_entry; /* eip, magic happens :-) */ |
regs | 328 | fs/binfmt_elf.c | regs->esp = bprm->p; /* stack pointer */ |
regs | 116 | fs/exec.c | int core_dump(long signr, struct pt_regs * regs) |
regs | 162 | fs/exec.c | dump.start_stack = regs->esp & ~(PAGE_SIZE - 1); |
regs | 180 | fs/exec.c | dump.u_ar0 = (struct pt_regs *)(((int)(&dump.regs)) -((int)(&dump))); |
regs | 182 | fs/exec.c | dump.regs = *regs; |
regs | 533 | fs/exec.c | static int do_execve(char * filename, char ** argv, char ** envp, struct pt_regs * regs) |
regs | 542 | fs/exec.c | if (regs->cs != USER_CS) |
regs | 686 | fs/exec.c | retval = fn(&bprm, regs); |
regs | 704 | fs/exec.c | asmlinkage int sys_execve(struct pt_regs regs) |
regs | 709 | fs/exec.c | error = getname((char *) regs.ebx, &filename); |
regs | 712 | fs/exec.c | error = do_execve(filename, (char **) regs.ecx, (char **) regs.edx, ®s); |
regs | 723 | fs/exec.c | struct pt_regs * regs); |
regs | 727 | fs/exec.c | struct pt_regs * regs); |
regs | 744 | fs/exec.c | int load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs) |
regs | 833 | fs/exec.c | regs->eip = ex.a_entry; /* eip, magic happens :-) */ |
regs | 834 | fs/exec.c | regs->esp = p; /* stack pointer */ |
regs | 23 | ibcs/emulate.c | asmlinkage void iABI_emulate(struct pt_regs * regs) |
regs | 25 | ibcs/emulate.c | printk("lcall 7,xxx: eax = %08lx\n",regs->eax); |
regs | 31 | include/linux/binfmts.h | int (*load_binary)(struct linux_binprm *, struct pt_regs * regs); |
regs | 111 | include/linux/sched.h | struct fpu_reg regs[8]; /* 8*16 bytes for each FP-reg = 128 bytes */ |
regs | 49 | include/linux/user.h | struct pt_regs regs; /* Where the registers are actually stored */ |
regs | 46 | include/linux/vm86.h | struct vm86_regs regs; |
regs | 114 | kernel/fork.c | #define IS_CLONE (regs.orig_eax == __NR_clone) |
regs | 122 | kernel/fork.c | asmlinkage int sys_fork(struct pt_regs regs) |
regs | 171 | kernel/fork.c | *childregs = regs; |
regs | 174 | kernel/fork.c | p->tss.eflags = regs.eflags & 0xffffcfff; /* iopl is always 0 for a new process */ |
regs | 176 | kernel/fork.c | if (regs.ebx) |
regs | 177 | kernel/fork.c | childregs->esp = regs.ebx; |
regs | 178 | kernel/fork.c | clone_flags = regs.ecx; |
regs | 179 | kernel/fork.c | if (childregs->esp == regs.esp) |
regs | 199 | kernel/irq.c | asmlinkage void do_IRQ(int irq, struct pt_regs * regs) |
regs | 203 | kernel/irq.c | sa->sa_handler((int) regs); |
regs | 531 | kernel/sched.c | static void do_timer(struct pt_regs * regs) |
regs | 590 | kernel/sched.c | if ((VM_MASK & regs->eflags) || (3 & regs->cs)) { |
regs | 601 | kernel/sched.c | unsigned long eip = regs->eip; |
regs | 21 | kernel/signal.c | extern int core_dump(long signr,struct pt_regs * regs); |
regs | 23 | kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs); |
regs | 112 | kernel/signal.c | struct pt_regs * regs = (struct pt_regs *) &restart; |
regs | 116 | kernel/signal.c | regs->eax = -EINTR; |
regs | 120 | kernel/signal.c | if (do_signal(mask,regs)) |
regs | 215 | kernel/signal.c | #define COPY(x) regs->x = context.x |
regs | 217 | kernel/signal.c | struct pt_regs * regs; |
regs | 219 | kernel/signal.c | regs = (struct pt_regs *) &__unused; |
regs | 220 | kernel/signal.c | memcpy_fromfs(&context,(void *) regs->esp, sizeof(context)); |
regs | 236 | kernel/signal.c | regs->orig_eax = -1; /* disable syscall checks */ |
regs | 245 | kernel/signal.c | struct pt_regs * regs, int signr, unsigned long oldmask) |
regs | 252 | kernel/signal.c | if (regs->ss != USER_DS) |
regs | 259 | kernel/signal.c | put_fs_long(regs->gs, frame+2); |
regs | 260 | kernel/signal.c | put_fs_long(regs->fs, frame+3); |
regs | 261 | kernel/signal.c | put_fs_long(regs->es, frame+4); |
regs | 262 | kernel/signal.c | put_fs_long(regs->ds, frame+5); |
regs | 263 | kernel/signal.c | put_fs_long(regs->edi, frame+6); |
regs | 264 | kernel/signal.c | put_fs_long(regs->esi, frame+7); |
regs | 265 | kernel/signal.c | put_fs_long(regs->ebp, frame+8); |
regs | 267 | kernel/signal.c | put_fs_long(regs->ebx, frame+10); |
regs | 268 | kernel/signal.c | put_fs_long(regs->edx, frame+11); |
regs | 269 | kernel/signal.c | put_fs_long(regs->ecx, frame+12); |
regs | 270 | kernel/signal.c | put_fs_long(regs->eax, frame+13); |
regs | 274 | kernel/signal.c | put_fs_long(regs->cs, frame+17); |
regs | 275 | kernel/signal.c | put_fs_long(regs->eflags, frame+18); |
regs | 276 | kernel/signal.c | put_fs_long(regs->esp, frame+19); |
regs | 277 | kernel/signal.c | put_fs_long(regs->ss, frame+20); |
regs | 300 | kernel/signal.c | asmlinkage int do_signal(unsigned long oldmask, struct pt_regs * regs) |
regs | 360 | kernel/signal.c | if (core_dump(signr,regs)) |
regs | 371 | kernel/signal.c | if (regs->orig_eax >= 0) { |
regs | 372 | kernel/signal.c | if (regs->eax == -ERESTARTNOHAND || |
regs | 373 | kernel/signal.c | (regs->eax == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
regs | 374 | kernel/signal.c | regs->eax = -EINTR; |
regs | 379 | kernel/signal.c | if (regs->orig_eax >= 0 && |
regs | 380 | kernel/signal.c | (regs->eax == -ERESTARTNOHAND || |
regs | 381 | kernel/signal.c | regs->eax == -ERESTARTSYS || |
regs | 382 | kernel/signal.c | regs->eax == -ERESTARTNOINTR)) { |
regs | 383 | kernel/signal.c | regs->eax = regs->orig_eax; |
regs | 384 | kernel/signal.c | regs->eip -= 2; |
regs | 388 | kernel/signal.c | eip = regs->eip; |
regs | 389 | kernel/signal.c | frame = (unsigned long *) regs->esp; |
regs | 397 | kernel/signal.c | setup_frame(sa,&frame,eip,regs,signr,oldmask); |
regs | 403 | kernel/signal.c | regs->cs = USER_CS; regs->ss = USER_DS; |
regs | 404 | kernel/signal.c | regs->ds = USER_DS; regs->es = USER_DS; |
regs | 405 | kernel/signal.c | regs->gs = USER_DS; regs->fs = USER_DS; |
regs | 409 | kernel/signal.c | regs->esp = (unsigned long) frame; |
regs | 410 | kernel/signal.c | regs->eip = eip; /* "return" to the first handler */ |
regs | 130 | kernel/sys.c | asmlinkage unsigned long save_v86_state(struct vm86_regs * regs) |
regs | 138 | kernel/sys.c | memcpy_tofs(&(current->vm86_info->regs),regs,sizeof(*regs)); |
regs | 177 | kernel/sys.c | info.regs.__null_ds = 0; |
regs | 178 | kernel/sys.c | info.regs.__null_es = 0; |
regs | 179 | kernel/sys.c | info.regs.__null_fs = 0; |
regs | 180 | kernel/sys.c | info.regs.__null_gs = 0; |
regs | 186 | kernel/sys.c | info.regs.eflags &= 0x00000dd5; |
regs | 187 | kernel/sys.c | info.regs.eflags |= ~0x00000dd5 & pt_regs->eflags; |
regs | 188 | kernel/sys.c | info.regs.eflags |= VM_MASK; |
regs | 199 | kernel/sys.c | :"g" ((long) &(info.regs)),"a" (info.regs.eax)); |
regs | 63 | kernel/traps.c | /*static*/ void die_if_kernel(char * str, struct pt_regs * regs, long err) |
regs | 67 | kernel/traps.c | if ((regs->eflags & VM_MASK) || (3 & regs->cs) == 3) |
regs | 71 | kernel/traps.c | printk("EIP: %04x:%08lx\nEFLAGS: %08lx\n", 0xffff & regs->cs,regs->eip,regs->eflags); |
regs | 73 | kernel/traps.c | regs->eax, regs->ebx, regs->ecx, regs->edx); |
regs | 75 | kernel/traps.c | regs->esi, regs->edi, regs->ebp); |
regs | 77 | kernel/traps.c | regs->ds, regs->es, regs->fs, regs->gs); |
regs | 81 | kernel/traps.c | printk("%02x ",0xff & get_seg_byte(regs->cs,(i+(char *)regs->eip))); |
regs | 86 | kernel/traps.c | asmlinkage void do_double_fault(struct pt_regs * regs, long error_code) |
regs | 89 | kernel/traps.c | die_if_kernel("double fault",regs,error_code); |
regs | 92 | kernel/traps.c | asmlinkage void do_general_protection(struct pt_regs * regs, long error_code) |
regs | 95 | kernel/traps.c | die_if_kernel("general protection",regs,error_code); |
regs | 98 | kernel/traps.c | asmlinkage void do_alignment_check(struct pt_regs * regs, long error_code) |
regs | 101 | kernel/traps.c | die_if_kernel("alignment check",regs,error_code); |
regs | 104 | kernel/traps.c | asmlinkage void do_divide_error(struct pt_regs * regs, long error_code) |
regs | 107 | kernel/traps.c | die_if_kernel("divide error",regs,error_code); |
regs | 110 | kernel/traps.c | asmlinkage void do_int3(struct pt_regs * regs, long error_code) |
regs | 115 | kernel/traps.c | die_if_kernel("int3",regs,error_code); |
regs | 118 | kernel/traps.c | asmlinkage void do_nmi(struct pt_regs * regs, long error_code) |
regs | 124 | kernel/traps.c | asmlinkage void do_debug(struct pt_regs * regs, long error_code) |
regs | 129 | kernel/traps.c | if((regs->cs & 3) == 0) { |
regs | 138 | kernel/traps.c | die_if_kernel("debug",regs,error_code); |
regs | 141 | kernel/traps.c | asmlinkage void do_overflow(struct pt_regs * regs, long error_code) |
regs | 144 | kernel/traps.c | die_if_kernel("overflow",regs,error_code); |
regs | 147 | kernel/traps.c | asmlinkage void do_bounds(struct pt_regs * regs, long error_code) |
regs | 150 | kernel/traps.c | die_if_kernel("bounds",regs,error_code); |
regs | 153 | kernel/traps.c | asmlinkage void do_invalid_op(struct pt_regs * regs, long error_code) |
regs | 156 | kernel/traps.c | die_if_kernel("invalid operand",regs,error_code); |
regs | 159 | kernel/traps.c | asmlinkage void do_device_not_available(struct pt_regs * regs, long error_code) |
regs | 162 | kernel/traps.c | die_if_kernel("device not available",regs,error_code); |
regs | 165 | kernel/traps.c | asmlinkage void do_coprocessor_segment_overrun(struct pt_regs * regs, long error_code) |
regs | 168 | kernel/traps.c | die_if_kernel("coprocessor segment overrun",regs,error_code); |
regs | 171 | kernel/traps.c | asmlinkage void do_invalid_TSS(struct pt_regs * regs,long error_code) |
regs | 174 | kernel/traps.c | die_if_kernel("invalid TSS",regs,error_code); |
regs | 177 | kernel/traps.c | asmlinkage void do_segment_not_present(struct pt_regs * regs,long error_code) |
regs | 180 | kernel/traps.c | die_if_kernel("segment not present",regs,error_code); |
regs | 183 | kernel/traps.c | asmlinkage void do_stack_segment(struct pt_regs * regs,long error_code) |
regs | 186 | kernel/traps.c | die_if_kernel("stack segment",regs,error_code); |
regs | 224 | kernel/traps.c | asmlinkage void do_coprocessor_error(struct pt_regs * regs, long error_code) |
regs | 230 | kernel/traps.c | asmlinkage void do_reserved(struct pt_regs * regs, long error_code) |
regs | 233 | kernel/traps.c | die_if_kernel("reserved (15,17-47) error",regs,error_code); |
regs | 891 | mm/memory.c | asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code) |
regs | 901 | mm/memory.c | if (regs->eflags & VM_MASK) { |
regs | 906 | mm/memory.c | user_esp = regs->esp; |
regs | 928 | mm/memory.c | die_if_kernel("Oops", regs, error_code); |