JPS6195452A - Input/output control system of plural operating systems - Google Patents

Input/output control system of plural operating systems

Info

Publication number
JPS6195452A
JPS6195452A JP21623384A JP21623384A JPS6195452A JP S6195452 A JPS6195452 A JP S6195452A JP 21623384 A JP21623384 A JP 21623384A JP 21623384 A JP21623384 A JP 21623384A JP S6195452 A JPS6195452 A JP S6195452A
Authority
JP
Japan
Prior art keywords
input
output
output control
control
programming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21623384A
Other languages
Japanese (ja)
Inventor
Masao Kato
加藤 政夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21623384A priority Critical patent/JPS6195452A/en
Publication of JPS6195452A publication Critical patent/JPS6195452A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an I/O control system reducing the overhead of I/O control on the 2nd operation system (OS) by operating hardware directly without using the I/O processing of the 1st OS. CONSTITUTION:When an one-character input request from a console 8 is generated by a programming OS application 6 of a secondary OS4, control is transferred to a real time OS1 by the interruption of an I/O instruction. The real time OS1 starts an I/O emulation and transfers the control to the programming OS4. The OS4 decides the existence of data without using the I/O control function of the OS1 and waits until the input of the data. When the data are inputted, the data are read out, the I/O processing is ended and the operation is returned to the application 6. Since the programming OS4 (secondary OS) is a task, its real time property is not lost even if a loop is formed.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、単一計算機/ステムにおいて、複数のオペレ
ーティングシステム(以下、O8という−に係り、特に
人出力のオーバヘッド軽減に好適な入出力制御方式に関
するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a plurality of operating systems (hereinafter referred to as O8) in a single computer/system, and is particularly concerned with an input/output control method suitable for reducing the overhead of human output. It is related to.

〔発明の背景〕[Background of the invention]

単一の計算機システムを多目的に利用する方法として、
それぞれの目的に合致する複数08を作成し、それらの
O8を一つの計算機システムのもとて時分割に動作させ
て目的ごとのアプリケーションプログラムを実行すると
いう仮想計算機方式が採用されている(山谷他層「仮想
計算機」 (共立出版)p65)。第2図は1つの構成
例であり、第10SI(以下、中核O8と呼ぶ)で実計
算機2を制御し、第1仮想計算機3を提供する。一方第
2084(以下セカンダIJ OSと呼ぶ)は、中核0
810制御下のタスクとして動作し、第2仮想計算機5
を提供する。
As a method of using a single computer system for multiple purposes,
A virtual computer method is adopted in which multiple O8s are created that meet each purpose, and these O8s are operated in a time-sharing manner under one computer system to execute application programs for each purpose (Yamaya et al. Layer "Virtual Computer" (Kyoritsu Shuppan) p65). FIG. 2 shows one configuration example, in which a tenth SI (hereinafter referred to as core O8) controls the real computer 2 and provides the first virtual computer 3. On the other hand, the 2084th (hereinafter referred to as the secondary IJ OS) is the core 0
810, and operates as a task under the control of the second virtual computer 5.
I will provide a.

セカンダリO8上での入出力制御は、中核O8の入出力
制御を経由して行われる(山谷他層「仮想計算機」(共
立出版)p200〜202)。セカンダリO8をそのま
ま実計算機で実現した場合と比較して、入出力装置によ
ってば、中核O8を経由して行われるためのオーバヘッ
ドを無視できないケースが発生した。
Input/output control on the secondary O8 is performed via input/output control of the core O8 (Yamaya et al.'s "Virtual Computer" (Kyoritsu Shuppan) p.200-202). Compared to the case where the secondary O8 is directly implemented on a real computer, a case has occurred in which the overhead due to the input/output device being performed via the core O8 cannot be ignored.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、第1O8(中核O8)の制御のもとに
第208 (セカンダlj OS )を構成する計算機
システムにおいて、第208上での入出力制御のオーバ
ヘッドを軽減するための入出力制御方式を提供すること
にある。
An object of the present invention is to provide input/output control for reducing the overhead of input/output control on the 208th in a computer system that configures the 208th (secondary OS) under the control of the 1st O8 (core O8). The goal is to provide a method.

〔発明の概要〕 セカンダリO8上での入出力動作の流れを第3図を用い
て説明する。セカンダリO8のアプリケーション6が、
セカンダリO8に対する入出力命令を発行すると、入出
力命令割込が発生し、中核O8に制御が移る。中核O8
はセカンダリO8に対する入出力命令と判定しセカンダ
リO8の入出力エミュレーションを起動し、制御はセカ
ンダリO8K移る。セカンダl) OSでは中核O8K
対する入出力のためのパラメータを作成し、中核O8に
対する入出力命令を発行する。入出力命令割込が発生し
中核O8に制御が移る。中核O8では、入出力装置の起
動を行い入出力の終了割込を待つ。
[Summary of the Invention] The flow of input/output operations on the secondary O8 will be explained using FIG. Application 6 on the secondary O8 is
When an input/output command is issued to the secondary O8, an input/output command interrupt occurs and control is transferred to the core O8. Core O8
is determined to be an input/output command for the secondary O8, starts input/output emulation of the secondary O8, and control is transferred to the secondary O8K. Secondary OS: Core O8K
Create parameters for input/output to the core O8 and issue input/output commands to the core O8. An input/output command interrupt occurs and control is transferred to the core O8. The core O8 starts up the input/output devices and waits for an input/output completion interrupt.

終了割込が発生すると中核O8は人出力の終了処理を行
い、セカンダリO8に制御を戻す。セカンダリO8では
、入出力の終了処理を行い、セカンダリO8のアプリケ
ーションへ制御を戻す。セカンダIJ OSに対応する
ものを実計算機にそのiま搭載した場合と比較すると第
3図における32〜34及び37が余分な処理となり、
オーバヘッドが増大する。特にコンソール等への1文字
の入出力制御を行うと、オーバヘッドが無視できなくな
シ、十分な応答が得られないケースが発生した。
When a termination interrupt occurs, the core O8 performs termination processing for human output and returns control to the secondary O8. The secondary O8 performs input/output termination processing and returns control to the application on the secondary O8. Compared to the case where a device compatible with the secondary IJ OS is installed on a real computer, 32 to 34 and 37 in Figure 3 are extra processes.
Overhead increases. In particular, when controlling the input/output of a single character to a console or the like, the overhead could no longer be ignored, and there were cases in which a sufficient response could not be obtained.

本発明の特徴は、上述の入出力動作のオーバヘッドを軽
減するために、中核O8の入出力処理を使用しないで、
直接ノ・−ドウエアを操作することにある。
A feature of the present invention is that, in order to reduce the overhead of the above-mentioned input/output operation, the input/output processing of the core O8 is not used.
The purpose is to directly operate the software.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の内容を実施例を用いて説明する。 Hereinafter, the content of the present invention will be explained using examples.

第4図により、実施例の構成を示す。実計算機2はM6
8000を中心としたマイクロコンピュータシステムで
あり、中核081は、リアルタイムO8で、リアルタイ
ム用アプリケーション7及びセカンダリ084であるシ
ングルユーザ用プログラミングO8をタスクとして制御
する。プロゲラミンクO8はプログラミングO8用アブ
リケーンヨン6をコンソール8からの操作により制御す
る。
FIG. 4 shows the configuration of the embodiment. Actual computer 2 is M6
The core 081 is a real-time O8, which controls the real-time application 7 and the single-user programming O8, which is a secondary 084, as tasks. The progeraminck O8 controls the programming O8 ablicator 6 by operating it from the console 8.

ここでは、入出力制御の一例として、コンソール6から
の1文字入力処理を考える。
Here, as an example of input/output control, one character input processing from the console 6 will be considered.

シングルユーザ用プログラミングO8を実計算機2に直
接搭載した場合の、コンソール6からの千文字人力処理
の処理の流れを第5図に示す。アプリケーション501
でコンソールからの1文字入力要求を出すと、プログラ
ミング08502ではデータ有か無かの判定をし、デー
タ有になるまで待つ。データ有の状態になった場合には
、データをリードし、入出力処理を終了させる。シング
ルユーザ用のO8なので、O8内でループすることは可
能である。
FIG. 5 shows the flow of 1,000-character manual processing from the console 6 when the single-user programming O8 is directly installed in the actual computer 2. Application 501
When a single character input request is issued from the console, programming 08502 determines whether data is present or not, and waits until data is present. When the data exists, the data is read and the input/output processing is terminated. Since O8 is for single user use, it is possible to loop within O8.

しかしながら、リアルタイムO8では、O8内でループ
するとリアルタイム性を損うので、第6図のように、割
込を使用して、コンソールからの1文字入力を行う。
However, in real-time O8, a loop within O8 impairs real-time performance, so as shown in FIG. 6, an interrupt is used to input one character from the console.

従って、リアルタイムO8の下でプログ2ミングO8を
実現した場合、プログラミングO8上のアプリケーショ
ンで、コンソールからの1文字入力要求を出したときは
、第3図のようになる。つまり、プログラミングO8の
アプリケーション6で入出力要求を出すと、入出力命令
割込により、リアルタイムO81に制御が移り、リアル
タイム081は人出力エミエレーションを起動し、プロ
グラミング084に制御を移す。プログラミング084
は、入出力パラメータを作成し、リアルタイムO8に対
する入出力命令を発行する。これにより制御は、再びリ
アルタイム081に移シ、第6図のような処理を行い、
プログラミング084に戻る。プログラミング084は
入出力終了処理を行いアプリケーション6に戻る。
Therefore, when programming O8 is implemented under real-time O8, when an application on programming O8 issues a single character input request from the console, the result will be as shown in FIG. That is, when the application 6 of the programming O8 issues an input/output request, control is transferred to the real-time O81 due to an input/output command interrupt, the real-time 081 starts human output emulation, and transfers control to the programming O84. programming 084
creates input/output parameters and issues input/output commands to real-time O8. As a result, the control shifts to real-time 081 again and performs the processing as shown in Fig. 6.
Return to programming 084. Programming 084 performs input/output termination processing and returns to application 6.

この処理の流れと、第5図の流れを比較すると、大幅な
オーバヘッド増大となる。
Comparing this processing flow with the flow shown in FIG. 5, there is a significant increase in overhead.

このオーバヘッド増大を防ぐために本実施例では、第1
図のような処理を行う。セカンダリOSノアグリグーシ
ョ/6でコンソールからの1文字入力要求を発行すると
、入出力命令割込によりリアルタイム081に制御が移
る。リアルタイム081では入出力エミュレーションを
起動し、プログラミングO8に制御を移す。プログラミ
ングO8では、リアルタイムO81の入出力制御機能を
使用せずに、第5図の入出力処理と同様に、データ有に
なるまで待ち、データ有になったらデータをリードし、
入出力処理を終了し、アプリケージ3./6に戻る。こ
こでプログラミングO8はタスクなので、ループしても
、リアルタイム性は損なわれない。
In order to prevent this increase in overhead, in this embodiment, the first
Perform the process shown in the figure. When a single character input request is issued from the console on the secondary OS Noagrigusho/6, control is transferred to real time 081 due to an input/output command interrupt. Real time 081 starts input/output emulation and transfers control to programming O8. In programming O8, without using the input/output control function of real-time O81, in the same way as the input/output processing in Fig. 5, wait until data becomes available, read the data when data becomes available,
After completing the input/output processing, the application cage 3. Return to /6. Here, since programming O8 is a task, real-time performance is not impaired even if it is looped.

また、プログラミングO8と、リアルタイムO8とのコ
ンソールに対する排他制御が問題となるが、コンソール
は、プログラミングO8が起動されたとき第1図の10
1及び102のよりに占有処理を行えばよい。これはプ
ログラミングO8起動時1c1回のみ行えばよいので、
入出力のオーバヘッドには影響を与えない。
In addition, exclusive control over the console between the programming O8 and the real-time O8 is a problem, but when the programming O8 is started, the console is
1 and 102 may be used for exclusive use processing. This only needs to be done once when programming O8 is started, so
Does not affect input/output overhead.

以上かられかるように、本発明による入出力制御方式を
採用した場合の第1図と、採用しない場合の第3図とを
比較すると、入出力のオーバヘッドがかなり軽減されて
いることがわかる。
As can be seen from the above, when comparing FIG. 1 when the input/output control method according to the present invention is adopted and FIG. 3 when it is not adopted, it can be seen that the input/output overhead is considerably reduced.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、セカンダリO8上での人出力制御のオ
ーバヘッドを軽減できるので、システムの応答性や性能
の向上することができる。
According to the present invention, since the overhead of human output control on the secondary O8 can be reduced, the responsiveness and performance of the system can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例における入出力処理のフローチ
ャート、第2図は本発明の対象としているシステみの構
成図、第3図は従来の入出力処理のフローf)’!’−
ト、第4図は実施例のシステム構成図、第一5図はプロ
グラミングO8のみ搭載した場合の入出力処理のフロー
チャート、第6図はリアルタイムO8での入出力処理の
フローチャートである。 1・・・中核08(IJアルタイムO8)、2・・・実
計算機、3・・・第1仮想計算機、4・・・セカンダリ
O8(プログラミングO8)、5・・・第2仮想計算機
、6・・・セカンダリO8のアプリケーション。
Fig. 1 is a flowchart of input/output processing in an embodiment of the present invention, Fig. 2 is a block diagram of a system to which the present invention is applied, and Fig. 3 is a flowchart of conventional input/output processing f)'! '−
FIG. 4 is a system configuration diagram of the embodiment, FIG. 5 is a flowchart of input/output processing when only the programming O8 is installed, and FIG. 6 is a flowchart of input/output processing in real-time O8. 1... Core 08 (IJ Realtime O8), 2... Real computer, 3... First virtual computer, 4... Secondary O8 (programming O8), 5... Second virtual computer, 6 ...Secondary O8 application.

