JPH09160891A - Multiprocessor interruption control system - Google Patents

Multiprocessor interruption control system

Info

Publication number
JPH09160891A
JPH09160891A JP31825895A JP31825895A JPH09160891A JP H09160891 A JPH09160891 A JP H09160891A JP 31825895 A JP31825895 A JP 31825895A JP 31825895 A JP31825895 A JP 31825895A JP H09160891 A JPH09160891 A JP H09160891A
Authority
JP
Japan
Prior art keywords
interrupt
processor
register
control means
level
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.)
Granted
Application number
JP31825895A
Other languages
Japanese (ja)
Other versions
JP2848297B2 (en
Inventor
Kunitatsu Abe
晋樹 阿部
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 JP31825895A priority Critical patent/JP2848297B2/en
Publication of JPH09160891A publication Critical patent/JPH09160891A/en
Application granted granted Critical
Publication of JP2848297B2 publication Critical patent/JP2848297B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To distribute an interruption load equally to respective processors fast by making an I/O device control means control the transmission of an interruption request to a processor having the lightest interruption load according to the contents of a transaction. SOLUTION: This system is provided with processor control circuits 200-1 to 200-4 corresponding to processors 100-1 to 100-4 and I/O device control circuits 300-1 and 300-2 which accept interruptions from plural I/O devices 500-1 to 500-6 through interruption lines 600-1 and 600-2. Processor control circuits 200-1 to 200-4 inform the I/O device control circuits 300-1 and 300-2 of the interruption loads of the corresponding processors and the I/O device control circuits 300-1 and 300-2 controls the transmission of the interruption request to the processor having the lightest interruption load according to the contents of the transaction.

Description

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

【発明の属する技術分野】本発明は、共有バスで結合さ
れたマルチプロセッサ割り込み制御システムに関し、特
に各プロセッサに均一に負荷分散をすることのできるマ
ルチプロセッサ割り込み制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor interrupt control system connected by a shared bus, and more particularly to a multiprocessor interrupt control system capable of uniformly distributing loads to each processor.

【0001】[0001]

【従来の技術】従来この種の技術では、割り込みを発行
する入出力(以下、「I/O」という)制御部が、その
割り込み要因に対応して予め一意に設定されたプロセッ
サに割り込みを通知していた。この場合、設定によって
は割り込みの負荷が特定のプロセッサに集中する可能性
があり、均一な負荷分散が難しいという問題があった。
2. Description of the Related Art Conventionally, in this type of technology, an input / output (hereinafter referred to as "I / O") control unit that issues an interrupt notifies an interrupt to a processor that is uniquely set in advance corresponding to the interrupt factor. Was. In this case, depending on the setting, the interrupt load may be concentrated on a specific processor, which makes it difficult to uniformly distribute the load.

【0002】そこで、割り込みを受け付けるプロセッサ
を予め設定するのではなく、各プロセッサが個別に判断
することにより、割り込みの負荷を分散する方法がとら
れている。たとえば、特開平2−82343号公報には
プロセッサが割り込み専用バスにより互いの負荷状態を
監視しあい、高負荷のプロセッサが割り込みを受信した
場合でも負荷の軽いプロセッサが代わりに割り込みを受
け付けることにより均一な負荷分散をはかることのでき
る技術が記載されている。さらに、プロセッサの生死状
態を表す信号線を追加することにより、故障プロセッサ
の存在を検知し、代わりに他のプロセッサがI/Oデバ
イスからの割り込みを受け付けることができるようにし
た技術が記載されている。
Therefore, a method has been adopted in which the load of interrupts is distributed by making individual judgments by each processor rather than setting the processors that accept interrupts in advance. For example, in Japanese Unexamined Patent Publication No. 2-82343, the processors monitor each other's load states through an interrupt-dedicated bus, and even if a heavily loaded processor receives an interrupt, the lightly loaded processor instead accepts the interrupt. A technique capable of achieving load balancing is described. Further, a technique is described in which a signal line indicating a life or death state of a processor is added to detect the presence of a faulty processor, and instead, another processor can accept an interrupt from an I / O device. There is.

【0003】[0003]

【発明が解決しようとする課題】上述の従来技術では、
システムの大規模化に伴い、I/Oデバイス数およびプ
ロセッサ数が増大すると、これに比例して割り込み専用
バスが増加してしまう。これにより、プロセッサ相互間
の割り込み受け付けの調停制御が複雑になってしまうた
め応答が遅くなるという問題があった。また、耐故障性
を高めようとすると、信号線がさらに増え、ハードウェ
ア量が増大してしまうという問題があった。
In the above-mentioned prior art,
When the number of I / O devices and the number of processors increase as the system becomes larger, the number of interrupt-dedicated buses increases in proportion to this. As a result, the arbitration control for interrupt acceptance between the processors becomes complicated, and there is a problem that the response becomes slow. In addition, there is a problem that if the fault tolerance is increased, the number of signal lines is further increased and the amount of hardware is increased.

【0004】本発明の目的は、各プロセッサに対する均
一な割り込み負荷分散を高速に実現するマルチプロセッ
サ割り込み制御システムを実現することにある。
An object of the present invention is to realize a multiprocessor interrupt control system which realizes uniform interrupt load distribution to each processor at high speed.

【0005】また、本発明の他の目的は、システムの大
規模化に伴うハードウェア量の増大を防ぐマルチプロセ
ッサ割り込み制御システムを実現することにある。
Another object of the present invention is to realize a multiprocessor interrupt control system which prevents an increase in the amount of hardware associated with an increase in system scale.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に本発明のマルチプロセッサ割り込み制御システムは、
複数のI/Oデバイスからの複数のプロセッサに対する
割り込み線を介した割り込み要求を分散するマルチプロ
セッサ割り込み制御システムであって、前記複数のプロ
セッサの各々に対応づけられたプロセッサ制御手段と、
前記複数のI/Oデバイスの各々から前記割り込み線を
介して割り込みを受け付けるI/Oデバイス制御手段と
を含み、前記プロセッサ制御手段は、対応づけられたプ
ロセッサの割り込み負荷を前記I/Oデバイス制御手段
に通知する手段を含み、前記I/Oデバイス制御手段
は、前記トランザクションの内容から、現在最も割り込
み負荷の軽いプロセッサに対する割り込み要求の送出制
御を行う手段とを含む。
In order to solve the above problems, a multiprocessor interrupt control system of the present invention comprises:
A multiprocessor interrupt control system for distributing interrupt requests from a plurality of I / O devices to a plurality of processors via interrupt lines, the processor control means being associated with each of the plurality of processors,
I / O device control means for receiving an interrupt from each of the plurality of I / O devices via the interrupt line, wherein the processor control means controls the interrupt load of the associated processor by the I / O device control. The I / O device control means includes means for notifying the means, and means for controlling the transmission of an interrupt request to the processor with the smallest interrupt load at present based on the contents of the transaction.

【0007】また、本発明の他のマルチプロセッサ割り
込み制御システムは、前記プロセッサ制御手段は、割り
込みの要因に対応づけられた割り込みのレベルを格納す
る割り込みレベルレジスタと、割り込みのレベルに応じ
てペンディング中の割り込み数をカウントするカウンタ
と、前記I/Oデバイス制御手段からの割り込み要求を
受け取り、該要求に含まれる割り込み要因コードに対応
した前記割り込みレベルレジスタに格納された割り込み
レベルから前記カウンタの該当するレベルをインクリメ
ントする割り込み受信制御手段と、割り込み完了時に前
記カウンタの内容を前記I/Oデバイス制御手段に通知
する割り込み完了発行制御手段とを含む。 また、本発
明の他のマルチプロセッサ割り込み制御システムは、前
記プロセッサ制御手段は、割り込みの要因に対応づけら
れた割り込みのペンディング数を格納する割り込みペン
ディングレジスタと、前記割り込みレベルレジスタの内
容と前記割り込みペンディングレジスタの内容とからプ
ロセッサに送出する割り込みを決定し、送出制御を行う
割り込み要求発行制御手段とを含む。
Further, in another multiprocessor interrupt control system of the present invention, the processor control means is an interrupt level register for storing an interrupt level associated with an interrupt factor, and pending during the interrupt level. And a counter that counts the number of interrupts from the I / O device control means and receives the interrupt request from the I / O device control means, and the counter corresponds to the counter from the interrupt level stored in the interrupt level register corresponding to the interrupt factor code included in the request. It includes interrupt reception control means for incrementing the level and interrupt completion issue control means for notifying the I / O device control means of the contents of the counter when the interrupt is completed. Further, in another multiprocessor interrupt control system of the present invention, the processor control means includes an interrupt pending register for storing an interrupt pending number associated with an interrupt factor, contents of the interrupt level register and the interrupt pending. An interrupt request issue control means for determining an interrupt to be sent to the processor based on the contents of the register and controlling the sending is included.

【0008】また、本発明の他のマルチプロセッサ割り
込み制御システムは、前記I/Oデバイス制御手段は、
割り込みのレベルに応じて複数のプロセッサの各々のペ
ンディング数を格納するプロセッサ割り込みペンディン
グレジスタと、前記トランザクションを受け付け、該ト
ランザクションの内容から前記プロセッサ割り込みペン
ディングレジスタの内容を更新制御する割り込み完了通
知受信制御手段とを含む。
According to another multiprocessor interrupt control system of the present invention, the I / O device control means comprises:
A processor interrupt pending register that stores the number of pending states of each of a plurality of processors according to the interrupt level, and an interrupt completion notification reception control means that accepts the transaction and updates the content of the processor interrupt pending register based on the content of the transaction. Including and

【0009】また、本発明の他のマルチプロセッサ割り
込み制御システムは、前記I/Oデバイス制御手段は、
前記プロセッサ割り込みペンディングレジスタより得ら
れる割り込みレベルが全プロセッサに対して等しい際に
優先的に割り込みを通知するプロセッサのID番号が格
納される割り込み優先通知レジスタと、この割り込み優
先通知レジスタの内容と前記プロセッサ割り込みペンデ
ィングレジスタの内容とから、現在最も負荷の軽いプロ
セッサに対する割り込み要求の送出制御を行う割り込み
発行制御手段とを含む。
According to another multiprocessor interrupt control system of the present invention, the I / O device control means comprises:
An interrupt priority notification register that stores the ID number of a processor that preferentially notifies an interrupt when the interrupt level obtained from the processor interrupt pending register is equal to all processors, the content of the interrupt priority notification register, and the processor An interrupt issue control means for controlling the transmission of an interrupt request to the processor with the lightest load at present based on the contents of the interrupt pending register.

【0010】また、本発明の他のマルチプロセッサ割り
込み制御システムは、前記I/Oデバイス制御手段は、
前記複数の割り込み線の各々に対応づけられた割り込み
レベルが格納される割り込みレベル設定レジスタと、前
記複数の割り込み線の各々から割り込みを受け付ける際
に、前記割り込みレベル設定レジスタの内容から受け付
ける割り込みを決定する割り込み受け付け制御手段を含
む。
According to another multiprocessor interrupt control system of the present invention, the I / O device control means comprises:
An interrupt level setting register for storing an interrupt level associated with each of the plurality of interrupt lines, and an interrupt to be accepted from the contents of the interrupt level setting register when accepting an interrupt from each of the plurality of interrupt lines And an interrupt acceptance control means for controlling the interrupt acceptance.

【0011】また、本発明の他のマルチプロセッサ割り
込み制御システムは、複数のI/Oデバイスからの複数
のプロセッサに対する割り込み線を介した割り込み要求
を分散するマルチプロセッサ割り込み制御システムであ
って、前記複数のプロセッサの各々に対応づけられたプ
ロセッサ制御手段と、I/Oデバイスから割り込み線を
介して割り込みを受け付けるI/Oデバイス制御手段と
を含み、前記プロセッサ制御手段は、割り込みの要因に
対応づけられた割り込みのペンディング数を格納する割
り込みペンディングレジスタと、割り込みの要因に対応
づけられた割り込みのレベルを格納する割り込みレベル
レジスタと、割り込みのレベルに応じてペンディング中
の割り込み数をカウントするカウンタと、前記I/Oデ
バイス制御手段からの割り込み要求を受け取り、該要求
に含まれる割り込み要因コードと前記割り込みレベルレ
ジスタの内容とから前記カウンタの該当するレベルをイ
ンクリメントする割り込み受信制御手段と、前記割り込
みレベルレジスタの内容と前記割り込みペンディングレ
ジスタの内容とからプロセッサに送出する割り込み要因
を決定し、送出制御を行う割り込み要求発行制御手段
と、割り込み完了時に前記カウンタの内容を含む完了ト
ランザクションを発行する割り込み完了発行制御手段と
を含み、前記I/Oデバイス制御手段は、割り込みのレ
ベルに応じて複数のプロセッサの各々のペンディング数
を格納するプロセッサ割り込みペンディングレジスタ
と、複数の割り込み線の各々に対応づけられた割り込み
要因コードが格納される割り込み要因設定レジスタと、
複数の割り込み線の各々に対応づけられた割り込みレベ
ルが格納される割り込みレベル設定レジスタと、全プロ
セッサの割り込みレベルが等しい際に優先的に割り込み
を通知するプロセッサのID番号が格納される割り込み
優先通知レジスタと、前記プロセッサ割り込みペンディ
ングレジスタの内容と前記割り込み優先通知レジスタの
内容とから、現在最も負荷の軽いプロセッサに対する割
り込み要求の送出制御を行う割り込み発行制御手段と、
前記終了トランザクションを受け付け、該トランザクシ
ョンに含まれる前記カウンタの内容から前記プロセッサ
割り込みペンディングレジスタの内容を更新制御する割
り込み完了通知受信制御手段とを含む。
Further, another multiprocessor interrupt control system of the present invention is a multiprocessor interrupt control system which distributes interrupt requests from a plurality of I / O devices to a plurality of processors via interrupt lines. Of the processors of the above, and I / O device control means for accepting an interrupt from an I / O device via an interrupt line, the processor control means being associated with an interrupt factor. An interrupt pending register that stores the number of pending interrupts, an interrupt level register that stores the interrupt level associated with the interrupt factor, a counter that counts the number of pending interrupts according to the interrupt level, and I / O device control means Interrupt request control means for receiving a corresponding interrupt request, and incrementing the corresponding level of the counter from the interrupt factor code contained in the request and the contents of the interrupt level register; and the contents of the interrupt level register and the interrupt pending register. The interrupt request issuance control means for determining an interrupt factor to be sent to the processor based on the contents and the sending control, and the interrupt completion issue control means for issuing a completion transaction including the contents of the counter when the interrupt is completed, The O-device control means includes a processor interrupt pending register that stores the number of pending states of each of the plurality of processors according to the interrupt level, and an interrupt factor setting that stores an interrupt factor code associated with each of the plurality of interrupt lines. And register,
An interrupt level setting register that stores an interrupt level associated with each of a plurality of interrupt lines, and an interrupt priority notification that stores an ID number of a processor that preferentially notifies an interrupt when the interrupt levels of all processors are equal A register, an interrupt issue control means for controlling the transmission of an interrupt request to the currently lightest loaded processor from the contents of the processor interrupt pending register and the contents of the interrupt priority notification register,
Interrupt completion notification reception control means for receiving the end transaction and updating the contents of the processor interrupt pending register from the contents of the counter included in the transaction.

【0012】[0012]

【発明の実施の形態】次に本発明のマルチプロセッサ割
り込み制御システムの一実施例について図面を参照して
詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, an embodiment of a multiprocessor interrupt control system of the present invention will be described in detail with reference to the drawings.

【0013】図1を参照すると、本発明の一実施例であ
るマルチプロセッサ割り込み制御システムは、複数のプ
ロセッサ100−1、・・・、100−4の各々が対応
するプロセッサ制御回路200−1、・・・、200−
4を介し共有バス700に接続されて構成される。I/
Oデバイス500−1、500−2、500−3はロー
カルバス400−1に、I/Oデバイス500−4、5
00−5、500−6はローカルバス400−2にそれ
ぞれ接続される。ローカルバス400−1、400−2
はそれぞれI/O制御回路300−1、300−2を介
して共有バス700に接続されている。
Referring to FIG. 1, a multiprocessor interrupt control system according to an embodiment of the present invention includes a processor control circuit 200-1, to which each of a plurality of processors 100-1, ..., 100-4 corresponds. ..., 200-
It is configured to be connected to the shared bus 700 via No. 4. I /
The O devices 500-1, 500-2, 500-3 are connected to the local bus 400-1, and the I / O devices 500-4, 5
00-5 and 500-6 are connected to the local bus 400-2, respectively. Local buses 400-1, 400-2
Are connected to the shared bus 700 via I / O control circuits 300-1 and 300-2, respectively.

【0014】I/Oデバイス500−1、500−2、
500−3は、割り込み線群600−1を介してI/O
制御回路300−1と直接接続されている。I/Oデバ
イス500−4、500−5、500−6は、割り込み
線群600−2を介してI/O制御部300−2と直接
接続されている。
I / O devices 500-1, 500-2,
500-3 is I / O via the interrupt line group 600-1.
It is directly connected to the control circuit 300-1. The I / O devices 500-4, 500-5, 500-6 are directly connected to the I / O control unit 300-2 via the interrupt line group 600-2.

【0015】図2を参照すると、本発明のマルチプロセ
ッサ割り込み制御システムにおけるプロセッサ制御部2
00−1は、プロセッサ入出力制御回路210を介し、
プロセッサ100−1および共有バス700とのデータ
入出力制御を行う。また、プロセッサ制御部200−1
は、対応するプロセッサのID番号を格納するプロセッ
サIDレジスタ220、レジスタ群260および割り込
みペンディングカウンタ群270を有している。
Referring to FIG. 2, the processor controller 2 in the multiprocessor interrupt control system of the present invention.
0-1, via the processor input / output control circuit 210,
Data input / output control with the processor 100-1 and the shared bus 700 is performed. In addition, the processor control unit 200-1
Has a processor ID register 220 that stores the ID number of the corresponding processor, a register group 260, and an interrupt pending counter group 270.

【0016】このレジスタ群260は、プロセッサが立
ち上げ時に初期化試験を正常に終了したことを示す初期
化試験正常終了フラグを格納するコネクトレジスタ26
1、割り込み要因と対応した割り込みがハイレベルまた
はロウレベルのいずれのレベルかを表すレベル値を設定
する割り込みレベルレジスタ262およびプロセッサの
ペンディング中の割り込み処理の割り込み要因コードを
示す割り込みペンディングレジスタ263から構成され
る。
The register group 260 stores a connect register 26 for storing an initialization test normal end flag indicating that the initialization test has been normally completed when the processor is started up.
1. An interrupt level register 262 that sets a level value indicating whether the interrupt corresponding to the interrupt factor is a high level or a low level, and an interrupt pending register 263 that indicates an interrupt factor code of interrupt processing during pending processing of the processor. It

【0017】割り込みペンディングカウンタ群270
は、ペンディング中の割り込み処理の数をカウントする
ものであり、割り込みのレベルに応じてハイレベルの割
り込み処理の数はハイレベル割り込みペンディングカウ
ンタ271に、ロウレベルの割り込み処理の数はロウレ
ベル割り込みペンディングカウンタ272にそれぞれ格
納される。
Interrupt pending counter group 270
Counts the number of pending interrupt processes. Depending on the interrupt level, the number of high-level interrupt processes is in the high-level interrupt pending counter 271, and the number of low-level interrupt processes is in the low-level interrupt pending counter 272. Stored in each.

【0018】また、プロセッサ制御部200−1は、割
り込み受信制御回路230、割り込み要求発行制御回路
240および割り込み完了発行制御回路250を有して
いる。割り込み受信回路230は、共有バスから割り込
みの受信を行う。割り込み要求発行制御回路240は、
対応するプロセッサに対し、割り込みの要求を発行す
る。割り込み完了発行制御回路250は、対応するプロ
セッサから割り込み処理の終了通知を受け付け、共有バ
ス700に対し割り込みが終了した旨の通知を発行す
る。
The processor control section 200-1 also has an interrupt reception control circuit 230, an interrupt request issue control circuit 240, and an interrupt completion issue control circuit 250. The interrupt receiving circuit 230 receives an interrupt from the shared bus. The interrupt request issuance control circuit 240
Issues an interrupt request to the corresponding processor. The interrupt completion issue control circuit 250 accepts an interrupt processing end notification from the corresponding processor, and issues a notification indicating that the interrupt has ended to the shared bus 700.

【0019】I/O制御回路300−1は、I/O入出
力制御回路310を介して共有バス700およびローカ
ルバス400−1とのデータの送受信を行う。
The I / O control circuit 300-1 transmits / receives data to / from the shared bus 700 and the local bus 400-1 via the I / O input / output control circuit 310.

【0020】I/O制御回路300−1は、システム上
のプロセッサのペンディング中の割り込み数を格納する
プロセッサ割り込みペンディングレジスタ群340を有
している。プロセッサ割り込みペンディングレジスタ群
340は、プロセッサ割り込みハイレベルペンディング
レジスタ341とプロセッサ割り込みロウレベルペンデ
ィングレジスタ342とからなり、割り込みのレベルに
対応してハイレベルの割り込みペンディング数はプロセ
ッサ割り込みハイレベルペンディングレジスタ341
に、ロウレベルの割り込みペンディング数はプロセッサ
割り込みロウレベルペンディングレジスタ342にそれ
ぞれ格納される。
The I / O control circuit 300-1 has a processor interrupt pending register group 340 for storing the number of pending interrupts of the processor on the system. The processor interrupt pending register group 340 includes a processor interrupt high-level pending register 341 and a processor interrupt low-level pending register 342, and the number of high-level interrupt pending corresponding to the interrupt level is the processor interrupt high-level pending register 341.
Further, the low-level interrupt pending number is stored in the processor interrupt low-level pending register 342, respectively.

【0021】さらに、I/O制御回路300−1は、レ
ジスタ群350を有している。レジスタ群350は、シ
ステム上に接続され立ち上げ時に正常であったプロセッ
サのID番号を格納するプロセッサ接続情報レジスタ3
51、各割り込み線群600−1と割り込み要因コード
との対応が設定される割り込み要因コード設定レジスタ
352、各割り込み線群600−1に対応づけられた割
り込みが優先的に通知されるプロセッサのID番号が格
納される割り込み優先通知レジスタ353および各割り
込み線に対応づけられた割り込みのレベル値が格納され
る割り込みレベル設定レジスタ354から構成される。
Further, the I / O control circuit 300-1 has a register group 350. The register group 350 is a processor connection information register 3 that stores the ID number of a processor that was connected to the system and was normal at startup.
51, an interrupt factor code setting register 352 in which correspondence between each interrupt line group 600-1 and an interrupt factor code is set, and an ID of a processor to which an interrupt associated with each interrupt line group 600-1 is preferentially notified It is composed of an interrupt priority notification register 353 storing a number and an interrupt level setting register 354 storing a level value of an interrupt associated with each interrupt line.

【0022】さらに、I/Oデバイス制御回路300−
1は、I/Oデバイスからの割り込みを制御するI/O
デバイス割り込み受け付け制御回路320、共有バス7
00を介して割り込みの発行を行う割り込み発行制御回
路330および共有バスから割り込み終了の通知を受信
する割り込み完了受信制御部360を有している。I/
Oデバイス割り込み受け付け制御回路320は割り込み
線群600−1から割り込みを受け付ける。割り込み線
群600−1は、割り込み線INT#1、INT#2お
よびINT#3からなる。
Further, the I / O device control circuit 300-
1 is an I / O that controls an interrupt from the I / O device
Device interrupt acceptance control circuit 320, shared bus 7
An interrupt issuance control circuit 330 that issues an interrupt via 00 and an interrupt completion reception control unit 360 that receives an interrupt end notification from the shared bus. I /
The O-device interrupt acceptance control circuit 320 accepts an interrupt from the interrupt line group 600-1. The interrupt line group 600-1 includes interrupt lines INT # 1, INT # 2 and INT # 3.

【0023】図3を参照すると、割り込みレベルレジス
タ262は、各割り込みの要因コードに対応してレベル
値が設定されている。レベル値はハイとロウとからなり
早期に処理させたい要因コードにはハイレベルが設定さ
れる。
Referring to FIG. 3, the interrupt level register 262 is set with a level value corresponding to the cause code of each interrupt. The level value consists of high and low, and a high level is set to the factor code that is desired to be processed early.

【0024】図4を参照すると、割り込みペンディング
レジスタ263は、現在プロセッサがペンディング中の
割り込み要因コードに対応するビットに1が立てられて
いる。ペンディング中でない割り込み要因コードに対応
するビットは0が立てられている。
Referring to FIG. 4, in the interrupt pending register 263, 1 is set in the bit corresponding to the interrupt factor code which the processor is currently pending. The bit corresponding to the interrupt factor code that is not pending is set to 0.

【0025】図5を参照すると、プロセッサ割り込みハ
イレベルペンディングレジスタ341には、システムに
接続された各々のプロセッサのペンディング中にあるハ
イレベル割り込みの数が保持されている。ロウレベルの
割り込み数は、プロセッサ割り込みロウレベルペンディ
ングレジスタ342に同様に保持されている。
Referring to FIG. 5, the processor interrupt high level pending register 341 holds the number of pending high level interrupts of each processor connected to the system. The number of low-level interrupts is similarly held in the processor interrupt low-level pending register 342.

【0026】図6、図7および図8を参照すると、割り
込み要因コード設定レジスタ352には割り込み線群6
00−1の割り込み線INT#1、INT#2およびI
NT#3の各々に対応して、割り込み要因コードが格納
される。割り込み優先通知レジスタ353には、この各
割り込み線に対応して、優先通知プロセッサのID番号
が格納される。割り込みレベル設定レジスタ354に
は、この各割り込み線に対応して、割り込みのレベル値
が格納される。
Referring to FIGS. 6, 7 and 8, the interrupt factor code setting register 352 includes interrupt line groups 6
0-1, interrupt lines INT # 1, INT # 2 and I
An interrupt factor code is stored corresponding to each of NT # 3. The interrupt priority notification register 353 stores the ID number of the priority notification processor corresponding to each interrupt line. The interrupt level setting register 354 stores an interrupt level value corresponding to each interrupt line.

【0027】次に本発明の一実施例のマルチプロセッサ
割り込み制御システムの動作について図面を用いて詳細
に説明する。
Next, the operation of the multiprocessor interrupt control system according to the embodiment of the present invention will be described in detail with reference to the drawings.

【0028】図1および図2を参照すると、マルチプロ
セッサ割り込み制御システムの立ち上げ時において、初
期化試験を正常に終了した各々のプロセッサは、各自の
プロセッサ制御部200−1のコネクトレジスタ261
に初期化試験正常終了フラグを立てる。この処理より一
定時間の後、マスターとなるプロセッサが共有バスを介
して全てのプロセッサのプロセッサ制御部200−1の
コネクトレジスタ261を読み込み、初期化試験におい
て異常終了または故障などで動作不能となったプロセッ
サを共有バスに接続されていないものとして縮退動作処
理し、プロセッサ接続情報を生成する。このプロセッサ
接続情報を共有バスに接続された全てのI/O制御部3
00−1および300−2に通知し、この通知を受け取
ったI/O制御部300−1および300ー2はプロセ
ッサ接続情報レジスタ351にプロセッサ接続情報を書
き込む。
Referring to FIGS. 1 and 2, each processor which has normally completed the initialization test when the multiprocessor interrupt control system is started up is connected to the connect register 261 of its own processor control unit 200-1.
Set the initialization test normal end flag to. After a certain time from this processing, the master processor reads the connect register 261 of the processor control units 200-1 of all the processors via the shared bus, and becomes inoperable due to abnormal termination or failure in the initialization test. Degenerate operation processing is performed assuming that the processor is not connected to the shared bus, and processor connection information is generated. All the I / O control units 3 connected to the shared bus using this processor connection information
0-1 and 300-2 are notified, and the I / O control units 300-1 and 300-2 that have received the notification write the processor connection information in the processor connection information register 351.

【0029】その後、マスタープロセッサのファームウ
ェア等が割り込み要因コードとプロセッサへ割り込みを
通知する際の割り込みレベルとの対応を割り込みレベル
レジスタ262に設定する。また、割り込み要因をI/
Oデバイス500−1、・・・、500−3からの割り
込み線群600−1の各々の線毎に対応づけて割り込み
要因コード設定レジスタ352に設定する。プロセッサ
の割り込み負荷が全てのプロセッサにおいて等しい場合
に、優先して割り込みを通知するプロセッサのID番号
を割り込み線群600−1の各々の線毎に対応づけて割
り込み優先通知レジスタに設定する。さらに、割り込み
線群600−1と割り込みのレベル値ハイおよびロウの
対応を割り込みレベルレジスタ334に設定する。
Thereafter, the master processor firmware or the like sets in the interrupt level register 262 the correspondence between the interrupt factor code and the interrupt level when the interrupt is notified to the processor. In addition, I /
.., 500-3 are set in the interrupt factor code setting register 352 in association with each line of the interrupt line group 600-1. When the interrupt loads of the processors are equal in all the processors, the ID number of the processor which gives priority to the interrupt notification is set in the interrupt priority notification register in association with each line of the interrupt line group 600-1. Further, the correspondence between the interrupt line group 600-1 and the interrupt level values high and low is set in the interrupt level register 334.

【0030】各割り込み要因の相互の割り込みレベルの
相対関係は、割り込みレベルレジスタ262と割り込み
レベル設定レジスタ354とにおいて矛盾しないように
設定する。すなわち、図8に示すように割り込みレベル
設定レジスタ354において割り込み線INT#1がハ
イレベル、INT#2とINT#3とがロウレベルに設
定されている。これら各割り込み線は図6に示される割
り込み要因コード設定レジスタ352の内容より、IN
T#1が割り込み要因コード12に、INT#2が割り
込み要因コード13に、INT#3が割り込み要因コー
ド14に設定されているから、割り込み要因コード12
はハイレベル、割り込み要因コード13と14とはロウ
レベル割り込みであることになる。これより図3に示す
ように割り込みレベルレジスタ262において、割り込
み要因コード12はハイレベルに、割り込み要因コード
13および14はロウレベルに設定される。
The relative relationship between the interrupt levels of the interrupt factors is set in the interrupt level register 262 and the interrupt level setting register 354 so that they do not conflict with each other. That is, as shown in FIG. 8, in the interrupt level setting register 354, the interrupt line INT # 1 is set to high level, and INT # 2 and INT # 3 are set to low level. Each of these interrupt lines is set to IN from the contents of the interrupt factor code setting register 352 shown in FIG.
Since T # 1 is set as the interrupt factor code 12, INT # 2 is set as the interrupt factor code 13, and INT # 3 is set as the interrupt factor code 14, the interrupt factor code 12
Is a high level interrupt, and the interrupt factor codes 13 and 14 are low level interrupts. Thus, as shown in FIG. 3, in the interrupt level register 262, the interrupt factor code 12 is set to the high level and the interrupt factor codes 13 and 14 are set to the low level.

【0031】次に、接続されている全てのプロセッサ制
御部200−1、・・・、200−4のハイレベル割り
込みペンディングカウンタ271およびロウレベル割り
込みペンディングカウンタ272をそれぞれ初期値0に
設定する。また、接続されている全てのI/O制御部3
00−1および300−2のプロセッサ割り込みハイレ
ベルペンディングレジスタ341およびプロセッサ割り
込みロウレベルペンディングレジスタ342を初期値0
にそれぞれ設定する。
Next, the high level interrupt pending counter 271 and the low level interrupt pending counter 272 of all the connected processor control units 200-1, ..., 200-4 are set to the initial value 0. In addition, all connected I / O control units 3
The processor interrupt high level pending register 341 and the processor interrupt low level pending register 342 of 00-1 and 300-2 are initialized to 0.
Set to each.

【0032】図1および図2を参照すると、I/O制御
部300−1は、I/Oデバイス500−1、・・・、
500−3から割り込み線群600−1を介して複数の
割り込みの通知を受ける。この割り込みの通知は、I/
Oデバイス割り込み受付制御部320に受け付けられ
る。I/Oデバイス割り込み受付制御部320は、割り
込みレベル設定レジスタ354を参照して、この割り込
みの通知のうち割り込みレベルの高い割り込み線からの
割り込みを受け付ける。割り込みレベルが同じレベルで
ある場合は、ラウンドロビン等のような制御を行い、受
け付ける割り込みを決定する。I/Oデバイス割り込み
受付制御部320は、受け付けた割り込みの割り込み要
因コードを割り込み要因設定レジスタ362から読み込
み、この割り込み要因コードと割り込みレベルとを割り
込み発行制御部330へ通知する。
Referring to FIGS. 1 and 2, the I / O control unit 300-1 includes an I / O device 500-1 ,.
A plurality of interrupt notifications are received from 500-3 via the interrupt line group 600-1. This interrupt notification is I /
It is accepted by the O-device interrupt acceptance control unit 320. The I / O device interrupt acceptance control unit 320 refers to the interrupt level setting register 354 and accepts an interrupt from an interrupt line having a high interrupt level in the notification of the interrupt. If the interrupt levels are the same, control such as round robin is performed to determine the interrupt to be accepted. The I / O device interrupt acceptance control unit 320 reads the interrupt factor code of the accepted interrupt from the interrupt factor setting register 362, and notifies the interrupt issue control unit 330 of this interrupt factor code and interrupt level.

【0033】図2、図9および図12を参照すると割り
込み発行制御部330は、受け取った割り込みレベルに
対応したプロセッサ割り込みペンディングレジスタ群3
40から各プロセッサのペンディング割り込み数を読み
込む(ステップ92)。すなわち、割り込みのレベルが
ハイレベルであれば、プロセッサ割り込みハイレベルペ
ンディングレジスタ341から、割り込みのレベルがロ
ウレベルであればプロセッサ割り込みロウレベルペンデ
ィングレジスタ342から各プロセッサのペンディング
割り込み数を読み込む。このペンディング割り込み数が
全てのプロセッサについて等しいか否かを判定し(ステ
ップ93)、等しくない場合は、このペンディング割り
込み数の最も小さいプロセッサであり、かつプロセッサ
動作レジスタ351から正常動作中であることが確認さ
れるプロセッサのID番号を決定する(ステップ9
4)。全てのプロセッサのペンディング割り込み数が等
しい場合は、割り込み優先通知レジスタ353から優先
的に通知する優先プロセッサのID番号を読み込む(ス
テップ95)。この優先プロセッサが縮退動作処理され
ているか否かを判定し(ステップ96)、縮退動作処理
されていない場合にはこの優先プロセッサを割り込みプ
ロセッサと決定する(ステップ97)。優先プロセッサ
が縮退動作処理されている場合には、優先プロセッサの
ID番号に1を加えステップ96の動作に戻る。割り込
み通知先のプロセッサが決定すると、割り込み要因セッ
トトランザクション10を生成し、I/O入出力制御回
路310を介して共有バス700に送出する(ステップ
99)。
Referring to FIGS. 2, 9 and 12, the interrupt issuance control unit 330 determines that the processor interrupt pending register group 3 corresponding to the received interrupt level.
The number of pending interrupts of each processor is read from 40 (step 92). That is, if the interrupt level is the high level, the processor interrupt high level pending register 341 is read, and if the interrupt level is the low level, the pending interrupt number of each processor is read from the processor interrupt low level pending register 342. It is determined whether or not the number of pending interrupts is equal for all processors (step 93). If they are not equal, it is the processor with the smallest number of pending interrupts, and the processor operation register 351 is operating normally. Determine the ID number of the processor to be verified (step 9)
4). If the number of pending interrupts of all processors is equal, the ID number of the priority processor to be preferentially notified is read from the interrupt priority notification register 353 (step 95). It is determined whether or not this priority processor has been subjected to the degeneration operation processing (step 96), and if it has not been subjected to the degeneration operation processing, this priority processor is determined as an interrupt processor (step 97). If the priority processor has been subjected to the degenerate operation process, 1 is added to the ID number of the priority processor and the process returns to step 96. When the processor of the interrupt notification destination is determined, the interrupt factor set transaction 10 is generated and sent to the shared bus 700 via the I / O input / output control circuit 310 (step 99).

