MIT OS 3. Some Tips @ Lab1

本文介绍MITOS课程中的Lab1内容,涵盖计算机启动过程、硬盘结构及分区协议、OS-Loader、X86CPU的不同模式、AT&T汇编及栈链等核心概念。同时提供学习资源链接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MIT OS课程主页:http://pdos.csail.mit.edu/6.828/2010/

Lab1主要是关于计算机启动和栈的一些知识。

在做Lab1的时候需要了解下面的几点Tips,或者说做完Lab1之后,应该对下面的问题有比较清楚的了解:

1.计算机启动的过程。从电脑上电到BIOS自检,从自检完毕到加载OS-Loader。

2.硬盘结构和分区协议。主分区,逻辑分区,扩展分区。固态硬盘的寻址方式。

3.OS-Loader。常见的OS-Loader。 具有自启动能力的镜像。

4.X86 CPU的实模式,保护模式,伪实模式(unreal mode)。

5.AT &T 汇编。 

6.栈链。Printf的实现。

  • At what point does the processor start executing 32-bit code? What exactly causes the switch from 16- to 32-bit mode?
  • What is the last instruction of the boot loader executed, and what is the first instruction of the kernel it just loaded?
  • Where is the first instruction of the kernel?
  • How does the boot loader decide how many sectors it must read in order to fetch the entire kernel from disk? Where does it find this information? 

Useful link about these tips:

AT&T ASM:

1.http://hi.baidu.com/yanyulou/blog/item/2698c1fd5d07dc40d6887d04.html

2.http://blog.youkuaiyun.com/kendiv/archive/2006/04/23/673621.aspx

3.http://hi.baidu.com/%C1%E3%BC%D2%B5%B7%B5%B0%BE%AB%C1%E9/blog/item/6bd8ce3ce8dc25cc9f3d6294.html

4.http://blog.youkuaiyun.com/cdm_xu/archive/2009/06/07/4248576.aspx

5.http://blogold.chinaunix.net/u/17660/showart_259726.html

BIOS INT:

1. http://wenku.baidu.com/view/0104854ac850ad02de8041a0.htmkl

Gate20:

1.http://hi.baidu.com/_psoc/blog/item/24304d08e7461ed463d98667.html

Boot Up:

1.http://hi.baidu.com/xuyangliu/blog/item/d264dc55a710725ed10906ca.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值