JPS63201835A - Interruption control method - Google Patents

Interruption control method

Info

Publication number
JPS63201835A
JPS63201835A JP3620787A JP3620787A JPS63201835A JP S63201835 A JPS63201835 A JP S63201835A JP 3620787 A JP3620787 A JP 3620787A JP 3620787 A JP3620787 A JP 3620787A JP S63201835 A JPS63201835 A JP S63201835A
Authority
JP
Japan
Prior art keywords
interrupt
interrupter
handler
low
status
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
JP3620787A
Other languages
Japanese (ja)
Inventor
Makoto Sato
誠 佐藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3620787A priority Critical patent/JPS63201835A/en
Publication of JPS63201835A publication Critical patent/JPS63201835A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To obtain a distributed multiprocessor system which can be coped with various types of applications by transferring and recognizing a handler selection code between an interrupter and an interruption handler in an interruption control sequence. CONSTITUTION:The interrupter 12 detects the 'LOW' of an interruption acknowledge daisy chain line IACK*. After the code of the low order 3 bit of an address line AX coincides with the priority level of an interruption request which said interrupter drives to 'Low' and the 'Low' of a data strobe signal DSO is recognized, the status/ID byte of 8 bits is outputted on a data bus DX. Thereby, the interruption handler 11 reads the status/ID byte from the data bus and opens a reading data transfer bus.

Description

【発明の詳細な説明】 [技術分野] 本発明は割込みの受は付けとそのサービスを行なう機能
を有するプロセッサか複数個あるシステムにおける割込
み制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an interrupt control method in a system including a plurality of processors having the function of accepting and servicing interrupts.

[従来技術] インタラプタ及びインタラプト・ハンドラを用いて割込
み制御を行なうシステムにおける従来の一般的な構成は
第2図のようになっている。インタラプト・ハンドラ1
は常時、複数のインタラプタ2,3からの割込み要求ラ
インIRQX”をモニタしており、割込みが検出された
場合は、優先度を決定し、そのレベルをプロセッサに通
知する。プロセッサか割込みサービス・シーケンスの開
始か可能な状態になると、インタラブド・ハシ1ヘラl
は割込みアクノリッシ・サイクルを発生させ、データ転
送バスの制御権を獲得した後、IACK”デージ・チェ
イン・ラインを用いて、現在プロセッサか受は付けてい
る優先度レベルの割込み要求を実際に発行しているイン
タラプタに対し、ステータス/IDの送出を要求する。
[Prior Art] A conventional general configuration of a system that performs interrupt control using an interrupter and an interrupt handler is shown in FIG. Interrupt handler 1
constantly monitors the interrupt request lines IRQX from multiple interrupters 2 and 3, and when an interrupt is detected, determines the priority and notifies the processor of the level. When it becomes possible to start
After generating an interrupt acknowledge cycle and gaining control of the data transfer bus, it actually issues an interrupt request of the priority level currently being accepted by the processor using the IACK” stage chain line. Requests the interrupter that is currently running to send the status/ID.

さらにインタラプト・ハンドラは前記条件にあてはまる
インタラプタがデータ転送ハス上に送出したステータス
/IDを読み取ると、このステータス/IDをプロセッ
サに転送する。このようにしてプロセッサは割込みサー
ビス・シーケンスを開始する。
Furthermore, when the interrupt handler reads the status/ID sent on the data transfer bus by the interrupter that meets the above conditions, it transfers this status/ID to the processor. The processor thus begins an interrupt servicing sequence.

マルチ・プロセッサ・システムのように複数のインタラ
プト・ハンドラか存在するシステムの場合、各々のイン
タラプト・ハンドラがモニタしている割込み要求ライン
が重複しない場合は問題ないが、第3図のように2つの
インタラプト・ハンドラ4,5か両方とも同じ優先度レ
ベルの割込み要求ラインをモニタしている場合、また別
の見地からすると、あるインタラプタ6又は7かその要
因に応じて2つのインタラプト・ハンドラ4,5のうち
いずれかに、回し優先度レベルで割込みを要求する場合
、前記従来の割込み制御シーケンスては、2つのインタ
ラブド・パンドラ4,5は両方とも割込みアクノリッジ
・サイクルを行なうため、都合2回の割込みアクノリッ
ジ・サイクルが発生して誤動作をもたらすことになる。
In the case of a system with multiple interrupt handlers, such as a multiprocessor system, there is no problem as long as the interrupt request lines monitored by each interrupt handler do not overlap, but if two If either the interrupt handlers 4, 5 or both are monitoring interrupt request lines of the same priority level, from another point of view, the two interrupt handlers 4, 5, depending on whether one interrupt handler 6 or 7 or both When requesting an interrupt to any one of them at the priority level, in the conventional interrupt control sequence described above, since the two interconnected Pandora 4 and 5 both perform an interrupt acknowledge cycle, two interrupts are required in total. An acknowledge cycle will occur, resulting in malfunction.

