Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0378658B2 - - Google Patents
[go: Go Back, main page]

JPH0378658B2 - - Google Patents

Info

Publication number
JPH0378658B2
JPH0378658B2 JP59134613A JP13461384A JPH0378658B2 JP H0378658 B2 JPH0378658 B2 JP H0378658B2 JP 59134613 A JP59134613 A JP 59134613A JP 13461384 A JP13461384 A JP 13461384A JP H0378658 B2 JPH0378658 B2 JP H0378658B2
Authority
JP
Japan
Prior art keywords
interrupt
cpu
register
mask
error
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
JP59134613A
Other languages
Japanese (ja)
Other versions
JPS6115240A (en
Inventor
Yoshihiro Igawa
Osamu Wada
Akihiro Ichijo
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
Fuji Facom Corp
Original Assignee
Fujitsu Ltd
Fuji Facom 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 Fujitsu Ltd, Fuji Facom Corp filed Critical Fujitsu Ltd
Priority to JP59134613A priority Critical patent/JPS6115240A/en
Publication of JPS6115240A publication Critical patent/JPS6115240A/en
Publication of JPH0378658B2 publication Critical patent/JPH0378658B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置におけるエラー通知
方式に関し、特にCPUに結合された周辺制御装
置などの配下装置にエラーが発生した場合の
CPUへのエラー通知方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an error notification method in a data processing device, and in particular to a system for notifying an error when an error occurs in a subordinate device such as a peripheral control device coupled to a CPU.
Concerning error notification method to CPU.

〔従来の技術〕[Conventional technology]

従来、CPUの下で動作するチヤネル装置など
の周辺制御装置あるいは補助処理装置であつて内
部に割り込みマスクを有する装置では、エラーが
発生した場合、割り込みマスクを通して装置エラ
ーの割り込み信号をCPUへ上げる方式がとられ
ていた。
Conventionally, in devices that are peripheral control devices or auxiliary processing devices such as channel devices that operate under the CPU and have an internal interrupt mask, when an error occurs, a method is used to send a device error interrupt signal to the CPU through the interrupt mask. was taken.

第2図は、従来の割り込み方式を説明するため
の構成図で、1はCPU、2はサービスプロセツ
サのSVP、3はチヤネル装置のCHU、4は割り
込みレジスタのIRTR、5はマスクレジスタの
MSKR、6は割り込みマスク回路、7はOR回路
である。またA、B、Cは割り込み要因、a、
b、cは対応するマスクデータを示している。
Figure 2 is a configuration diagram for explaining the conventional interrupt method. 1 is the CPU, 2 is the SVP of the service processor, 3 is the channel device CHU, 4 is the interrupt register IRTR, and 5 is the mask register.
MSKR, 6 is an interrupt mask circuit, and 7 is an OR circuit. Also, A, B, and C are interrupt factors, a,
b and c indicate corresponding mask data.

CHU3において、マスクレジスタMSKR5に
は、CPUが現在実行中のプログラムの優先度よ
りも優先度の低い割り込みを禁止するためのマス
クデータa、b、cが設定されており、他方割り
込み要因A、B、Cのいずれかが発生すると、割
り込みレジスタIRTR4の対応するビツト位置に
設定される。割り込みマスク回路6は、割り込み
レジスタIRTR4に設定された割り込み要因が、
マスクデータa、b、cにより許容されるもので
あるとき、OR回路7に信号を印加し、OR回路
7はCPU1に対して割り込み要求信号を上げる。
CPU1は、この割り込み要求を受け付けると割
り込み要因を調べ対応する割り込み処理を行う。
In CHU3, mask register MSKR5 is set with mask data a, b, and c for inhibiting interrupts with a lower priority than the priority of the program currently being executed by the CPU, and on the other hand, interrupt causes A and B are set. , C occurs, it is set in the corresponding bit position of interrupt register IRTR4. The interrupt mask circuit 6 detects that the interrupt cause set in the interrupt register IRTR4 is
When it is permitted by the mask data a, b, and c, a signal is applied to the OR circuit 7, and the OR circuit 7 raises an interrupt request signal to the CPU 1.
When the CPU 1 receives this interrupt request, it checks the cause of the interrupt and performs the corresponding interrupt processing.

CHU3において発生するエラーも割り込み要
因の1つ、たとえばAに対応づけられており、割
り込みレジスタIRTR4に設定されて、他の割り
込み要因と同様に割り込みマスク回路6でマスク
処理される。
An error occurring in the CHU3 is also associated with one of the interrupt factors, for example A, and is set in the interrupt register IRTR4 and masked by the interrupt mask circuit 6 like other interrupt factors.

ところでCHU3からの割り込み要求が装置エ
ラーに基づくものであつたときに、その割り込み
処理としてSVP2にCHU3のエラー回復処理を
行わせたい場合、CHU3がエラー発生による動
作不能状態のままであると、SVP2はCHU3の
エラー回復処理をすることができない。そこで
CPU1に装置エラーの割り込みをかける前に、
CHU3内のエラー要因をリセツトしておく必要
があつた。
By the way, when an interrupt request from CHU3 is based on a device error, if you want SVP2 to perform error recovery processing for CHU3 as the interrupt processing, if CHU3 remains in an inoperable state due to an error occurrence, SVP2 cannot perform error recovery processing for CHU3. Therefore
Before issuing a device error interrupt to CPU1,
It was necessary to reset the error cause in CHU3.

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

そのため、SVP2でCHU3を常時監視し、
CHU3にエラーが発生したことを検出したとき
に、CHU3をいつたんリセツトしてエラー状態
を消してからエラー割り込みをかけさせる方法が
考えられるが、CHU3をリセツトすると、マス
クレジスタMSKR5のマスクデータもクリアさ
れてしまい、割り込みレジスタIRTR4にエラー
割り込み要因(A)を設定しても、割り込みマスク回
路6でマスクされてしまうため、CPU1に割り
込み要求信号を上げることができない。そこでマ
スクデータを復元する必要があるがその復元処理
でエラーが発生すると、やはりCPUに装置エラ
ーの通知ができないという問題があり簡単な方法
で解決することができなかつた。
Therefore, SVP2 constantly monitors CHU3,
When detecting that an error has occurred in CHU3, one possible method is to reset CHU3 to erase the error condition and then issue an error interrupt, but when CHU3 is reset, the mask data in mask register MSKR5 is also cleared. Even if the error interrupt factor (A) is set in the interrupt register IRTR4, it will be masked by the interrupt mask circuit 6, so an interrupt request signal cannot be sent to the CPU1. Therefore, it is necessary to restore the mask data, but if an error occurs during the restoration process, there is a problem that the CPU cannot be notified of the device error, and it has not been possible to solve it with a simple method.

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

本発明は、CPUの配下装置においてエラーが
発生した場合、SVPによりリセツトするととも
に、従属装置におけるマスクなしにCPUに対し
て強制割り込みを行い、CPUにマスクを復元さ
せる前処理を行つてから、配下装置にマスク付き
のエラー割り込みを行わせるもので、その具体的
な解決手段は、CPUと、SVPと、CPUに割り込
み要求を出すことが可能なCPU配下の装置とを
有するデータ処理装置において、上記CPU配下
の装置は割り込みレジスタと、マスクレジスタ
と、該割り込みレジスタに設定された割り込み要
因をマスクレジスタに設定されたマスクデータで
マスクする割り込みマスク回路と、強制割り込み
レジスタと、該割り込みマスク回路および強制割
り込みレジスタの出力を割り込み要求信号として
CPUへ送出する手段とをそなえ、上記SVPは
CPU配下の装置の動作状態を常時監視して、エ
ラー発生を検出したとき該CPU配下の装置をリ
セツトするとともに上記強制割り込みレジスタを
ONに設定してCPUへ強制割り込み要求信号を送
出させ、CPUはこれに応答してCPU配下の装置
にマスクレジスタのマスクデータを復元する依頼
を行い、CPU配下の装置は該復元依頼に応答し
てマスクレジスタにマスクデータを復元するとと
もに割り込みレジスタにエラーの割り込み要因を
設定して割り込みマスク回路を介してCPUへ割
り込み要求信号を送出し、CPUはこれに応答し
てCPU配下の装置のエラーに対する割り込み処
理を実行することを特徴とするものである。
In the present invention, when an error occurs in a subordinate device of the CPU, it is reset by SVP, a forced interrupt is issued to the CPU without masking in the subordinate device, preprocessing is performed to have the CPU restore the mask, and then the subordinate device is reset. This method causes the device to issue a masked error interrupt, and the specific solution is to use the above method in a data processing device that has a CPU, an SVP, and a device under the CPU that can issue an interrupt request to the CPU. The devices under the CPU include an interrupt register, a mask register, an interrupt mask circuit that masks the interrupt cause set in the interrupt register with mask data set in the mask register, a forced interrupt register, the interrupt mask circuit, and a forced interrupt register. Interrupt register output as interrupt request signal
The above SVP is equipped with a means to send data to the CPU.
The operating status of devices under the CPU is constantly monitored, and when an error is detected, the device under the CPU is reset and the above forced interrupt register is set.
Set it to ON to send a forced interrupt request signal to the CPU. In response, the CPU requests the device under the CPU to restore the mask data in the mask register, and the device under the CPU responds to the restoration request. restores the mask data in the mask register, sets the error interrupt cause in the interrupt register, and sends an interrupt request signal to the CPU via the interrupt mask circuit. It is characterized by executing interrupt processing.

〔実施例〕〔Example〕

以下に、本発明の詳細を実施例にしたがつて説
明する。
The details of the present invention will be explained below with reference to Examples.

第1図は本発明の1実施例の構成図であり、第
2図に示した従来例方式を改良したものである。
第1図において、1はCPU、2はSVP、3は
CHU、4は割り込みレジスタのIRTR、5はマ
スクレジスタのMSKR、6は割り込みマスク回
路、7はOR回路、8は強制割り込みレジスタの
IRTX、9はOR回路である。またIRTR4内の
A、B、Cは割り込み要因で、特にAはエラー割
り込み要因を示し、MSKR内のa、b、cはそ
れぞれ割り込み要因A、B、Cに対応するマスク
データを示す。なお、図中の乃至は次に述べ
る動作手順に対応している。
FIG. 1 is a block diagram of one embodiment of the present invention, which is an improved version of the conventional system shown in FIG.
In Figure 1, 1 is CPU, 2 is SVP, 3 is
CHU, 4 is the interrupt register IRTR, 5 is the mask register MSKR, 6 is the interrupt mask circuit, 7 is the OR circuit, 8 is the forced interrupt register
IRTX, 9 is an OR circuit. Further, A, B, and C in IRTR4 are interrupt factors, especially A indicates an error interrupt factor, and a, b, and c in MSKR indicate mask data corresponding to interrupt factors A, B, and C, respectively. Note that the steps in the figure correspond to the operation procedures described below.

本実施例の構成が第2図に示した従来例の構成
と大きく相違しているところは、強制割り込みレ
ジスタIRTX8が、割り込みレジスタIRTR4と
は別に設けられ、エラー発生時にSVP2によつ
てONに設定されて、マスクされることなくOR
回路9を介してCPU1に強制割り込み要求を行
うようになつている点である。
The configuration of this embodiment is largely different from the configuration of the conventional example shown in FIG. 2, in that a forced interrupt register IRTX8 is provided separately from the interrupt register IRTR4, and is set to ON by SVP2 when an error occurs. OR without being masked
The point is that a forced interrupt request is made to the CPU 1 via the circuit 9.

、′、:SVP2は、CHU3を常時監視して
おり、CHU3内にエラーが発生したことを検
出すると、CHU3をリセツトし、エラー要因
を取り除く、このとき同時にIRTR4、MSKR
5、IRTX8もクリアされる。
,',: SVP2 constantly monitors CHU3, and when it detects that an error has occurred in CHU3, it resets CHU3 and removes the cause of the error.
5. IRTX8 is also cleared.

:SVP2は、続いて強制割り込みレジスタ
IRTX8をONに設定する。
:SVP2 is then the forced interrupt register.
Set IRTX8 to ON.

、′:CPU1へ強制割り込み信号が上げら
れ、CPU1はこれによりCPU内に保存してあ
るCHU3のマスクデータをCHU3へ送り、復
元処理を依頼する。
,': A forced interrupt signal is raised to CPU1, and CPU1 thereby sends the mask data of CHU3 stored in the CPU to CHU3 and requests restoration processing.

、′、″:CHU3は、復元処理依頼に応答
して、マスクデータをマスクレジスタMSKR
5に再設定し、さらにエラー割り込み要因Aを
割り込みレジスタIRTR4に設定し、正常終了
したらそれをCPU1へ通知する(異常終了で
あればへ)。
,′,″: CHU3 stores the mask data in the mask register MSKR in response to the restoration processing request.
5, and further sets the error interrupt factor A in the interrupt register IRTR4, and if it ends normally, it will notify the CPU 1 (if it ends abnormally, go to).

:CPU1は正常終了の通知を受けると、強制
割り込みをキヤンセルする。これにより強制割
り込みの存在は消される。
:When CPU1 receives the notification of normal termination, it cancels the forced interrupt. This erases the existence of forced interrupts.

、′:もしもエラー割り込み要因に対応する
マスクデータaがONであれば、強制割り込み
のキヤンセル後、直ちにエラー割り込み要求信
号がCPU1へ上げられる。
,': If the mask data a corresponding to the error interrupt factor is ON, an error interrupt request signal is raised to the CPU 1 immediately after the forced interrupt is canceled.

:CPU1は装置エラーの割り込み処理を行い、
ソフトに対して装置エラーを通知する。
:CPU1 performs device error interrupt processing,
Notify the software of device errors.

:のマスク復元処理においてエラー発生を検
出したときには、CPU1は、そのときエラー
割り込み要因のマスクデータaを識別し、それ
がONである場合、強制割り込み要求をCHU
3からのエラー割り込み要求とみなして、の
割り込み処理を行い、ソフトに対して装置エラ
ーを通知する。
: When an error occurrence is detected in the mask restoration process, CPU 1 identifies mask data a of the error interrupt cause at that time, and if it is ON, sends a forced interrupt request to CHU.
It is regarded as an error interrupt request from 3, performs interrupt processing, and notifies the software of the device error.

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

以上のように、本発明によれば、CPUに割り
込み要求を行うことが可能な配下の装置にエラー
が発生しても、確実に装置エラーをCPUへ通知
することができる。
As described above, according to the present invention, even if an error occurs in a subordinate device capable of issuing an interrupt request to the CPU, the device error can be reliably notified to the CPU.

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

第1図は本発明の1実施例の構成図、第2図は
従来例の構成図である。 図中、1はCPU、2はSVP、3はCHU、4は
割り込みレジスタのIRTR、5はマスクレジスタ
のMSKR、6は割り込みマスク回路、7および
9はOR回路、8は強制割り込みレジスタIRTX
を示す。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of a conventional example. In the figure, 1 is CPU, 2 is SVP, 3 is CHU, 4 is interrupt register IRTR, 5 is mask register MSKR, 6 is interrupt mask circuit, 7 and 9 are OR circuit, 8 is forced interrupt register IRTX
shows.

Claims (1)

【特許請求の範囲】[Claims] 1 CPUと、SVPと、CPUに割り込み要求を出
すことが可能なCPU配下の装置とを有するデー
タ処理装置において、上記CPU配下の装置は割
り込みレジスタと、マスクレジスタと、該割り込
みレジスタに設定された割り込み要因をマスクレ
ジスタに設定されたマスクデータでマスクする割
り込みマスク回路と、強制割り込みレジスタと、
該割り込みマスク回路および強制割り込みレジス
タの出力を割り込み要求信号としてCPUへ送出
する手段とをそなえ、上記SVPはCPU配下の装
置の動作状態を常時監視して、エラー発生を検出
したとき該CPU配下の装置をリセツトするとと
もに上記強制割り込みレジスタをONに設定して
CPUへ強制割り込み要求信号を送出させ、CPU
はこれに応答してCPU配下の装置にマスクレジ
スタのマスクデータを復元する依頼を行い、
CPU配下の装置は該復元依頼に応答してマスク
レジスタにマスクデータを復元するとともに割り
込みレジスタにエラーの割り込み要因を設定して
割り込みマスク回路を介してCPUへ割り込み要
求信号を送出し、CPUはこれに応答してCPU配
下の装置のエラーに対する割り込み処理を実行す
ることを特徴とするエラー通知方式。
1 In a data processing device that has a CPU, an SVP, and a device under the CPU that can issue an interrupt request to the CPU, the device under the CPU has an interrupt register, a mask register, and a device that is set in the interrupt register. An interrupt mask circuit that masks interrupt causes with mask data set in a mask register, a forced interrupt register,
Equipped with means for sending the output of the interrupt mask circuit and forced interrupt register to the CPU as an interrupt request signal, the SVP constantly monitors the operating status of devices under the CPU, and when an error is detected, sends the output of the forced interrupt register to the CPU. Reset the device and set the forced interrupt register above to ON.
Sends a forced interrupt request signal to the CPU,
In response, requests the device under the CPU to restore the mask data of the mask register,
In response to the restoration request, the device under the CPU restores the mask data in the mask register, sets the error interrupt cause in the interrupt register, and sends an interrupt request signal to the CPU via the interrupt mask circuit. An error notification method characterized by executing interrupt processing for an error in a device under a CPU in response to an error.
JP59134613A 1984-06-29 1984-06-29 Error informing system Granted JPS6115240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59134613A JPS6115240A (en) 1984-06-29 1984-06-29 Error informing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59134613A JPS6115240A (en) 1984-06-29 1984-06-29 Error informing system

Publications (2)

Publication Number Publication Date
JPS6115240A JPS6115240A (en) 1986-01-23
JPH0378658B2 true JPH0378658B2 (en) 1991-12-16

Family

ID=15132486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59134613A Granted JPS6115240A (en) 1984-06-29 1984-06-29 Error informing system

Country Status (1)

Country Link
JP (1) JPS6115240A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6367663A (en) * 1986-09-09 1988-03-26 Fujitsu Ltd Interruption control system

Also Published As

Publication number Publication date
JPS6115240A (en) 1986-01-23

Similar Documents

Publication Publication Date Title
US5438675A (en) Initialization system for input/output processing units
JPH0378658B2 (en)
JPS592152A (en) Resetting system in case of fault
JP3161444B2 (en) Fault logging system, method, and storage medium storing program
JPS622334B2 (en)
JP2002244885A (en) Computer system monitoring system
JPS6128141B2 (en)
JP2518829Y2 (en) I/O card error detection system
JP2505044B2 (en) Interrupt control method
JPH02205933A (en) Data processing system
JPH0254358A (en) Error processing system for input/output adaptor
JPH0535901B2 (en)
JPH0713792A (en) Error control system in hot standby system
JPH01234966A (en) Fault detection method in multiplexed computer system
JPH08153018A (en) Semiconductor system
JPH01261742A (en) Method for processing error in system controller
JPH0650486B2 (en) Data chain processing method
JPH04364545A (en) Memory dumping system
JPH04101239A (en) Debugging system for information processor
JPS6375843A (en) Abnormality monitor system
JPS62106564A (en) Using/spare processor switching control system for information processing system
JPH01106155A (en) Information processor
JPH03101462A (en) Failure interrupt control method
JPH0651935U (en) Failure management device in multi-CPU system
JPH0387952A (en) Peripheral device control method