Booting

From Linux Drivers
(Difference between revisions)
Jump to: navigation, search
(Emine)
m (Reverted edits by 62.87.210.232 (talk) to last revision by Linuxdriver)
 
Line 1: Line 1:
Гонялись (и гоняются) коды вида Numeric Weather Simulation. На x86_64 это Infiniband кластер, а на IA64 это SGI Altix 4700. Дровишки --- из конторы которая поменяла dropped "e" в своем логотипе.
+
== 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.

  1. Set CPSR to ensure the processor is in supervisor mode, and both IRQ and FIQ are disabled.
  2. Get processor ID from CP15
  3. 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.
  4. __create_page_tables
  5. __enable_mmu

[edit] _mmap_switched (arch/arm/kernel/head-common.S)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox