Skip to content
/ os-lab Public

Operating System Assignment - a simple kernel with a shell as interface

Notifications You must be signed in to change notification settings

wierton/os-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS-lab 2016 March-June

  • compiler:
  • gcc version 4.9.3 (Ubuntu 4.9.3-5ubuntu1)

introduction

  • lab-1 mbr 和 中断向量
  • 调试所需函数:assert, printk
  • lab-2 分页
  • 缺陷:将二级页表放在了内核空间
  • lab-3 进程与线程
  • 实现的一塌糊涂,写代码前没有仔细设计框架
  • 实现相对完整的进程与多线程模型,API仿照linux,部分参数未使用。
  • 6-27号更新:修复大部分bug
  • lab-4 信号量
  • 没有难度,依旧仿照linux设计了API
  • lab-5 文件系统
  • 设计时间约等于写代码时间的10%,实现了相对完整的文件系统,多级目录、多级索引,文件大小几乎无上限,碍于使用32位整数标注磁盘偏移量,磁盘表示上限为4GB,4级及以后的索引无法使用,利用类似于BFS的方式统一了多级索引的读取方式。

About

Operating System Assignment - a simple kernel with a shell as interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages