JPS6168663A - Input/output controlling device - Google Patents

Input/output controlling device

Info

Publication number
JPS6168663A
JPS6168663A JP19131884A JP19131884A JPS6168663A JP S6168663 A JPS6168663 A JP S6168663A JP 19131884 A JP19131884 A JP 19131884A JP 19131884 A JP19131884 A JP 19131884A JP S6168663 A JPS6168663 A JP S6168663A
Authority
JP
Japan
Prior art keywords
input
address
output control
output
work area
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
JP19131884A
Other languages
Japanese (ja)
Inventor
Yasuo Wakamiya
若宮 康夫
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 JP19131884A priority Critical patent/JPS6168663A/en
Publication of JPS6168663A publication Critical patent/JPS6168663A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To immediately detect the access to an incorrect memory address at each input/output address by fixing the mapping of memory so that the number to be allotted will become a part of memory address of a work area. CONSTITUTION:An address and size of work area is fixed for each input/output control routine. Next, a number allotted beforehand for input/output control routine is set to an erroneous address detection circuit 30, before a basic processing routine makes a program branch to appropriate input/output routine by the interruption of high-order device processing request signal 200 or input/ output adaptor processing request signal 210. And, an erroneous address interrup tion occurrence circuit 31 is set at an interruption generation capable state, and the detection circuit 3 retains the number set for input/output control rou tine. Then a microprocessor 10 compares the information address lines of address bus 102 which is used when the processor 10 access a ROM11 or RAM12 by other than instruction fetch, and informs the system of this abnormality.

Description

【発明の詳細な説明】 技術分野 本発明は入出力制御装置に関し、特に複数の入出力装置
を時分割にて同時制御可能なマイクロプログラム制御の
入出力制御装置に関する。
TECHNICAL FIELD The present invention relates to an input/output control device, and more particularly to a microprogram-controlled input/output control device that can control a plurality of input/output devices simultaneously in a time-sharing manner.

フェースを介して上位装置と接続されており、また入出
力アダプタインタフェースを介して複数の入出力アダプ
タと接続されて入出力アダプタに夫り接続されている入
出力装置を時分割的に同時制御するようになっている。
It is connected to the host device via the interface, and is also connected to multiple input/output adapters via the input/output adapter interface to simultaneously control the input/output devices connected to the input/output adapters in a time-sharing manner. It looks like this.

このような入出力制御装置のマイクロプログラムは通常
1個の基本処理ルーチンと入出力アダプタの種類に応じ
た複数の入出力制御ルーチンとで構成され、各々独立し
た作業領域を有している。
A microprogram for such an input/output control device usually consists of one basic processing routine and a plurality of input/output control routines depending on the type of input/output adapter, each having an independent work area.

基本処理ルーチンと各入出力制御ルーチンはある定めら
れたプログラムインタフェースを持ち、上位装置又は入
出力アダプタからの入出力制御装置への処理要求は最初
に基本処理ルーチンにてどの入出力制御ルーチンに対す
る要求かが判別され、プログラムインタフェースに従っ
て適当な入出力制御ルーチンにプログラム分岐する。入
出力制御ルーチンではその時に必要な処理が終了した時
、プログラムインタフェースに従って基本処理ルーチン
にプログラム分岐する。このようにして入出力制御装置
は上位装置及び入出力アダプタからの処理要求を時分割
的に処理することにより、複数の入出力装置を同時に制
御して動作させる。
The basic processing routine and each input/output control routine have a predetermined program interface, and processing requests from a host device or input/output adapter to the input/output control device are first determined by the basic processing routine to which input/output control routine. The program branches to the appropriate input/output control routine according to the program interface. When the input/output control routine completes the processing required at that time, the program branches to the basic processing routine according to the program interface. In this way, the input/output control device processes processing requests from the host device and the input/output adapter in a time-sharing manner, thereby controlling and operating a plurality of input/output devices simultaneously.

基本処理ルーチンは時分割的に各入出力制御ルーチンに
対する共通処理を行うため全ての入出力制御ルーチ/の
作業領域にアクセスする必要があるが、各入出力制御ル
ーチンは自分に属する作業領域のみにアクセスすれば良
く、他の領域へのアクセスは必要としない。
The basic processing routine performs common processing for each input/output control routine in a time-sharing manner, so it needs to access the work area of all input/output control routines, but each input/output control routine can access only the work area that belongs to it. Access to other areas is not necessary.

