Giter VIP home page Giter VIP logo

25th-engineer / hfut_2020_os_design_wh Goto Github PK

View Code? Open in Web Editor NEW
33.0 1.0 3.0 3.61 MB

合肥工业大学2020年《操作系统》课程设计。题目:段页式虚拟存储管理系统:建立一个段页虚拟存储管理系统的模型。Course Design of Operating System of Hefei University of Technology in 2020. Topic: Segment Page Virtual Storage Management System: To establish a model of segment page virtual storage management system.

Home Page: https://blog.csdn.net/u25th_engineer/article/details/111871716

License: MIT License

C++ 96.06% QMake 0.36% C 3.59%
cpp qt5-gui os segmentation page segment-page virtual storage management system hfut-course-desgin

hfut_2020_os_design_wh's Introduction

合肥工业大学宣城校区2020年《操作系统》课程设计(《系统软件综合设计——操作系统》)

题目

  段页式虚拟存储管理系统:建立一个段页虚拟存储管理系统的模型。(1-2 人,难度:4)
  首先分配一片较大的内存空间和一段磁盘空间,作为程序运行的可用存储空间和外存兑换区;
  •建立应用程序的模型,包括分段结构在内;
  •建立进程的基本数据结构及相应算法;
  •建立管理存储空间的基本存储结构;
  •建立管理段页的基本数据结构与算法;
  •设计存储空间的分配与回收算法;
  •实现缺页中段支持的逻辑地址到物理地址转换,实现虚拟存储器;
  •提供信息转储功能,可将存储信息存入磁盘,也可从磁盘读入。(这个功能没实现)

程序截图与流程图

程序截图

控制台程序的运行情况


图 1 控制台程序输入初始化参数


图 2 控制台程序菜单


图 3 控制台程序显示内存信息


图 4 控制台程序显示进程页表信息


图 5 控制台程序进行虚拟地址至物理地址的转换


图 6 控制台程序引发缺页中断


图 7 控制台程序引发缺段中断

GUI程序的运行情况


图 8 GUI程序的开始界面


图 9 GUI程序输入有关参数建立段表与页表


图 10 GUI程序输入有关参数建立段表与页表


图 11 GUI程序查询段表信息


图 12 GUI程序查询段表与页表信息


图 13 GUI程序查询内存分配信息


图 14 GUI程序查询物理地址且成功


图 15 GUI程序查询物理地址发生缺页中断


图 16 GUI程序查询物理地址发生缺段中断

流程图


图 17 段页式系统中的地址变换机构


图 18 请求分页中的地址变换过程


图 19 请求分段系统的地址变换过程


图 19 LRU算法流程


图 20 GUI程序界面转换

报告

  PDF版本

hfut_2020_os_design_wh's People

Contributors

25th-engineer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.