Booting
From Linux Drivers
(Difference between revisions)
(Emine) |
Linuxdriver (Talk | contribs) m (Reverted edits by 62.87.210.232 (talk) to last revision by Linuxdriver) |
||
Line 1: | Line 1: | ||
− | + | == ARM Architecture == | |
+ | |||
+ | === '''stext''' (''arch/arm/kernel/head.S'') === | ||
+ | |||
+ | '''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. | ||
+ | # __create_page_tables | ||
+ | # __enable_mmu | ||
+ | |||
+ | === _mmap_switched (''arch/arm/kernel/head-common.S'') === |
Latest revision as of 15:09, 5 April 2012
[edit] ARM Architecture
[edit] stext (arch/arm/kernel/head.S)
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.
- __create_page_tables
- __enable_mmu