しかし入出力制御ルーチンにプログラムミスがあり、自
分に属する作業領域以外にアクセスして、そのアドレス
からの読出し又は書込みを行った場合、従来の入出力制
御装置においてはこのような誤ったアドレスへのアクセ
スの検出手段を有しないので、誤ったアクセスによりあ
る入出力制御ルーチンが他の入出力制御ルーチンに属す
る作業領域を書かえてしまう。また、マイクロプログラ
ムが格納されるコントロールメモリがRAMで構成され
ている場合はマイクロプログラムそのものを壊したりす
ると、ある入出力制御ルーチンにて異常が発生してもそ
の入出力制御ルーチンを疑わなければならず、更にハー
ドウェアの故障等による誤動作もありえるため、異常原
因の追求が極めて困難であるという欠点があった。
However, if there is a programming error in the input/output control routine and it accesses a work area other than its own and reads or writes from that address, conventional input/output control devices will not be able to access such a wrong address. Since there is no access detection means, an erroneous access may cause one input/output control routine to write to a work area belonging to another input/output control routine. Furthermore, if the control memory in which the microprogram is stored is made up of RAM, if the microprogram itself is destroyed, even if an abnormality occurs in a certain input/output control routine, that input/output control routine must be suspected. Furthermore, malfunctions may occur due to hardware failures, so it is extremely difficult to find the cause of the abnormality.

発明の目的 本発明は、プログラムミスのない入出力制御ルーチンが
該入出力制御ルーチンの作業領域として割当てられたメ
モリ領域にしかアクセスしないことに着目し、各入出力
側(財)ルーチンに割当てる番号がそのまま作業領域の
メモリアドレスの一部となるようメモリのマツピングを
固定化するようにして、各入出力制御ルーチンの該入出
力制御ルーチンに属する作業領域以外の不正なメモリア
ドレスへのアクセスを即時に検出可能な入出力制御装置
を提供することを目的とする。
Purpose of the Invention The present invention focuses on the fact that an input/output control routine without a program error accesses only the memory area allocated as the work area of the input/output control routine, and the number assigned to each input/output side routine. By fixing the mapping of memory so that it becomes part of the memory address of the work area as it is, it is possible to immediately prevent each input/output control routine from accessing an invalid memory address outside the work area belonging to the input/output control routine. The purpose is to provide an input/output control device that can be detected by

本発明による入出力制御装置は、メモリにおける記憶領
域として使用し、プログラムの入出力制御ルーチンにあ
っては記憶領の特定領域のみを作業領域としてアクセス
をなすようにして複数の入出力装置の同時使用を可能と
したマイクロプログラム制御の入出力制御装置であって
、複数の入出力装置の1つの処理要求の割込に応答して
、この入出力装置に対応して割当てられた特定領域内の
作業領域の領域範囲を予め格納する格納手段と、プロセ
ッサからの作業領域に対する命令フェッチ以外のアクセ
ス時におけるアドレスが格納手段に格納されている領域
範囲の外にあることを検出するアドレス異常検出手段と
を含む構成であり、このアドレス異常が検出されたとき
にはプロセッサへ割込要求を発生するようにして障害処
理を行うようにする。
The input/output control device according to the present invention is used as a storage area in a memory, and in the input/output control routine of a program, only a specific area of the storage area is accessed as a work area, so that multiple input/output devices can be operated simultaneously. A microprogram-controlled input/output control device that enables the use of a microprogram-controlled input/output control device that responds to an interruption of a processing request from one of multiple input/output devices to enable the use of a storage means for storing in advance an area range of a work area; and address abnormality detection means for detecting that an address when accessing the work area from a processor other than an instruction fetch is outside the area range stored in the storage means. When this address abnormality is detected, an interrupt request is generated to the processor to handle the failure.

実施例 以下、図面を用いて本発明の詳細な説明する。Example Hereinafter, the present invention will be explained in detail using the drawings.

本発明の実施例を示す第1図において、入出力制御装置
1内のマイクロプロセッサ10の双方向性のデータバス
101と単方向性のアドレス102にはROMII 、
 RAM12.上位インタフェース回路20゜入出力ア
