JPH05108536A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH05108536A
JPH05108536A JP3270597A JP27059791A JPH05108536A JP H05108536 A JPH05108536 A JP H05108536A JP 3270597 A JP3270597 A JP 3270597A JP 27059791 A JP27059791 A JP 27059791A JP H05108536 A JPH05108536 A JP H05108536A
Authority
JP
Japan
Prior art keywords
input
output
recognition number
recognition
mounting
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
JP3270597A
Other languages
Japanese (ja)
Inventor
Takuma Fukuda
琢磨 福田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3270597A priority Critical patent/JPH05108536A/en
Publication of JPH05108536A publication Critical patent/JPH05108536A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To uniformly execute the mounting check of an input/output device and to prevent the throughput of a central processing unit from being lowered with the mounting check. CONSTITUTION:A mounting check monitor start part 2 periodically starts monitor commands for respective input/output buses 10 and 11 and executes the mounting checks of the input/output devices. Then, the recognition numbers of the input/output devices connected to the respective buses 10 and 11 are acquired. Recognition number registers 3 and 4 receive the recognition numbers of the input 7 output devices acquired by the monitor start part 2 from the monitor start part 2 and hold those numbers, and in this case, however, the register 3 holds the latest recognition number acquired by the monitor start part 2. Then, the old recognition number register 4 holds the last time recognition number acquired by the monitor start part 2. An update detection circuit 5 compares the recognition numbers held in the registers 3 and 4 and when those numbers are different, a prescribed signal is outputted to show the state. At such a time, an interruption generating circuit 6 transmits an interruption signal to a microprocessor.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
を構成する入出力制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control device which constitutes a computer system.

【0002】[0002]

【従来の技術】従来のマイクロプロセッサシステムの一
例を図2に示す。このシステムは、中央処理装置(CP
U)201、メモリ装置(MEM)202、ならびに入
出力制御装置204を備え、中央処理装置201および
メモリ装置202はバス209に接続され、入出力制御
装置204は、このバス209にバスインターフェース
(BIF)203およびチャネルバス210を通じて接
続されている。入出力制御装置204には入出力バス
5,6が接続され、各バスにはそれぞれ入出力デバイス
(入出力装置207,208が接続されている。
2. Description of the Related Art An example of a conventional microprocessor system is shown in FIG. This system is a central processing unit (CP
U) 201, a memory device (MEM) 202, and an input / output control device 204. The central processing unit 201 and the memory device 202 are connected to the bus 209, and the input / output control device 204 connects the bus 209 to the bus interface (BIF). ) 203 and the channel bus 210. Input / output control devices 204 are connected to input / output buses 5 and 6, and input / output devices (input / output devices 207 and 208) are connected to the respective buses.

【0003】このようなシステムにおいて、中央処理装
置201はメモリ装置202に格納された上位ソフトウ
ェアにもとづき、周期的に所定のモニタコマンドを実行
し、入出力バス205,206にどの入出力デバイスが
接続されているか、あるいは接続されていないかのチェ
ック、すなわち入出力デバイスの実装チェックを行う。
そして、実装チェックの結果により、ソフトウェアによ
り管理される実装テーブルを更新する。なお、周期的に
実装チェックを行わないシステムの場合には、INSコ
マンド/OUSコマンドを実行し、その結果にもとづき
実装テーブルを更新する。
In such a system, the central processing unit 201 periodically executes a predetermined monitor command based on the host software stored in the memory device 202, and which input / output device is connected to the input / output buses 205 and 206. It is checked whether it is connected or not, that is, the mounting check of the input / output device.
Then, the mounting table managed by the software is updated according to the result of the mounting check. In the case of a system in which the mounting check is not performed periodically, the INS command / OUS command is executed, and the mounting table is updated based on the result.

【0004】[0004]

【発明が解決しようとする課題】しかし、このような従
来のマイクロプロセッサシステムでは、実装チェックの
ための上記コマンドは、入出力バス205,206ごと
に異なっているため、実装チェックを統一的に実行でき
ず、上位ソフトウェアが複雑になるという欠点がある。
However, in such a conventional microprocessor system, since the above-mentioned command for mounting check is different for each input / output bus 205, 206, the mounting check is executed in a unified manner. There is a drawback in that the higher-level software becomes complicated because it cannot be done.

【0005】また、中央処理装置201が周期的に実装
チェックを行うため、その処理能力が低下するという欠
点がある。
Further, since the central processing unit 201 periodically checks the mounting, there is a drawback that its processing capacity is lowered.

