• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/

Lines Matching refs:newregs

69 static inline void crash_fixup_ss_esp(struct pt_regs *newregs,
73 newregs->sp = (unsigned long)&(oldregs->sp);
76 :"=a"(newregs->ss));
85 static inline void crash_setup_regs(struct pt_regs *newregs,
89 memcpy(newregs, oldregs, sizeof(*newregs));
90 crash_fixup_ss_esp(newregs, oldregs);
93 asm volatile("movl %%ebx,%0" : "=m"(newregs->bx));
94 asm volatile("movl %%ecx,%0" : "=m"(newregs->cx));
95 asm volatile("movl %%edx,%0" : "=m"(newregs->dx));
96 asm volatile("movl %%esi,%0" : "=m"(newregs->si));
97 asm volatile("movl %%edi,%0" : "=m"(newregs->di));
98 asm volatile("movl %%ebp,%0" : "=m"(newregs->bp));
99 asm volatile("movl %%eax,%0" : "=m"(newregs->ax));
100 asm volatile("movl %%esp,%0" : "=m"(newregs->sp));
101 asm volatile("movl %%ss, %%eax;" :"=a"(newregs->ss));
102 asm volatile("movl %%cs, %%eax;" :"=a"(newregs->cs));
103 asm volatile("movl %%ds, %%eax;" :"=a"(newregs->ds));
104 asm volatile("movl %%es, %%eax;" :"=a"(newregs->es));
105 asm volatile("pushfl; popl %0" :"=m"(newregs->flags));
107 asm volatile("movq %%rbx,%0" : "=m"(newregs->bx));
108 asm volatile("movq %%rcx,%0" : "=m"(newregs->cx));
109 asm volatile("movq %%rdx,%0" : "=m"(newregs->dx));
110 asm volatile("movq %%rsi,%0" : "=m"(newregs->si));
111 asm volatile("movq %%rdi,%0" : "=m"(newregs->di));
112 asm volatile("movq %%rbp,%0" : "=m"(newregs->bp));
113 asm volatile("movq %%rax,%0" : "=m"(newregs->ax));
114 asm volatile("movq %%rsp,%0" : "=m"(newregs->sp));
115 asm volatile("movq %%r8,%0" : "=m"(newregs->r8));
116 asm volatile("movq %%r9,%0" : "=m"(newregs->r9));
117 asm volatile("movq %%r10,%0" : "=m"(newregs->r10));
118 asm volatile("movq %%r11,%0" : "=m"(newregs->r11));
119 asm volatile("movq %%r12,%0" : "=m"(newregs->r12));
120 asm volatile("movq %%r13,%0" : "=m"(newregs->r13));
121 asm volatile("movq %%r14,%0" : "=m"(newregs->r14));
122 asm volatile("movq %%r15,%0" : "=m"(newregs->r15));
123 asm volatile("movl %%ss, %%eax;" :"=a"(newregs->ss));
124 asm volatile("movl %%cs, %%eax;" :"=a"(newregs->cs));
125 asm volatile("pushfq; popq %0" :"=m"(newregs->flags));
127 newregs->ip = (unsigned long)current_text_addr();