ダプタインタフエース回路211割込制御回路22の異
常アドレス検出回路30及び異常アドレス割込発生回路
31が接続されており、マイクロプロセッサ10は上位
装置とは上位装置インタフェース回路20を介して、ま
た複数の入出力アダプタとは入出力アダプタインタフェ
ース回路21を介して夫々接続されている。上位装置イ
ンタフェース回路20が出力する上位装置処理要求信号
200.入出力アダプタインタフェース回路21が出力
する入出力アダプタ処理要求信号210及び異常アドレ
ス割込発生回路32が出力する異常アドレス割込要求信
号320は割込制御回路22に接続され、割込制御回路
22の出力であるマイクロプロセッサ割込信号220は
マイクロプロセッサ10に接続されている。異常アドレ
ス検出回路30の出力である異常アドレス検出信号30
0は異常アドレス割込発生回路32に接続される。
In FIG. 1 showing an embodiment of the present invention, a bidirectional data bus 101 and a unidirectional address 102 of a microprocessor 10 in an input/output control device 1 are connected to a ROMII,
RAM12. The host interface circuit 20゜I/O adapter interface circuit 211 is connected to the abnormal address detection circuit 30 and abnormal address interrupt generation circuit 31 of the interrupt control circuit 22, and the microprocessor 10 is connected to the host device interface circuit 20. It is also connected to a plurality of input/output adapters via an input/output adapter interface circuit 21, respectively. Upper-level device processing request signal 200 outputted by the higher-level device interface circuit 20. The input/output adapter processing request signal 210 outputted by the input/output adapter interface circuit 21 and the abnormal address interrupt request signal 320 outputted by the abnormal address interrupt generation circuit 32 are connected to the interrupt control circuit 22. The output, microprocessor interrupt signal 220, is connected to microprocessor 10. Abnormal address detection signal 30 which is the output of the abnormal address detection circuit 30
0 is connected to the abnormal address interrupt generation circuit 32.

本実施例においては、マイクロプログラムの基本処理ル
ーチンはROMIIとRAM12の両方に分9Jされて
格納されており、入出力制御ルーチンはRAM12に格
納されているものとする。従って、RAM12には基本
処理ルーチンの一部と複数の入出力制御ルーチン及びこ
れらの作業領域が混在してお9、特に入出力制御ルーチ
ンに対する作業領域は予め定められた固定の領域に割当
てられている。
In this embodiment, it is assumed that the basic processing routine of the microprogram is stored in both the ROM II and the RAM 12, and the input/output control routine is stored in the RAM 12. Therefore, a part of the basic processing routine, a plurality of input/output control routines, and their work areas coexist in the RAM 12. In particular, the work area for the input/output control routines is allocated to a predetermined fixed area. There is.

第2図は本実施例において、入出力制御回路1が同時動
作可能な入出力アダプタ数が16個で、各入出力制御ル
ーチンが使用する作業領域の最大値が256バイトであ
り、かつアドレスバス102のアドレス情報線が16本
あり、この16ビツトアドレスで定義される64にバイ
ト(K=1ρ24=2”、以下同じ)のメモリ空間のう
ち、F 000 (+s )〜FF’FF(16)まで
の4にバイトを入出力制御ルーチンの作業領域に割当て
ている場合のメモリマツピング図である。なお例えばF
 000(I6)は16進数であることを示す。
FIG. 2 shows that in this embodiment, the number of input/output adapters that the input/output control circuit 1 can operate simultaneously is 16, the maximum work area used by each input/output control routine is 256 bytes, and the address bus There are 16 address information lines for 102 bits, and out of the 64 byte (K=1ρ24=2'', same below) memory space defined by these 16-bit addresses, F 000 (+s ) to FF'FF (16) This is a memory mapping diagram when bytes are allocated to the work area of the input/output control routine.
000 (I6) indicates a hexadecimal number.