Claims (1)

【特許請求の範囲】 1、第1のオペレーティングシステムの下で第2のオペ
レーティングシステムを第1のオペレーティングシステ
ムのタスクとして構成する計算機システムにおいて、第
2のオペレーティングシステムにおける入出力制御をそ
のオーバヘッドを軽減するために第1のオペレーティン
グシステムの入出力制御を経由しないで直接リードウェ
アを操作することを特徴とする複数オペレーティングシ
ステムにおける入出力制御方式。 2、特許請求の範囲第1項記載の複数オペレーティング
システムにおける入出力制御方式において、第1のオペ
レーティングシステムはリアルタイムマルチタスキング
機能を持ち割込方式の入出力制御を行うオペレーティン
グシステム、第2のオペレーティングシステムはシング
ルユーザ用のオペレーティングシステムからなる計算機
システムにおいて、第2オペレーティングシステムでの
入出力制御を割込を使用せずBusy監視方式を採用す
ることを特徴とする複数オペレーティングシステムにお
ける入出力制御方式。
[Claims] 1. In a computer system in which a second operating system is configured as a task of the first operating system under the first operating system, the overhead of input/output control in the second operating system is reduced. An input/output control method for multiple operating systems, characterized in that leadware is directly operated without going through input/output control of a first operating system. 2. In the input/output control method for multiple operating systems as set forth in claim 1, the first operating system has a real-time multitasking function and performs interrupt-based input/output control; An input/output control method for multiple operating systems, characterized in that the system adopts a busy monitoring method for input/output control in a second operating system without using interrupts in a computer system consisting of a single-user operating system.
JP21623384A 1984-10-17 1984-10-17 Input/output control system of plural operating systems Pending JPS6195452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21623384A JPS6195452A (en) 1984-10-17 1984-10-17 Input/output control system of plural operating systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21623384A JPS6195452A (en) 1984-10-17 1984-10-17 Input/output control system of plural operating systems

