JPH02238547A - Interruption control system - Google Patents

Interruption control system

Info

Publication number
JPH02238547A
JPH02238547A JP6006189A JP6006189A JPH02238547A JP H02238547 A JPH02238547 A JP H02238547A JP 6006189 A JP6006189 A JP 6006189A JP 6006189 A JP6006189 A JP 6006189A JP H02238547 A JPH02238547 A JP H02238547A
Authority
JP
Japan
Prior art keywords
interrupt
adapter
cpu
signal
control circuit
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
JP6006189A
Other languages
Japanese (ja)
Inventor
Yasushi Tanzawa
丹澤 靖
Shigeru Hashimoto
繁 橋本
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 JP6006189A priority Critical patent/JPH02238547A/en
Publication of JPH02238547A publication Critical patent/JPH02238547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [概要] 1個のCPUに複数個のI/Oアダプタが接続された情
報処理システムにおける割込み制御方式に関し、 I/OアダプタからCPUへの割込みを確実に行うよう
にすることを目的とし、 各I/Oアダプタ内には所定情報を記憶するレジスタと
、割込み原因を受けて割込み信号を発生してCPUに与
える割込み制御回路と、CPUがレジスタをアクセスし
た時にそのアドレスをデコードして当該I/Oアダプタ
がアクセスされたことを示す制御信号を割込み制御回路
に与えるアクセスフラグとを具備し、当該I/Oアダプ
タがアクセスされていない間は、前記アクセスフラグに
より割込み制御回路がCPUに割込みを与えるのを禁止
するように構成する。
[Detailed Description of the Invention] [Summary] Regarding an interrupt control method in an information processing system in which a plurality of I/O adapters are connected to one CPU, a method is provided to ensure that interrupts from the I/O adapter to the CPU are performed. With the purpose of and an access flag that decodes the I/O adapter and provides a control signal to the interrupt control circuit indicating that the I/O adapter has been accessed, and while the I/O adapter is not being accessed, the access flag controls the interrupt. The circuit is configured to prohibit giving interrupts to the CPU.

