- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PC bootup Presented by: Rahul Garg (2003CS10183) Rajat Sahni (2003CS10184) Varun Gulshan(2003CS10191) From power on to Kernel load PC firmware or BIOS. bootSect.S / Bootloader. Boot loader to kernel. 精品文档 Memory Map at Power up MAPPED TO ROM FREE SPACE FREE SPACE 0xA0000 0x100000 精品文档 ROM shadowing The address space occupied by BIOS Roms is not available as useful RAM. BIOS can make use of this RAM to shadow its ROM. Write protects this shadowed RAM, disables ROM. 精品文档 Start up Sequence CS:IP = 0xf000:fff0. Starts in real mode. 16 bit mode. IP = 16 bit offset CS = Segment offset in 16 byte units. i.e PC = 16*CS+IP Max: 1MB of address space. A20 pain from the past. 精品文档 Start up Sequence POST(Power on self test) Looks for video card and executes its BIOS. Looks for other option ROMS e.g IDE disk. Does more system inventory e.g COM ports, setting hard disk params. Plug and play support. Sets up IDT and the interrupt service routines. 精品文档 BIOS contd… Looks for bootable media. Loads Boot sector(512 bytes) of the media at 0x7c00 . Jumps to CS:IP = 0000:7c00 with DL=drive id of bootable drive. BIOS data area from 0x0000 to 0x7c00. (Contains IDT,ISR’s and data). 精品文档 BIOS system calls BIOS provides low level I/O routines through interrupts. Main services are: INT 15h: Get memory map. INT 13h: Disk I/O interrupts. INT 19h: Bootstrap loader. 精品文档 Memory Map at this stage BIOS DATA BOOT SECTOR BIOS ROM VGA 0x0000 0(1MB) 0xA0000 (640KB) 0x7C00 FREE SPACE 精品文档 Structure of MBR MBR: 512 bytes 0-62 bytes : BIOS Parameter Block (BPB) 63-445 bytes: Bootsect.S 446-510 bytes: Partition table 511-512 bytes: Boot signature 0xaa55 精品文档 Flow Diagram BIOS Bootsect.S Stage 1 Stage 2 Setup.S Head.S Jumps to init Booting with bootloader Part of Kernel image 精品文档 Role of Bootsect.S Moves itself to 0x90000 Get disk parameters (passed by BIOS) and sets up stack Loads setup.S right after itself (0x90200) Loads compressed kernel image at 0x100000 (1 MB) Jumps to
您可能关注的文档
- Morgan & Claypool出版社综述文集课件.ppt
- Morphology Control of Cuprous Oxide Micro- and 课件.ppt
- Mortalidad por enfermedades del corazón. Cuba. 1985-2006课件.ppt
- Mpacc考研经验分享课件.ppt
- Mr. James Garner课件.ppt
- MRI对胎儿颅脑检查的作用和临床意义课件.ppt
- MS-PowerPoint的简单应用课件.ppt
- MSDS(材料安全数据表)Grade HX2805课件.ppt
- MSG308Exchange 2003的多种高可用性及集群方案一览课件.ppt
- MSG360使用Microsoft Operations Manager和Exchange最佳课件.ppt
最近下载
- 声控灯的安装与调试工作页.doc VIP
- 2024年全国统一高考化学试卷(新课标)(含解析版).docx
- 2024春期国开电大《应用写作(汉语)》形考任务1-6参考答案.doc
- 佳能PowerShot使用手册SX70HS说明书.pdf
- 重大社2024初中信息科技1教材解读-七年级上册第一单元(吴跃进).pptx
- 谦敬辞训练题(答案).doc
- 《等腰三角形的判定》PPT课件.pptx
- 原发性肝癌诊疗指南(2024年版)内科及系统治疗解读.pptx
- 线性多智能体系统的自适应动态事件触发一致性Adaptive Dynamic Event-Triggered Consensus of Linear Multi-Agent Systems-来源:理论数学(第2021011期)-汉斯出版社.pdf VIP
- HG_T 4580-2013 农业用硝酸钙.docx
文档评论(0)