第3図は第2図に示しだメモリマツピングの場合の各入
出力制御ルーチンの作業領域のメモリアドレスの構成を
示す。即ち上位4ビツトは第2図のマツピングのアドレ
スの最上位の“′F”に対応しておシ、本例では°′1
″であり、次のR3〜R0で表わされる4ビツトは、予
め各入出力装置に対応して割当てられた各入出力制御ル
ーチンの作業領域を表わす番号であり、第2図のアドレ
スの最上位の次の値に対応する。またT7〜Toで表わ
される8ピツトは各入出力制御ルーチンに割当てられた
作業領域内でのバイト番号を示す。このメモリアドレス
はアドレスバス102の16本のアドレス情報線A+s
 −Aoと図に示すように対応する。なおAn(n=1
5〜O)のnはアドレスに対するビット重みに対応する
。例えばA1.はアドレス情報線の215ピツトに対応
する。
FIG. 3 shows the memory address structure of the work area of each input/output control routine in the case of the memory mapping shown in FIG. 2. That is, the upper 4 bits correspond to the most significant "'F" of the mapping address in Figure 2, and in this example, °'1.
'', and the next 4 bits represented by R3 to R0 are numbers representing the work area of each input/output control routine allocated in advance to each input/output device, and the highest address of the address in FIG. The 8 pits represented by T7 to To indicate the byte number within the work area assigned to each input/output control routine.This memory address corresponds to the 16 address information of the address bus 102. line A+s
-Ao as shown in the figure. Note that An(n=1
5 to O), n corresponds to the bit weight for the address. For example, A1. corresponds to the 215th pit of the address information line.

マイクロプロセッサ10はアドレス102によりROM
II又はRAM12に命令フェッチのためのメモリリー
ドを行い、データバス101に読出した命令語を実行す
る。マイクロプロセッサ10がROM11又はRAM1
2から命令フェッチによシ演算データに対するメモリア
クセスを必要とする命令語を読出した時は、マイクロプ
ロセッサはROMII又はRAM12に対し演算データ
の読出し又は書込みを行う。マイクロプロセッサ10が
ROMIIIはRAM12にアクセスする時、そのアク
セスがメモリリードであるかメモリライトであるか及び
メモIJ 17−ドの1時にそれが命令フェッチである
か演算データの読出しであるかの制御信号はアドレスバ
ス102に含まれている。
Microprocessor 10 reads ROM from address 102.
II or RAM 12 for fetching an instruction, and executes the instruction word read onto the data bus 101. Microprocessor 10 is ROM11 or RAM1
When the microprocessor reads an instruction word that requires memory access to operation data by instruction fetch from ROM II or RAM 12, the microprocessor reads or writes operation data to ROMII or RAM 12. When the microprocessor 10 accesses the RAM 12 in the ROM III, it controls whether the access is a memory read or a memory write, and whether it is an instruction fetch or a read operation data at the time of the memo IJ17-code. Signals are included on address bus 102.

マイクロプロセッサ10は通常ROMII又HRAM1
2に格納されている基本処理ルーチ/を実行し、何らか
の処理要求割込みが入るのを待っている。
Microprocessor 10 is usually ROMII or HRAM1
It executes the basic processing routine stored in 2 and waits for some kind of processing request interrupt.

この状態で上位装置あるいはいずれかの入出力アダプタ
からの処理要求があると割込制御回路22に伝えられ、
この割込制御回路はマイクロプロセッサ割込要求信号2
20によりマイクロプロセッサ10に割込みを発生する
。マイクロプロセッサ10が割込みがあると基本処理ル
ーチン中の割込要因に従った割込処理ルーチンにて上位
装置インタフェース回路20又は入出力インタフェース
回路21から詳細な処理要求情報を引取シ、処理が要求
されている入出力制御ルーチンにあらかじめ定められて
いるプログラムインタフェースに従ってプログラム分岐
する。
In this state, if there is a processing request from the host device or any input/output adapter, it is transmitted to the interrupt control circuit 22,
This interrupt control circuit uses the microprocessor interrupt request signal 2
20 generates an interrupt to the microprocessor 10. When the microprocessor 10 receives an interrupt, it receives detailed processing request information from the host device interface circuit 20 or the input/output interface circuit 21 in an interrupt processing routine according to the interrupt cause in the basic processing routine, and requests processing. The program branches according to the program interface predetermined for the input/output control routine that is being executed.

入出力制御ルーチンでは入出力アダプタインタフェース
回路21を介して自分に割当てられている作業領域を使
用して自分に属する入出力アダプタの制御を行った後、
定められているプログラムインタフェースに従って基本
処理ルーチンにプログラム分岐する。基本処理ルーチン
では割込制御回路22を制御して再び上位装置処理要求
信号200及び入出力アダプタ処理要求信号210によ
る割込発生が可能なようにする。
In the input/output control routine, after controlling the input/output adapter belonging to itself using the work area assigned to it via the input/output adapter interface circuit 21,
The program branches to the basic processing routine according to the defined program interface. In the basic processing routine, the interrupt control circuit 22 is controlled so that interrupts can be generated again by the host device processing request signal 200 and the input/output adapter processing request signal 210.

