
操作系统实验课代码
小步舞曲
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
进程出队
#include #include #include typedef struct processpcb { int id; /*??*/ struct processpcb *next; }node; node *creat(void) //?? { node *head, *p1, *p2; int n = 0; printf("Input processpcb ta转载 2012-03-04 10:30:09 · 8295 阅读 · 0 评论 -
进程调度—时间片轮转
#include #include #include typedef struct table { int key; /*进程ID号*/ int run_time; /*进程所需要的运行时间*/ char message[10]; /*进程说明信息*/ struct table *next; }node; node *creat(vo转载 2012-03-04 10:31:31 · 1787 阅读 · 0 评论 -
进程调度—先来先服务
#include #include #include typedef struct table { int key; /*进程ID号*/ int sequence; /*进程进入队列顺序号*/ char message[10]; /*进程说明信息*/ struct table *next; }node; /* 定义函数,建立进程链表 */ node *creat(转载 2012-03-04 10:30:56 · 1392 阅读 · 0 评论 -
进程调度—分级调度
#include #include #include typedef struct table { int key; /*进程ID号*/ int priority; /*优先数值*/ char message[10]; /*进程说明信息*/ struct table *next; }node; /***********************************转载 2012-03-04 10:32:09 · 1771 阅读 · 0 评论 -
进程调度—最大优先数
#include #include #include typedef struct table { int key; /*进程ID号*/ int priority; /*优先数值*/ char message[10]; /*进程说明信息*/ struct table *next; }node; /***********************************转载 2012-03-04 10:32:38 · 1393 阅读 · 0 评论 -
进程入队
#include #include #include typedef struct processpcb { int id; /*进程控制块编号*/ struct processpcb *next; }node; node *creat(void) //创建进程控制块 { node *head, *p1, *p2; int n = 0; printf("Input pro转载 2012-03-04 10:29:40 · 1094 阅读 · 0 评论 -
内存分布图
开机时系统会以实模式进入,此时可访问的内存只有1M大小,这时的内存分配情况如下所示(此时由bios主导这一M内存的使用情况): 0x 0 0 0 0 0 | | 10x64K=640K; 基本内存 | 0x 9 F F F F 0x A 0 0 0 0 | | 2x64K=128K; 作为显存使用 | 0xa0000-0xb0000 EGA/VGA/XGA/XV转载 2012-11-01 16:03:29 · 3824 阅读 · 0 评论