JPH0239817B2 - WARIKOMISEIGYOHOSHIKI - Google Patents

WARIKOMISEIGYOHOSHIKI

Info

Publication number
JPH0239817B2
JPH0239817B2 JP17492185A JP17492185A JPH0239817B2 JP H0239817 B2 JPH0239817 B2 JP H0239817B2 JP 17492185 A JP17492185 A JP 17492185A JP 17492185 A JP17492185 A JP 17492185A JP H0239817 B2 JPH0239817 B2 JP H0239817B2
Authority
JP
Japan
Prior art keywords
processor
interrupt
processors
control
reset
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.)
Expired - Lifetime
Application number
JP17492185A
Other languages
Japanese (ja)
Other versions
JPS6234269A (en
Inventor
Akisumi Koike
Juji Oinaga
Aiichiro Inoe
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 JP17492185A priority Critical patent/JPH0239817B2/en
Publication of JPS6234269A publication Critical patent/JPS6234269A/en
Publication of JPH0239817B2 publication Critical patent/JPH0239817B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概要〕 プロセツサ間通信バスを備えたマルチプロセツ
サシステムにおいて、複数台のプロセツサに対し
て、同時に割込み保留となり、いずれか1台のプ
ロセツサでその割込みを刈り取つた場合に、全て
のプロセツサに対し、プロセツサ間通信バスによ
る通信機能を使用することにより、割込み保留状
態の解除を行うようにして、共通割込みに関する
信号線の削減および関連する制御回路の簡易化を
可能としている。
[Detailed Description of the Invention] [Summary] In a multiprocessor system equipped with an interprocessor communication bus, when interrupts are pending for multiple processors at the same time and the interrupts are harvested by any one processor. In addition, by using the communication function of the inter-processor communication bus for all processors, the interrupt pending state is released, making it possible to reduce the number of signal lines related to common interrupts and simplify the related control circuits. There is.

〔産業上の利用分野〕[Industrial application field]

本発明は割込み制御方式、特にマルチプロセツ
サシステムにおけるサービスプロセツサ(SVP)
割込み等の割込み制御方式であつて、既存のプロ
セツサ間通信用の回路を利用することにより、割
込みに関連する回路の簡易化を図つた割込み制御
方式に関するものである。
The present invention relates to an interrupt control method, particularly to a service processor (SVP) in a multiprocessor system.
The present invention relates to an interrupt control method such as an interrupt that simplifies interrupt-related circuits by using existing inter-processor communication circuits.

〔従来の技術〕[Conventional technology]

第4図は、従来方式を説明するための図であ
る。
FIG. 4 is a diagram for explaining the conventional method.

図中、10,10−1,10−2、10−3は
所定の命令を実行しデータを処理するプロセツ
サ、11はサービスプロセツサ(SVP)、12は
システムコントロールインターフエース(SCI)、
40は割込み保留ビツト、41は選択部を表す。
In the figure, 10, 10-1, 10-2, and 10-3 are processors that execute predetermined instructions and process data, 11 is a service processor (SVP), 12 is a system control interface (SCI),
40 represents an interrupt pending bit, and 41 represents a selection section.

サービスプロセツサ11は、システムの監視、
操作、制御を一括して行う処理装置である。サー
ビスプロセツサ11からの割込み要求に対して、
SCI12の保留ビツト40がオンにされ、選択部
41は、各プロセツサ10,10−1,…の割込
みマスク等を見て、割込み先プロセツサを選択
し、そのプロセツサにのみ割込みを上げるように
なつている。また、別の信号で各プロセツサ毎に
設けられた保留ビツト(図示省略)をオンにして
いる。
The service processor 11 monitors the system,
This is a processing device that performs operations and controls all at once. In response to an interrupt request from the service processor 11,
The pending bit 40 of the SCI 12 is turned on, and the selection unit 41 looks at the interrupt masks of each processor 10, 10-1, etc., selects the interrupt destination processor, and raises the interrupt only to that processor. There is. Further, a reserved bit (not shown) provided for each processor is turned on by another signal.

このように、従来、複数のプロセツサ10,1
0−1,…に対して、いずれか1台のプロセツサ
だけに割込みを起こし、そのプロセツサが割込み
処理を実行する場合に、システムが1つしかない
SCI12または主記憶制御装置(MCU)部分で、
割込み先プロセツサを決める制御を行うようにさ
れている。
In this way, conventionally, a plurality of processors 10, 1
For 0-1,..., if an interrupt is generated in only one processor and that processor executes the interrupt processing, there is only one system.
In the SCI12 or main memory controller (MCU) part,
It is designed to perform control to determine the interrupt destination processor.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来の方式によれば、SCI12(または
MCU、以下同様)の割込み制御部と、各プロセ
ツサ10,10−1,…との間で、マスク設定や
割込み受付などのための信号線が必要となり、信
号線が増大するという問題がある。また、SCI1
2およびプロセツサ10,10−1,…に各々設
けられる割込みに関連する制御回路も増大すると
いう問題がある。
According to the above conventional method, SCI12 (or
Signal lines for mask setting, interrupt acceptance, etc. are required between the interrupt control unit of the MCU (hereinafter the same) and each processor 10, 10-1, . . . , and there is a problem in that the number of signal lines increases. Also, SCI1
2 and the processors 10, 10-1, . . . , the number of interrupt-related control circuits also increases.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の基本構成図を示す。 FIG. 1 shows a basic configuration diagram of the present invention.

第1図において、符号10ないし12は第4図
図示のものに対応する。13は選択制御回路、1
4は送信制御回路、15はオーダ、16はフラ
グ、17は割込み受付部、18は割込み処理部、
19は受信制御回路、20は割込み処理を保留し
ていることを示す保留ビツト、21はプロセツサ
間通信バスを表す。
In FIG. 1, numerals 10 to 12 correspond to those shown in FIG. 13 is a selection control circuit;
4 is a transmission control circuit, 15 is an order, 16 is a flag, 17 is an interrupt reception unit, 18 is an interrupt processing unit,
Reference numeral 19 represents a reception control circuit, 20 a pending bit indicating that interrupt processing is pending, and 21 an interprocessor communication bus.

プロセツサ間通信バス21は、従来からプロセ
ツサ間通信命令(signal processor命令)で使用
されているコモンバスである。プロセツサ間通信
命令では、周知のごとく、例えばCPUスタート、
CPUストツプ、外部コール、イマージエンシー
等の8ビツトの副指令コードであるオーダを、他
のプロセツサに送信できるようになつている。選
択制御回路13は、プロセツサ間通信バス21を
介して通知されたオーダの送信要求に対し、通信
先プロセツサを選択する制御を行う回路であり、
送信制御回路14は、選択されたプロセツサに、
プロセツサ間通信バス21を介してオーダを送る
回路である。
The inter-processor communication bus 21 is a common bus conventionally used for inter-processor communication commands (signal processor commands). As is well known, inter-processor communication commands include, for example, CPU start,
Orders, which are 8-bit subcommand codes such as CPU stop, external call, and emergency, can be sent to other processors. The selection control circuit 13 is a circuit that performs control to select a communication destination processor in response to an order transmission request notified via the inter-processor communication bus 21.
The transmission control circuit 14 sends the selected processor
This circuit sends orders via the interprocessor communication bus 21.

本発明では、サービスプロセツサ11からの割
込み要求があると、全てのプロセツサ10,10
−1,…において、割込みレベルに対応する保留
ビツト20をオンにさせ、割込みを生じさせる。
そして、割込み受付部17は、自プロセツサが最
初に割込みを受け付けたプロセツサであり、自プ
ロセツサがその割込み要求に対する実際の処理を
実行するとき、その実行に先立つて、全プロセツ
サに対し、プロセツサ間の通信機能を使用して、
保留ビツト20の解除を行うリセツト・オーダ1
5およびどのビツトをリセツトするかを示すフラ
グ16を送る。
In the present invention, when there is an interrupt request from the service processor 11, all processors 10, 10
-1, . . . , the pending bit 20 corresponding to the interrupt level is turned on and an interrupt is generated.
The interrupt accepting unit 17 is the processor that first accepts an interrupt, and when the own processor executes the actual processing in response to the interrupt request, the interrupt accepting unit 17 performs a Using the communication function,
Reset order 1 to release pending bit 20
5 and a flag 16 indicating which bits to reset.

保留ビツト20が他のプロセツサによりオフに
されたプロセツサでは、サービスプロセツサ11
からの割込み要求がなかつたものとして、通常の
処理を続行する。
In a processor whose reserved bit 20 has been turned off by another processor, the service processor 11
Normal processing continues as if there was no interrupt request from.

〔作用〕[Effect]

本発明は、プロセツサ間通信バス21を使用
し、割込みを先に受け付けたプロセツサが、全プ
ロセツサに対し、リセツト・オーダ15およびプ
ロセツサ内のどの保留ビツトをリセツトするかを
示すフラグ16を送り、各プロセツサにおいて、
割込みの保留ビツトをリセツトする。このリセツ
トに関するインターフエイスとして、従来からあ
るプロセツサ間通信用に設けられたプロセツサ間
通信バス21、選択制御回路13、送信制御回路
14等が用いられる。従つて、専用の割込み信号
線等を別に設ける必要がなくなり、信号線および
回路の簡易化が可能になる。
The present invention uses an inter-processor communication bus 21, and the processor that accepts the interrupt first sends a reset order 15 and a flag 16 indicating which pending bit in the processor is to be reset to all processors. In the processor,
Resets the interrupt pending bit. As interfaces related to this reset, an interprocessor communication bus 21, a selection control circuit 13, a transmission control circuit 14, etc., which are conventionally provided for communication between processors, are used. Therefore, there is no need to separately provide a dedicated interrupt signal line, etc., and the signal line and circuit can be simplified.

〔実施例〕〔Example〕

第2図はプロセツサにおける本発明に関連する
部分の一実施例ブロツク図、第3図はSCIにおけ
る本発明に関連する部分の一実施例ブロツク図を
示す。第2図および第3図において、第1図と同
符号のものは、第1図図示のものに対応してい
る。
FIG. 2 is a block diagram of an embodiment of a portion related to the present invention in a processor, and FIG. 3 is a block diagram of an embodiment of a portion related to the present invention in an SCI. 2 and 3, the same reference numerals as in FIG. 1 correspond to those shown in FIG.

第2図において、マイクロ命令制御部22は、
周知のプロセツサ間通信命令を処理するマイクロ
命令と同様な処理を実行制御する回路である。マ
イクロ命令制御部22による制御情報は、デコー
ダ23を介して、制御回路25へ送出され、オー
ダ15、フラグ16およびアドレス24等に関す
る送信制御がなされる。即ち、命令実行における
書き込みサイクルにおいて、書き込みデータ
DATAが、それぞれオーダ15、フラグ16、
通信先のプロセツサを示すアドレス24のレジス
タに設定され、制御回路25によつて制御される
選択回路26を介して、SCIへ送られる。SCIへ
のデータ送信は、プロセツサ間通信バス21を用
いて行われ、プロセツサ間通信命令の場合と同様
に行われる。
In FIG. 2, the microinstruction control unit 22 is
This circuit executes and controls processing similar to microinstructions that process well-known interprocessor communication instructions. Control information from the microinstruction control unit 22 is sent to the control circuit 25 via the decoder 23, and transmission control regarding the order 15, flag 16, address 24, etc. is performed. That is, in a write cycle during instruction execution, write data
DATA is order 15, flag 16,
It is set in a register at an address 24 indicating the processor to be communicated with, and is sent to the SCI via a selection circuit 26 controlled by a control circuit 25. Data transmission to the SCI is performed using the interprocessor communication bus 21 in the same manner as for interprocessor communication commands.

プロセツサ間通路バス21を介してSCIから通
知されたリセツト・オーダおよびフラグは、受信
制御回路19により解続され、保留ビツト20の
対応するビツトをリセツトさせる。
The reset order and flag notified from the SCI via the interprocessor path bus 21 are cleared by the reception control circuit 19 and cause the corresponding bits of the reserved bits 20 to be reset.

第3図に示すように、SCIにおいても、従来の
プロセツサ間通信命令の処理と同様な制御が行わ
れる。30はプロセツサ10に対応するCPU0
用受信部、30−1はプロセツサ10−1に対応
するCPU1用受信部である。他のプロセツサに
対しても同様に受信部が設けられる。
As shown in FIG. 3, in the SCI, control similar to the conventional processing of interprocessor communication commands is performed. 30 is CPU0 corresponding to processor 10
The receiving section 30-1 is a receiving section for the CPU 1 corresponding to the processor 10-1. Receiving sections are similarly provided for other processors.

例えば、プロセツサ10(CPU0)からリセ
ツト・オーダ、フラグ、アドレスが時分割的に送
られてくると、これらは、オーダ33、フラグ3
4、アドレス35のレジスタにラツチされ、これ
らの情報が選択回路37へ送られる。選択制御回
路36は、受信制御回路32からの制御信号に基
づいて、各プロセツサ対応の受信部間の排地優先
制御を行い、選択回路37,37−1,…のゲー
ト制御を行う。送信制御回路14は、選択回路3
7,37−1,…からのデータを送信レジスタ3
8に一時的に記憶し、各プロセツサへ上記リセツ
ト・オーダ等を送る。特に、本発明の場合、リセ
ツト・オーダ等は、自プロセツサを含む全プロセ
ツサに対し、送信されるようになつている。
For example, when reset orders, flags, and addresses are sent from processor 10 (CPU0) in a time-sharing manner, these are
4. The information is latched in the register at address 35 and sent to the selection circuit 37. Based on the control signal from the reception control circuit 32, the selection control circuit 36 performs waste priority control between the reception sections corresponding to each processor, and performs gate control of the selection circuits 37, 37-1, . The transmission control circuit 14 includes the selection circuit 3
Send data from 7, 37-1, ... to register 3
8, and sends the reset order, etc. to each processor. In particular, in the case of the present invention, reset orders and the like are sent to all processors including the own processor.

次に割込み発生時における制御動作について説
明する。
Next, the control operation when an interrupt occurs will be explained.

サービスプロセツサ11から割込み要求がある
と、全プロセツサ10,10−1,…に対し、割
込みが上げられ、各プロセツサにおける保留ビツ
ト20がオンにされる。なお、保留ビツト20に
は、割込みレベル等に対応して、複数ビツトが用
意されるが、この点は従来と同様であると考えて
よい。
When there is an interrupt request from the service processor 11, the interrupt is raised for all processors 10, 10-1, . . . and the pending bit 20 in each processor is turned on. It should be noted that a plurality of bits are prepared for the pending bit 20 in correspondence with the interrupt level, etc., but this point can be considered to be the same as the conventional one.

割込みに入つた各プロセツサでは、まず自分の
保留ビツト20をチエツクする。保留ビツト20
がオフであれば、他のプロセツサが既にリセツ
ト・オーダを発行していることになるので、リセ
ツト・オーダは発行しない。
Each processor that enters the interrupt first checks its own pending bit 20. Pending bit 20
If OFF, it means that another processor has already issued a reset order, so no reset order is issued.

保留ビツトがオンであれば、例えばメモリのプ
ロセツサ間通信領域(HSA)に設けられたロツ
ク・フラグ(図示省略)をチエツクする。このロ
ツク・フラグは、プロセツサ間の競合排他制御用
のものであり、該フラグがオンであれば、他のプ
ロセツサが既にリセツト・オーダ発行処理に入つ
ていることになるので、リセツト・オーダを発行
することなく、自プロセツサの保留ビツトがオフ
になるのを持つ。
If the pending bit is on, a lock flag (not shown) provided, for example, in the interprocessor communication area (HSA) of the memory is checked. This lock flag is for exclusive contention control between processors, and if this flag is on, it means that another processor is already in the process of issuing a reset order, so it is not possible to issue a reset order. The reserved bits of the own processor are turned off without any processing.

保留ビツトがオンであり、上記HSA内のロツ
ク・フラグがオフであれば、このロツク・フラグ
をオンにし、プロセツサ間通信命令と同様なマイ
クロ命令を起動することにより、リセツト・オー
ダを発行する。そして、自分が発行したリセツ
ト・オーダによつて、自プロセツサの保留ビツト
がオフになるのを持つ。保留ビツトがオフになつ
たならば、上記HSA内のロツク・フラグをオフ
にし、実際のサービスプロセツサ11からの割込
み要求に対する処理を実行する。なお、この割込
み要求に対する処理は、リセツト・オーダを発行
したプロセツサだけが実行することは言うまでも
ない。
If the pending bit is on and the lock flag in the HSA is off, a reset order is issued by turning on the lock flag and activating a microinstruction similar to an interprocessor communication instruction. Then, by the reset order issued by itself, the pending bit of its own processor is turned off. When the pending bit turns off, the lock flag in the HSA is turned off and processing for the interrupt request from the actual service processor 11 is executed. It goes without saying that only the processor that issued the reset order executes the processing for this interrupt request.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、既存の
プロセツサ間通信機能を利用して、サービスプロ
セツサ割込み等の処理が行われるため、割込みに
関連する信号線を削減でき、また割込み制御関連
の回路を簡易化することが可能となる。
As explained above, according to the present invention, processing such as service processor interrupts is performed using the existing inter-processor communication function, so the number of signal lines related to interrupts can be reduced, and the number of signal lines related to interrupt control can be reduced. It becomes possible to simplify the circuit.

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

第1図は本発明の基本構成図、第2図はプロセ
ツサにおける本発明に関連する部分の一実施例ブ
ロツク図、第3図はSCIにおける本発明に関連す
る部分の一実施例ブロツク図、第4図は従来方式
を説明するための図を示す。 図中、10はプロセツサ、11はサービスプロ
セツサ、12はシステムコントロールインターフ
エース(SCI)、13は選択制御回路、14は送
信制御回路、17は割込み受付部、20は保留ビ
ツトを表す。
FIG. 1 is a basic configuration diagram of the present invention, FIG. 2 is a block diagram of an embodiment of a portion related to the present invention in a processor, FIG. 3 is a block diagram of an embodiment of a portion related to the present invention in SCI, and FIG. FIG. 4 shows a diagram for explaining the conventional method. In the figure, 10 is a processor, 11 is a service processor, 12 is a system control interface (SCI), 13 is a selection control circuit, 14 is a transmission control circuit, 17 is an interrupt reception unit, and 20 is a pending bit.

Claims (1)

【特許請求の範囲】 1 システムが複数台のプロセツサ10,10−
1,…で構成され、該プロセツサ間における通信
命令によつて使用されるプロセツサ間通信バス2
1を備えた情報処理装置において、 上記プロセツサ10,10−1,…のいずれか
1台で処理されるべき割込み要求に対して、全プ
ロセツサにおいて割込み保留状態を記憶する手段
20と、 該記憶手段20による割込み保留状態をチエツ
クし、最初に割込みに入つたプロセツサが、全プ
ロセツサに対して、上記プロセツサ間通信バス2
1を用いて、上記割込み保留状態を解除するリセ
ツト・オーダを発行する手段17とを備えたこと
を特徴とする割込み制御方式。
[Claims] 1. A system includes a plurality of processors 10, 10-
an inter-processor communication bus 2, which is composed of 1,... and used by communication instructions between the processors;
1, an information processing apparatus comprising: means 20 for storing an interrupt pending state in all the processors for an interrupt request to be processed by any one of the processors 10, 10-1, . . .; and the storage means. 20, and the processor that entered the interrupt first sends the inter-processor communication bus 2 to all processors.
1. An interrupt control method comprising: means 17 for issuing a reset order for releasing the interrupt pending state using the interrupt pending state.
JP17492185A 1985-08-08 1985-08-08 WARIKOMISEIGYOHOSHIKI Expired - Lifetime JPH0239817B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17492185A JPH0239817B2 (en) 1985-08-08 1985-08-08 WARIKOMISEIGYOHOSHIKI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17492185A JPH0239817B2 (en) 1985-08-08 1985-08-08 WARIKOMISEIGYOHOSHIKI

Publications (2)

Publication Number Publication Date
JPS6234269A JPS6234269A (en) 1987-02-14
JPH0239817B2 true JPH0239817B2 (en) 1990-09-07

Family

ID=15987041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17492185A Expired - Lifetime JPH0239817B2 (en) 1985-08-08 1985-08-08 WARIKOMISEIGYOHOSHIKI

Country Status (1)

Country Link
JP (1) JPH0239817B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02195471A (en) * 1989-01-25 1990-08-02 Fujitsu Ltd Interruption control system

Also Published As

Publication number Publication date
JPS6234269A (en) 1987-02-14

Similar Documents

Publication Publication Date Title
EP0464615A2 (en) Microcomputer equipped with DMA controller
JPH0354375B2 (en)
US5133057A (en) Co-processor for control setting an internal flag register operation mode which controlled a main processor execution mode in a multi-processor system
US5228127A (en) Clustered multiprocessor system with global controller connected to each cluster memory control unit for directing order from processor to different cluster processors
JPS62243058A (en) Control method of interruption for multi-processor system
US5029073A (en) Method for fast establishing a co-processor to memory linkage by main processor
JPH02250110A (en) Dedicated service processor with interchannel communication function
JPS5925258B2 (en) processor control system
JPH0239817B2 (en) WARIKOMISEIGYOHOSHIKI
JPS6049352B2 (en) data processing equipment
JPH01125633A (en) System for debugging multi-processing system
JP3127737B2 (en) Digital signal processor
JPS61101865A (en) Multi-microprocessor system
JP3139310B2 (en) Digital signal processor
JP2837522B2 (en) I / O instruction control method
JPS6019815B2 (en) Transfer control method
JPS5849903B2 (en) Computer parallel connection system
JPS61121153A (en) Inter-processor communication control system
JPS63155254A (en) Information processor
JPS61150061A (en) Processor linking system
JPS62546B2 (en)
JPH0424733B2 (en)
JPH0784933A (en) Input/output control board
JPH0256698B2 (en)
JPS5831022B2 (en) Processor control method