文件名称:qtvesion

  • 所属分类:
  • 系统编程
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2015-06-27
  • 文件大小:
  • 822kb
  • 下载次数:
  • 1次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

编写程序完成段页式虚拟存储管理存储分配、地址重定位和缺页中断处理。

(1)为一个进程的内存申请(多少个段,每个段多大)分配内存,当一个进程(完成)结束时回收内存;

(2)对一个给定逻辑地址,判断其是否缺段、缺页,若不缺段、不缺页,则映射出其物理地址;

(3)若缺段则进行缺段中断处理,若缺页则进行缺页中断处理。

假定内存64K,内存块(页框 )1K,进程逻辑地址空间最大16个段,每个段最大64K。假设进程运行前未预先装入任何地址空间。

输出每次存储分配/回收时,内存自由块分布情况、相关进程的段表和页表信息。

-Write a program to complete the segment storage management page memory allocation virtual address relocation and page fault handling.

(1) a process of memory allocation (the number of segments, each segment how much) to allocate memory, recovering memory when a process (complete) end

(2) for a given logical address, determine whether the lack of paragraphs, missing pages, missing paragraphs if no missing pages, the mapping of the physical address

(3) If the missing section of missing segment interrupt processing is performed, if the missing page page fault processing is performed.

Assumed memory 64K, maximum 16 segments of memory blocks (page fr a me) 1K, process logical address space, each segment maximum 64K. Assume that the process is running before any address space is not pre-loaded.

The output of each memory allocation/recovery time, the distribution of free blocks of memory, the segment table and page tables relevant processes information.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





qtvesion

........\data.txt

........\Debug

........\.....\qtvesion.log

........\GeneratedFiles

........\..............\Debug

........\..............\.....\moc_qtvesion.cpp

........\..............\qrc_qtvesion.cpp

........\..............\Release

........\..............\ui_qtvesion.h

........\main.cpp

........\memtable.cpp

........\memtable.h

........\myhead.h

........\pageNode.cpp

........\pageNode.h

........\processnode.cpp

........\processnode.h

........\qtvesion.cpp

........\qtvesion.h

........\qtvesion.qrc

........\qtvesion.ui

........\qtvesion.vcxproj

........\qtvesion.vcxproj.filters

........\qtvesion.vcxproj.user

........\Resources

........\State.h

........\x64

........\...\Debug

........\...\.....\main.obj

........\...\.....\memtable.obj

........\...\.....\moc_qtvesion.obj

........\...\.....\pageNode.obj

........\...\.....\processnode.obj

........\...\.....\qrc_qtvesion.obj

........\...\.....\qtvesion.Build.CppClean.log

........\...\.....\qtvesion.log

........\...\.....\qtvesion.obj

........\...\.....\qtvesion.tlog

........\...\.....\.............\CL.read.1.tlog

........\...\.....\.............\CL.write.1.tlog

........\...\.....\.............\custombuild.read.1.tlog

........\...\.....\.............\custombuild.write.1.tlog

........\...\.....\.............\link.read.1.tlog

........\...\.....\.............\link.write.1.tlog

........\...\.....\.............\qtvesion.lastbuildstate

........\...\.....\vc120.pdb

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org