09 2018 档案

Linux0.11笔记之Makefile和Build
摘要:Linux0.11源码阅读笔记 零,目标文件结构(读Makefile和build.c) 1,Makefile:使用build 工具把bootsect,setup,system几个模块拼成 Image. 2,build工具在tools/build.c,该文件看似很长,其实逻辑很简单,把以上几个模块拼成 阅读全文

posted @ 2018-09-02 09:30 ShuihanYi 阅读(522) 评论(0) 推荐(0)

Linux0.11笔记之bootsect.s
摘要:Linux0.11 源码阅读笔记 一,前期的准备 1,bootsect.s 通过阅读Makefile和build.c可知,bootsect.s 编译后的bootsect 是整个系统的第一段程序,它占用软盘的前512字节。 question : 系统为什么认为软盘是一个 启动盘 ,并从bootsect 阅读全文

posted @ 2018-09-02 09:11 ShuihanYi 阅读(232) 评论(0) 推荐(0)