1 / 37
文档名称:

MOS任务同步的设计与实现_毕业设计.doc

格式:doc   页数:37
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

MOS任务同步的设计与实现_毕业设计.doc

上传人:策划大师 2011/12/29 文件大小:0 KB

下载得到文件列表

MOS任务同步的设计与实现_毕业设计.doc

文档介绍

文档介绍:TEACHERS UNIVERSITY OF TECHNOLOGY



毕业设计(论文)
MOS任务同步的设计与实现


学院名称:
专业: 计算机科学与技术
班级:
姓名:
指导教师姓名:
指导教师职称:
2008年6月
MOS任务同步的设计与实现
摘要:由于任务的并发执行,导致任务竞争资源或相互合作。在操作系统中常用信号量解决任务之间的同步与互斥。本设计主要完成了一个基于Intel 80x86 CPU实模式多任务MOS操作系统中任务同步的设计与实现的部分。主要实现4个系统调用:创建信号量、删除信号量、P操作和V操作。应用程序通过使用信号量,控制共享资源的合理使用,实现进程的同步与互斥。本文给出了信号量的具体含义,详细介绍了信号量的创建、信号量的删除以及对信号量进行P、V操作的系统调用,并提出用P,V原语实现任务同步与互斥的事例。本设计模块与其他同学设计的模块进行整合后,实现了MOS任务同步的设计与实现,系统运行正常、可靠。
关键词:任务;信号量;P操作;V操作;同步;互斥
Design and Implementation of MOS Tasks Synchronization
Abstract: As a result of the duty concurrent execution, causes the petition resources or cooperate operating system monly used signal quantity solution duty synchronization and mutual design has pleted one based on Intel 80x86 CPU in the solid pattern multi-duty MOS operating system the duty synchronization design with the part which realizes 4 system calls: Create signal quantity, delete signal quantity, P operation and V application procedure through the use signal quantity, the control shared resource's reasonable use,realizes the advancement synchronization and mutual article has given the signal quantity concrete meaning, introduced in detail the signal quantity's creation, the signal quantity's deletion as well as carries on P, V operation system call to the signal quantity, and
Proposed that operates with P, V realizes the duty synchronization and the Mutual Exclusion design module designs after other schoolmates the module which carries on the conformity, realizes the MOS duty synchronization design with to realize, the systems operation is normal, is reliable.
Keywords:Duty,Signal quantity,P operation,V operation,Synchronization,
Mutual exclusion
目录
序言 1
第1章概述 2
MOS系统的简介 2
MOS系统层次结构 2
本设计的主要任务 3
第2章 MOS系统开发环境与相关工具的介绍 5
NASM汇编器的介绍 5
Borland c++ 5
Bochs虚拟机介绍与安装 6
利用WinImage映象文件写入引导区 7
第3章 MOS系统中任务同