Hi,
i am in the course of understanding the flow of linux kernel source code on bootup process. i am stuck in the place of code line
Code:
ARM( add pc, r10, #PROCINFO_INITFUNC )
in the file head.S which resides in the path arch/arm/kernel/. When I searched in the kernel source code workspace for PROCINFO_INITFUNC it was defined as follows in arm-offsets.c.
Code:
DEFINE(PROCINFO_INITFUNC, offsetof(struct proc_info_list, __cpu_flush));
But I could not identify any assignments of address or function pointer to __cpu_flush and so I couldnot identify where will be the program counter switches to from the above said line of code in head.S under arch/arm/kernel/ folder?
Can anyone please help regarding this doubt?