検索条件
全1件
(1/1ページ)
FILE:arch/arm/kernel/vmlinux.lds .init.pv_table : { __pv_table_begin = .; *(.pv_table) __pv_table_end = .; }
Kernel startup entry point. --------------------------- This is normally called from the decompressor code. The requirements are: MMU = off, D-cache = off, I-cache = dont care, r0 = 0, r1 = machine nr, r2 = atags or dtb pointer. This code is mostly position independent, so if you link the kernel at 0xc0008000, you call this at __pa(0xc0008000). See linux/arch/arm/tools/mach-types for the complete list of machine numbers for r1. We're trying to keep crap to a minimum; DO NOT add any machine specific crap here - that's what the boot loader (or in extreme, well justified circumstances, zImage) is for.
/* * r1 = machine no, r2 = atags or dtb, * r8 = phys_offset, r9 = cpuid, r10 = procinfo */ bl __vet_atags // ゴミデータなら r2=NULL と修正される。 #ifdef CONFIG_SMP_ON_UP bl __fixup_smp #endif #ifdef CONFIG_ARM_PATCH_PHYS_VIRT //enable bl __fixup_pv_table // #endif bl __create_page_tableskernel imageがロードされた物理アドレス と kernel空間を設置しようとしている論理アドレス、との