【0034】図2および図10を参照すると、プロセッ
サ制御部200−1では、割り込み受信制御部230が
共有バス700を監視し、自プロセッサ部200−1に
接続されているプロセッサ100−1に対する割り込み
要因セットトランザクション10を受信する(ステップ
101)。このトランザクションの割り込み要因コード
11から割り込みペンディングレジスタ263の対応す
るビットを立てる(ステップ102)。割り込みレベル
レジスタ262を参照し、このトランザクション10の
割り込み要求コード11に対応するレベル値を読み込み
(ステップ103)、対応するレベルの割り込みペンデ
ィングカウンタ群270をインクリメントする(ステッ
プ104)。すなわち、レベル値がハイレベルであると
きは、ハイレベル割り込みペンディングカウンタ271
を、ロウレベルであるときは、ロウレベル割り込みペン
ディングカウンタ272をインクリメントする。ステッ
プ101に戻り、以降次々と割り込みを受け付け、その
都度割り込みペンディングカウンタ群270をインクリ
メントする。
Referring to FIGS. 2 and 10, in the processor control unit 200-1, the interrupt reception control unit 230 monitors the shared bus 700 and interrupts the processor 100-1 connected to the own processor unit 200-1. The factor set transaction 10 is received (step 101). The corresponding bit of the interrupt pending register 263 is set from the interrupt factor code 11 of this transaction (step 102). By referring to the interrupt level register 262, the level value corresponding to the interrupt request code 11 of this transaction 10 is read (step 103), and the interrupt pending counter group 270 of the corresponding level is incremented (step 104). That is, when the level value is the high level, the high level interrupt pending counter 271
Is low level, the low level interrupt pending counter 272 is incremented. Returning to step 101, interrupts are successively accepted, and the interrupt pending counter group 270 is incremented each time.