【0006】本発明の目的は、このような欠点を除去
し、上位ソウトウェアによって入出力デバイスの実装チ
ェックを入出力バスごとに行う必要がなく、また実装チ
ェックに伴う中央処理装置の処理能力の低下を回避でき
る入出力制御装置を提供することにある。
The object of the present invention is to eliminate such drawbacks, and it is not necessary to check the mounting of the input / output device for each input / output bus by the upper-level software, and the processing capability of the central processing unit is lowered due to the mounting check. It is to provide an input / output control device capable of avoiding the above.

【0007】[0007]

【課題を解決するための手段】本発明は、コンピュータ
システムを構成し、複数の入出力バスを通じて複数の入
出力装置を制御する入出力制御装置において、前記入出
力バスに接続されている前記入出力装置を周期的に調
べ、その認識番号を取得する実装チェック手段と、この
実装チェック手段が取得した最新の前記認識番号と前回
の前記認識番号とを保持するレジスタ手段と、このレジ
スタ手段が保持する前記最新の認識番号と前記前回の認
識番号とが異なる場合、そのことを前記コンピュータシ
ステムを構成する中央処理装置に通知する装置更新通知
手段とを備えたことを特徴とする。
According to the present invention, there is provided an input / output control device which constitutes a computer system and controls a plurality of input / output devices through a plurality of input / output buses. Mounting check means for periodically checking the output device and acquiring its identification number, register means for holding the latest recognition number and the previous recognition number acquired by this mounting check means, and this register means When the latest recognition number and the previous recognition number are different, a device update notifying means for notifying the central processing unit constituting the computer system of the difference is provided.

【0008】[0008]

【実施例】次に本発明の実施例について図面を参照して
説明する。図1に本発明による入出力制御装置の一例を
示す。この入出力制御装置100はチャネルバス16お
よびバスインターフェース(図示せず)を通じてマイク
ロプロセッサ(図示せず)に接続されている。また、入
出力制御装置100には入出力バス10,11が接続さ
れ、これらのバスにはそれぞれ入出力デバイス14,1
5および入出力デバイス12,13が接続されている。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 shows an example of an input / output control device according to the present invention. The input / output control device 100 is connected to a microprocessor (not shown) through a channel bus 16 and a bus interface (not shown). Further, input / output buses 10 and 11 are connected to the input / output control device 100, and input / output devices 14 and 1 are connected to these buses, respectively.
5 and input / output devices 12 and 13 are connected.

【0009】入出力制御装置100の実装チェックモニ
タ起動部2は、周期的に各入出力バス10,11ごとの
モニタコマンドを起動し、入出力デバイスの実装チェッ
クを行う。そして、各バス10,11に接続されている
入出力デバイスの認識番号を取得する。認識番号レジス
タ3はモニタ起動部2が取得した最新の認識番号を保持
するためのものであり、旧認識番号レジスタ4はモニタ
起動部2が取得した前回の認識番号を保持するためのも
のである。
The mounting check monitor activation unit 2 of the input / output control device 100 periodically activates a monitor command for each of the input / output buses 10 and 11 to check the mounting of the input / output device. Then, the identification numbers of the input / output devices connected to the buses 10 and 11 are acquired. The identification number register 3 is for holding the latest identification number acquired by the monitor starting unit 2, and the old identification number register 4 is for holding the previous identification number acquired by the monitor starting unit 2. ..

【0010】更新検出回路5は、レジスタ3,4が保持
する認識番号を比較し、それらが異なる場合には、その
ことを示す所定の信号を出力する。割込発生回路6は、
更新検出回路5から上記所定の信号を受け取ったとき、
割込信号をマイクロプロセッサに送出する。
The update detection circuit 5 compares the identification numbers held by the registers 3 and 4, and if they are different, outputs a predetermined signal indicating this. The interrupt generation circuit 6 is
When the above predetermined signal is received from the update detection circuit 5,
Send an interrupt signal to the microprocessor.

【0011】チャネル制御部1は入出力制御装置100
の入出力デバイスに対する本来の機能を果たすためのも
ので、入出力バスインターフェース部8,9を通じて入
出力バス10,11に接続され、またチャネルインター
フェース部7を通じてチャネルバス16に接続されてい
る。
The channel controller 1 is an input / output controller 100.
The input / output devices have their original functions and are connected to the input / output buses 10 and 11 through the input / output bus interface units 8 and 9 and to the channel bus 16 through the channel interface unit 7.