このようにして入出力制御装置1は上位装置及び各入出
力アダプタからの処理要求を割込制御回路22で優先順
位づけを行い、優先順位に従って適当な入出力制御ルー
チンを実行することにより、複数の入出力アダプタを時
分割的に同時動作させる。
In this way, the input/output control device 1 prioritizes processing requests from the host device and each input/output adapter using the interrupt control circuit 22, and executes appropriate input/output control routines according to the priority order. operate the input/output adapters simultaneously in a time-division manner.

第1図に示す本発明による入出力制御装置においては、
各入出力制御ルーチンに対する作業領域を第2図に示す
ようにアドレス及び大きさを固定化し、以上述べた制御
に加えて基本処理ルーチンが上位装置処理要求信号20
0又は入出力アダプタ処理要求信号210による割込み
をうけて適当な入出力制御ルーチンにプログラム分岐す
る前にこの入出力制御ルーチンにあらかじめ割当ててい
る番号を異常アドレス検出回路30にセントし、異常ア
ドレス割込発生回路31を割込発生可能状態に設定する
。異常アドレス検出回路32はセットされた入出力制御
ルーチンの番号を保持し、マイクロプロセッサ10が命
令フェッチ以外でROM 11又はRAM12にアクセ
スする時のアドレスバス102のアドレス情報線との比
較を行う。
In the input/output control device according to the present invention shown in FIG.
The address and size of the work area for each input/output control routine are fixed as shown in FIG. 2, and in addition to the above-mentioned control, the basic processing routine is
0 or the input/output adapter processing request signal 210, and before the program branches to an appropriate input/output control routine, the number previously assigned to this input/output control routine is sent to the abnormal address detection circuit 30, and the abnormal address is assigned. The interrupt generation circuit 31 is set to an interrupt generation enabled state. The abnormal address detection circuit 32 holds the set input/output control routine number and compares it with the address information line of the address bus 102 when the microprocessor 10 accesses the ROM 11 or RAM 12 for purposes other than fetching instructions.

この比較の論理式を第2図に示したメモリマツピング図
の場合について第3図に示した記号を使用して記述する
と下式のようになる。
When the logical expression for this comparison is described using the symbols shown in FIG. 3 for the memory mapping diagram shown in FIG. 2, it becomes the following equation.

P = (A15■1)■(A14■1)(A13■1
 ) V (Al2O2)(A11■R3)(ん◎■R
,)(Ae■Rt)V(A、■Ro) =Ats V A14A13A12(A11■R3)V
(A+o■R,)V(A、■R+)■(A、OR,、)
ここで、■及び■は各々論理和及び排他的論理和を示す
記号であり、A15等の は否定を表わす記号である。
P = (A15■1)■(A14■1)(A13■1
) V (Al2O2) (A11■R3) (n◎■R
,) (Ae ■Rt) V (A, ■Ro) = Ats V A14A13A12 (A11 ■R3) V
(A+o■R,)V(A,■R+)■(A,OR,,)
Here, ■ and ■ are symbols representing a logical sum and an exclusive logical sum, respectively, and A15 and the like are symbols representing negation.

上記のPが1の場合はマイクロプロセッサ10がその時
実行している入出力制御ルーチンに属する作業領域以外
のROMII又はRAM12の領域にアクセスした事を
示すので、このPに命令フエ、ツチでないという条件の
論理積をとった信号が異常アドレス検出信号300であ
る。
If the above P is 1, it indicates that the microprocessor 10 has accessed an area of ROMII or RAM 12 other than the work area belonging to the input/output control routine that is being executed at that time, so the condition that this P is not an instruction error or a failure is required. The signal obtained by performing the AND operation is the abnormal address detection signal 300.