【0035】割り込み要求発行制御部240は、割り込
みペンディングレジスタ263を監視し、割り込みレベ
ルの高いものから順次プロセッサへ割り込みコマンドを
発行する。
The interrupt request issuance control unit 240 monitors the interrupt pending register 263 and issues interrupt commands to the processor in order from the interrupt request having the highest interrupt level.

【0036】図2および図11を参照すると、プロセッ
サ100−1は、ある割り込み要因の処理を終えると、
プロセッサ制御部200−1に対し完了通知を送出す
る。この完了通知は、プロセッサ制御部200−1の割
り込み完了制御部250が受け取る(ステップ11
1)。この完了した割り込みの割り込み要因コードに対
応する割り込みペンディングレジスタ263のビットに
0を立てる(ステップ112)。また、この割り込み要
因コードに対応するレベル値を割り込みレベルレジスタ
262から読み取り(ステップ113)、このレベル値
に対応する割り込みペンディングカウンタ群270をデ
クリメントする(ステップ114)。すなわち、レベル
値がハイレベルであるときは、ハイレベル割り込みペン
ディングカウンタ271を、ロウレベルであるときは、
ロウレベル割り込みペンディングカウンタ272をデク
リメントする。また、デクリメント後の割り込みペンデ
ィングカウンタ271および272の値を用いて割り込
み要因クリアトランザクション20を生成し(ステップ
115)、プロセッサ入出力制御回路210を介して共
有バス700に送出する(ステップ116)。
Referring to FIGS. 2 and 11, when the processor 100-1 finishes processing a certain interrupt factor,
A completion notice is sent to the processor control unit 200-1. The completion notification is received by the interrupt completion controller 250 of the processor controller 200-1 (step 11).
1). The bit of the interrupt pending register 263 corresponding to the interrupt factor code of this completed interrupt is set to 0 (step 112). Further, the level value corresponding to this interrupt factor code is read from the interrupt level register 262 (step 113), and the interrupt pending counter group 270 corresponding to this level value is decremented (step 114). That is, when the level value is high level, the high level interrupt pending counter 271 is set to low level, and when the level value is low level,
The low level interrupt pending counter 272 is decremented. Further, the interrupt factor clear transaction 20 is generated using the values of the interrupt pending counters 271 and 272 after decrement (step 115), and is sent to the shared bus 700 via the processor input / output control circuit 210 (step 116).