したかって複数のインタラプト・ハンドラかモニタする
(要求を受は付ける)割込み優先度レベルはお互いに競
合しないように設定しなければならず、分散型マルチプ
ロセッサシステムにおける割込み制御の構成の大きな制
限となっている。
Therefore, the interrupt priority levels for monitoring (accepting requests) for multiple interrupt handlers must be set so that they do not conflict with each other, which is a major limitation on the configuration of interrupt control in distributed multiprocessor systems. ing.

[目的] 本発明は、インタラプタ及びインタラプト・ハンドラを
用いて行なう従来の割込み制御方法では実現できなかっ
た複数のインタラプト・ハンドラによる同一優先度レベ
ルの割込み要求の受は付は及びサービスの提供の機能を
可能とするものである。
[Objective] The present invention provides functions for accepting interrupt requests of the same priority level and providing services by multiple interrupt handlers, which could not be achieved with conventional interrupt control methods using interrupters and interrupt handlers. This makes it possible to

[実施例] 第1図は本発明におけるインタラプタとインタラプト・
ハンドラ間のおもな信号を示したものである。図中11
はインタラブド・パンドラ12はインタラプタである。
[Example] Figure 1 shows an interrupter and an interrupt/interrupter in the present invention.
It shows the main signals between handlers. 11 in the diagram
Interrupted Pandora 12 is an interrupter.

この構成におけるインタラプタ12とインタラプト・ハ
ンドラ11による割込み制御シーケンスを述べる。イン
タラプタ12はIRQX”をL o w ”にすること
によって割込みを要求する。インタラプト・ハンドラ1
1がIRQX”の“L o w ”を検出すると、デー
タ転送バスの制御権を要求する。この要求が許可される
と、インタラプト・ハンドラ11はアドレス・ラインA
Xの下位3木に現在IRQX”の割込み要求をアクノリ
ッジしていることを示す3 bitのコードを出力し、
同時にIACK”ならびにデータ・ストローブ信号DS
+’を’ L o w ”にドライブする。
The interrupt control sequence by the interrupter 12 and interrupt handler 11 in this configuration will be described. The interrupter 12 requests an interrupt by setting IRQX to Low. Interrupt handler 1
1 detects “Low” of “IRQX”, it requests control of the data transfer bus. If this request is granted, the interrupt handler 11 transfers the address line A
Outputs a 3-bit code to the lower 3 trees of X indicating that it is currently acknowledging the interrupt request "IRQX",
At the same time, IACK” and data strobe signal DS
+' to 'Low'.

インタラプタ12は割込みアクノリッジ・デージ・チェ
イン・ラインIACK”の’ L o w ”を検出し
、アドレス・ラインAXの下位3 bitのコードが、
当インタラプタが“” L o w ”にドライブして
いる割込み要求の優先度レベルと一致し、かつデータ・
ストローブ信号DSI”の” L o w ”を確認し
た後、データ・バスDX上に8bitのハンドラ選択コ
ードを出力する。
The interrupter 12 detects ``Low'' on the interrupt acknowledge chain line IACK'', and the code of the lower 3 bits of the address line AX is
Matches the priority level of the interrupt request that this interrupter is driving “Low” and the data
After confirming that the strobe signal DSI is low, it outputs an 8-bit handler selection code onto the data bus DX.

インタラプト・ハンドラ11はデータ・バス上からハン
ドラ選択コードを読み出しデータ転送バスを開放する。
The interrupt handler 11 reads the handler selection code from the data bus and releases the data transfer bus.

