analyze linux booting code
linux arm64 启动代码:汇编部分
摘要:1. 汇编部分主流程1.1 时序图1.2 代码解析 1 ENTRY(stext) 2 /* 3 * Kernel startup entry point. 4 * --------------------------- 5 * 6 * The requirements are: 7 * ...
阅读全文
posted @
2014-06-11 23:34
choi87
阅读(748)
推荐(0)
Linux启动汇编部分(四)__enable_mmu
摘要:1 /* 2 * Setup common bits before finally enabling the MMU. Essentially 3 * this is just loading the page table pointer and domain access 4 *...
阅读全文
posted @
2013-08-27 21:40
choi87
阅读(1247)
推荐(0)
Linux启动汇编部分(三)__v6_setup
摘要:1 /* 2 * __v6_setup 3 * 4 * Initialise TLB, Caches, and MMU state ready to switch the MMU 5 * on. Return in r0 the new CP15 C1 control ...
阅读全文
posted @
2013-08-27 21:39
choi87
阅读(533)
推荐(0)
Linux启动汇编部分(二)create_page_tables
摘要:1 /* 2 * r1 = machine no, r2 = atags or dtb, 3 * r8 = phys_offset, r9 = cpuid, r10 = procinfo 4 */ 5 __create_page_tables: 6 ...
阅读全文
posted @
2013-08-20 23:37
choi87
阅读(1209)
推荐(0)
Linux启动汇编部分(一)head.S
摘要:1 /* 2 * Kernel startup entry point. 3 * --------------------------- 4 * 5 * This is normally called from the decompressor code. The requir...
阅读全文
posted @
2013-08-19 21:40
choi87
阅读(830)
推荐(0)