/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/ |
H A D | processor.h | 83 struct cpu_context { struct 99 struct cpu_context cpu_context; member in struct:thread_struct 105 .cpu_context = { \ 134 #define thread_saved_pc(tsk) ((tsk)->thread.cpu_context.pc) 142 #define KSTK_EIP(tsk) ((tsk)->thread.cpu_context.pc) 143 #define KSTK_ESP(tsk) ((tsk)->thread.cpu_context.ksp)
|
H A D | system.h | 52 struct cpu_context; 55 struct cpu_context *, 56 struct cpu_context *); 59 last = __switch_to(prev, &prev->thread.cpu_context + 1, \ 60 &next->thread.cpu_context); \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/ |
H A D | xscale-cp0.c | 40 thread->cpu_context.extra[0] = 0; 41 thread->cpu_context.extra[1] = 0; 45 dsp_save_state(current_thread_info()->cpu_context.extra); 46 dsp_load_state(thread->cpu_context.extra);
|
H A D | process.c | 341 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); 342 thread->cpu_context.sp = (unsigned long)childregs; 343 thread->cpu_context.pc = (unsigned long)ret_from_fork;
|
H A D | asm-offsets.c | 49 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/mm/ |
H A D | tlb-flush.c | 19 if (vma->vm_mm && cpu_context(cpu, vma->vm_mm) != NO_CONTEXT) { 45 if (cpu_context(cpu, mm) != NO_CONTEXT) { 52 cpu_context(cpu, mm) = NO_CONTEXT; 112 if (cpu_context(cpu, mm) != NO_CONTEXT) { 116 cpu_context(cpu, mm) = NO_CONTEXT;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mm/ |
H A D | tlb-r3k.c | 70 if (cpu_context(cpu, mm) != 0) { 72 printk("[tlbmm<%lu>]", (unsigned long)cpu_context(cpu, mm)); 84 if (cpu_context(cpu, mm) != 0) { 90 cpu_context(cpu, mm) & ASID_MASK, start, end); 96 int newpid = cpu_context(cpu, mm) & ASID_MASK; 163 if (!vma || cpu_context(cpu, vma->vm_mm) != 0) { 168 printk("[tlbpage<%lu,0x%08lx>]", cpu_context(cpu, vma->vm_mm), page); 170 newpid = cpu_context(cpu, vma->vm_mm) & ASID_MASK; 204 if ((pid != (cpu_context(cpu, vma->vm_mm) & ASID_MASK)) || (cpu_context(cp [all...] |
H A D | tlb-r8k.c | 58 if (cpu_context(cpu, mm) != 0) 70 if (!cpu_context(cpu, mm)) 157 if (!cpu_context(cpu, vma->vm_mm))
|
H A D | c-tx39.c | 144 if (cpu_context(smp_processor_id(), mm) != 0) 153 if (!(cpu_context(smp_processor_id(), vma->vm_mm))) 172 if (cpu_context(smp_processor_id(), mm) == 0)
|
H A D | tlb-r4k.c | 89 if (cpu_context(cpu, mm) != 0) { 102 if (cpu_context(cpu, mm) != 0) { 188 if (cpu_context(cpu, vma->vm_mm) != 0) {
|
H A D | c-r4k.c | 364 if (!(cpu_context(smp_processor_id(), vma->vm_mm))) 383 if (!cpu_context(smp_processor_id(), mm)) 434 if (cpu_context(smp_processor_id(), mm) == 0) 483 if (cpu_context(cpu, mm) != 0)
|
H A D | c-sb1.c | 207 if (cpu_context(cpu, vma->vm_mm) != 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/ |
H A D | mmu_context.h | 76 #define cpu_context(cpu, mm) ((mm)->context[cpu]) macro 77 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK) 105 cpu_context(cpu, mm) = asid_cache(cpu) = asid; 124 cpu_context(i, mm) = 0; 145 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK) 168 | (cpu_context(cpu, next) & ASID_MASK)); 172 write_c0_entryhi(cpu_context(cpu, next)); 228 (cpu_context(cpu, next) & ASID_MASK)); 232 write_c0_entryhi(cpu_context(cpu, next)); 282 cpu_context(cp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/ |
H A D | mmu_context.h | 76 #define cpu_context(cpu, mm) ((mm)->context[cpu]) macro 77 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK) 105 cpu_context(cpu, mm) = asid_cache(cpu) = asid; 124 cpu_context(i, mm) = 0; 145 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK) 168 | (cpu_context(cpu, next) & ASID_MASK)); 172 write_c0_entryhi(cpu_context(cpu, next)); 228 (cpu_context(cpu, next) & ASID_MASK)); 232 write_c0_entryhi(cpu_context(cpu, next)); 282 cpu_context(cp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/ |
H A D | thread_info.h | 43 * We assume cpu_context follows immedately after cpu_domain. 52 struct cpu_context_save cpu_context; /* cpu context */ member in struct:thread_info 90 ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc))) 92 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/ |
H A D | mmu_context.h | 31 #define cpu_context(cpu, mm) ((mm)->context.id[cpu]) macro 32 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & \ 50 if (((cpu_context(cpu, mm) ^ asid) & MMU_CONTEXT_VERSION_MASK) == 0) 70 cpu_context(cpu, mm) = asid_cache(cpu) = asid; 83 cpu_context(i, mm) = NO_CONTEXT;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/ |
H A D | thread_info.h | 49 * __switch_to() assumes cpu_context follows immediately after cpu_domain. 59 struct cpu_context_save cpu_context; /* cpu context */ member in struct:thread_info 112 ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc))) 114 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/kernel/ |
H A D | process.c | 168 fp = tsk->thread.cpu_context.r7; 225 sp = tsk->thread.cpu_context.ksp; 343 p->thread.cpu_context.sr = MODE_SUPERVISOR | SR_GM; 344 p->thread.cpu_context.ksp = (unsigned long)childregs; 345 p->thread.cpu_context.pc = (unsigned long)ret_from_fork; 416 unsigned long fp = p->thread.cpu_context.r7; 429 unsigned long sp = p->thread.cpu_context.ksp + 16;
|
H A D | ptrace.c | 34 tsk->pid, tsk->thread.cpu_context.sr); 35 if (!(tsk->thread.cpu_context.sr & SR_D)) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/kernel/ |
H A D | process.c | 283 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); 284 thread->cpu_context.sp = (unsigned long)childregs; 285 thread->cpu_context.pc = (unsigned long)ret_from_fork | MODE_SVC26 | PSR_I_BIT;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/ |
H A D | smp.c | 331 cpu_context(i, mm) = 0; 367 cpu_context(i, mm) = 0; 409 cpu_context(i, vma->vm_mm) = 0;
|
H A D | smtc.c | 1254 cpu_context(i, mm) = asid_cache(i) = asid;
|