インタラプト・ハンドラ11は前記ハンドラ選択コード
が自分のハンドラ番号と一致することを確かめた後、プ
ロセッサに割込みを通知する。これ以降のシーケンスは
従来の方法と同じで、プロセッサが割込みサービス・シ
ーケンスの開始か可能な状態になると、インタラブド・
パンドラ11は再びデータ転送バスの制御権を要求する
。この要求が許可されると、インタラプト・ハンドラ1
1はアドレス・ラインAXの下位3本に現在IRQX”
の割込み要求をアクノリッジしていることを示す3bi
tのコードを出力し、同時にIACK’ならびにデータ
・ストローブ信号DSO”をl Low 11にドライ
ブする。
After confirming that the handler selection code matches its own handler number, the interrupt handler 11 notifies the processor of the interrupt. The sequence from this point on is the same as in the traditional method; once the processor is ready to start the interrupt servicing sequence,
Pandora 11 requests control of the data transfer bus again. If this request is granted, interrupt handler 1
1 is the current IRQX on the lower three address lines AX.”
3bi indicating that the interrupt request is acknowledged.
t code and simultaneously drives IACK' and data strobe signal DSO'' to l Low 11.

インタラプタ12は割込みアクノリッジ・デージ・チェ
イン・ラインIACK’のI Low 11を検出し、
アドレス・ラインAXの下位3bitのコードが、当イ
ンタラプタか“l、OW゛にドライブしている割込み要
求の優先度レベルと一致し、かつデータ・ストローブ信
号DSOの“Low ’”を確認した後、データ・ハス
DX上に8 bitのステータス/IDバイトを出力す
る。
Interrupter 12 detects I Low 11 on interrupt acknowledge chain line IACK',
After confirming that the code of the lower 3 bits of the address line AX matches the priority level of the interrupt request being driven by this interrupter to "1, OW" and that the data strobe signal DSO is "Low", Outputs an 8-bit status/ID byte on the data hash DX.

インタラブド・パンドラ11はデータ・ハス上からステ
ータス/IDバイトを読み出しデータ転送バスを開放す
る。インタラプト・ハンドラ11はこのステータス/I
Dバイトをプロセッサに転送する。こうして目的の割込
みサービス・シーケンスを開始する。
Interwoven Pandora 11 reads the status/ID byte from the data bus and releases the data transfer bus. Interrupt handler 11 has this status/I
Transfer D bytes to processor. This begins the desired interrupt service sequence.

インタラプト・ハンドラ11は、インタラプタ2から転
送されたハンドラ選択コードか自分のパンドラ番号に一
致しなかった時は、現在”Low”にドライブされてい
る割込み要求は無視し、プロセッサに通知しない。この
場合別のインタラプト・ハンドラかインタラプタ12と
の間てステータ/IDバイトの転送を行なうことになる
When the interrupt handler 11 does not match the handler selection code transferred from the interrupter 2 with its own Pandora number, it ignores the interrupt request currently being driven to "Low" and does not notify the processor. In this case, the stator/ID byte will be transferred to or from another interrupt handler or interrupter 12.

[効果] 以上説明したように、インタラプタとインタラプト・ハ
ンドラとの間でハンドラ選択コードの転送及び確認もシ
ーケンスを割込み制御シーケンスに加えることにより、
同一優先度レベルの割込み要求ラインをモニタする複数
のインタラプタ・ハンドラによるシステム構成か可能に
なり、より多様なアプリケーションに対応できる分散型
マルチ・プロセッサ・システムか構築てきる。
[Effect] As explained above, by adding a sequence to the interrupt control sequence to transfer and confirm the handler selection code between the interrupter and the interrupt handler,
It becomes possible to configure a system with multiple interrupter handlers that monitor interrupt request lines with the same priority level, and it becomes possible to construct a distributed multiprocessor system that can support a wider variety of applications.

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

