JPH07175665A - Input/output interruption control circuit - Google Patents

Input/output interruption control circuit

Info

Publication number
JPH07175665A
JPH07175665A JP31715793A JP31715793A JPH07175665A JP H07175665 A JPH07175665 A JP H07175665A JP 31715793 A JP31715793 A JP 31715793A JP 31715793 A JP31715793 A JP 31715793A JP H07175665 A JPH07175665 A JP H07175665A
Authority
JP
Japan
Prior art keywords
interrupt
input
output
vector
processor
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.)
Withdrawn
Application number
JP31715793A
Other languages
Japanese (ja)
Inventor
Junji Hirooka
順二 廣岡
Hiroyuki Imoto
博之 井本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP31715793A priority Critical patent/JPH07175665A/en
Publication of JPH07175665A publication Critical patent/JPH07175665A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To provide the input/output interruption control circuit for flexibly selecting an interruption destination processor by converting the value of an interruption vector with a table or the input/output interruption control circuit for relating the start and end of an input/output concerning the input/output interruption control circuit of an input/output controller at a multiprocessor system. CONSTITUTION:The input/output interruption control circuit for an input 7 output controller 2 is provided with an interruption vector converting table T to be written from each processor 1i and when input/output interruption is generated, the interruption vector showing an interruption source is read by a vector reading circuit 42 and converted by the interruption vector converting table T. Corresponding to that value, an interruption generating circuit 41 selects the processor at the interruption destination.

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 interrupt control circuit for a channel controller in a multiprocessor system. In a multiprocessor system, which of a plurality of processors the I / O interrupt is transmitted to becomes a problem. It is required to make interrupt processing as efficient as possible.

【0002】[0002]

【従来の技術】図3は従来システムの構成概念図であ
る。複数のプロセッサ11〜1nと、入出力装置を制御する
複数の入出力制御装置(あるいはアダプタ、コントロー
ラ等)31〜3mと、チャネル制御装置2よりなるマルチプ
ロセッサシステムである。プロセッサ1iが入出力コマン
ドを発行すると、チャネル制御装置2はそれを指定され
た入出力装置を制御する入出力制御装置3jに伝える。入
出力制御装置3jと入出力装置とが指示された処理を終わ
ると入出力割込によってプロセッサへ終了を伝える。チ
ャネル制御装置2の入出力割込制御回路4は、ベクタ読
込回路42によって割り込みを起こした入出力装置を区別
する情報、すなわち入出力制御装置3jが設定した番号等
(これを割込ベクタvという)を読み込み、割込発生回
路41によって適当なプロセッサへ割り込みを起こす。
2. Description of the Related Art FIG. 3 is a conceptual diagram of the configuration of a conventional system. This is a multiprocessor system including a plurality of processors 11 to 1n, a plurality of input / output control devices (or adapters, controllers, etc.) 31 to 3m for controlling the input / output devices, and a channel control device 2. When the processor 1i issues an I / O command, the channel controller 2 informs the I / O controller 3j which controls the designated I / O device. When the input / output control device 3j and the input / output device end the instructed processing, the end is notified to the processor by the input / output interrupt. The input / output interrupt control circuit 4 of the channel control device 2 uses the information for distinguishing the input / output device that caused the interrupt by the vector read circuit 42, that is, the number set by the input / output control device 3j (this is called an interrupt vector v). ) Is read, and the interrupt generation circuit 41 causes an interrupt to an appropriate processor.

【0003】従来の入出力割込の方式には次のようなも
のがあった。入出力割込が発生すると、すべてのプロ
セッサに対して割り込み、各プロセッサが割込要因を解
析して自分に関係のある割込かどうかを判断する。入
出力割込を受け付けるプロセッサを1つに限定する。
読み込んだ割込ベクタを割り込み先のプロセッサを指定
するものとして使用する。
There are the following conventional I / O interrupt methods. When an I / O interrupt occurs, all processors are interrupted, and each processor analyzes the interrupt factor to determine whether or not the interrupt is relevant to itself. Limit the number of processors that accept I / O interrupts to one.
The read interrupt vector is used to specify the processor to interrupt.

【0004】[0004]

