FreeBSD内核如何在保护模式下管理IA32处理器
2009-05-13 03:53:13来源:未知 阅读 ()
(c) 2004, Arne Vidstrom,
http://vidstrom.net
Version 1.0 : 2004-06-17
Table of contents
1. PREREQUISITE KNOWLEDGE....................................................................................2
2. INFORMATION SOURCES ..........................................................................................2
3. THE INTERRUPT DESCRIPTOR TABLE (IDT) ............................................................2
3.1 The IDT definition............................................................................................2
3.2 Setting entries in the IDT .................................................................................3
3.3 A look inside the IDT with KernView ..............................................................4
3.4 Making the IDT active .....................................................................................5
4. SYSCALL HANDLING ...............................................................................................6
4.1 The INT 0x80 interrupt handler.......................................................................6
4.2 Syscall dispatching...........................................................................................8
4.3 The copyin() function .....................................................................................10
5. THE GLOBAL DESCRIPTOR TABLE (GDT).............................................................12
5.1 The GDT definition ........................................................................................12
5.2 Setting up the descriptors in the GDT............................................................13
5.3 Making the GDT active..................................................................................16
5.4 A look inside the GDT with KernView...........................................................17
5.5 Segment selector values in an ordinary user mode program ........................21
6. TASK SWITCHING ..................................................................................................22
6.1 The cpu_switch() function..............................................................................22
7. VIRTUAL PAGING ..................................................................................................29
7.1 The page fault handler ...................................................................................29
7.2 Virtual paging and task switching .................................................................32
8 THE LOCAL DESCRIPTOR TABLE (LDT).................................................................32
8.1 A quick glance at the LDT .............................................................................32
9. MISCELLANEOUS ..................................................................................................34
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
上一篇:FreeBSD系统结构手册
下一篇:bsd6.1下的内核多线程
- FAMP5.0推出,网页式管理服务器,一键安装Apache+Nginx+Mysql+ 2009-05-13
- FreeBSD与VIA C3的启动问题 2009-05-13
- 使用mod_cband管理Apache 2带宽和流量 2009-05-13
- Syslog在网络管理中的应用 2009-05-13
- agef - Usenet news 管理工具 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash