随笔分类 -  操作系统——MODERN OPERATING SYSTEMS FOURTH EDITION

摘要:bootsect.s(引导扇区程序)做了件什么事? 将硬盘中的OS程序(setup.s)读入内存 今天看一下setup.s后又做了什么事。 为什么一开始操作系统的程序要用汇编来编写?因为我们要严格地控制程序在哪里执行。汇编能做到,而C语言要需要编译才可以,在哪里执行我们是控制不了的。 为什么要做这件 阅读全文
posted @ 2019-12-28 00:01 JasonPeng1
摘要:明白操作系统的原理只是完成了10%,而真正要学会操作系统,还必须要写出来! 另一条历史线: 最核心的就是多进程视图和文件操作视图,因为学会了这些你就可以利用操作系统管理你想要管理的任何硬件。 阅读全文
posted @ 2019-12-27 23:56 JasonPeng1
摘要:管理CPU就要管理多进程图像 有IO 的指令 : 只有计算的指令 的时间比 : 约为 10 的6次方 : 1 那么CPU就会出现如下情况: 此时CPU利用率为50% 而更普遍来说,计算指令一般为30-50条指令,此时CPU利用率为0 多道程序,交替执行是管理CPU的核心 schedule()函数非常 阅读全文
posted @ 2019-12-27 23:50 JasonPeng1
摘要:实验楼:实验报告:https://www.shiyanlou.com/courses/reports/1356557/ 关于系统调用:https://www.cnblogs.com/yiyide266/p/5538079.html head.s初始化了GDT,IDT表。 Linux中,main函数初 阅读全文
posted @ 2019-12-27 23:38 JasonPeng1
摘要:2019-11-20 09:23:18 参考:https://github.com/remzi-arpacidusseau/ostep-projects/tree/master/concurrency-webserver Overview In this assignment, you will b 阅读全文
posted @ 2019-11-20 09:25 JasonPeng1
摘要:2019-06-17 20:23:39 In both UNIX and Windows systems, after a process is created, the parent and child have their own distinct address spaces Again, n 阅读全文
posted @ 2019-06-17 20:25 JasonPeng1 阅读(438) 评论(0) 推荐(0)
摘要:2019-06-15 23:16:13 1. What are the two main functions of an operating system? 1. An operating system must provide the users with an extended machine, 阅读全文
posted @ 2019-06-15 23:33 JasonPeng1 阅读(1234) 评论(0) 推荐(1)