異常アドレス割込発生回路31は異常アドレス検出回路
30から異常アドレス検出信号300により異常アドレ
スの検出を知らされた時、マイクロプロセッサ10によ
り割込発生が許可されていれば、異常アドレス割込要求
信号310により割込制御回路22を介してマイクロプ
ロセッサ10に割込みを発生する。この割込要求はマイ
クロプロセッサ10が上位装置処理要求信号200又は
入出力アダプタ処理要求信号210による割込処理を行
っている間においても、マイクロプロセッサ10に割込
めるように割込制御回路22により高い優先順位が割当
てられている。
When the abnormal address interrupt generation circuit 31 is notified of the detection of an abnormal address by the abnormal address detection signal 300 from the abnormal address detection circuit 30, if interrupt generation is permitted by the microprocessor 10, the abnormal address interrupt generation circuit 31 generates an abnormal address interrupt request signal. 310 generates an interrupt to the microprocessor 10 via the interrupt control circuit 22. This interrupt request is set by the interrupt control circuit 22 so that the microprocessor 10 can be interrupted even while the microprocessor 10 is processing an interrupt based on the host device processing request signal 200 or the input/output adapter processing request signal 210. A priority is assigned.

基本処理ルーチンの異常アドレス割込処理ルーチンでは
上位装置にその旨通知する等の適当な障害処理を行う。
The abnormal address interrupt processing routine of the basic processing routine performs appropriate fault processing such as notifying the host device.

なお入出力制御ルーチンから基本処理ルーチンに正常に
戻ってきた時、基本処理ルーチンでは自分自身の処理に
よシ誤って異常アドレス割込みが発生しないよう異常ア
ドレス割込発生回路31を割込発生禁止状態に設定する
Note that when the input/output control routine returns normally to the basic processing routine, the basic processing routine sets the abnormal address interrupt generation circuit 31 to the interrupt generation disabled state so that an abnormal address interrupt will not be generated by mistake due to its own processing. Set to .

異常アドレスが検出されたときに、マイクロプロセッサ
へ異常アドレス割込を発生するようにしているが、要は
異常アドレスを検出して何等かの方法でシステムへこの
異常を告知するようにすれば良いものである。
When an abnormal address is detected, an abnormal address interrupt is generated to the microprocessor, but the point is to detect the abnormal address and notify the system of this abnormality in some way. It is something.

狭止の如く、本発明によれば、入出力制御ルーチンでの
不正なメモリへのアクセスを容易に、確実にかつ瞬時に
検出できるという効果がある。
As described above, the present invention has the advantage that unauthorized access to memory in an input/output control routine can be detected easily, reliably, and instantaneously.

特に、第2図に示した様に、入出力制御ルーチンの作業
領域のメモリ上におけるアドレスを固定化しておくこと
により、この固定化アドレスとメモリアクセスのときの
アドレスとの一致不一致が容易になされi巷、アドレス
異常検出回路の構成も簡略化される利点がある。
In particular, as shown in Figure 2, by fixing the address in the memory of the work area of the input/output control routine, it is easy to make a mismatch between the fixed address and the address at the time of memory access. There is an advantage that the configuration of the address abnormality detection circuit is also simplified.

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

第1図は本発明の実施例のブロック図、第2図は第1図
におけるメモリのメモリマツピングの例を示す図、第3
図は第2図の入出力制御ルーチンの作業領域のメモリア
ドレスの構成を示す図である。 主要部分の符号の説明 1・・・入出力制御装置 10・・・マイクロプロセッサ  11 、12・・・
メモリ22・・・割込制御回路
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of memory mapping of the memory in FIG. 1, and FIG.
This figure shows the structure of memory addresses of the work area of the input/output control routine of FIG. 2. Explanation of symbols of main parts 1... Input/output control device 10... Microprocessor 11, 12...
Memory 22...Interrupt control circuit

Claims (3)