【発明が解決しようとする課題】の方式は割り込む必
要のないプロセッサにまで割り込むので、システムの処
理能力が低下する。の方式はシステムの柔軟性がな
い。割込処理プロセッサがシステムのネックとなってシ
ステムの処理能力が低下する。
According to the method of the present invention, even a processor which does not need to interrupt is interrupted, so that the processing capacity of the system is lowered. This method does not have system flexibility. The interrupt processor becomes a bottleneck in the system, and the processing capacity of the system decreases.

【0005】の方式では割り込み元(入出力装置−入
出力制御装置)ごとに割込先のプロセッサが異なり、割
込処理が分散されるので、前2者の欠点はないが、一般
に割込ベクタは、固定または半固定であり、柔軟性に欠
けるという問題がある。つまり、入出力割込の発生元は
チャネル制御装置2のバスに接続された入出力制御用の
入出力制御装置31〜3mであり、割込ベクタ(ベクタ番
号)vは、入出力制御装置が挿入されたバスのスロット
番号により決まるとか、入出力制御装置に設置された半
固定スイッチにより決まるのが普通であるからである。
In the method (1), since the interrupt destination processor (input / output device-input / output control device) has different interrupt destination processors and the interrupt processing is distributed, there is no drawback of the former two. Is fixed or semi-fixed and has a problem of lacking flexibility. That is, the source of the I / O interrupt is the I / O controllers 31 to 3m for I / O control connected to the bus of the channel controller 2, and the interrupt vector (vector number) v is This is because it is usually determined by the slot number of the inserted bus or a semi-fixed switch installed in the input / output control device.

【0006】本発明は、割込ベクタの値を変換すること
により割り込み先プロセッサを柔軟に選択できる入出力
割込制御回路、または、入出力の起動と終結とを関連さ
せる入出力割り込み制御回路を実現することを目的とし
ている。
The present invention provides an input / output interrupt control circuit that can flexibly select an interrupt destination processor by converting an interrupt vector value, or an input / output interrupt control circuit that associates activation and termination of input / output. It is intended to be realized.

【0007】[0007]

【課題を解決するための手段】図1は本発明の実施例の
構成図である。図に示すシステムはマルチプロセッサシ
ステムであって、複数のプロセッサ11〜1nと、入出力装
置を制御する複数の入出力制御装置3jと、それらを制御
するチャネル制御装置2よりなる。
FIG. 1 is a block diagram of an embodiment of the present invention. The system shown in the figure is a multiprocessor system and comprises a plurality of processors 11 to 1n, a plurality of input / output control devices 3j for controlling the input / output devices, and a channel control device 2 for controlling them.

【0008】チャネル制御装置2の入出力割込制御回路
4において、各プロセッサ1iから書き込むことのできる
割込ベクタ変換テーブルTを設ける。入出力割込が発生
したとき、割り込み元を示す割込ベクタvをベクタ読込
回路42によって読み込み、割込ベクタ変換テーブルTに
よって変換し、割込発生回路41はその値によって、割り
込み先のプロセッサを選択する。各プロセッサ1iは、割
込ベクタ変換テーブルTに割り込み先として任意の値を
書き込んでおくことができる。
The input / output interrupt control circuit 4 of the channel controller 2 is provided with an interrupt vector conversion table T which can be written by each processor 1i. When an I / O interrupt occurs, the interrupt vector v indicating the interrupt source is read by the vector read circuit 42 and converted by the interrupt vector conversion table T, and the interrupt generation circuit 41 determines the interrupt destination processor according to the value. select. Each processor 1i can write an arbitrary value in the interrupt vector conversion table T as an interrupt destination.

【0009】第2の発明は、プロセッサ1iが入出力動作
の起動コマンドを入出力装置に対して発行したことを受
けてチャネル制御装置2が入出力制御装置3jを起動する
ときに、割込ベクタ変換テーブルTの入出力制御装置3j
のベクタ番号vに対応するエントリに、そのプロセッサ
1iが割り込み先として選択される値を書込回路43が書き
込むように構成する。
A second aspect of the present invention is an interrupt vector when the channel controller 2 activates the input / output controller 3j in response to the processor 1i issuing an input / output operation start command to the input / output device. Input / output control device 3j for conversion table T
To the entry corresponding to the vector number v of
The write circuit 43 is configured to write the value 1i selected as the interrupt destination.

