开发工具:
文件大小: 5mb
下载次数: 0
上传时间: 2008-06-14
详细说明: Linux1.0核心游记
第一部分 基础知识(Basic knowledge ).....................................................................11
软件部分(Software part)...........................................................................................12
S1.Makefile简介.....................................................................................................12
S1.1Makefile规则....................................................................... ..................12
S2.汇编简介 ...........................................................................................................17
S2.1 汇编优缺点............................................................................................17
S2.2 汇编语法(AT&T asm VS Intel asm).............................................18
S2.3 Hello world!示例...............................................................................20
S3.实模式向保护模式切换....................................................................................21
S3.1 切换到保护方式的准备工作.................................................................21
S3.2 使用段间指令切换进保护模式............................................................22
S3.3 打开A20 地址线切换进保护模式........................................................23
S4.gcc内嵌汇编......................................................................................................25
S4.1 内嵌汇编格式.........................................................................................25
S4.2 内嵌汇编示例.........................................................................................26
S5.GDB调试器.......................................................................................................28
S5.1 GDB命令................................................................................................29
S5.2 GDB调试样例........................................................................................29
S6.系统调用实现详解............................................................................................34
S6.1 核心中提供的宏....................................................................................34
S6.2 系统调用编号........................................................................................37
S6.3 系统调用入口点及函数表....................................................................40
S6.4 对系统调用调用....................................................................................41
硬件部分(Hardware part)..........................................................................................44
H1.操作系统的引导...............................................................................................44
H1.1 BIOS的工作...........................................................................................44
H1.2 操作系统的引导块程序.......................................................................44
H2. X86 CPU 寻址简介........................................................................................47
H2.1 实模式...................................................................................................47
H2.2 实模式方式下物理地址的形成............................................................48
H2.3 保护模式...............................................................................................49
H2.4 保护模式方式下物理地址的形成........................................................49
H3. IDT & GDT & LDT .........................................................................................51
H3.1 IDT .........................................................................................................51
H3.2 GDT & LDT ...........................................................................................52
H4.8259A可编程中断控制器................................................................................53
H4.1 8259A芯片简介.....................................................................................53
H4.2 8259A芯片对的中断处理过程.............................................................54
H4.3 8259A编程方式.....................................................................................55
H5.I/O端口及指令..................................................................................................61
H5.1I/O端口.......................................
A1.模块的编写.............................................................................................................396
A1-1 模块代码及分析..........................................................................................396
A1-2 模块的加载、注销及查看..........................................................................398
A2.系统调用的添加.....................................................................................................400
A2-1 静态添加系统调用......................................................................................400
A2-1-1 讨论Linux系统调用的体系.............................................................400
A2-1-2 修改代码来添加系统调用..............................................................405
A2-2 动态添加系统调用......................................................................................406
A2-2-1 动态添加系统调用的原理..............................................................407
A2-2-2 实现动态添加、修改系统调用......................................................408
A2-2-3 反汇编capturemod.o并分析之........................................................414
A3.函数库的编写.........................................................................................................419
A3-1 静态函数库的编写.....................................................................................419
A3-1-1 包含算法的各个文件及Makefle .....................................................420
A3-1-2 测试静态函数库的程序及Makefile ................................................422
A3-1-3 静态库编译情况..............................................................................423
A3-1-3 主程序与静态库连接......................................................................425
A3-2 动态函数库的编写.....................................................................................425
A3-2-1 动态库编译情况..............................................................................426
A3-2-2 使用动态装载器..............................................................................428
A3-3 动态/静态函数库优点 ...............................................................................429
A3-3-1 静态库优点......................................................................................429
A3-3-2 动态库优点.................................... ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.