head-nommu.S (67c9845beab16a0c97b9c07f72a4b36b7175bb86) head-nommu.S (eb08375ea66e63c5e11dea69b43c5633d531ce81)
1/*
2 * linux/arch/arm/kernel/head-nommu.S
3 *
4 * Copyright (C) 1994-2002 Russell King
5 * Copyright (C) 2003-2006 Hyok S. Choi
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 93 unchanged lines hidden (view full) ---

102 mrc p15, 0, r9, c0, c0 @ get processor id
103#endif
104 bl __lookup_processor_type @ r5=procinfo r9=cpuid
105 movs r10, r5 @ invalid processor?
106 beq __error_p @ yes, error 'p'
107
108 adr r4, __secondary_data
109 ldmia r4, {r7, r12}
1/*
2 * linux/arch/arm/kernel/head-nommu.S
3 *
4 * Copyright (C) 1994-2002 Russell King
5 * Copyright (C) 2003-2006 Hyok S. Choi
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 93 unchanged lines hidden (view full) ---

102 mrc p15, 0, r9, c0, c0 @ get processor id
103#endif
104 bl __lookup_processor_type @ r5=procinfo r9=cpuid
105 movs r10, r5 @ invalid processor?
106 beq __error_p @ yes, error 'p'
107
108 adr r4, __secondary_data
109 ldmia r4, {r7, r12}
110
111#ifdef CONFIG_ARM_MPU
112 /* Use MPU region info supplied by __cpu_up */
113 ldr r6, [r7] @ get secondary_data.mpu_szr
114 bl __setup_mpu @ Initialize the MPU
115#endif
116
110 adr lr, BSYM(__after_proc_init) @ return address
111 mov r13, r12 @ __secondary_switched address
112 ARM( add pc, r10, #PROCINFO_INITFUNC )
113 THUMB( add r12, r10, #PROCINFO_INITFUNC )
114 THUMB( mov pc, r12 )
115ENDPROC(secondary_startup)
116
117ENTRY(__secondary_switched)

--- 120 unchanged lines hidden ---
117 adr lr, BSYM(__after_proc_init) @ return address
118 mov r13, r12 @ __secondary_switched address
119 ARM( add pc, r10, #PROCINFO_INITFUNC )
120 THUMB( add r12, r10, #PROCINFO_INITFUNC )
121 THUMB( mov pc, r12 )
122ENDPROC(secondary_startup)
123
124ENTRY(__secondary_switched)

--- 120 unchanged lines hidden ---