文件名称:PAGE
介绍说明--下载内容均来自于网络,请自行研究使用
目的:
了解分页存储的原理。
理解分页存储的管理算法。
实验内容和步骤:
1.分页式存储管理方案。
内存被划分成2048块(页)。用32位字长的字存放位示图,
为0的位表示该块尚未分配,为1的位表示该块已分配。
2.算法处理过程。
编辑文件。该文件中存有内存目前状况的位示图的数据(0和1的文件)。
程序应读入数据,存放在相应的数据结构中。
显示友好的用户界面,输入内存申请(总块数)。
根据申请和位示图状态,为用户分配内存,并建立页表。
输出位示图和页表。-Objective: To understand the principle of stored pages. Understand the paging storage management algorithm. Experimental content and the steps: 1. Page storage management solutions. Memory is divided into 2048 (page). With 32-bit word length of the word storage spaces show map for 0-bit indicates that the block has not yet allocated, for a bit indicates that the block has been allocated. 2. Algorithm processing. Edit the file. Exist in the file memory map showing the current status of the data bits (0 and 1 file). Procedures should be read into the data stored in the corresponding data structure. Display a friendly user interface, input memory applications (total number of blocks). According to the state of applications and digital map display for the user to allocate memory and create page tables. Output bit display map and page tables.
了解分页存储的原理。
理解分页存储的管理算法。
实验内容和步骤:
1.分页式存储管理方案。
内存被划分成2048块(页)。用32位字长的字存放位示图,
为0的位表示该块尚未分配,为1的位表示该块已分配。
2.算法处理过程。
编辑文件。该文件中存有内存目前状况的位示图的数据(0和1的文件)。
程序应读入数据,存放在相应的数据结构中。
显示友好的用户界面,输入内存申请(总块数)。
根据申请和位示图状态,为用户分配内存,并建立页表。
输出位示图和页表。-Objective: To understand the principle of stored pages. Understand the paging storage management algorithm. Experimental content and the steps: 1. Page storage management solutions. Memory is divided into 2048 (page). With 32-bit word length of the word storage spaces show map for 0-bit indicates that the block has not yet allocated, for a bit indicates that the block has been allocated. 2. Algorithm processing. Edit the file. Exist in the file memory map showing the current status of the data bits (0 and 1 file). Procedures should be read into the data stored in the corresponding data structure. Display a friendly user interface, input memory applications (total number of blocks). According to the state of applications and digital map display for the user to allocate memory and create page tables. Output bit display map and page tables.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PAGE.cpp