【特許請求の範囲】[Claims] (1)メモリにおける記憶領域の少くとも1部をプログ
ラムの作業領域として使用し、前記プログラムの入出力
制御ルーチンにあつては前記記憶領の特定領域のみを作
業領域としてアクセスをなすようにして複数の入出力装
置の同時使用を可能としたマイクロプログラム制御の入
出力制御装置であつて、前記複数の入出力装置の1つの
処理要求の割込に応答して、この入出力装置に対応して
割当てられた前記特定領域内の作業領域の領域範囲を予
め格納する格納手段と、プロセッサからの前記作業領域
に対する命令フェッチ以外のアクセス時におけるアドレ
スが前記格納手段に格納されている領域範囲の外にある
ことを検出するアドレス異常検出手段とを含むことを特
徴とする入出力制御装置。
(1) At least a part of the storage area in the memory is used as a work area for a program, and in the input/output control routine of the program, only a specific area of the storage area is accessed as a work area, so that multiple A microprogram-controlled input/output control device that enables the simultaneous use of input/output devices, and in response to an interruption of a processing request of one of the plurality of input/output devices, storage means for storing in advance an area range of a work area within the allocated specific area; and an address outside the area range stored in the storage means when accessing the work area from a processor other than instruction fetch; An input/output control device comprising address abnormality detection means for detecting an abnormality in an address.
(2)前記記憶領域の全アドレスのうち上位nビットに
より前記入出力制御ルーチンの全作業領域が特定され、
また前記nビットに続くmビット(n、mは正の整数)
により前記入出力装置の各々に対して割当てられた各作
業領域が夫々特定されるようにメモリアドレスを設定し
ておき、前記格納手段は前記アドレスの(n+m)ビッ
トを格納し、前記アドレス異常検出手段は前記プロセッ
サからのアクセス時におけるアドレスの上位(n+m)
ビットと前記格納手段の(n+m)ビットとの一致不一
致を検出するよう構成されていることを特徴とする特許
請求の範囲第1項の入出力制御装置。
(2) All work areas of the input/output control routine are specified by the upper n bits of all addresses of the storage area,
Also, m bits following the above n bits (n and m are positive integers)
Memory addresses are set so that each work area assigned to each of the input/output devices is specified respectively, and the storage means stores (n+m) bits of the address, and the address abnormality detection The means is the upper address (n+m) at the time of access from the processor.
2. The input/output control device according to claim 1, wherein the input/output control device is configured to detect a coincidence or mismatch between a bit and (n+m) bits of the storage means.
(3)前記アドレス異常検出手段は、アドレス不一致検
出時にプロセッサへの割込要求信号を発生するよう構成
されていることを特徴とする特許請求の範囲第2項の入
出力制御装置。
(3) The input/output control device according to claim 2, wherein the address abnormality detection means is configured to generate an interrupt request signal to a processor when an address mismatch is detected.
JP19131884A 1984-09-12 1984-09-12 Input/output controlling device Pending JPS6168663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19131884A JPS6168663A (en) 1984-09-12 1984-09-12 Input/output controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19131884A JPS6168663A (en) 1984-09-12 1984-09-12 Input/output controlling device

Publications (1)

Publication Number Publication Date
JPS6168663A true JPS6168663A (en) 1986-04-09

Family

ID=16272559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19131884A Pending JPS6168663A (en) 1984-09-12 1984-09-12 Input/output controlling device

Country Status (1)

Country Link
JP (1) JPS6168663A (en)

Similar Documents

Publication Publication Date Title
US4500958A (en) Memory controller with data rotation arrangement
US4412281A (en) Distributed signal processing system
CA1119273A (en) Input/output data processing fault detection system
EP0316252B1 (en) Storage addressing error detection
GB1595438A (en) Computer input/output system with memory selection
US4509115A (en) Two-port memory controller
US4486834A (en) Multi-computer system having dual common memory
KR850000622B1 (en) Data processing system including internal register addressing arrangements
US3806716A (en) Parity error recovery
US6745341B1 (en) Information processing apparatus having fault detection for multiplex storage devices
JP3995883B2 (en) Memory protection system for multitasking systems
EP0117930B1 (en) Interactive work station with auxiliary microprocessor for storage protection
JPS6168663A (en) Input/output controlling device
JP4340669B2 (en) INPUT / OUTPUT CONTROL DEVICE, INPUT / OUTPUT CONTROL METHOD, PROCESS CONTROL DEVICE, AND PROCESS CONTROL METHOD
JPS6162142A (en) I/o controller
JPS6057091B2 (en) Common memory storage protection method
KR930001588B1 (en) Microprocessor
JPS63250753A (en) Memory access checking system
JPH01271844A (en) Tabletop electronic calculator
JPH02301836A (en) Data processing system
JPS6386053A (en) Information processor
JPS5936845A (en) Controlling device of communication
JPS62123551A (en) Memory device
JPH0431947A (en) Interface controller
JPH02297650A (en) Receiver