【0037】図2および図12を参照すると、I/O制
御部300−1、300−2は、各割り込み完了通知受
信制御部360が共有バス700上の割り込み要因クリ
アトランザクション20を常に監視し、受信する。受信
した割り込み要因クリアトランザクション20のトラン
ザクション発行元プロセッサ情報22、ハイレベルペン
ディング数24およびロウレベルペンディング数25か
ら、自I/O制御部300−1内のプロセッサ割り込み
ペンディングレジスタ群340の該当レベルの該当プロ
セッサID番号に対応するペンディング数を更新する。
また、割り込み要因クリアトランザクションのクリア通
知先情報23が自I/O制御部を示しているかを判定
し、自I/O制御部300−1を示している場合は、そ
の割り込みの発行元であるI/Oデバイスに対する割り
込み要因のクリア処理を行う。
Referring to FIG. 2 and FIG. 12, in the I / O control units 300-1 and 300-2, each interrupt completion notification reception control unit 360 constantly monitors the interrupt factor clear transaction 20 on the shared bus 700, To receive. Based on the transaction issue source processor information 22, the high level pending number 24, and the low level pending number 25 of the received interrupt factor clear transaction 20, the processor of the corresponding level of the processor interrupt pending register group 340 in the own I / O control unit 300-1. Update the pending number corresponding to the ID number.
Further, it is determined whether the clear notification destination information 23 of the interrupt factor clear transaction indicates the own I / O control unit, and if the clear notification destination information 23 indicates the own I / O control unit 300-1, it is the issuer of the interrupt. Clears interrupt factors for I / O devices.