【0010】[0010]

【作用】OSは入出力コマンドを発行する前に割込ベク
タ変換テーブルTの内容を書き込むことにより、割り込
み先のプロセッサを自由に設定できる。第2の発明で
は、割込ベクタ変換テーブルTの内容は、入出力コマン
ドを発行した時点にコマンドを発行したプロセッサを割
り込み先に指定するように書き込まれるので、必ず入出
力コマンドを発行したプロセッサにその結果である入出
力割込が通知されることになる。
The OS can freely set the interrupt destination processor by writing the contents of the interrupt vector conversion table T before issuing the input / output command. In the second invention, the contents of the interrupt vector conversion table T are written so that the processor that issued the command at the time of issuing the I / O command is designated as the interrupt destination, so that the processor that issued the I / O command must be used. The resulting I / O interrupt will be notified.

【0011】[0011]

【実施例】以下、図1および図2を参照して本発明の実
施例を説明する。図1は本発明の実施例の構成図であ
る。チャネル制御装置2は例えばVMEバス(B)を制
御する。VMEバス(B)には、入出力制御装置に相当
するLANコントローラやSCSIインタフェースコン
トローラ等のVMEバスアダプタ3jを接続できる。VM
Eバスの収容框体は例えば16個のスロットをもちVM
Eバスアダプタを最大16収容できる。VMEバスアダ
プタ3jは自分が挿入されたスロット番号をベクタ番号v
とする回路を備えている。
Embodiments of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram of an embodiment of the present invention. The channel controller 2 controls, for example, the VME bus (B). To the VMEbus (B), a VMEbus adapter 3j such as a LAN controller or SCSI interface controller corresponding to an input / output control device can be connected. VM
The housing frame of the E bus has, for example, 16 slots and is a VM.
It can accommodate up to 16 E-bus adapters. The VMEbus adapter 3j sets the slot number in which it is inserted to the vector number v
It is equipped with a circuit.

【0012】チャネル制御装置2の入出力割込制御回路
4は、割込ベクタ変換テーブルTをもち、この内容は書
込回路43により、任意のプロセッサ1iから書き込むこと
ができる。入出力割込制御回路4は、入出力割り込み時
にベクタ読込回路42によってVMEバスをとおしてVM
Eバスアダプタ3jのベクタ番号vを読み込む。そして割
込発生回路41は読み込まれたベクタ番号を割り込みベク
タ変換テーブルTで変換し、その値に従って割り込み先
のプロセッサを選択する。
The input / output interrupt control circuit 4 of the channel controller 2 has an interrupt vector conversion table T, the contents of which can be written by an arbitrary processor 1i by a write circuit 43. The input / output interrupt control circuit 4 uses the vector read circuit 42 at the time of an input / output interrupt to send a VM through the VME bus.
Read the vector number v of the E-bus adapter 3j. Then, the interrupt generation circuit 41 converts the read vector number in the interrupt vector conversion table T, and selects the interrupt destination processor according to the value.

【0013】図2は処理の流れを示す。プロセッサは
割り込み先となるプロセッサ番号を割込ベクタ変換テー
ブルTのエントリに書き込む。次にコマンドを発行す
る。チャネル制御装置2はコマンドを指定された入出
力装置を制御するVMEバスアダプタへ伝える。VME
バスアダプタ3jは、コマンドを実行し、終了すると入
出力割込を起こす。チャネル制御装置2の入出力割込
制御回路4がベクタ読込回路42によってアダプタから割
込ベクタ(ベクタ番号)vを受け取る。アダプタはベク
タ読込回路42が割込ベクタを読み込むときにスロット番
号を割込ベクタvとして送り出す。割込発生回路41は
割込ベクタ変換テーブルにより、割り込み先プロセッサ
を決定して割り込みを起こす。
FIG. 2 shows the flow of processing. The processor writes the interrupt target processor number in the entry of the interrupt vector conversion table T. Then issue the command. The channel controller 2 transmits the command to the VMEbus adapter which controls the designated input / output device. VME
The bus adapter 3j executes the command and, when completed, causes an I / O interrupt. The input / output interrupt control circuit 4 of the channel controller 2 receives the interrupt vector (vector number) v from the adapter by the vector read circuit 42. The adapter sends the slot number as the interrupt vector v when the vector read circuit 42 reads the interrupt vector. The interrupt generation circuit 41 determines an interrupt destination processor based on the interrupt vector conversion table and causes an interrupt.

