码迷,mamicode.com
首页 > 系统相关 > 详细

linux kernel x86 arch how to boot to init

时间:2017-11-16 15:20:27      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:arch   com   cte   linux   boot   cal   res   nbsp   cond   

arch/x86/boot/header.S   -->   _start   -->   calll   main
arch/x86/boot/main.c   -->   main -- >   go_to_protected_mode
arch/x86/boot/pm.c   -->   go_to_protected_mode   -->   protected_mode_jump
arch/x86/boot/pmjump.S   -->   GLOBAL(protected_mode_jump)   -->   jmpl    *%eax
arch/x86/boot/compressed/head_64.S   -->   ENTRY(startup_32)   -->   ENTRY(startup_64)   -->    jmp *%rax
arch/x86/kernel/head_64.S   -->   startup_64   -->   ENTRY(secondary_startup_64)   -->   lretq (%rax)
arch/x86/kernel/head64.c   --> x86_64_start_kernel   -->   start_kernel
init/main.c   -->   start_kernel   -->   rest_init

linux kernel x86 arch how to boot to init

标签:arch   com   cte   linux   boot   cal   res   nbsp   cond   

原文地址:http://www.cnblogs.com/ShannonSN/p/7844387.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!