【0038】このように、本発明の一実施例であるマル
チプロセッサ割り込み制御システムでは、プロセッサ制
御部200−1、・・・、200−4に割り込みペンデ
ィング数を格納する割り込みペンディングレジスタ27
1および272を設け、各プロセッサ制御部200−
1、・・・、200−4から各々の割り込みペンディン
グ数をI/O制御部300−1と300−2とに通信す
るようにした。I/O制御部300−1と300−2と
の内部にこの各プロセッサの割り込みペンディング数が
格納されるプロセッサ割り込みハイレベルペンディング
レジスタ341およびプロセッサ割り込みロウレベルペ
ンディングレジスタ342を設け、常にこれらの値を更
新するようにした。これにより、I/O制御部300−
1,300−2が常に全プロセッサのペンディング中の
割り込み数を把握することができる。このため、最も割
り込み負荷の軽いプロセッサに対して割り込みを通知す
ることができ、割り込み負荷を均一に分散することがで
きる。
As described above, in the multiprocessor interrupt control system according to the embodiment of the present invention, the interrupt pending register 27 for storing the interrupt pending number in the processor control units 200-1, ..., 200-4.
1 and 272, and each processor control unit 200-
Each of the interrupt pending numbers from 1, ..., 200-4 is communicated to the I / O control units 300-1 and 300-2. Inside the I / O control units 300-1 and 300-2, a processor interrupt high level pending register 341 and a processor interrupt low level pending register 342 for storing the interrupt pending number of each processor are provided, and these values are constantly updated. I decided to do it. As a result, the I / O control unit 300-
1,300-2 can always grasp the number of pending interrupts of all processors. For this reason, an interrupt can be notified to the processor with the lightest interrupt load, and the interrupt load can be evenly distributed.

