摘要: 参考上文: http://www.cnblogs.com/long123king/p/3543872.html http://www.cnblogs.com/long123king/p/3545688.html 补充:linker script documentation http://www.nacad.ufrj.br/online/sgi/860-0247-001/sgi_html/ldLi... 阅读全文
posted @ 2014-02-12 15:10 Daniel King 阅读(3265) 评论(0) 推荐(0) 编辑
摘要: 1. main函数 参见上方http://www.cnblogs.com/long123king/p/3543872.html,代码跳转到main函数。 arch/x86/boot/main.c 1: void main(void) 2: { 3: /* First, copy the boot header into the "zeropage" */ 4: ... 阅读全文
posted @ 2014-02-12 11:46 Daniel King 阅读(865) 评论(0) 推荐(0) 编辑