Publications (1)

Publication Number Publication Date
JPS6195452A true JPS6195452A (en) 1986-05-14

Family

ID=16685360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21623384A Pending JPS6195452A (en) 1984-10-17 1984-10-17 Input/output control system of plural operating systems

Country Status (1)

Country Link
JP (1) JPS6195452A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01214955A (en) * 1988-02-23 1989-08-29 Nec Corp System for controlling crt of plural oss
JP2007220086A (en) * 2006-01-17 2007-08-30 Ntt Docomo Inc Input/output controller, input/output control system, and input/output control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01214955A (en) * 1988-02-23 1989-08-29 Nec Corp System for controlling crt of plural oss
JP2007220086A (en) * 2006-01-17 2007-08-30 Ntt Docomo Inc Input/output controller, input/output control system, and input/output control method

Similar Documents

Publication Publication Date Title
JP2692609B2 (en) Multitask program debugging method and apparatus
US5530845A (en) Storage control subsystem implemented with an application program on a computer
EP0943996B1 (en) Processor having real-time execution control for debug functions without a debug monitor
JPH0792761B2 (en) Input / output control method for virtual computer system
JPH02208740A (en) Virtual computer control system
JPS6258341A (en) Input and output interruption processing system
US20010034751A1 (en) Real-time OS simulator
US5081577A (en) State controlled device driver for a real time computer control system
JPH03174632A (en) Method and apparatus for operating computer system in real time
US6128679A (en) Computer for executing I/O instructions, by emulation, in a foreign application program wherein the emulator result thread is blocked from running between processes
US5909576A (en) Method and apparatus for using device drivers of a first operating system, under the control of a second operating system
JPS6195452A (en) Input/output control system of plural operating systems
JPS6278631A (en) Input and output control system for plural operating system
JPH07104837B2 (en) Processor control method
JPH06187171A (en) Scheduling system for interruption
JP3288750B2 (en) Robot controller
JP2003005987A (en) Emulation device
JPH03288255A (en) Network control system for multiprocessor
JP2680842B2 (en) Data processing device
JP2822728B2 (en) Computer system
JPS6223895B2 (en)
JPH0431421B2 (en)
JPH064306A (en) Method for dividing interruption processing
JPS6269323A (en) Event processing system
JPH01185733A (en) Input/output emulation system