【0039】[0039]

【発明の効果】以上の説明で明らかなように、本発明に
よると、複数のプロセッサ制御部の各々に割り込みペン
ディング数を格納する割り込みペンディングレジスタを
設け、各プロセッサ制御部から各々の割り込みペンディ
ング数をI/O制御部に通信するようにした。また、複
数のI/O制御部内の各々にこの各プロセッサの割り込
みペンディング数が格納されるプロセッサ割り込みハイ
ペンディングレジスタおよびプロセッサ割り込みロウレ
ベルペンディングレジスタを設け、常にこれらの値を更
新するようにした。これにより、各I/O制御部が常に
全プロセッサのペンディング中の割り込み数を把握する
ことができる。このため、最も割り込み負荷の軽いプロ
セッサに対して割り込みを通知することができ、割り込
み負荷を均一に分散することができる。また、大規模シ
ステムであっても高速に均一に割り込み負荷分散を実現
できる。
As is apparent from the above description, according to the present invention, each of a plurality of processor control units is provided with an interrupt pending register for storing the number of interrupt pendings, and each processor control unit is provided with an interrupt pending number. Communication is made with the I / O control unit. Further, each of the plurality of I / O control units is provided with a processor interrupt high pending register and a processor interrupt low level pending register in which the interrupt pending number of each processor is stored, and these values are constantly updated. As a result, each I / O control unit can always grasp the number of pending interrupts of all processors. For this reason, an interrupt can be notified to the processor with the lightest interrupt load, and the interrupt load can be evenly distributed. Further, even in a large-scale system, interrupt load distribution can be realized at high speed and uniformly.

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

