JP2001229038A - Multi-operating computer system - Google Patents

Multi-operating computer system

Info

Publication number
JP2001229038A
JP2001229038A JP2000045122A JP2000045122A JP2001229038A JP 2001229038 A JP2001229038 A JP 2001229038A JP 2000045122 A JP2000045122 A JP 2000045122A JP 2000045122 A JP2000045122 A JP 2000045122A JP 2001229038 A JP2001229038 A JP 2001229038A
Authority
JP
Japan
Prior art keywords
interrupt
operating
common
devices
computer system
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
JP2000045122A
Other languages
Japanese (ja)
Inventor
Sunao Kato
加藤  直
Masahiko Saito
雅彦 齊藤
Tadashi Kamiwaki
正 上脇
Hiroshi Ono
大野  洋
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 JP2000045122A priority Critical patent/JP2001229038A/en
Publication of JP2001229038A publication Critical patent/JP2001229038A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a multi-operating computer system for easily assigning a necessary operating system to a device even when multiple devices share the same interruption number in operating multiple operating systems by a single processor. SOLUTION: Which device of multiple devices 106-108 generates interruption due to a common interruption number is decided, and an operating system allocated from multiple operating systems 111 and 112 to the device which generates interruption is activated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は複数のオペレーティ
ングシステムを切換えて一台のプロセッサを動作させ、
複数個のデバイスが共通の割込み線に割当てられた共通
割込み番号で割込みを発生するマルチオペレーテング計
算機システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention switches a plurality of operating systems to operate one processor,
The present invention relates to a multi-operating computer system in which a plurality of devices generate an interrupt with a common interrupt number assigned to a common interrupt line.

【0002】[0002]

【従来の技術】一般に、計算機システムは、1つのオペ
レーティングシステムが動作し、それが計算機のプロセ
ッサ、メモリ、および2次記憶装置といった計算機資源
を管理し、計算機が効率よく動作できるように資源スケ
ジュールを行っている。オペレーティングシステムに
は、オンライン処理に向いたオペレーティングシステ
ム、リアルタイム処理向けのオペレーティングシステ
ム、グラフィカルユーザインタフェースに優れたオペレ
ーティングシステムなどがあり、それぞれに特徴を有し
ている。
2. Description of the Related Art In general, a computer system runs one operating system, which manages computer resources such as a processor, a memory, and a secondary storage device of a computer, and sets a resource schedule so that the computer can operate efficiently. Is going. The operating system includes an operating system suitable for online processing, an operating system for real-time processing, an operating system excellent in a graphical user interface, and the like, each of which has characteristics.

【0003】このような複数のオペレーティングシステ
ムで一台の計算機を動作させようにしたマルチオペレー
テング計算機システムが知られている。マルチオペレー
テング計算機システムについては、例えば、特開平11
―149385号公報に記載されている。
There is known a multi-operating computer system in which one computer is operated by a plurality of operating systems. For a multi-operating computer system, see, for example,
-149385.

【0004】ところで、マルチオペレーテング計算機シ
ステムにおいては、マウス、キーボードなどの周辺デバ
イスから発生した割込みは、割込み番号ごとに割込み要
求を受けるオペレーティングシステムを決定し、発生し
た割込みの割込み番号を判定することでオペレーティン
グシステムを切換えている。
In a multi-operating computer system, for an interrupt generated from a peripheral device such as a mouse or a keyboard, an operating system receiving an interrupt request is determined for each interrupt number, and the interrupt number of the generated interrupt is determined. Is used to switch the operating system.