【0012】次に動作を説明する。実装チェックモニタ
起動部2は、周期的に各入出力バス10,11ごとのモ
ニタコマンドを起動し、入出力デバイスの実装チェック
を行う。そして、各バス10,11に接続されている入
出力デバイスの認識番号を取得する。認識番号レジスタ
3,4はモニタ起動部2が取得した入出力デバイスの認
識番号をモニタ起動部2から受け取って保持するが、レ
ジスタ3はモニタ起動部2が取得した最新の認識番号を
保持し、旧認識番号レジスタ4はモニタ起動部2が取得
した前回の認識番号を保持する。
Next, the operation will be described. The mounting check monitor activation unit 2 periodically activates a monitor command for each of the input / output buses 10 and 11 to check the mounting of the input / output device. Then, the identification numbers of the input / output devices connected to the buses 10 and 11 are acquired. The identification number registers 3 and 4 receive and hold the identification number of the input / output device acquired by the monitor starting unit 2 from the monitor starting unit 2, and the register 3 holds the latest identification number acquired by the monitor starting unit 2. The old identification number register 4 holds the previous identification number acquired by the monitor starting unit 2.

【0013】そして、更新検出回路5は、レジスタ3,
4が保持する認識番号を比較し、それらが異なる場合に
は、入出力バス10,11に接続されている入出力デバ
イスに変更が生じたことになるので、そのことを示す所
定の信号を出力する。割込発生回路6はその信号を受け
取ると、割込信号をマイクロプロセッサに送出し、実装
されている入出力デバイスに変更が生じたことを通知す
る。
Then, the update detection circuit 5 includes the registers 3 and 3.
4 compares the identification numbers held by them, and if they are different, it means that the I / O devices connected to the I / O buses 10 and 11 have been changed, and a predetermined signal indicating that is output. To do. When the interrupt generation circuit 6 receives the signal, it sends an interrupt signal to the microprocessor to notify the mounted input / output device that a change has occurred.

【0014】[0014]

【発明の効果】以上説明したように本発明は、コンピュ
ータシステムを構成し、複数の入出力バスを通じて複数
の入出力装置を制御する入出力制御装置において、入出
力バスに接続されている入出力装置を周期的に調べ、そ
の認識番号を取得する実装チェック手段と、この実装チ
ェック手段が取得した最新の認識番号と前回の認識番号
とを保持するレジスタ手段と、このレジスタ手段が保持
する最新の認識番号と前回の認識番号とが異なる場合、
そのことをコンピュータシステムを構成する中央処理装
置に通知する装置更新通知手段とを備えたことを特徴と
する。
As described above, according to the present invention, in an input / output control device that configures a computer system and controls a plurality of input / output devices through a plurality of input / output buses, the input / output connected to the input / output bus. Mounting check means for periodically checking the device and acquiring its recognition number, register means for holding the latest recognition number and the previous recognition number acquired by this mounting check means, and the latest checking means held by this register means If the identification number and the previous identification number are different,
An apparatus update notifying unit for notifying the central processing unit of the computer system of this is provided.

【0015】従って本発明の入出力制御装置では、中央
処理装置は入出力バスごとに異なるモニタコマンドを実
行して入出力デバイスの実装チェックを行う必要がな
く、実装チェックを統一的に実行でき、従来のように上
位ソフトウェアが複雑になるといったことがなくなる。
また、装置更新通知手段が割り込みによって中央処理装
置に実装チェックの結果を通知するようにした場合に
は、中央処理装置は周期的に実装チェックを行う必要が
なくなり、実装チェックに伴う処理能力の低下を回避で
きる。
Therefore, in the input / output control device of the present invention, the central processing unit does not need to execute different monitor commands for each input / output bus to check the mounting of the input / output devices, and the mounting check can be performed in a unified manner. The higher-level software does not become complicated as in the past.
Further, when the device update notifying means notifies the central processing unit of the result of the mounting check by an interrupt, the central processing unit does not need to periodically perform the mounting check, and the processing capacity decreases due to the mounting check. Can be avoided.

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

【図1】本発明による入出力制御装置の一例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an example of an input / output control device according to the present invention.

【図2】従来のコンピュータシステムの一例を示すブロ
ック図である。
FIG. 2 is a block diagram showing an example of a conventional computer system.

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

