Arm Linux Startup
image001.png
  • r0 = 0,
  • r1 = machine architecture number (the MACH_TYPE_XXX in kernel)
    • Must match one of define in linux/arch/arm/tools/mach-types.
  • r2 = physical address of tagged list in system RAM
  • arch/arm/boot/compressed/head.S
  • arch\arm\include\asm\unified.h
#ifdef CONFIG_THUMB2_KERNEL

...
#define ARM(x...)
#define THUMB(x...)    x
...
#else    /* !CONFIG_THUMB2_KERNEL */
...
#endif    /* CONFIG_THUMB2_KERNEL */
prot_l1 First-level descriptor
prot_pte Second-level descriptor
prot_sect
  • SMP
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License