【0005】一方、既設の計算機システムにおいては周
辺デバイスを増設することが行われる。この場合、計算
機システムの割込み信号線には限りがあり、簡単に増加
させることができない。このため、PCI(Peripheral Co
mponent Interconnect)バスに接続される周辺デバイス
群のように、複数個の周辺デバイスが一つの割込み信号
線を共通に使用することが多くなっている。また、複数
個の周辺デバイスによる割込みが一つの割込み管理装置
で纏められて、一つの割込み信号線を共通に使用するこ
ともある。
On the other hand, in an existing computer system, peripheral devices are added. In this case, the interrupt signal lines of the computer system are limited and cannot be easily increased. For this reason, PCI (Peripheral Co.
A plurality of peripheral devices, such as a group of peripheral devices connected to an mponent interconnect (Mponent Interconnect) bus, often use one interrupt signal line in common. Further, interrupts from a plurality of peripheral devices may be collected by one interrupt management device, and one interrupt signal line may be commonly used.

【0006】[0006]

【発明が解決しようとする課題】従来技術は、割込み番
号毎に割込み要求を受けるオペレーティングシステムを
決定しているので、同じ割込み番号(共通割込み番号)
で割込みを行う複数個の周辺デバイスは全て同一のオペ
レーティングシステムが制御しなければならない。この
ため、デバイスに必要とするオペレーティングシステム
を割当てられないという問題点を有する。
In the prior art, since the operating system that receives an interrupt request is determined for each interrupt number, the same interrupt number (common interrupt number) is used.
The same operating system must control all of the plurality of peripheral devices that perform interrupts. For this reason, there is a problem that a required operating system cannot be assigned to a device.

【0007】本発明の目的は、複数個のオペレーティン
グシステムを単一のプロセッサで動作させる際に複数個
のデバイスが同一の割込み番号を共有する場合でも、デ
バイスに必要とするオペレーティングシステムを簡単に
割当てられるマルチオペレーテング計算機システムを提
供することにある。
An object of the present invention is to easily assign an operating system required to a plurality of operating systems even when the plurality of devices share the same interrupt number when the plurality of operating systems are operated by a single processor. And a multi-operating computer system.

【0008】[0008]

【課題を解決するための手段】本発明の特徴とするとこ
ろは、複数個のデバイスのうち共通割込み番号による割
込みをどのデバイスが発生したかを判定し、複数のオペ
レーティングシステムから割込み発生した当該デバイス
に割付けられたオペレーティングシステムを起動するよ
うにしたことにある。
A feature of the present invention is to determine which device has generated an interrupt by a common interrupt number among a plurality of devices, and to determine which device has generated an interrupt from a plurality of operating systems. The operating system assigned to is started.

【0009】本発明は共通割込み番号による割込みをど
のデバイスが発生したかを判定し、複数のオペレーティ
ングシステムから割込み発生した当該デバイスに割付け
られたオペレーティングシステムを起動するようにして
いるので、デバイスに必要とするオペレーティングシス
テムを簡単に割当てることができる。
According to the present invention, it is determined which device has generated the interrupt by the common interrupt number, and the operating system assigned to the device in which the interrupt has occurred from a plurality of operating systems is started. Operating system can be easily assigned.

【0010】[0010]

【発明の実施の形態】本発明の実施例を図面で説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to the drawings.

【0011】図1に本発明の実施例における全体構成を
示す。
FIG. 1 shows the overall configuration of an embodiment of the present invention.

【0012】図1において、計算機システムは、プロセ
ッサ100、メモリ101、割込み制御装置102、割
込み信号線104、ディスプレイ(画像出力装置)10
5、センサ106、キーボード107、マウス108、
クロック割込み生成器109、割込みバス110、割込
み管理装置130などから構成される。
In FIG. 1, a computer system includes a processor 100, a memory 101, an interrupt control device 102, an interrupt signal line 104, and a display (image output device) 10.
5, sensor 106, keyboard 107, mouse 108,
It comprises a clock interrupt generator 109, an interrupt bus 110, an interrupt management device 130, and the like.

【0013】プロセッサ100、メモリ101、割込み
制御装置102、ディスプレイ105、センサ106、
キーボード107、マウス108、クロック割込み生成
器109はプロセッサバス103によって接続される。
また、ディスプレイ105、クロック割込み生成器10
9、割込み管理装置130は割込み信号線104によっ
て割込み制御装置102と接続され、入出力動作完了な
どを通知する。
A processor 100, a memory 101, an interrupt controller 102, a display 105, a sensor 106,
The keyboard 107, the mouse 108, and the clock interrupt generator 109 are connected by the processor bus 103.
The display 105, the clock interrupt generator 10
9. The interrupt management device 130 is connected to the interrupt control device 102 via the interrupt signal line 104 and notifies completion of the input / output operation.

【0014】センサ106、キーボード107、マウス
108は割込み管理装置130に接続される。このた
め、センサ106、キーボード107、マウス108か
らの割込みは同一の割込み番号(共通割込み番号)で割
込み制御装置102に通知される。ディスプレイ10
5、センサ106、キーボード107、マウス108、
クロック割込み生成器109が割込みを発生すると、割
り込み信号線104を経由して割込み制御装置102に
入力される。割込み制御装置102は、この信号を割込
み番号として数値化して、割込みバス110を介してプ
ロセッサ100に与える。
The sensor 106, keyboard 107, and mouse 108 are connected to an interrupt management device 130. Therefore, interrupts from the sensor 106, the keyboard 107, and the mouse 108 are notified to the interrupt controller 102 with the same interrupt number (common interrupt number). Display 10
5, sensor 106, keyboard 107, mouse 108,
When the clock interrupt generator 109 generates an interrupt, it is input to the interrupt controller 102 via the interrupt signal line 104. The interrupt control device 102 converts this signal into a numerical value as an interrupt number and supplies the signal to the processor 100 via the interrupt bus 110.

【0015】ディスプレイ105は画面出力完了時など
に割込みを発生させ、センサ106は測定データがある
値以上になった時に割込みを発生し、また、キーボード
107とマウス108はボタン押下などの入力が発生し
た時に割込みを発生させる。クロック割込み生成器10
9は一定周期毎に割込みを発生させる。クロック割込み
生成器109からの割込みはオペレーティングシステム
の計時などに使用される。
The display 105 generates an interrupt when screen output is completed, the sensor 106 generates an interrupt when measured data exceeds a certain value, and the keyboard 107 and the mouse 108 generate an input such as pressing a button. An interrupt is generated when a call is made. Clock interrupt generator 10
9 generates an interrupt every fixed period. The interrupt from the clock interrupt generator 109 is used for clocking of the operating system and the like.

【0016】プロセッサ100は複数個のオペレーティ
ングシステムを動作させるためのマイクロプロセッサで
ある。メモリ101は、第1のオペレーティングシステ
ム111、第2のオペレーティングシステム112、各
オペレーティングシステム上で動作するタスク部113
〜118、各オペレーティングシステムのタスクのスケ
ジューリングを行うリスケジューラ部119、120、
各オペレーティングシステムのための入出力ドライバ部
121、122、各オペレーティングシステムのための
割込みハンドラ部123、124、OS間制御部125
を保持する。OS間制御部125には、OSコンテキス
ト切換部126、共通割込みハンドラ部127、割込み
発生デバイス特定部128が含まれる。これらの処理部
はプロセッサ100によって読み出されて実行される。
また、プロセッサ100は割込みバス110によって入
力される割込みを禁止するマスク機能を有する。
The processor 100 is a microprocessor for operating a plurality of operating systems. The memory 101 includes a first operating system 111, a second operating system 112, and a task unit 113 operating on each operating system.
To 118, rescheduler units 119 and 120 for scheduling tasks of each operating system,
Input / output driver units 121 and 122 for each operating system, interrupt handler units 123 and 124 for each operating system, inter-OS control unit 125
Hold. The inter-OS control unit 125 includes an OS context switching unit 126, a common interrupt handler unit 127, and an interrupt generation device specifying unit 128. These processing units are read and executed by the processor 100.
Further, the processor 100 has a mask function for inhibiting an interrupt input by the interrupt bus 110.

【0017】オペレーティングシステム111、112
は、各自に割り当てられたメモリ、及びプロセッサ資源
を用い、タスク113〜118を実行する。タスク11
3〜115は第1のOS111で実行されるタスクであ
り、タスク116〜118は第2のOS112で実行さ
れるタスクである。
Operating systems 111 and 112
Executes the tasks 113 to 118 using the memory and the processor resources allocated to each user. Task 11
Tasks 3 to 115 are tasks executed by the first OS 111, and tasks 116 to 118 are tasks executed by the second OS 112.

【0018】オペレーティングシステム101、102
の割込みハンドラ部123,124は、共通割込みハン
ドラ部127から呼び出され、割込み番号に対応した割
込み処理を実行する。入出力ドライバ部121,122
は、各タスク113〜118から周辺デバイスを制御す
るためのインタフェースを行い、周辺デバイスを読み書
きすることでデータ入出力したり、周辺デバイス105
〜109を制御する。また、制御対象の周辺デバイスに
対する割込み処理も入出力ドライバ部121,122に
含まれる。
Operating systems 101 and 102
The interrupt handler units 123 and 124 are called from the common interrupt handler unit 127 and execute an interrupt process corresponding to the interrupt number. Input / output driver units 121 and 122
Performs an interface for controlling the peripheral device from each of the tasks 113 to 118, and inputs / outputs data by reading / writing the peripheral device.
To 109 are controlled. The input / output driver units 121 and 122 also include an interrupt process for a peripheral device to be controlled.

【0019】リスケジューラ部119、120は直前に
実行していたタスクの実行環境(プロセッサ100内部
の各レジスタの内容)をリスケジューラ部119、12
0内部のメモリ領域にあるタスク管理テーブルに記憶
し、新たに実行すべきタスクを決定し、そのタスクの実
行環境をタスク管理テーブルから取り出してプロセッサ
100内部の各レジスタに設定することで、選択したタ
スクを実行する。
The rescheduler units 119 and 120 store the execution environment (contents of each register in the processor 100) of the task executed immediately before, respectively.
0 is stored in the task management table in the internal memory area, a task to be newly executed is determined, and the execution environment of the task is taken out from the task management table and set in each register inside the processor 100 to select the task. Perform tasks.

【0020】割込み管理装置130はセンサ106、キ
ーボード107、マウス108からの割込みを1個の割
込み番号にまとめて、割込み制御装置102に通知す
る。割込み管理装置130は、割込み発生デバイスを特
定するためにデバイス識別レジスタ131を有してい
る。
The interrupt management device 130 collects the interrupts from the sensor 106, the keyboard 107, and the mouse 108 into one interrupt number, and notifies the interrupt control device 102. The interrupt management device 130 has a device identification register 131 for specifying an interrupt generation device.

【0021】デバイス識別レジスタ131の構成例を図
2に示す。デバイス識別レジスタ131の各ビットは、
割込み管理装置130に接続されている各周辺デバイス
からの割込みの有無を示す。例えば、ビット「0」はセ
ンサ106からの割込みの有無を示し、ビット「0」が
「1」の時はセンサ106からの割込みが発生している
ことを示す。逆に、ビット「0」が「0」の時はセンサ
106からの割込みが発生していないことを示す。ビッ
ト「0」と同様に、ビット「1」とビット「2」はそれ
ぞれ、キーボード107とマウス108からの割込みの
有無を示す。
FIG. 2 shows an example of the configuration of the device identification register 131. Each bit of the device identification register 131 is
The presence or absence of an interrupt from each peripheral device connected to the interrupt management device 130 is shown. For example, a bit “0” indicates the presence or absence of an interrupt from the sensor 106, and when the bit “0” is “1”, it indicates that an interrupt from the sensor 106 has occurred. Conversely, when the bit “0” is “0”, it indicates that no interrupt from the sensor 106 has occurred. Like bit “0”, bit “1” and bit “2” indicate the presence or absence of an interrupt from keyboard 107 and mouse 108, respectively.

【0022】デバイス識別レジスタ131の各ビット
は、割込み管理装置130に接続されている各周辺デバ
イスからの割込みが通知された時に割込み管理装置13
0によって「1」に設定される。その後、OSの入出力
ドライバ部121、122が割込み処理終了時に「0」
を設定する。
Each bit of the device identification register 131 is set when the interrupt from each peripheral device connected to the interrupt management unit 130 is notified.
It is set to “1” by 0. After that, the input / output driver units 121 and 122 of the OS set “0” at the end of the interrupt processing.
Set.

【0023】図3に共通割込みハンドラ部127を中心
とした、それぞれの処理部の関係を示す。図中の実線の
矢印は矢印の指す処理部を呼び出すことを示している。
また、点線の矢印は矢印の指すものを参照することを示
す。
FIG. 3 shows the relationship between the respective processing units centering on the common interrupt handler unit 127. A solid arrow in the drawing indicates that the processing unit indicated by the arrow is called.
A dotted arrow indicates that the item indicated by the arrow is referred to.

【0024】周辺外部デバイスなどから割込みが発生す
ると、プロセッサ100に割込み制御装置102から割
込みバス110を通じて割込みが通知される。一般に、
単一のオペレーティングシステムによって制御される計
算機システムでは、一旦、全ての割込みを割込みハンド
ラ部が処理し、次いで、各入出力ドライバ部に振り分け
る。しかしながら、本実施例で説明するような複数個の
オペレーティングシステムを動作させる計算機システム
では、この更に前に、共通割込みハンドラ部127が全
ての割込みを受付け、これを対応するオペレーティング
システムの割込みハンドラ部に振り分ける形となる。
When an interrupt is generated from a peripheral external device or the like, the interrupt is notified from the interrupt control device 102 to the processor 100 via the interrupt bus 110. In general,
In a computer system controlled by a single operating system, all interrupts are temporarily processed by an interrupt handler unit, and then distributed to each input / output driver unit. However, in the computer system that operates a plurality of operating systems as described in the present embodiment, before this, the common interrupt handler unit 127 receives all the interrupts and sends them to the corresponding interrupt handler unit of the operating system. It becomes a form to be sorted.

【0025】図3を用いて以下に割込み処理の概略を説
明する。図中のからは処理の順番を示す。
The outline of the interrupt processing will be described below with reference to FIG. From the figure, the order of processing is shown.

【0026】まず、割込みが周辺デバイスから発生する
と、割り込み制御装置110は共通割込みハンドラ部1
27を呼び出す()。共通割込みハンドラ部127
は、共有IRQフラグテーブル(IRQとは割込み番号
を意味する)303を参照し、発生した割込みが割込み
番号を共有するものだった場合は割込み発生デバイス特
定部128を呼び出す()。
First, when an interrupt is generated from a peripheral device, the interrupt controller 110
Call 27 (). Common interrupt handler section 127
Refers to the shared IRQ flag table (IRQ means interrupt number) 303, and calls the interrupt generation device specifying unit 128 if the generated interrupt shares the interrupt number ().

【0027】割込み発生デバイス特定部128は割込み
管理装置130のデバイス識別レジスタ131を参照し
て割込み発生デバイスを特定し、共通割込みハンドラ部
127に通知する。共通割込みハンドラ部127は割込
み割振りテーブル302を参照して今回の割込みを処理
するOSを判定し、OSコンテクスト切換部126を呼
び出す()。
The interrupt generating device specifying unit 128 specifies the interrupt generating device with reference to the device identification register 131 of the interrupt management device 130 and notifies the common interrupt handler unit 127. The common interrupt handler unit 127 refers to the interrupt allocation table 302, determines the OS that processes the current interrupt, and calls the OS context switching unit 126 ().

【0028】OSコンテクスト切換部126は、今回の
割込みを処理するOSが現在実行中のOSで無い場合
は、OSコンテクスト切換を行う。共通割込みハンドラ
部127は、割込みハンドラテーブル301を参照し
て、今回の割込みを処理するOSの割り込みハンドラ部
(123または124)を呼び出す()。
The OS context switching unit 126 switches the OS context when the OS that processes the current interrupt is not the currently executing OS. The common interrupt handler unit 127 refers to the interrupt handler table 301 and calls the interrupt handler unit (123 or 124) of the OS that processes the current interrupt ().

【0029】割込みハンドラテーブル301には、それ
ぞれのOS111、112の割込みハンドラ部の先頭ア
ドレスが記憶されている。割込みハンドラ部(123ま
たは124)は割込み処理対象デバイスの入出力ドライ
バ部(121または122)を呼び出して()割込み
処理を実行し、割込み処理の結果タスク切換が必要にな
った場合は、リスケジューラ部(119または120)
を呼び出す()。
The interrupt handler table 301 stores the start addresses of the interrupt handler sections of the respective OSs 111 and 112. The interrupt handler unit (123 or 124) calls the input / output driver unit (121 or 122) of the interrupt processing target device to execute () interrupt processing, and if the task switching is required as a result of the interrupt processing, the rescheduler Part (119 or 120)
Call ().

【0030】図4に割込み割振りテーブル302を示
す。割込み割振りテーブル302は、デバイス番号と割
込み割振り先OSから構成されている。割込み割振り先
OSの項には、そのデバイス番号のデバイスからの割込
みを処理するOSを記憶する。割込み割振り先のOSが
第1のOSの場合は「0」が、第2のOSの場合は
「1」が記憶されている。
FIG. 4 shows the interrupt allocation table 302. The interrupt assignment table 302 includes a device number and an interrupt assignment destination OS. In the item of the interrupt destination OS, an OS that processes an interrupt from the device of the device number is stored. “0” is stored when the interrupt destination OS is the first OS, and “1” is stored when the interrupt allocation destination is the second OS.

【0031】従来は割込み番号で割込み割振り先OSを
決定していたが、本発明ではデバイス番号で割込み割振
り先OSを決定する。このため、他のデバイスと割込み
番号を共有しないデバイスについては、割込み番号をデ
バイス番号とする。他のデバイスと割込み番号を共有す
るデバイスのデバイス番号は、割込み発生デバイス特定
部128がデバイス番号テーブル304からデバイス番
号を決定する。
Conventionally, the interrupt assignment destination OS is determined by the interrupt number, but in the present invention, the interrupt assignment destination OS is determined by the device number. Therefore, for a device that does not share an interrupt number with another device, the interrupt number is used as the device number. The device number of the device that shares the interrupt number with another device is determined by the interrupt generation device specifying unit 128 from the device number table 304.

【0032】図6(説明は後述)にあるように、センサ
106、キーボード107、マウス108のデバイス番
号がそれぞれ20、21、22であれば、これらのデバ
イス番号についての割込み割振り先OSが記憶される。
As shown in FIG. 6 (described later), if the device numbers of the sensor 106, the keyboard 107, and the mouse 108 are 20, 21, and 22, respectively, the OS to which the interrupt is allocated for these device numbers is stored. You.

【0033】図5に共有IRQフラグテーブル303の
例を示す。共有IRQフラグテーブル303は割込み番
号と、それぞれの割込み番号に対する共有IRQフラグ
から構成される。共有IRQフラグは各割込み番号が複
数の周辺デバイスから共有されているか否かを示し、共
有されている場合は「1」が、共有されていない場合は
「0」が記憶される。
FIG. 5 shows an example of the shared IRQ flag table 303. The shared IRQ flag table 303 includes interrupt numbers and a shared IRQ flag for each interrupt number. The shared IRQ flag indicates whether each interrupt number is shared by a plurality of peripheral devices, and stores “1” when shared, and stores “0” when not shared.

【0034】例えば、図1ではセンサ106、キーボー
ド107、マウス108が割込み番号を共有しており、
これらのデバイス群からの割込み番号が2であるとすれ
ば、共有IRQフラグテーブル303における割込み番
号が2の項では共有IRQフラグが1になる。
For example, in FIG. 1, the sensor 106, the keyboard 107, and the mouse 108 share an interrupt number,
Assuming that the interrupt number from these device groups is 2, the shared IRQ flag becomes 1 in the section where the interrupt number is 2 in the shared IRQ flag table 303.

【0035】図6にデバイス番号テーブル304の例を
示す。デバイス番号テーブル304は、デバイス種別と
そのデバイスに対応するデバイス番号から構成されてい
る。センサ106、キーボード107、マウス108の
デバイス番号が、それぞれ20、21、22と定義され
ていれば、デバイス番号テーブル304のデバイス番号
の項に、それぞれの周辺デバイスのデバイス番号20、
21、22が記憶される。
FIG. 6 shows an example of the device number table 304. The device number table 304 includes a device type and a device number corresponding to the device. If the device numbers of the sensor 106, the keyboard 107, and the mouse 108 are defined as 20, 21, and 22, respectively, the device number 20 of the peripheral device is added to the device number section of the device number table 304.
21 and 22 are stored.

【0036】OSコンテクスト切換部126には、実行
中OS記憶部305というデータが含まれる。OSコン
テクスト切換部126は、実行中OSを切換えるために
現在のOSのコンテクスト(プロセッサ100内部の各
レジスタの内容)をOSコンテクスト切換部126内の
メモリ領域に保存し、OSコンテクスト切換部126内
のメモリ領域に保存してある切換先OSのコンテクスト
をプロセッサ100内部のレジスタに書き戻す。また、
現在どちらのOSが実行されているか分からなければ、
OS切換時にどのOSのコンテクストを保存すれば良い
のか判定できないので、実行中OS記憶部305に現在
実行中のOSがどれかを記憶する。例えば、現在実行中
のOSが第1のOS111ならば「0」を、第2のOS
112ならば「1」を実行中OS記憶部305に記憶す
る。
The OS context switching unit 126 includes data of an executing OS storage unit 305. The OS context switching unit 126 saves the current OS context (the contents of each register in the processor 100) in a memory area in the OS context switching unit 126 in order to switch the OS under execution. The context of the switching destination OS stored in the memory area is written back to the register inside the processor 100. Also,
If you don't know which OS is currently running,
Since it is not possible to determine which OS context should be saved at the time of OS switching, the running OS storage unit 305 stores which OS is currently being executed. For example, if the currently executing OS is the first OS 111, “0” is set to the second OS,
If it is 112, “1” is stored in the running OS storage unit 305.

【0037】図7に共通割込みハンドラ部127の処理
フローを示す。
FIG. 7 shows a processing flow of the common interrupt handler section 127.

【0038】共通割込みハンドラ部127は割込みを禁
止した状態で実行する。共通割込みハンドラ部127は
まず、処理700において、割込み制御装置102から
今回発生した割込みの割込み番号を取得する。処理70
1においては、割込み割振り先のOSを決定する。処理
701では、割込み割振り先OSが第1のOS111な
らば0、第2のOS112ならば1という値が得られ
る。処理701により、本発明の特徴である割込み番号
を共有する周辺デバイスからの割込みでも割込み発生元
の周辺デバイスに対応する割込み割振り先OSを決定で
きる。なお、処理701の処理内容の詳細については図
8で説明する。
The common interrupt handler section 127 executes with interrupts disabled. First, in process 700, the common interrupt handler unit 127 acquires the interrupt number of the interrupt that has occurred this time from the interrupt control device 102. Process 70
In step 1, the OS to which the interrupt is to be allocated is determined. In the process 701, a value of 0 is obtained if the interrupt allocation destination OS is the first OS 111, and a value of 1 is obtained if the interrupt allocation destination OS is the second OS 112. By the process 701, even in the case of an interrupt from a peripheral device sharing an interrupt number, which is a feature of the present invention, the interrupt destination OS corresponding to the peripheral device from which the interrupt occurred can be determined. The details of the process 701 will be described later with reference to FIG.

【0039】処理701から処理702に移行して、実
行中OS記憶部305の内容を取り出して、現在実行中
のOSが第1のOS111であるか第2のOS112で
あるかを判定する。現在実行中のOSが第1のOS11
1ならば「0」、第2のOS112ならば「1」という
値が得られる。
The process shifts from the process 701 to the process 702 to retrieve the contents of the running OS storage unit 305 and determine whether the currently running OS is the first OS 111 or the second OS 112. The currently running OS is the first OS 11
A value of "0" is obtained for 1 and a value of "1" is obtained for the second OS 112.

【0040】処理703においては、処理701で得ら
れた割込み割振り先OSが処理702で得られた現在実
行中OSに等しいか否かをチェックする。具体的には、
処理701で得られた値と処理702で得られた値が等
しい場合は、割込み割振り先OSと現在実行中のOSが
同じであると判定する。逆に、処理701で得られた値
と処理702で得られた値が異なる場合は、割込み割振
り先OSと現在実行中のOSが異っていると判定する。
In step 703, it is checked whether or not the interrupt destination OS obtained in step 701 is equal to the currently executed OS obtained in step 702. In particular,
If the value obtained in step 701 is equal to the value obtained in step 702, it is determined that the interrupt allocation destination OS is the same as the OS currently being executed. Conversely, when the value obtained in the process 701 is different from the value obtained in the process 702, it is determined that the interrupt assignment destination OS is different from the OS currently being executed.

【0041】割込み割振り先OSが現在実行中のOSと
異なっている場合は、一旦、OSの切換えを行わなけれ
ばならない。この場合、処理704において、OS切換
え処理をOSコンテクスト切換部126を呼び出して行
う。OSコンテクスト切換部126は、実行中のOSを
割込み割振り先OSに切換え、実行中OS記憶部305
に割込み割振り先OSを記憶する。
If the OS to which the interrupt is to be assigned is different from the OS currently being executed, the OS must be switched once. In this case, in the process 704, the OS switching process is performed by calling the OS context switching unit 126. The OS context switching unit 126 switches the OS under execution to the OS to which the interrupt is allocated, and the OS storage unit 305 under execution.
Is stored in the OS.

【0042】次に、処理705において、共通割込みハ
ンドラ部127は割込み割振り先OSが第1のOS11
1であるか第2のOS112であるかをチェックして、
対象が第1のOS111であれば、処理706において
割込みハンドラテーブル301を参照して第1のOSの
割込みハンドラ部123を起動する。第2のOS112
への割込みが発生していれば、処理707において割込
みハンドラテーブル301を参照して第2のOSの割込
みハンドラ部124を起動する。
Next, in process 705, the common interrupt handler unit 127 determines that the interrupt allocation destination OS is the first OS 11
Check whether it is 1 or 2nd OS 112,
If the target is the first OS 111, the interrupt handler unit 123 of the first OS is activated in step 706 with reference to the interrupt handler table 301. Second OS 112
If an interrupt has occurred, the interrupt handler unit 124 of the second OS is activated in step 707 with reference to the interrupt handler table 301.

【0043】割込みハンドラ部123、124は入出力
ドライバ部121,122を呼び出して、割込み発生デ
バイスに対する割込み処理を行う。一般に、割込みハン
ドラ部123、124は、割込み処理でタスク切換えを
行わなければならないとき、リスケジューラ部119、
120を呼び出し、該当するタスクを実行する。一方、
タスク切換えが発生しない場合、割込みハンドラ部12
3、124は、共通割込みハンドラ部127へ制御を戻
し(図10で後述する)、共通割込みハンドラ部127
は処理708から動作を再開する。
The interrupt handler units 123 and 124 call the input / output driver units 121 and 122 to perform interrupt processing for the interrupt generation device. In general, the interrupt handler units 123 and 124 need to perform task switching in interrupt processing when the rescheduler unit 119
Call 120 and execute the corresponding task. on the other hand,
If task switching does not occur, the interrupt handler unit 12
3 and 124 return control to the common interrupt handler unit 127 (to be described later with reference to FIG. 10), and the common interrupt handler unit 127
Resumes operation from step 708.

【0044】処理708では、割込み発生時にオペレー
ティングシステムを切り替えたかどうかをチェックす
る。処理704によってオペレーティングシステムを切
り替えた場合、処理709において、OSコンテクスト
切換部126を呼び出して、OS切換え処理を実行し、
実行するOSを割込み発生時に実行していたOSに切換
える。
In step 708, it is checked whether or not the operating system has been switched when an interrupt occurs. When the operating system is switched by the process 704, in the process 709, the OS context switching unit 126 is called to execute the OS switching process.
The OS to be executed is switched to the OS that was being executed when the interrupt occurred.

【0045】図8に割込み割振り先OS決定処理701
の詳細処理フローを示す。処理701は、割込み制御装
置102から渡された割込み番号を使用する。まず、処
理800において、共有IRQフラグテーブル303を
参照して指定割込み番号に対応する共有IRQフラグを
取得する。処理801において共有IRQフラグが
「0」だった場合は、割込み番号がデバイス番号と等し
いので、処理802において、割込み番号をデバイス番
号として割込み割振りテーブル302を参照し、割込み
割振り先OSを取得する。割込み割振り先OSの値が
「0」ならば第1のOS111に、値が「1」ならば第
2のOS112に割込みを割り振る。
FIG. 8 shows an interrupt allocation destination OS determination process 701.
3 shows a detailed processing flow. The process 701 uses the interrupt number passed from the interrupt control device 102. First, in process 800, the shared IRQ flag corresponding to the designated interrupt number is acquired with reference to the shared IRQ flag table 303. If the shared IRQ flag is “0” in the processing 801, the interrupt number is equal to the device number. In the processing 802, the interrupt allocation destination OS is acquired by referring to the interrupt allocation table 302 using the interrupt number as the device number. If the value of the interrupt assignment destination OS is “0”, an interrupt is assigned to the first OS 111, and if the value is “1”, an interrupt is assigned to the second OS 112.

【0046】処理801において、処理800で取得し
た共有IRQフラグが「1」だった場合は、処理128
において割込み発生デバイスを特定する。処理803に
おいては割込み割振りテーブル302を参照して、割込
み発生デバイスのデバイス番号に対応する割込み割振り
先OSを取得して割込み割振り先OS決定処理701を
終了する。割込み発生デバイス特定処理128について
は図9において説明する。
In the process 801, if the shared IRQ flag acquired in the process 800 is “1”, the process 128
Specifies the interrupt generation device. In the processing 803, the interrupt allocation destination OS corresponding to the device number of the interrupt generation device is acquired with reference to the interrupt allocation table 302, and the interrupt allocation destination OS determination processing 701 is terminated. The interrupt generation device specifying process 128 will be described with reference to FIG.

【0047】図9に割込み発生デバイス特定処理128
の処理フローを示す。まず、処理900において、割込
み管理装置130に備えられているデバイス識別レジス
タ131を参照して、割込み発生デバイスを特定する。
その後、処理901において、デバイス番号テーブル3
04を参照して、処理900で特定した割込み発生デバ
イス種別より、該割込み発生デバイスのデバイス番号を
取得する。例えば、センサ106からの割込みが発生し
た場合、デバイス番号テーブル304のデバイス種別が
センサの項を参照して、デバイス番号20を得る。
FIG. 9 shows an interrupt generation device specifying process 128.
3 shows a processing flow. First, in process 900, an interrupt generation device is specified with reference to the device identification register 131 provided in the interrupt management device 130.
Thereafter, in process 901, the device number table 3
With reference to 04, the device number of the interrupt generation device is acquired from the interrupt generation device type specified in the process 900. For example, when an interrupt from the sensor 106 occurs, the device type of the device number table 304 refers to the item of the sensor, and the device number 20 is obtained.

【0048】図10は共通割込みハンドラ部127から
呼び出される第1のOS111の割込みハンドラ部12
3の処理フローを示したものである。処理1000にお
いて、プロセッサ100内部の各レジスタの値を割込み
ハンドラ部123内部のメモリ領域に退避する。処理1
001において、割込み制御装置102から割込み番号
を取得する。
FIG. 10 shows the interrupt handler section 12 of the first OS 111 called from the common interrupt handler section 127.
3 shows a processing flow of No. 3; In the process 1000, the value of each register inside the processor 100 is saved in the memory area inside the interrupt handler unit 123. Processing 1
At 001, an interrupt number is obtained from the interrupt control device 102.

【0049】次に、処理1002において、得た割込み
番号に対応する割込み処理を実行する。割込み処理にお
いて、タスクの切換えが必要になった場合は、リスケジ
ューラ部119内部のタスク切換えフラグ部の値を
「1」にする。例えば、センサ106からの割込みを待
って停止しているタスクが存在する状態で、センサ割込
みが発生した場合は、当該タスクが停止状態から実行可
能状態になるため、タスク切換えが必要になり、割り込
み処理はタスク切換えフラグ部の値を「1」にする。
処理1003においては、割込み発生時にオペレーティ
ングシステムがリスケジューリング中か否か(すなわ
ち、リスケジューラ部119の処理実行中か否か)をチ
ェックする。リスケジューリング中とは、次に実行すべ
きタスクを選択している最中であり、実際にはタスクを
実行していないことを意味する。このため、リスケジュ
ーリング中であると判定した場合、処理1008におい
て割込みスタックの退避レジスタを破棄し、処理100
9においてリスケジューラ部119を最初から起動す
る。
Next, in process 1002, an interrupt process corresponding to the obtained interrupt number is executed. If it is necessary to switch tasks in the interrupt processing, the value of the task switching flag inside the rescheduler 119 is set to "1". For example, if a sensor interrupt occurs in a state where there is a task that is stopped waiting for an interrupt from the sensor 106, the task is changed from a stopped state to an executable state. The process sets the value of the task switching flag section to "1".
In the process 1003, it is checked whether or not the operating system is performing rescheduling when an interrupt occurs (that is, whether or not the process of the rescheduler unit 119 is being executed). Re-scheduling means that the task to be executed next is being selected and the task is not actually executed. Therefore, if it is determined that rescheduling is being performed, the save register of the interrupt stack is discarded in process 1008, and the process 100
In step 9, the rescheduler unit 119 is started from the beginning.

【0050】割込みハンドラ部123がリスケジューリ
ング中でないと判定した場合、当該オペレーティングシ
ステムはその時点で何らかのタスクを実行している。こ
のため、処理1004においてタスク切換えが必要か否
かを判定する。具体的にはリスケジューラ部119内部
のタスク切換えフラグ部の値が「1」ならば、タスク切
換えが必要と判定する。タスク切換えフラグ部の値が
「1」以外ならば、タスク切換えが不要と判定する。タ
スク切換えが必要なければ、このまま、割込みハンドラ
部123の処理を終了する。その時は、処理1005に
おいて、処理1000で割込みハンドラ部123内部の
メモリ領域に退避したプロセッサ100のレジスタの値
をプロセッサ100の各レジスタに書き戻す。
When the interrupt handler 123 determines that rescheduling is not being performed, the operating system is executing some task at that time. For this reason, it is determined in the process 1004 whether task switching is necessary. Specifically, if the value of the task switching flag section inside the rescheduler section 119 is “1”, it is determined that task switching is necessary. If the value of the task switching flag is other than "1", it is determined that task switching is not required. If task switching is not required, the processing of the interrupt handler unit 123 is terminated as it is. At that time, in a process 1005, the value of the register of the processor 100 saved in the memory area inside the interrupt handler unit 123 in the process 1000 is written back to each register of the processor 100.

【0051】次に、処理1006において、共通割込み
ハンドラ部127へ制御を戻す。タスク切換えが必要で
あると判定した場合、処理1007において、処理10
00で割込みハンドラ部123内部のメモリ領域に退避
したプロセッサ100のレジスタの値をリスケジューラ
部119内部のメモリ領域にあるタスク管理テーブルに
コピーし、処理1008において処理1000で割込み
ハンドラ部123内部のメモリ領域に退避したプロセッ
サ100のレジスタの値をを破棄する。この後、処理1
009においてリスケジューラ部119を呼出す。リス
ケジュールの結果、第1のOS111のいずれかのタス
クが動作することになった場合は、そのタスクがそのま
ま実行される。
Next, in process 1006, control is returned to the common interrupt handler section 127. If it is determined that task switching is necessary, the process
00, the value of the register of the processor 100 saved in the memory area inside the interrupt handler unit 123 is copied to the task management table in the memory area inside the rescheduler unit 119. The value of the register of the processor 100 saved in the area is discarded. Thereafter, processing 1
In 009, the rescheduler unit 119 is called. When any task of the first OS 111 is to be operated as a result of the rescheduling, the task is executed as it is.

【0052】第2のOS112の割込みハンドラ部12
4の処理は、第1のOS111の割込みハンドラ部12
3の処理と同じである。ただし、本実施例では、第1の
OS111が第2のOS112よりも優先して実行され
るので、割込みハンドラ部124でのリスケジュールの
結果、第2のOS112のいずれかのタスクが動作する
ことになった場合、第1のOS111において、いずれ
かのタスクが動作していた場合は、第2のOS112の
タスクは動作しない。OS間制御125により、OSコ
ンテキストが第1のOS111に切り換わり、第1のO
S111のタスクが実行される。
The interrupt handler section 12 of the second OS 112
4 is executed by the interrupt handler unit 12 of the first OS 111.
3 is the same as the process. However, in the present embodiment, since the first OS 111 is executed prior to the second OS 112, any task of the second OS 112 may operate as a result of the rescheduling in the interrupt handler unit 124. When any of the tasks is operating in the first OS 111, the task of the second OS 112 does not operate. The OS context is switched to the first OS 111 by the inter-OS control 125, and the first OS
The task of S111 is executed.

【0053】このように本発明は、複数個のデバイスの
うち共通割込み番号による割込みをどのデバイスが発生
したかを判定し、複数のオペレーティングシステムから
割込み発生した当該デバイスに割付けられたオペレーテ
ィングシステムを起動するようにしているので、デバイ
スに必要とするオペレーティングシステムを簡単に割当
てることができる。
As described above, according to the present invention, it is determined which device has generated an interrupt by a common interrupt number among a plurality of devices, and a plurality of operating systems activate an operating system assigned to the device in which the interrupt has occurred. The operating system required for the device can be easily assigned.

【0054】なお、上述の実施例では、割込み発生した
デバイスをデバイス識別レジスタ130を参照すること
で特定しているが、割込み番号を共有している全てのデ
バイスを直接アクセスして割込み発生デバイスを特定す
ることもできるのは明らかなことである。
In the above-described embodiment, the device in which the interrupt occurred is specified by referring to the device identification register 130. However, all devices sharing the interrupt number are directly accessed to specify the device in which the interrupt occurred. Obviously, you can.

【0055】[0055]

【発明の効果】本発明によれば、複数のオペレーティン
グシステムを単一のプロセッサで動作させ、複数個のデ
バイスが割込み番号を共有する場合でも、複数個のデバ
イスのうち共通割込み番号による割込みをどのデバイス
が発生したかを判定し、複数のオペレーティングシステ
ムから割込み発生した当該デバイスに割付けられたオペ
レーティングシステムを起動するようにしているので、
デバイスに必要とするオペレーティングシステムを簡単
に割当てることができる。
According to the present invention, even when a plurality of operating systems are operated by a single processor and a plurality of devices share an interrupt number, an interrupt by a common interrupt number among a plurality of devices is determined. Since it is determined whether a device has occurred and the operating system assigned to the device where the interrupt has occurred from multiple operating systems is started,
The operating system required for the device can be easily assigned.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】デバイス識別レジスタの一例構成を示す図であ
る。
FIG. 2 is a diagram illustrating an example configuration of a device identification register.

【図3】割込み処理部の詳細を示す構成図である。FIG. 3 is a configuration diagram illustrating details of an interrupt processing unit.

【図4】割込み割振りテーブルの一例構成を示す図であ
る。
FIG. 4 is a diagram showing an example configuration of an interrupt allocation table.

【図5】共有IRQフラグテーブルの一例構成を示す図
である。
FIG. 5 is a diagram showing an example configuration of a shared IRQ flag table.

【図6】デバイス番号テーブルの一例構成を示す図であ
る。
FIG. 6 is a diagram illustrating an example configuration of a device number table.

【図7】本発明の動作を説明するための処理フロー図で
ある。
FIG. 7 is a processing flowchart for explaining the operation of the present invention.

【図8】本発明の動作を説明するための処理フロー図で
ある。
FIG. 8 is a processing flowchart for explaining the operation of the present invention.

【図9】本発明の動作を説明するための処理フロー図で
ある。
FIG. 9 is a processing flowchart for explaining the operation of the present invention.

【図10】本発明の動作を説明するための処理フロー図
である。
FIG. 10 is a processing flowchart for explaining the operation of the present invention.

【符号の説明】[Explanation of symbols]

100…プロセッサ、101…メモリ、102…割込み
制御装置、103…プロセッサバス、104…割込み信
号線、105…ディスプレイ、106…センサ、107
…キーボード、108…マウス、109…クロック割込
み生成器、110…割込みバス、111…第1のOS、
112…第2のOS、113…タスクA、114…タス
クB、115…タスクC、116…タスクD、117…
タスクE、118…タスクF、119…第1のOSのリ
スケジューラ部、120…第2のOSのリスケジューラ
部、121…第1のOSの入出力ドライバ部、122…
第2のOSの入出力ドライバ部、123…第1のOSの
割込みハンドラ部、124…第2のOSの割込みハンド
ラ部、125…OS間制御部、126…OSコンテキス
ト切換部、127…共通割込みハンドラ部、128…割
込み発生デバイス特定部、130…割込み管理装置、1
31…デバイス識別レジスタ、301…割込みハンドラ
テーブル、302…割込み割振りテーブル、303…共
有IRQフラグテーブル、304…デバイス番号テーブ
ル、305…実行中OS記憶部
100: Processor, 101: Memory, 102: Interrupt control device, 103: Processor bus, 104: Interrupt signal line, 105: Display, 106: Sensor, 107
... Keyboard, 108, mouse, 109, clock interrupt generator, 110, interrupt bus, 111, first OS,
112 ... second OS, 113 ... task A, 114 ... task B, 115 ... task C, 116 ... task D, 117 ...
Task E, 118: Task F, 119: Rescheduler section of the first OS, 120: Rescheduler section of the second OS, 121: Input / output driver section of the first OS, 122 ...
I / O driver section of the second OS, 123: interrupt handler section of the first OS, 124: interrupt handler section of the second OS, 125: inter-OS control section, 126: OS context switching section, 127: common interrupt Handler unit, 128: interrupt generation device specifying unit, 130: interrupt management device, 1
31: Device identification register, 301: Interrupt handler table, 302: Interrupt allocation table, 303: Shared IRQ flag table, 304: Device number table, 305: Running OS storage unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 上脇 正 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか事業所内 (72)発明者 大野 洋 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか事業所内 Fターム(参考) 5B098 BA03 BA11 BB11 EE06 GA02 GC01 HH04 HH08  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Tadashi Uewaki 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Inside the Omika Works of Hitachi, Ltd. (72) Inventor Hiroshi Ohno 5-chome, Omika-cho, Hitachi City, Ibaraki Prefecture No. 1 F term in Hitachi Ltd. Omika Works (reference) 5B098 BA03 BA11 BB11 EE06 GA02 GC01 HH04 HH08

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】複数のオペレーティングシステムを切換え
て一台のプロセッサを動作させ、複数個のデバイスが共
通の割込み信号線に割当てられた共通割込み番号で割込
みを発生するマルチオペレーテング計算機システムにお
いて、前記複数個のデバイスのうち共通割込み番号によ
る割込みをどのデバイスが発生したかを判定し、前記複
数のオペレーティングシステムから割込み発生した当該
デバイスに割付けられたオペレーティングシステムを起
動するようにしたことを特徴とするマルチオペレーテン
グ計算機システム。
1. A multi-operating computer system in which a plurality of operating systems are switched to operate one processor and a plurality of devices generate an interrupt with a common interrupt number assigned to a common interrupt signal line. It is characterized by determining which device has caused an interrupt by a common interrupt number among a plurality of devices, and activating an operating system assigned to the device in which the interrupt has occurred from the plurality of operating systems. Multi-operating computer system.
【請求項2】複数のオペレーティングシステムを切換え
て一台のプロセッサを動作させ、複数個のデバイスが共
通の割込み信号線に割当てられた共通割込み番号で割込
みを発生するマルチオペレーテング計算機システムにお
いて、前記複数個のデバイスの割込みを管理して前記共
通割込み番号の割込み発生時に前記複数個のデバイスの
うち共通割込み番号による割込みを発生したデバイスを
判定し、前記複数のオペレーティングシステムから割込
み発生した当該デバイスに割付けられたオペレーティン
グシステムを起動するようにしたことを特徴とするマル
チオペレーテング計算機システム。
2. A multi-operating computer system in which a plurality of operating systems are switched to operate one processor and a plurality of devices generate an interrupt with a common interrupt number assigned to a common interrupt signal line. By managing interrupts of a plurality of devices, when an interrupt of the common interrupt number occurs, a device that has generated an interrupt by a common interrupt number among the plurality of devices is determined, and the device that has generated an interrupt from the plurality of operating systems is determined. A multi-operating computer system, wherein an assigned operating system is started.
【請求項3】複数のオペレーティングシステムを切換え
て一台のプロセッサを動作させ、複数個のデバイスが共
通の割込み信号線に割当てられた共通割込み番号で割込
みを発生するマルチオペレーテング計算機システムにお
いて、前記複数個のデバイスにそれぞれデバイス番号を
定めておき、前記共通割込み番号の割込み発生時に前記
複数個のデバイスのうち共通割込み番号による割込みを
発生したデバイスを判定し、当該デバイスのデバイス番
号に基づき前記複数のオペレーティングシステムから割
込み発生した当該デバイスに割付けられたオペレーティ
ングシステムを起動するようにしたことを特徴とするマ
ルチオペレーテング計算機システム。
3. A multi-operating computer system in which a plurality of operating systems are switched to operate one processor and a plurality of devices generate an interrupt with a common interrupt number assigned to a common interrupt signal line. A device number is determined for each of the plurality of devices, and when an interrupt of the common interrupt number occurs, a device that has generated an interrupt by the common interrupt number among the plurality of devices is determined, and the plurality of devices are determined based on the device number of the device. A multi-operating computer system for activating an operating system assigned to the device in which an interrupt has occurred from the operating system.
【請求項4】複数のオペレーティングシステムを切換え
て一台のプロセッサを動作させ、複数個のデバイスが共
通の割込み信号線に割当てられた共通割込み番号で割込
みを発生するマルチオペレーテング計算機システムにお
いて、前記複数個のデバイスの割込み発生を管理する割
込み管理手段と、前記割込み管理手段から割込み線を介
して共通割込み番号による割込み信号を入力する割込み
制御手段と、前記複数個のデバイスのうち割込みを発生
したデバイスを判定するデバイス特定手段と、前記デバ
イス特定手段で特定したデバイスに基づき前記複数のオ
ペレーティングシステムから割込み発生した当該デバイ
スに割付けられたオペレーティングシステムを起動する
割込みハンドラ手段とを具備することを特徴とするマル
チオペレーテング計算機システム。
4. A multi-operating computer system in which a plurality of operating systems are switched to operate one processor and a plurality of devices generate an interrupt with a common interrupt number assigned to a common interrupt signal line. Interrupt management means for managing the occurrence of interrupts of a plurality of devices; interrupt control means for inputting an interrupt signal based on a common interrupt number from the interrupt management means via an interrupt line; Device identifying means for determining a device; and interrupt handler means for activating an operating system assigned to the device which has generated an interrupt from the plurality of operating systems based on the device identified by the device identifying means. Multi-operating Calculation system.
【請求項5】複数のオペレーティングシステムを切換え
て一台のプロセッサを動作させ、複数個のデバイスが共
通の割込み信号線に割当てられた共通割込み番号で割込
みを発生するマルチオペレーテング計算機システムにお
いて、前記複数個のデバイスの割込み発生と割込みを発
生したデバイスを管理する割込み管理手段と、前記割込
み管理手段から割込み線を介して共通割込み番号による
割込み信号を入力する割込み制御手段と、前記複数個の
デバイスのうち割込みを発生したデバイスを判定し、当
該デバイスのデバイス番号を特定するデバイス特定手段
と、前記デバイス特定手段で特定したデバイス番号に基
づき前記複数のオペレーティングシステムから割込み発
生した当該デバイスに割付けられたオペレーティングシ
ステムを起動する割込みハンドラ手段とを具備すること
を特徴とするマルチオペレーテング計算機システム。
5. A multi-operating computer system in which a plurality of operating systems are switched to operate one processor and a plurality of devices generate an interrupt with a common interrupt number assigned to a common interrupt signal line. Interrupt management means for managing interrupt generation of a plurality of devices and a device which has generated the interrupt; interrupt control means for inputting an interrupt signal by a common interrupt number from the interrupt management means via an interrupt line; Of the device that has generated an interrupt, and a device specifying unit that specifies a device number of the device; and a device that has been allocated to the device that has generated an interrupt from the plurality of operating systems based on the device number specified by the device specifying unit. Start the operating system Multi operating rate proboscis computer system characterized by comprising a write handler means.
JP2000045122A 2000-02-17 2000-02-17 Multi-operating computer system Pending JP2001229038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000045122A JP2001229038A (en) 2000-02-17 2000-02-17 Multi-operating computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000045122A JP2001229038A (en) 2000-02-17 2000-02-17 Multi-operating computer system

Publications (1)

Publication Number Publication Date
JP2001229038A true JP2001229038A (en) 2001-08-24

Family

ID=18567765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000045122A Pending JP2001229038A (en) 2000-02-17 2000-02-17 Multi-operating computer system

Country Status (1)

Country Link
JP (1) JP2001229038A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010250453A (en) * 2009-04-14 2010-11-04 Hitachi Ltd Computer system, interrupt relay circuit, and interrupt relay method
JP2012003478A (en) * 2010-06-16 2012-01-05 Mitsubishi Electric Corp Interruption control unit
WO2012053095A1 (en) * 2010-10-22 2012-04-26 三菱電機株式会社 Interrupt signal accepting device and computer device
JP2013041409A (en) * 2011-08-15 2013-02-28 Fujitsu Ltd Information processing apparatus, interruption control method and interruption control program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010250453A (en) * 2009-04-14 2010-11-04 Hitachi Ltd Computer system, interrupt relay circuit, and interrupt relay method
JP2012003478A (en) * 2010-06-16 2012-01-05 Mitsubishi Electric Corp Interruption control unit
WO2012053095A1 (en) * 2010-10-22 2012-04-26 三菱電機株式会社 Interrupt signal accepting device and computer device
CN103180829A (en) * 2010-10-22 2013-06-26 三菱电机株式会社 Interrupt signal accepting device and computer device
DE112010005951T5 (en) 2010-10-22 2013-07-25 Mitsubishi Electric Corporation Interrupt signal accepting device and computer device
JP5372262B2 (en) * 2010-10-22 2013-12-18 三菱電機株式会社 Interrupt signal receiving device and computer device
KR101475640B1 (en) * 2010-10-22 2014-12-22 미쓰비시덴키 가부시키가이샤 Interrupt signal accepting device and computer device
US9361251B2 (en) 2010-10-22 2016-06-07 Mitsubishi Electric Corporation Interrupt signal accepting apparatus and computer apparatus managing operations of at least two operating systems
CN103180829B (en) * 2010-10-22 2016-08-03 三菱电机株式会社 Interrupt signal receives device and computer installation
JP2013041409A (en) * 2011-08-15 2013-02-28 Fujitsu Ltd Information processing apparatus, interruption control method and interruption control program

Similar Documents

Publication Publication Date Title
US7810096B2 (en) Computer executing multiple operating systems
EP0644487B1 (en) Scalable system interrupt structure for a multiprocessing system
US6820155B1 (en) Interruption managing device and interruption managing method
US8131901B2 (en) Interrupt control for virtual processing apparatus
JP3989911B2 (en) Virtualization of global interrupt queue
US7979861B2 (en) Multi-processor system and program for causing computer to execute controlling method of multi-processor system
EP0106669B1 (en) Operating system supervisor
JP4345630B2 (en) Information processing apparatus, interrupt processing control method, and computer program
JP2000330806A (en) Computer system
WO2009075913A1 (en) Interrupt controller for invoking service routines with associated priorities
US20020099893A1 (en) System and method for the handling of system management interrupts in a multiprocessor computer system
AU603876B2 (en) Multiple i/o bus virtual broadcast of programmed i/o instructions
EP2495656B1 (en) Enhanced prioritising and unifying interrupt controller
JPH06243112A (en) Multiprocessor device
JP2001229038A (en) Multi-operating computer system
JP2005092780A (en) Real time processor system and control method
JP2001236237A (en) Method for constituting multi-os
JP2585905B2 (en) Multitask execution device
JPS6097440A (en) Virtual multiprocessor device
KR100676671B1 (en) Apparatus and its method for managing user thread
JPH08137703A (en) Task switching device
JP3022398B2 (en) Virtual computer system
JP3075359B2 (en) Program debugging start processing method
KR100455623B1 (en) Method for Processing of Endless Loop Task in Multi Tasking Operating System
JPH11161506A (en) Dispatch method for information processor, information processor and storage medium thereof