【図1】本発明のマルチプロセッサ割り込み制御システ
ムの一実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a multiprocessor interrupt control system of the present invention.

【図2】本発明の一実施例のプロセッサ制御回路および
I/Oデバイス制御回路を示すブロック図である。
FIG. 2 is a block diagram showing a processor control circuit and an I / O device control circuit according to an embodiment of the present invention.

【図3】本発明の一実施例の割り込みレベルレジスタ2
62の内容を示す図である。
FIG. 3 is an interrupt level register 2 according to an embodiment of the present invention.
It is a figure which shows the content of 62.

【図4】本発明の一実施例の割り込みペンディングレジ
スタ263の内容を示す図である。
FIG. 4 is a diagram showing the contents of an interrupt pending register 263 according to an embodiment of the present invention.

【図5】本発明の一実施例のプロセッサ割り込みペンデ
ィングレジスタ群340の内容を示す図である。
FIG. 5 is a diagram showing the contents of a processor interrupt pending register group 340 according to an embodiment of the present invention.

【図6】本発明の一実施例の割り込み要因コード設定3
52の内容を示す図である。
FIG. 6 is an interrupt factor code setting 3 according to an embodiment of the present invention.
It is a figure which shows the content of 52.

【図7】本発明の一実施例の割り込み優先通知レジスタ
353の内容を示す図である。
FIG. 7 is a diagram showing the contents of an interrupt priority notification register 353 according to an embodiment of the present invention.

【図8】本発明の一実施例の割り込みレベル設定レジス
タ354の内容を示す図である。
FIG. 8 is a diagram showing the contents of an interrupt level setting register 354 according to an embodiment of the present invention.

【図9】本発明の一実施例の割り込み発行制御回路33
0の動作の流れを示す図である。
FIG. 9 is an interrupt issuance control circuit 33 according to an embodiment of the present invention.
It is a figure which shows the flow of the operation | movement of 0.

【図10】本発明の一実施例の割り込み要求発行制御回
路240の動作の流れを示す図である。
FIG. 10 is a diagram showing an operation flow of an interrupt request issuance control circuit 240 according to an embodiment of the present invention.

【図11】本発明の一実施例の割り込み完了発行制御回
路250の動作の流れを示す図である。
FIG. 11 is a diagram showing an operation flow of an interrupt completion issue control circuit 250 according to an embodiment of the present invention.

【図12】本発明の一実施例の割り込み要因セットトラ
ンザクションおよび割り込み要因クリアトランザクショ
ンを示す図である。
FIG. 12 is a diagram showing an interrupt factor set transaction and an interrupt factor clear transaction according to an embodiment of the present invention.

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

