目 录
1 课程设计概览 ...............................................................................................................1
1.1 课程设计目的和要求............................................................................................1
1.2 课程设计任务........................................................................................................1
2 开发环境 .......................................................................................................................2
3 相关原理及算法 ...........................................................................................................3
3.1 基本原理................................................................................................................3
3.2 地址变换过程........................................................................................................3
3.3 有关算法................................................................................................................5
4 系统结构和主要的算法设计思路 ...............................................................................6
4.1 系统结构................................................................................................................6
4.1.1 内存管理模块 ...................................................................................................6
4.2 算法设计思路........................................................................................................8
4.2.1 页表虚拟地址变换机构 ...................................................................................8
4.2.2 段表虚拟地址变换机构 .................................................................................10
4.2.3 LRU 页面置换算法 .........................................................................................10
5 程序实现 .....................................................................................................................12
5.1 主要数据结构......................................................................................................12
5.2 主要程序清单......................................................................................................17
5.2.1 核心程序 .........................................................................................................17
5.2.2 函数清单与类图 .............................................................................................18
6 程序运行的主要界面和结果截图 .............................................................................20
6.1 控制台程序的运行情况......................................................................................20
6.2 GUI 程序的运行情况..........................................................................................23
评论0