1 チャネル制御部 2 実装チェックモニタ起動部 3 旧認識番号レジスタ 4 認識番号レジスタ 5 更新検出回路 6 割込発生回路 7 チャネルインターフェース部 8,9 入出力バスインターフェース部 10,11 入出力バス 12〜15 入出力デバイス 16 チャネルバス 100 入出力制御装置 1 channel control unit 2 mounting check monitor starting unit 3 old identification number register 4 identification number register 5 update detection circuit 6 interrupt generation circuit 7 channel interface unit 8, 9 I / O bus interface unit 10, 11 I / O bus 12 to 15 input Output device 16 channel bus 100 I / O controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】コンピュータシステムを構成し、複数の入
出力バスを通じて複数の入出力装置を制御する入出力制
御装置において、 前記入出力バスに接続されている前記入出力装置を周期
的に調べ、その認識番号を取得する実装チェック手段
と、 この実装チェック手段が取得した最新の前記認識番号と
前回の前記認識番号とを保持するレジスタ手段と、 このレジスタ手段が保持する前記最新の認識番号と前記
前回の認識番号とが異なる場合、そのことを前記コンピ
ュータシステムを構成する中央処理装置に通知する装置
更新通知手段とを備えたことを特徴とする入出力制御装
置。
1. An input / output control device that constitutes a computer system and controls a plurality of input / output devices through a plurality of input / output buses, wherein the input / output devices connected to the input / output bus are periodically checked, Mounting check means for acquiring the recognition number, register means for holding the latest recognition number acquired by the mounting check means and the previous recognition number, and the latest recognition number held by the register means and the An input / output control device comprising: a device update notifying means for notifying the central processing unit constituting the computer system of the difference from the previous identification number.
【請求項2】前記装置更新通知手段は、前記レジスタ手
段が保持する前記最新の認識番号と前記前回の認識番号
とが異なることを割り込みにより前記中央処理装置に通
知することを特徴とする請求項1記載の入出力制御装
置。
2. The device update notifying means notifies the central processing unit by interruption that the latest recognition number held by the register means is different from the previous recognition number. 1. The input / output control device according to 1.
【請求項3】前記コンピュータシステムはマイクロプロ
セッサシステムであることを特徴とする請求項1記載の
入出力制御装置。
3. The input / output control device according to claim 1, wherein the computer system is a microprocessor system.
JP3270597A 1991-10-18 1991-10-18 Input/output controller Pending JPH05108536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3270597A JPH05108536A (en) 1991-10-18 1991-10-18 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3270597A JPH05108536A (en) 1991-10-18 1991-10-18 Input/output controller

Publications (1)

Publication Number Publication Date
JPH05108536A true JPH05108536A (en) 1993-04-30

Family

ID=17488320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3270597A Pending JPH05108536A (en) 1991-10-18 1991-10-18 Input/output controller

Country Status (1)

Country Link
JP (1) JPH05108536A (en)

Similar Documents

Publication Publication Date Title
EP0458304B1 (en) Direct memory access transfer controller and use
WO1999060488A1 (en) Software configurable technique for prioritizing interrupts in a microprocessor-based system
JPH06324914A (en) Runaway detecting method for computer
JPH05108536A (en) Input/output controller
JP3379762B2 (en) Apparatus used with a local computing system to coordinate access control to the host computing system by the local computing system
US6526528B1 (en) Ticket punch watchdog monitor
JP3661609B2 (en) SCSI interface control device and selection monitoring method thereof
JP3976958B2 (en) Redundant apparatus having a plurality of master devices and bus control right switching method
KR100452314B1 (en) Ecc generation controlling circuit for selectively controlling ecc generation for micro-processor
JP2765267B2 (en) Direct memory access transfer controller
JP2606615B2 (en) Computer reset control circuit and computer reset control method
JPH05274223A (en) Cache memory
JPH06318159A (en) Device abnormality detecting system
JPH06259373A (en) Device used together with computer and controlling communication with plurality of peripheral equipment
JPH10312354A (en) Interruption processing system
JPH02291031A (en) Microcomputer development supporting device
JPH04257042A (en) Diagnostic system for memory
JPH08202670A (en) Start-up system for communication controller
JPH0869382A (en) Semiconductor device
JPH04349557A (en) Input/output device control system
JPH0512176A (en) Information processing system
JPH1011102A (en) Duplex system
JPH0981390A (en) Program downloading system
JPH0713879A (en) Bus connecting device
JPH05108592A (en) Unit managing method for multi-cpu system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090320

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20110320

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120320

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120320

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20130320

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20140320

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250