Lines Matching refs:regs
53 #define nommu_start_thread(regs) do { } while (0)
55 #define nommu_start_thread(regs) regs->ARM_r10 = current->mm->start_data
58 #define start_thread(regs,pc,sp) \
62 memzero(regs->uregs, sizeof(regs->uregs)); \
64 regs->ARM_cpsr = USR_MODE; \
66 regs->ARM_cpsr = USR26_MODE; \
68 regs->ARM_cpsr |= PSR_T_BIT; \
69 regs->ARM_pc = pc & ~1; /* pc */ \
70 regs->ARM_sp = sp; /* sp */ \
71 regs->ARM_r2 = stack[2]; /* r2 (envp) */ \
72 regs->ARM_r1 = stack[1]; /* r1 (argv) */ \
73 regs->ARM_r0 = stack[0]; /* r0 (argc) */ \
74 nommu_start_thread(regs); \