第1図は本発明におけるインタラプタとインタラプト・
ハンドラ間のおもな信号を示した図、第2図はインタラ
プタ及びインタラプト・ハンドラを用いたシステムの一
般構成図、第3図は2つのインタラプト・ハンドラかモ
ニタしている割込み要求ラインか重複している場合の構
成図てあり、 11はインタラプト・ハンドラ、12はインタラプタで
ある。
Figure 1 shows the interrupter and interrupt
Figure 2 is a diagram showing the main signals between handlers. Figure 2 is a general configuration diagram of a system using interrupters and interrupt handlers. Figure 3 is a diagram showing the main signals between two interrupt handlers. 11 is an interrupt handler, and 12 is an interrupter.

Claims (1)

【特許請求の範囲】[Claims] 割込み要求、割込みアクノリッジ・サイクル時のステー
タス/IDの送出、割込みアクノリッジ・デージ・チェ
イン・ラインの制御機能を有するインタラプタと、前記
インタラプタからの割込み要求の優先度の決定、割込み
アクノリッジ・サイクルの発生及び、前記インタラプタ
が割込みアクノリッジ・サイクル時に送出するステータ
ス/IDの読取りの各機能を有するインタラプト・ハン
ドラを用いて割込み制御を行なうシステムにおいて、前
記各インタラプタが発行する割込み要求が、複数のイン
タラプトハンドラに対し、同一優先度レベルに入力され
る場合に、割込みアクノリッジ・サイクルにおいるステ
ータス/IDの転送の前に、インタラプタと、複数のイ
ンタラプト・ハンドラとの間で、インタラプタが複数の
インタラプト・ハンドラの中から、現在その割込み要求
の対象とするインタラプト・ハンドラを選択するための
選択コードの転送及び確認を行なうことを特徴とする割
込み制御方法。
Interrupt request, transmission of status/ID during interrupt acknowledge cycle, interrupt acknowledge data chain line control function, determination of priority of interrupt request from the interrupter, generation of interrupt acknowledge cycle, and , in a system that performs interrupt control using an interrupt handler that has functions of reading status/ID sent by the interrupter during an interrupt acknowledge cycle, an interrupt request issued by each interrupter is sent to multiple interrupt handlers. , between an interrupter and multiple interrupt handlers before the status/ID transfer in the interrupt acknowledge cycle when the interrupter is input to the same priority level. 1. An interrupt control method characterized by transferring and confirming a selection code for selecting an interrupt handler that is currently the target of the interrupt request.
JP3620787A 1987-02-18 1987-02-18 Interruption control method Pending JPS63201835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3620787A JPS63201835A (en) 1987-02-18 1987-02-18 Interruption control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3620787A JPS63201835A (en) 1987-02-18 1987-02-18 Interruption control method

Publications (1)

Publication Number Publication Date
JPS63201835A true JPS63201835A (en) 1988-08-19

Family

ID=12463296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3620787A Pending JPS63201835A (en) 1987-02-18 1987-02-18 Interruption control method

Country Status (1)

Country Link
JP (1) JPS63201835A (en)

Similar Documents

Publication Publication Date Title
CN1126035C (en) Mechanisms for converting interrupt request signals on address and data lines to interrupt message signals
EP0139563B1 (en) Control mechanism for multiprocessor system
JP2633900B2 (en) Common bus control method
US6356969B1 (en) Methods and apparatus for using interrupt score boarding with intelligent peripheral device
US6665761B1 (en) Method and apparatus for routing interrupts in a clustered multiprocessor system
US5404137A (en) High speed transition signalling communication system
JPS63201835A (en) Interruption control method
EP0180299A2 (en) Error detection system for a data processing apparatus
JPS63296138A (en) Interruption control method
JPS60122454A (en) Data transfer control system
JP2533886B2 (en) Data transfer method
JP2842639B2 (en) Data transfer method
JPS63228253A (en) Interruption processing system
KR20000039582A (en) Apparatus for processing interrupters of versa module eurocard
KR970001622B1 (en) Method to improve transmission efficiency in the pipe-line type system bus
JPS6210756A (en) Communication system between plural processors
JPS58101322A (en) Data transfer controlling circuit
JPS6020263A (en) Selection system of input/output unit
JPH064456A (en) Data transfer controller
JPS61139868A (en) Broadcast bus control system
JPS6273360A (en) Interruption control system
JPS60136853A (en) Data transfer system
JPH05158832A (en) Terminal software transfer system
JPH0981402A (en) Multiprocessor system
JPH03228164A (en) Scsi bus extension system