100−1、・・・、100−4 プロセッサ 200−1、・・・、200−4 プロセッサ制御回路 300−1、300−2 I/O制御回路 400−1、400−2 ローカルバス 500−1、・・・、500−6 I/Oデバイス 600−1、600−2 割り込み線 700 共有バス 100-1, ..., 100-4 Processor 200-1, ..., 200-4 Processor control circuit 300-1, 300-2 I / O control circuit 400-1, 400-2 Local bus 500-1 , 500-6 I / O device 600-1, 600-2 interrupt line 700 shared bus

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数のI/Oデバイスからの複数のプロ
セッサに対する割り込み線を介した割り込み要求を分散
するマルチプロセッサ割り込み制御システムにおいて、 前記複数のプロセッサの各々に対応づけられたプロセッ
サ制御手段と、 前記複数のI/Oデバイスの各々から前記割り込み線を
介して割り込みを受け付けるI/Oデバイス制御手段と
を含み、 前記プロセッサ制御手段は、対応づけられたプロセッサ
の割り込み負荷の軽重を前記I/Oデバイス制御手段に
通知する手段を含み、 前記I/Oデバイス制御手段は、前記トランザクション
の内容から、現在最も割り込み負荷の軽いプロセッサに
対する割り込み要求の送出制御を行う手段とを含むこと
を特徴とするマルチプロセッサ割り込み制御システム。
1. A multiprocessor interrupt control system for distributing interrupt requests from a plurality of I / O devices to a plurality of processors via interrupt lines, and processor control means associated with each of the plurality of processors, I / O device control means for accepting an interrupt from each of the plurality of I / O devices via the interrupt line, wherein the processor control means controls the weight of the interrupt load of the associated processor to the I / O. The I / O device control means includes means for notifying a device control means, and the I / O device control means includes means for controlling transmission of an interrupt request to a processor having the lightest interrupt load at present based on the contents of the transaction. Processor interrupt control system.
【請求項2】 前記プロセッサ制御手段は、割り込みの
要因に対応づけられた割り込みのレベルを格納する割り
込みレベルレジスタと、 割り込みのレベルに応じてペンディング中の割り込み数
をカウントするカウンタと、 前記I/Oデバイス制御手段からの割り込み要求を受け
取り、該要求に含まれる割り込み要因コードに対応した
前記割り込みレベルレジスタに格納された割り込みレベ
ルから前記カウンタの該当するレベルをインクリメント
する割り込み受信制御手段と、 割り込み完了時に前記カウンタの内容を前記I/Oデバ
イス制御手段に通知する割り込み完了発行制御手段とを
含むことを特徴とする請求項1記載のマルチプロセッサ
割り込み制御システム。
2. The processor control means, an interrupt level register for storing an interrupt level associated with an interrupt factor, a counter for counting the number of pending interrupts according to the interrupt level, Interrupt reception control means for receiving an interrupt request from the O-device control means and incrementing the corresponding level of the counter from the interrupt level stored in the interrupt level register corresponding to the interrupt factor code included in the request; The multiprocessor interrupt control system according to claim 1, further comprising an interrupt completion issue control means for notifying the I / O device control means of the contents of the counter.
【請求項3】 前記プロセッサ制御手段は、割り込みの
要因に対応づけられた割り込みのペンディング数を格納
する割り込みペンディングレジスタと、 前記割り込みレベルレジスタの内容と前記割り込みペン
ディングレジスタの内容とからプロセッサに送出する割
り込みを決定し、送出制御を行う割り込み要求発行制御
手段とを含むことを特徴とする請求項2記載のマルチプ
ロセッサ割り込み制御システム。
3. The processor control means sends out to the processor from an interrupt pending register that stores an interrupt pending number associated with an interrupt factor, and the contents of the interrupt level register and the interrupt pending register. 3. The multiprocessor interrupt control system according to claim 2, further comprising interrupt request issue control means for determining an interrupt and controlling transmission.
【請求項4】 前記I/Oデバイス制御手段は、割り込
みのレベルに応じて複数のプロセッサの各々のペンディ
ング数を格納するプロセッサ割り込みペンディングレジ
スタと、 前記トランザクションを受け付け、該トランザクション
の内容から前記プロセッサ割り込みペンディングレジス
タの内容を更新制御する割り込み完了通知受信制御手段
とを含むことを特徴とする請求項1記載のマルチプロセ
ッサ割り込み制御システム。
4. The I / O device control means, a processor interrupt pending register that stores a pending number of each of a plurality of processors according to an interrupt level, accepts the transaction, and determines the processor interrupt from the content of the transaction. 2. The multiprocessor interrupt control system according to claim 1, further comprising interrupt completion notification reception control means for updating and controlling the contents of the pending register.
【請求項5】 前記I/Oデバイス制御手段は、前記プ
ロセッサ割り込みペンディングレジスタより得られる割
り込みレベルが全プロセッサに対して等しい際に優先的
に割り込みを通知するプロセッサのID番号が格納され
る割り込み優先通知レジスタと、 この割り込み優先通知レジスタの内容と前記プロセッサ
割り込みペンディングレジスタの内容とから、現在最も
負荷の軽いプロセッサに対する割り込み要求の送出制御
を行う割り込み発行制御手段とを含むことを特徴とする
請求項4記載のマルチプロセッサ割り込み制御システ
ム。
5. The I / O device control means stores an interrupt priority number in which an ID number of a processor that preferentially notifies an interrupt when the interrupt level obtained from the processor interrupt pending register is equal to all processors is stored. 7. A notification register, and an interrupt issuing control means for controlling, based on the contents of the interrupt priority notification register and the contents of the processor interrupt pending register, transmission of an interrupt request to the processor with the lightest load at present. 4. The multiprocessor interrupt control system described in 4 above.
【請求項6】 前記I/Oデバイス制御手段は、前記複
数の割り込み線の各々に対応づけられた割り込みレベル
が格納される割り込みレベル設定レジスタと、 前記複数の割り込み線の各々から割り込みを受け付ける
際に、前記割り込みレベル設定レジスタの内容から受け
付ける割り込みを決定する割り込み受け付け制御手段を
含むことを特徴とする請求項1記載のマルチプロセッサ
割り込み制御システム。
6. The I / O device control means stores an interrupt level setting register in which an interrupt level associated with each of the plurality of interrupt lines is stored, and an interrupt level setting register when receiving an interrupt from each of the plurality of interrupt lines. 2. The multiprocessor interrupt control system according to claim 1, further comprising interrupt acceptance control means for determining an interrupt to be accepted from the contents of the interrupt level setting register.
JP31825895A 1995-12-06 1995-12-06 Multiprocessor interrupt control system Expired - Fee Related JP2848297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31825895A JP2848297B2 (en) 1995-12-06 1995-12-06 Multiprocessor interrupt control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31825895A JP2848297B2 (en) 1995-12-06 1995-12-06 Multiprocessor interrupt control system

Publications (2)

Publication Number Publication Date
JPH09160891A true JPH09160891A (en) 1997-06-20
JP2848297B2 JP2848297B2 (en) 1999-01-20

Family

ID=18097201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31825895A Expired - Fee Related JP2848297B2 (en) 1995-12-06 1995-12-06 Multiprocessor interrupt control system

Country Status (1)

Country Link
JP (1) JP2848297B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008736A (en) * 2009-06-29 2011-01-13 Fujitsu Ltd Multiprocessor system, interrupt control method, and interrupt control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008736A (en) * 2009-06-29 2011-01-13 Fujitsu Ltd Multiprocessor system, interrupt control method, and interrupt control program

Also Published As

Publication number Publication date
JP2848297B2 (en) 1999-01-20

Similar Documents

Publication Publication Date Title
CA2017458C (en) Intelligent network interface circuit
US6370596B1 (en) Logic flag registers for monitoring processing system events
US6434626B1 (en) Method and apparatus for low latency network performance monitoring
KR920001552B1 (en) Local area network system with a multi-computer system coupled method and method for controlling the same
EP0458304B1 (en) Direct memory access transfer controller and use
EP0644487A2 (en) Scalable system interrupt structure for a multiprocessing system
US4090239A (en) Interval timer for use in an input/output system
KR20000004988A (en) Method and apparatus for client managed flow control on a limited memorycomputer system
JPH04232558A (en) Multiprocessor system
US8140727B2 (en) Bus arbitration apparatus and method
US7003611B2 (en) Method and apparatus for handling interrupts using a set of interrupts servers associated with presentation controllers
JP2002324057A (en) Service system and service method used for the system
JPH0728758A (en) And device for dynamic time loop arbitration
JP3057591B2 (en) Multiprocessor system
JPH09160891A (en) Multiprocessor interruption control system
WO1998009394A1 (en) Efficient message processing using a multi-ported ram and a dedicated microcontroller
US5764998A (en) Method and system for implementing a distributed interrupt controller
CN101398794B (en) Bus logical gateway circuit of plurality of break request signals
JPH1196464A (en) Store server multiplex control method in pos system and pos system
JP2001014266A (en) Dma transfer circuit and dma transfer method
EP2042998B1 (en) Logic gateway circuit for bus that supports multiple interrupt request signals
JPS6182257A (en) Mutual monitoring system between host processor and communication control processor
JP2802091B2 (en) Interrupt vector control method
JPH0325552A (en) Bus connector
JPH09265446A (en) Bus controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981006

LAPS Cancellation because of no payment of annual fees