【0014】なお、第2の発明に対応する実施例とし
て、入出力割込制御回路は、プロセッサ1iからコマン
ドが発行されたことを検出し、' 割り込みベクタ変換
テーブルの、起動されたアダプタのベクタ番号に対応す
るエントリに、プロセッサ1iの番号を書き込むようにす
ることもできる。この場合は、あらかじめ割り込みベク
タ変換テーブルTのエントリをOSが書き込む必要はな
い。
As an embodiment corresponding to the second invention, the input / output interrupt control circuit detects that a command is issued from the processor 1i, and the vector of the activated adapter in the'interrupt vector conversion table 'is detected. The number of the processor 1i can be written in the entry corresponding to the number. In this case, the OS does not need to write the entry of the interrupt vector conversion table T in advance.

【0015】[0015]

【発明の効果】以上説明したように、本発明の第1の発
明によればマルチプロセッサシステムにおいて、入出力
割込の割込先のプロセッサをOSが柔軟に決めることが
できる。従って効率よいシステムとすることができる。
また、第2の発明では入出力動作を起動したプロセッサ
にその結果である割込が自動的にかかることになり、O
Sは、余計な手間をかける必要がない。
As described above, according to the first aspect of the present invention, in the multiprocessor system, the OS can flexibly determine the processor as the interrupt destination of the input / output interrupt. Therefore, an efficient system can be obtained.
Further, in the second invention, the resulting interrupt is automatically applied to the processor which started the input / output operation.
S does not need to take extra trouble.

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

【図1】 実施例の構成図FIG. 1 is a configuration diagram of an embodiment.

【図2】 実施例の処理の流れ説明図FIG. 2 is an explanatory diagram of a processing flow of the embodiment.

【図3】 従来システムの構成概念図FIG. 3 is a conceptual diagram of the configuration of a conventional system.

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

11 12 1i 1n プロセッサ 2 チャネル制御装置 31 32 3i 3m 入出力制御装置(入出力アダプ
タ) 4 入出力割込制御回路 41 割込発生回路 42 ベクタ読込回路 43 書込回路 T 割込ベクタ変換テーブル v 割込ベクタ(ベクタ番号)
11 12 1i 1n Processor 2 channel controller 31 32 3i 3m I / O controller (I / O adapter) 4 I / O interrupt control circuit 41 Interrupt generation circuit 42 Vector read circuit 43 Write circuit T Interrupt vector conversion table v Included vector (vector number)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 マルチプロセッサシステムにおけるチャ
ネル制御装置(2)の入出力割込制御回路において、 各プロセッサ(1i)から書き込むことのできる割込ベク
タ変換テーブル(T)を設け、 入出力割込が発生したとき、割り込み元を示す割込ベク
タ(v)を読み込み、それを割込ベクタ変換テーブル
(T)によって変換した値によって、割り込み先のプロ
セッサを選択するように構成したことを特徴とする入出
力割込制御回路(4)。
1. An I / O interrupt control circuit of a channel controller (2) in a multiprocessor system is provided with an interrupt vector conversion table (T) which can be written from each processor (1i), and an I / O interrupt is provided. When an interrupt occurs, an interrupt vector (v) indicating an interrupt source is read, and an interrupt destination processor is selected according to a value converted by the interrupt vector conversion table (T). Output interrupt control circuit (4).
【請求項2】 プロセッサ(1i)が入出力動作の起動コ
マンドを入出力装置に対して発行したことを受けてチャ
ネル制御装置(2)が入出力制御装置(3j)を起動する
ときに、 割込ベクタ変換テーブル(T)の、入出力制御装置(3
j)の割込ベクタ(v)に対応するエントリに、そのプ
ロセッサ(1i)が割り込み先として選択される値を書き
込むように構成したことを特徴とする請求項1に記載の
入出力割込制御回路(4)。
2. When the channel controller (2) activates the input / output controller (3j) in response to the processor (1i) issuing an input / output operation start command to the input / output device, I / O controller (3) of the built-in vector conversion table (T)
The input / output interrupt control according to claim 1, wherein the processor (1i) is configured to write a value selected as an interrupt destination into an entry corresponding to the interrupt vector (v) of j). Circuit (4).
JP31715793A 1993-12-17 1993-12-17 Input/output interruption control circuit Withdrawn JPH07175665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31715793A JPH07175665A (en) 1993-12-17 1993-12-17 Input/output interruption control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31715793A JPH07175665A (en) 1993-12-17 1993-12-17 Input/output interruption control circuit