[産業上の利用分野コ 本発明は1個のCPUにバスを介して複数個のI/Oア
ダプタが接続された情報処理システムにおける割込み制
御方式に関する。
[Industrial Field of Application] The present invention relates to an interrupt control method in an information processing system in which a plurality of I/O adapters are connected to one CPU via a bus.

1個のCPUとバスを介して複数個の1/0アダプタが
接続された情報処理システムがある。この種のシステム
においては、I/Oアダプタとしては各種の種類が用い
られ、各種I/Oアダプタには回線/ファイル等のI/
O装置が接続される。
There is an information processing system in which one CPU is connected to a plurality of 1/0 adapters via a bus. In this type of system, various types of I/O adapters are used.
O device is connected.

I/OアダプタからCPUに対する要求が発生すると、
CPUに対して割込みを出す。CPUは■/0アダプタ
からの割込みを受けると、どのアダプタが割込みを出し
ているかを調べ、続いて割込みの原因を調べ、割込み原
因に対する処理を行う。
When a request is made to the CPU from the I/O adapter,
Issue an interrupt to the CPU. When the CPU receives an interrupt from the ■/0 adapter, it checks which adapter is issuing the interrupt, then checks the cause of the interrupt, and performs processing for the cause of the interrupt.

これにより、CPUは割込みを待っている間でも他の処
理が可能なようになっている。
This allows the CPU to perform other processing even while waiting for an interrupt.

[従来の技術] 第3図は従来例を示すブロック図である。CPU1と複
数個のI/Oアダプタ2とがバス3を介して接続されて
いる。I/Oアダプタ2内は、CPUIからの所定情報
,例えば初期設定情報を格納するレジスタ2a,割込み
原因2bを受けてCPUIに対して割込み信号を発生す
る割込み制御回路2Cより構成されている。I/Oアダ
プタ2には、例えばファイル等の入出力装置(I/O)
4が接続されている。
[Prior Art] FIG. 3 is a block diagram showing a conventional example. A CPU 1 and a plurality of I/O adapters 2 are connected via a bus 3. The inside of the I/O adapter 2 includes a register 2a that stores predetermined information from the CPUI, such as initial setting information, and an interrupt control circuit 2C that generates an interrupt signal to the CPU in response to an interrupt cause 2b. The I/O adapter 2 includes an input/output device (I/O) such as a file, etc.
4 is connected.

このように構成されたシステムにおいて、起動後、CP
UIは自分の前処理等を行った後、各種I/Oアダプタ
2の設定を行う。ここでいうCPUの前処理とは、メモ
リ,レジスタ類の初期化固有値の設定,割込み処理ルー
チンのジャンプテーブル作成等、情報処理システムが起
動する際の処理をいう。しかる後、レジスタ2aをアク
セスして該レジスタ2aに初期情報の設定を行う。I/
Oアダプタ2は、CPUIにより初期設定が行われた後
、CPUIに対して要求が発生した場合、制御線を介し
て割込みを発生する。
In a system configured in this way, after startup, the CP
After the UI performs its own preprocessing, etc., it performs settings for various I/O adapters 2. The preprocessing of the CPU herein refers to processing when the information processing system is started, such as setting initialization specific values of memory and registers, and creating jump tables for interrupt processing routines. Thereafter, the register 2a is accessed and initial information is set in the register 2a. I/
The O adapter 2 generates an interrupt via a control line when a request is generated to the CPUI after initialization is performed by the CPUI.

第4図は割込み処理の受付け状態を示す図である。CP
Uの起動から前処理の間は、まだ割込み処理ルーチンの
ジャンプテーブルが作成終了していないので、この期間
は割込みを受付けることはできない。これに対し、割込
み処理ルーチンのジャンプテーブルの作成が終了した後
のアダプタ設定時には、CPUの割込み受付けが可能と
なる。
FIG. 4 is a diagram showing the acceptance state of interrupt processing. C.P.
Since the creation of the jump table for the interrupt processing routine has not yet been completed during the preprocessing period from the startup of U, no interrupts can be accepted during this period. On the other hand, when the adapter is set after the creation of the jump table for the interrupt processing routine is completed, it becomes possible to accept interrupts from the CPU.

[発明が解決しようとする課題] 前述した従来例によれば、CPUの前処理期間中に何ら
かの原因(例えばI/Oアダプタの暴走,ハード異常等
)により割込みが発生すると、この期間中はまだ、割込
み処理ルーチンのジャンプテーブルが決定されていない
。つまり、CPUには予期せぬ割込みとなり、CPUは
正常な処理を続行できなくなる。
[Problems to be Solved by the Invention] According to the conventional example described above, if an interrupt occurs due to some reason (for example, I/O adapter runaway, hardware abnormality, etc.) during the CPU preprocessing period, the interrupt will not be processed during this period. , the jump table for the interrupt processing routine has not been determined. In other words, an unexpected interruption occurs to the CPU, making it impossible for the CPU to continue normal processing.

また、特定I/Oアダプタがハード異常等で割込みを発
生する場合には、該アダプタをソフト的に切り離すこと
は可能であるが、割込みを禁止しなければならず、複数
のI/Oアダプタが存在する場合、それらの割込みは使
用できなくなる。
Additionally, if a specific I/O adapter generates an interrupt due to a hardware error, etc., it is possible to disconnect the adapter using software, but interrupts must be prohibited, and multiple I/O adapters may If so, those interrupts are no longer available.

本発明はこのような課題に鑑みてなされたちのであって
、I/OアダプタからCPUへの割込みを確実に行うこ
とができる割込み制御方式を提供することを目的として
いる。
The present invention has been made in view of these problems, and it is an object of the present invention to provide an interrupt control method that can reliably perform interrupts from an I/O adapter to a CPU.

[課題を解決するための手段] 第1図は本発明の原理ブロック図である。第3図と同一
のものは、同一の符号を付して示す。図において、2d
は割込み原因2bを受けてCPU1に割込み信号を発生
する割込み制御回路、2eはCPUIからレジスタ2a
をアクセスする時のアドレス信号をデコードして当該I
/Oアダプタ2がアクセスされていない間は、割込み制
御回路2dに割込み信号を出さないような制御信号を与
えるアクセスフラグである。
[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the present invention. Components that are the same as those in FIG. 3 are designated by the same reference numerals. In the figure, 2d
2e is an interrupt control circuit that generates an interrupt signal to CPU1 in response to interrupt cause 2b, and 2e is a register 2a from CPUUI.
Decode the address signal when accessing the I
This is an access flag that provides a control signal that does not issue an interrupt signal to the interrupt control circuit 2d while the /O adapter 2 is not being accessed.

[作用] I/Oアダプタ2はリセット(初期化)の際にクリアさ
れ、アクセスフラグ2eは割込み制御回路2dに割込み
禁止信号を出力している。従って、この間は何らかの要
因により割込み原因が割込み要求を割込み制御回路2d
に与えてもCPUIに対する割込みは発生しない。若し
、CPU1からレジスタ2aに対してアクセスがあると
、アクセスフラグ2eはこのアドレス信号をデコードし
て自己がアクセスされたことを知り、割込み制御回路2
dに割込み許可信号を与える。この後、CPU1に対し
て割込みができるようになる。このように、本発明によ
れば、CPUの前処理が終了して割込み時のジャンプ先
番地が確定した後に、割込みがCPUIに与えられるよ
うになるので、常に確実な割込みが可能となる。
[Operation] The I/O adapter 2 is cleared upon reset (initialization), and the access flag 2e outputs an interrupt prohibition signal to the interrupt control circuit 2d. Therefore, during this period, the cause of the interrupt is not receiving the interrupt request from the interrupt control circuit 2d due to some factor.
An interrupt to the CPUI will not occur even if it is given to . If the register 2a is accessed from the CPU 1, the access flag 2e decodes this address signal and knows that it has been accessed, and the interrupt control circuit 2
Give an interrupt enable signal to d. After this, it becomes possible to interrupt the CPU1. As described above, according to the present invention, an interrupt is given to the CPUI after the preprocessing of the CPU is completed and the jump destination address at the time of an interrupt is determined, so that a reliable interrupt is always possible.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第2図は本発明の一実施例を示す構成ブロック図である
。第1図と同一のものは、同一の符号を付して示す。図
において、2fはCPUIからバス3を介して送られて
くるアドレスデータをデコドするアドレスデコーダ、2
gは該アドレスデコーダ2fのデコード出力をそのJ入
力に受けるJKフリップフロツプ(以下単にフリップフ
ロップと略す)である。
FIG. 2 is a block diagram showing an embodiment of the present invention. Components that are the same as those in FIG. 1 are designated by the same reference numerals. In the figure, 2f is an address decoder that decodes address data sent from the CPUI via bus 3;
Reference numeral g designates a JK flip-flop (hereinafter simply referred to as a flip-flop) which receives the decoded output of the address decoder 2f at its J input.

該フリップフロップ2gのK入力には“0″が入力され
、リセット人力Rにはアダプタリセット信号が人力して
いる。アダプタリセット信号としては、例えばパワーオ
ンリセット信号やシステムリセット信号が用いられる。
"0" is input to the K input of the flip-flop 2g, and the adapter reset signal is input to the reset input R. As the adapter reset signal, for example, a power-on reset signal or a system reset signal is used.

また、アドレスデコーダ2fの出力は、レジスタ2aに
アクセス信号として入っている。
Further, the output of the address decoder 2f is input to the register 2a as an access signal.

2hはフリップフロップ2gの出力を制御信号として受
ける3ステートバッファゲート(以下単にゲートと略す
)である。そして、該ゲート2hは割込み原因2bから
の割込み信号をCPUIに割込み信号として出力するが
、その出力制御はフリップフロップ2gの出力により行
われる。
2h is a 3-state buffer gate (hereinafter simply referred to as gate) which receives the output of flip-flop 2g as a control signal. The gate 2h outputs the interrupt signal from the interrupt cause 2b to the CPUI as an interrupt signal, and its output is controlled by the output of the flip-flop 2g.

図のアドレスデコーダ2f及びゲート2hが第1図の割
込み制御回路2dに相当し、フリップフロップ2gが第
1図のアクセスフラグ2eに相当する。図では、I/O
アダプタ2は1個しか示していないが、実際は複数個の
I/Oアダプタ2がバス3に接続されているものとする
。このように構成された回路の動作を説明すれば、以下
のとおりである。
The address decoder 2f and gate 2h in the figure correspond to the interrupt control circuit 2d in FIG. 1, and the flip-flop 2g corresponds to the access flag 2e in FIG. In the figure, I/O
Although only one adapter 2 is shown, it is assumed that a plurality of I/O adapters 2 are actually connected to the bus 3. The operation of the circuit configured as described above will be explained as follows.

先ず、外部よりアダプタリセット信号が入ると、フリッ
プフロップ2gはリセットされ、その出力は“0”にな
る。この結果、ゲート2hの出力は禁止される。従って
、割込み原因2bから誤って割込みが入力されてもCP
UIには伝わらない。
First, when an adapter reset signal is input from the outside, the flip-flop 2g is reset and its output becomes "0". As a result, the output of gate 2h is prohibited. Therefore, even if an interrupt is input by mistake from interrupt cause 2b, the CP
It is not transmitted to the UI.

この間にCPUIは自己の前処理を行う。この前処理の
段階で割込み処理ルーチンのジャンプ先テブルが作成さ
れる。
During this time, the CPUI performs its own preprocessing. At this preprocessing stage, a jump destination table for the interrupt processing routine is created.

次に、CPUIは目的とするI/Oアダプタ2にアクセ
スするためのアドレス信号を出力してバス3に乗せる。
Next, the CPUI outputs an address signal for accessing the target I/O adapter 2 and puts it on the bus 3.

アドレスデコーダ2fはこのアドレスデータをデコード
する。この結果、自I/Oアダプタがセレクトされたこ
とを検知すると、該アドレスデコーダ2fはアクセス信
号を発生してレジスタ2aをアクセスする。CPUIは
レジスタ2aにアダプタ設定用のデータを書込むことに
なる。
Address decoder 2f decodes this address data. As a result, when detecting that its own I/O adapter has been selected, the address decoder 2f generates an access signal to access the register 2a. The CPUI will write data for adapter settings into the register 2a.

一方、フリップフロップ2gはこのアクセス信号により
セットされて、その出力は“]−”になる。
On the other hand, the flip-flop 2g is set by this access signal, and its output becomes "]-".

この結果、ゲート2hの出力はイネーブルとなる。As a result, the output of gate 2h becomes enabled.

従って、これ以降に割込み原因2bから割込み信号が発
生すると、その割込みはCPUIに伝えられる。
Therefore, when an interrupt signal is generated from interrupt cause 2b from now on, the interrupt is transmitted to the CPUI.

[発明の効果] 以上、詳細に説明したように、本発明によればI/Oア
ダプタのリセット後、CPUのアダプタ内レジスタのア
クセスまでCPUへの割込みが禁止されるので、不当な
割込みの発生を防止でき、I/OアダプタからCPUへ
の割込みを確実に行うことができる割込み制御方式を提
供することができる。本発明によれば、ハード的に割込
み発生を防止するので従来のプログラムを変更すること
なく、不当な割込みからのシステムの保護を行うことが
可能となる。
[Effects of the Invention] As described above in detail, according to the present invention, after the I/O adapter is reset, interrupts to the CPU are prohibited until the registers in the CPU adapter are accessed, thereby preventing the occurrence of unwarranted interrupts. Accordingly, it is possible to provide an interrupt control method that can prevent the above problems and reliably perform interrupts from the I/O adapter to the CPU. According to the present invention, since the occurrence of interrupts is prevented using hardware, it is possible to protect the system from unauthorized interrupts without changing conventional programs.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す構成ブロック図、 第3図は従来例を示すブロック図、 第4図は割込み処理の状態を示す図である。 第1図において、 1はCPU, 2はI/Oアダプタ.、 2aはレジスタ、 2bは割込み原因、 2dは割込み制御回路、 2eはアクセスフラグ、 3はバス、 4はI/Oである。 FIG. 1 is a block diagram of the principle of the present invention. FIG. 2 is a configuration block diagram showing an embodiment of the present invention; FIG. 3 is a block diagram showing a conventional example, FIG. 4 is a diagram showing the state of interrupt processing. In Figure 1, 1 is the CPU, 2 is an I/O adapter. , 2a is a register, 2b is the cause of the interrupt, 2d is an interrupt control circuit; 2e is the access flag, 3 is the bus, 4 is I/O.

Claims (1)

【特許請求の範囲】 CPU(1)にバス(3)を介して複数個のI/Oアダ
プタ(2)が接続されたシステムにおいて、 各I/Oアダプタ(2)内には所定情報を記憶するレジ
スタ(2a)と、 割込み原因(26)を受けて割込み信号を発生してCP
U(1)に与える割込み制御回路(2d)と、 CPU(1)がレジスタ(2a)をアクセスした時にそ
のアドレスをデコードして当該I/Oアダプタ(2)が
アクセスされたことを示す制御信号を割込み制御回路(
2d)に与えるアクセスフラグ(2e)とを具備し、 当該I/Oアダプタ(2)がアクセスされていない間は
、前記アクセスフラグ(2e)により割込み制御回路(
2d)がCPU(1)に割込みを与えるのを禁止するよ
うに構成したことを特徴とする割込み制御方式。
[Claims] In a system in which a plurality of I/O adapters (2) are connected to a CPU (1) via a bus (3), each I/O adapter (2) stores predetermined information. register (2a) to generate an interrupt signal in response to the interrupt cause (26), and
An interrupt control circuit (2d) that is provided to U (1), and a control signal that decodes the address when the CPU (1) accesses the register (2a) and indicates that the I/O adapter (2) has been accessed. The interrupt control circuit (
2d), and while the I/O adapter (2) is not being accessed, the access flag (2e) causes the interrupt control circuit (
2d) is configured to prohibit giving an interrupt to the CPU (1).
JP6006189A 1989-03-13 1989-03-13 Interruption control system Pending JPH02238547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6006189A JPH02238547A (en) 1989-03-13 1989-03-13 Interruption control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6006189A JPH02238547A (en) 1989-03-13 1989-03-13 Interruption control system

Publications (1)

Publication Number Publication Date
JPH02238547A true JPH02238547A (en) 1990-09-20

Family

ID=13131194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6006189A Pending JPH02238547A (en) 1989-03-13 1989-03-13 Interruption control system

Country Status (1)

Country Link
JP (1) JPH02238547A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018194877A (en) * 2017-05-12 2018-12-06 富士通株式会社 Information processing apparatus and setting program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018194877A (en) * 2017-05-12 2018-12-06 富士通株式会社 Information processing apparatus and setting program

Similar Documents

Publication Publication Date Title
US4038642A (en) Input/output interface logic for concurrent operations
US6401153B2 (en) Mechanisms for converting interrupt request signals on address and data lines to interrupt message signals
US8407476B2 (en) Method and apparatus for loading a trustable operating system
US4053950A (en) Residual status reporting during chained cycle steal input/output operations
EP0506021A1 (en) Method and apparatus for providing initial instructions in a multiple computer system
JPS60258671A (en) Processor
TW201419150A (en) System and method for execution of a secured environment initialization instruction
AU721685B2 (en) Bus interface control circuit
EP0775959A2 (en) Method and apparatus for optimizing PCI interrupt binding and associated latency in extended/bridged PCI busses
US6374321B2 (en) Mechanisms for converting address and data signals to interrupt message signals
KR100223096B1 (en) Method and apparatus for observing an internal memory map register
US6397310B1 (en) Method and apparatus for controlling write access to storage means for a digital data processing circuit
JPH09160831A (en) Information processing device
JPS62160554A (en) Memory unauthorized access prevention device
JP2539064B2 (en) Microprocessor
JPS63250753A (en) Memory access checking system
JPH09167117A (en) Microcomputer and real-time system using the same
JPH03225546A (en) Method for confirming whether option board is mounted or not
JPH0333939A (en) Microprocessor
JPS60243763A (en) Dual port memory control circuit
JPH05250310A (en) Data processor
JPH0258648B2 (en)
KR100382466B1 (en) Interface of asynchronous system using fifo
JPH03171332A (en) Abnormal access detecting system
JPH0131224B2 (en)