From Linux Drivers
Revision as of 15:09, 5 April 2012 by Linuxdriver
stext is the entry point of Linux kernel for ARM architectures.
- Set CPSR to ensure the processor is in supervisor mode, and both IRQ and FIQ are disabled.
- Get processor ID from CP15
- Get the pointer to procinfo structure for its processor ID by calling __lookup_processor_type (arch/arm/kernel/head-common.S). If __lookup_processor_type could not find the procinfo structure, then the system fails to boot.