Publications (1)

Publication Number Publication Date
JPH07175665A true JPH07175665A (en) 1995-07-14

Family

ID=18085091

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31715793A Withdrawn JPH07175665A (en) 1993-12-17 1993-12-17 Input/output interruption control circuit

Country Status (1)

Country Link
JP (1) JPH07175665A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981402A (en) * 1995-09-13 1997-03-28 Kofu Nippon Denki Kk Multiprocessor system
JP2002526860A (en) * 1998-10-01 2002-08-20 フィーニックス テクノロジーズ リミテッド Apparatus and method for emulating I / O instructions for a correct processor and servicing a software SMI in a multiprocessor environment
JP2006338184A (en) * 2005-05-31 2006-12-14 Nec Electronics Corp Interruption distributing device, and interruption distributing system
JP2010026832A (en) * 2008-07-22 2010-02-04 Hitachi Ltd Information processing apparatus
WO2010061444A1 (en) * 2008-11-27 2010-06-03 富士通株式会社 Information processing device, system control device, method for controlling information processing device, and interrupt relay program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981402A (en) * 1995-09-13 1997-03-28 Kofu Nippon Denki Kk Multiprocessor system
JP2002526860A (en) * 1998-10-01 2002-08-20 フィーニックス テクノロジーズ リミテッド Apparatus and method for emulating I / O instructions for a correct processor and servicing a software SMI in a multiprocessor environment
JP2006338184A (en) * 2005-05-31 2006-12-14 Nec Electronics Corp Interruption distributing device, and interruption distributing system
JP2010026832A (en) * 2008-07-22 2010-02-04 Hitachi Ltd Information processing apparatus
WO2010061444A1 (en) * 2008-11-27 2010-06-03 富士通株式会社 Information processing device, system control device, method for controlling information processing device, and interrupt relay program

Similar Documents

Publication Publication Date Title
EP0205949B1 (en) Emulator for computer system input-output adapters
JPH07104842B2 (en) External storage interrupt control method
US5301277A (en) Method and apparatus for communicating peripheral data to/from minor operating systems running as subprocesses on a main operating system
JPH07175665A (en) Input/output interruption control circuit
EP0426081A2 (en) Programmable controller having interrupt controller for determining priority for interrupt requests from a plurality of I/O devices and generating interrupt vector
JPS5489455A (en) Control system
JPS57103530A (en) Channel controlling system
JPH0459635B2 (en)
RU2018944C1 (en) Device for interfacing computer with external objects
JPH0567040A (en) Peripheral equipment control circuit
JPS60112142A (en) Testing system of micro program
JPH0215749A (en) System for setting line controlling information for communication control processor
JPS63158654A (en) Microcontroller
KR970050667A (en) CD-ROM Multi Changer Device
JPH0795296B2 (en) Information sharing processing method in data processing system
JPH01312658A (en) Computer system
JPH03184150A (en) Information transfer device
JPS6344253A (en) Collecting and controlling system for data in memory device of main body device
JPS61173362A (en) Channel control system
JPS6029061A (en) Input/output controller
KR19990025123A (en) Register File for Bidirectional High Speed Parallel Port Controller
JPH05224845A (en) Printer sharing system
JPH0370263B2 (en)
JPH04268652A (en) Filing device
JPS59109928A (en) Input and output control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306