JPH0122938B2 - - Google Patents
Info
- Publication number
- JPH0122938B2 JPH0122938B2 JP56027491A JP2749181A JPH0122938B2 JP H0122938 B2 JPH0122938 B2 JP H0122938B2 JP 56027491 A JP56027491 A JP 56027491A JP 2749181 A JP2749181 A JP 2749181A JP H0122938 B2 JPH0122938 B2 JP H0122938B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- section
- input
- command
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
本発明は、データ処理システムにおけるチヤネ
ル制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a channel control method in a data processing system.
一般的なチヤネル装置(以下チヤネルと称す
る)の動作について以下に説明する。 The operation of a general channel device (hereinafter referred to as a channel) will be described below.
チヤネルは、プログラムにより与えられた形式
の制御情報を中央演算装置及び主記憶装置から受
けとり、あるいは読み出し、入出力装置に対して
起動をかける。チヤネル入出力装置間の入出力動
作が開始されると、中央演算装置は入出力動作か
ら開放されて他の処理を行なえる様になる。チヤ
ネルは、入出力装置との入出力インタフエースを
通じて入出力装置とのデータ転送を行なう。チヤ
ネルは転送されるデータを格納する(又は格納さ
れている)主記憶装置内のアドレスおよびデータ
転送量を表わすバイト・カウント等を保持するレ
ジスタを持つており、これらのレジスタを更新し
ながら転送制御を行なう。 The channel receives or reads control information in a format given by a program from the central processing unit and main memory, and activates the input/output device. When an input/output operation between the channel input/output devices is started, the central processing unit is released from the input/output operation and can perform other processing. A channel transfers data to and from an input/output device through an input/output interface with the input/output device. The channel has registers that hold the address in the main memory where the data to be transferred is stored (or is stored) and the byte count representing the amount of data transferred, and transfer control is performed while updating these registers. Do the following.
入出力動作は、入出力命令及びチヤネル・コマ
ンド・ワード(以下CCWと称する)によつて開
始される。CCWは、チヤネルと入出力装置によ
つて解読され実行される。1つのCCWあるいは
順次実行して行くように配列された一連のCCW
群が1つのチヤネル・プログラムを形成する。 I/O operations are initiated by I/O commands and channel command words (hereinafter referred to as CCWs). CCW is decoded and executed by channels and input/output devices. A CCW or a series of CCWs arranged to execute sequentially
A group forms a channel program.
入出力命令もCCWも主記憶装置から読み出さ
れるが、その形式は種々の入出力装置に共通であ
る。入出力開始命令(SiO、SiOF)は、チヤネ
ルと入出力装置を指定し、チヤネルに対して主記
憶装置内に用意されたチヤネル・プログラムの実
行を指示する。主記憶装置内に用意されたチヤネ
ル・プログラムの先頭アドレスは主記憶装置内の
固定したアドレス位置に格納されている。入出力
開始命令で指定されたチヤネルは、主記憶装置内
の固定したアドレス位置に格納されているチヤネ
ル・プログラムの先頭アドレスを示すチヤネル・
アドレス・ワード(CAW)を読み出し、その後、
このCAWによつて指定されたCCWを主記憶装置
から順次読み出して入出力装置との間で一連の入
出力動作を制御する。チヤネル・プログラムの実
行を終了すると、チヤネルは中央演算装置に終了
割込みを要求し、この要求が受付けられると主記
憶装置内の固定したアドレス位置へチヤネル・プ
ログラム終了結果を含む状況情報を格納する。以
下図により説明すると、第1図はCCWの形式を
示したものであり、図中、1はコマンド部、2は
データ・アドレス部、3はフラグ部、4はバイ
ト・カウント部である。コマンド部1は、更に以
下の7種類に分類される。無効コード、センスコ
マンド、チヤネル内とび起しコマンド、逆読みコ
マンド、書き込みコマンド、読み取りコマンド、
制御コマンドである。この内、無効コード、チヤ
ネル内とび越しコマンドは、チヤネルによつて処
理(実行)されて入出力装置へは通知されない。
他の5種類のコマンド・コードは、CCWの実行
開始の時点でチヤネルから入出力装置へ通知され
解読される。入出力装置はコマンド・コードを受
け取ると、コマンド・コードによつて定義された
入出力動作を開始する。データ・アドレス部2
は、入出力装置とチヤネルとの間で転送されるデ
ータの主記憶装置内におけるアドレス位置の先頭
アドレスを指定する。フラグ部3は、第2図に示
す形式であり、チヤネルに対してCCW及びチヤ
ネル・プログラムをどの様に実行すべきかを指定
する。バイト・カウント部4は、そのCCWによ
つてチヤネルと入出力装置間で転送されるべきデ
ータのバイト数を指定する。入出力開始命令によ
つてチヤネルが、その内部レジスタ上にCCWを
読み出してくると、コマンド部1はチヤネルで解
読されると共に、入出力装置に通知される。入出
力装置は、そのコマンドが実行可能か否かチヤネ
ルに通知する。実行可能な場合にはデータ転送が
開始される事になる。チヤネルは実行可能な通知
を受けると中央演算装置に入出力開始命令完了を
報告する。 Both I/O instructions and CCWs are read from main memory, but their format is common to various I/O devices. The input/output start command (SiO, SiOF) specifies a channel and an input/output device, and instructs the channel to execute a channel program prepared in the main memory. The start address of the channel program prepared in the main memory is stored at a fixed address location in the main memory. The channel specified by the I/O start command is a channel address indicating the start address of the channel program stored at a fixed address location in main memory.
Read the address word (CAW), then
The CCW specified by this CAW is sequentially read from the main memory to control a series of input/output operations with the input/output device. When the channel program finishes executing, the channel requests a termination interrupt from the central processing unit, and when this request is accepted, status information including the channel program termination result is stored at a fixed address location in main memory. The following will be explained with reference to figures. FIG. 1 shows the format of a CCW, in which 1 is a command section, 2 is a data address section, 3 is a flag section, and 4 is a byte count section. The command section 1 is further classified into the following seven types. Invalid code, sense command, channel jump command, reverse read command, write command, read command,
This is a control command. Among these, invalid codes and intra-channel jump commands are processed (executed) by the channel and are not notified to the input/output device.
The other five types of command codes are notified from the channel to the input/output device and decoded at the start of CCW execution. When an input/output device receives a command code, it initiates the input/output operation defined by the command code. Data address part 2
specifies the start address of the address location in the main memory of data transferred between the input/output device and the channel. The flag section 3 has the format shown in FIG. 2, and specifies how the CCW and channel program should be executed for the channel. The byte count section 4 specifies the number of bytes of data to be transferred between the channel and the input/output device by its CCW. When a channel reads the CCW onto its internal register in response to an input/output start command, the command part 1 is decoded by the channel and notified to the input/output device. The input/output device notifies the channel whether the command can be executed. If it is executable, data transfer will be started. When the channel receives notification that it can be executed, it reports completion of the input/output start command to the central processing unit.
入出力装置からチヤネルに対してデータの転送
が要求されると、チヤネルはデータ・アドレス部
で指定された主記憶装置内のアドレス位置に対し
てバイト・カウント部で指定されたバイト数分の
データ転送を行なう。入出力装置からは1バイト
単位にデータの転送要求が行なわれ、チヤネルは
その都度、バイト・カウント部を1づつ減算する
事によつて転送バイト数を管理する。データ転送
の途中でカウント部が零になると、チヤネルは、
フラグ部のビツト32が“ON”か否かを判定し
“ON”で有つた場合には現在実行していたCCW
に続いて主記憶装置内に用意されている新しい
CCWを読み出し、チヤネル内のレジスタのコマ
ンド部を除く部分を新しいCCWのものと置き換
えてデータ転送を続行する。これがデータ連鎖で
あり、読み取りコマンドの時には入出力装置から
転送された一連の連続したデータを異なつた主記
憶装置内のアドレス位置に格納する事ができる。
また、書込みコマンドの時には主記憶装置内の異
つたアドレス位置のデータを一連の連続したデー
タとして入出力装置へ転送する事ができる。デー
タ連鎖はチヤネルによつて行なわれるので、入出
力装置では関知しない。カウント部が零になつた
時にデータ連鎖の指定がない場合には、その
CCWの実行を終了するため、チヤネルは入出力
装置へデータ転送の終了を指示する。終了を指示
された入出力装置はデータ転送の要求を停止して
コマンドの実行の終了をチヤネルに報告する。
CCWのカウント部が入出力装置によつて転送さ
れるバイト数よりも大きな値を示していた場合に
は、カウント部が零になる前に入出力装置からコ
マンドの実行の終了が報告された事になる。 When an input/output device requests a channel to transfer data, the channel transfers data for the number of bytes specified in the byte count section to the address location in main memory specified in the data address section. Perform the transfer. Data transfer requests are made from the input/output device in units of bytes, and the channel manages the number of transferred bytes by subtracting 1 from the byte count section each time. If the count section becomes zero during data transfer, the channel will
Determine whether bit 32 of the flag part is “ON” or not, and if it is “ON”, the currently executed CCW
A new file prepared in main memory following
Read the CCW, replace the registers in the channel except for the command part with the new CCW, and continue data transfer. This is a data chain, and in the case of a read command, a series of consecutive data transferred from an input/output device can be stored at different address locations in main memory.
Furthermore, at the time of a write command, data at different address locations in the main memory can be transferred to the input/output device as a series of continuous data. Since the data chaining is done by channels, it is not concerned with the input/output devices. If no data chain is specified when the count section reaches zero, the
To end CCW execution, the channel instructs the input/output device to end data transfer. The input/output device that has been instructed to terminate stops requesting data transfer and reports the completion of command execution to the channel.
If the count part of the CCW indicates a value larger than the number of bytes transferred by the I/O device, the I/O device must have reported completion of command execution before the count part reaches zero. become.
チヤネルは、コマンド実行の終了が報告される
とカウント部の値とフラグ部の内容によつて、以
下の様にチヤネル・プログラムの実行の仕方を決
定する。 When the end of command execution is reported, the channel determines how to execute the channel program as follows, depending on the value of the count field and the contents of the flag field.
カウント部が零で、フラグ部のビツト33が
“ON”であると、新しいCCWを主記憶装置内
から読み出してきてコマンド部を含むチヤネル
のレジスタの内容を新しいCCWの内容によつ
て置き換えて入出力装置へ新しいコマンドを通
知し、新しいCCWを実行する。これをコマン
ド連鎖と称する。カウント部が零でなかつた時
は、フラグ部のビツト34を調べ、“ON”の
場合は、カウント部が零であつた時と同様にコ
マンド連鎖を行なう。 If the count part is zero and bit 33 of the flag part is "ON", a new CCW is read out from the main memory and the contents of the channel register including the command part are replaced with the contents of the new CCW and input. Notify the output device of the new command and execute the new CCW. This is called a command chain. If the count part is not zero, check bit 34 of the flag part, and if it is "ON", command chaining is performed in the same way as when the count part was zero.
上記以外のコマンド連鎖を行なわない場合に
は、実行を終了した時点の状況情報を作成して
中央演算装置に対して入出力終了割込みを要求
する。 If a chain of commands other than those described above is not performed, status information at the time when execution is completed is created and an input/output end interrupt is requested to the central processing unit.
入出力終了の割込みの要求が受付けられる
と、チヤネルは主記憶装置内の固定したアドレ
ス位置へ実行したCCWの次のアドレス位置と、
更新したバイト・カウントの内容及び状況情報
を格納しチヤネルの動作は終了する。以上が従
来技術における一般的なチヤネルの動作であ
る。 When an input/output end interrupt request is accepted, the channel transfers the next address location of the executed CCW to a fixed address location in main memory, and
The updated byte count contents and status information are stored and the channel operation ends. The above is the general channel operation in the prior art.
さて、データ処理システムにおいて、不定長の
複数のデータ・ブロツクを連続受信する場合があ
る。この受信動作を従来技術で実現する方法とし
ては、第1には1ブロツク毎に読み出しコマンド
を発行する方法、第2にはデータ連鎖を用いる方
法、第3にはコマンド連鎖を用いる方法が考えら
れる。第1の方法は、中央演算装置がブロツク毎
に入出力開始命令を発行しなければならないため
チヤネルとの間のやりとりが多くなるため、時間
がかかり、また、システムの性能低下を招く事に
なる。第2の方法は、受信するデータ・ブロツク
が不定長のため、用意したバイト・カウントと一
致する保障はなく、不一致の時点でデータ連鎖は
抑止される事になる。第3の方法は、各ブロツク
のデータ量を知る手段がなくなつてしまう欠点が
ある。すなわち、一連のコマンド連鎖において
は、最後に実行されたCCWの更新したバイト・
カウントの内容が通知されるのみであり、途中で
実行したCCWのバイト・カウントは知る事はで
きない。 Now, in a data processing system, there are cases where a plurality of data blocks of undefined length are continuously received. Possible methods for realizing this receiving operation using conventional technology include: first, issuing a read command for each block; second, using data chaining; and third, using command chaining. . In the first method, the central processing unit has to issue an input/output start command for each block, which increases the number of exchanges with the channels, which takes time and causes a decrease in system performance. . In the second method, since the received data block has an undefined length, there is no guarantee that it will match the prepared byte count, and data chaining will be inhibited at the point of mismatch. The third method has the disadvantage that there is no means to know the amount of data in each block. In other words, in a chain of commands, the updated byte/byte of the last executed CCW is
Only the contents of the count are notified, and the byte count of the CCW executed midway cannot be known.
本発明の目的は、上記した如く不定長の複数の
データ・ブロツクを連続受信する場合において、
従来技術では能力低下を招いていた受信動作を改
善する事にあり、従来技術では実現できなかつた
連鎖による各CCWのバイト数通知を実行できる
チヤネル装置を提供することにある。このため本
発明は中央演算装置から入出力命令を受領すると
主記憶装置からコマンド部、データ・アドレス
部、フラグ部およびカウント部からなるチヤネ
ル・コマンド・ワードを読出し、該コマンド部の
内容を入出力装置に通知するとともに、データ転
送時は該データ・アドレス部およびカウント部の
内容を更新するようにして主記憶装置と入出力装
置間のデータ転送を制御するチヤネル装置を有す
るデータ処理システムにおいて、上記主記憶装置
上のチヤネル・コマンド・ワード格納領域を各チ
ヤネル・コマンド・ワード間に所定のスペースが
もうけられるよう構成するとともに、上記フラグ
部に、特定条件発生のもとで上記スペース部に上
記チヤネル装置内の状態情報およびデータ転送量
情報を格納するよう指示する制御ビツトをもう
け、上記チヤネル装置内にて上記特定条件が発生
したとき上記状態情報およびデータ転送量情報を
当該処理中のチヤネル・コマンド・ワードの次の
アドレス位置にある上記スペース部に格納し、さ
らに該格納処理されたスペース部の次のアドレス
位置にあるチヤネル・コマンド・ワードを読出
し、該読出されたチヤネル・コマンド・ワードに
もとづいてデータ転送を続行することを特徴とす
る。 An object of the present invention is to, in the case of continuously receiving a plurality of data blocks of undefined length as described above,
The object of the present invention is to improve the receiving operation, which caused a decrease in performance in the prior art, and to provide a channel device that can notify the number of bytes of each CCW by chaining, which was not possible with the prior art. Therefore, when the present invention receives an input/output instruction from the central processing unit, it reads a channel command word consisting of a command section, a data address section, a flag section, and a count section from the main memory, and inputs/outputs the contents of the command section. In a data processing system having a channel device that controls data transfer between a main storage device and an input/output device by notifying the device and updating the contents of the data address field and the count field when data is transferred, The channel command word storage area on the main storage device is configured so that a predetermined space is provided between each channel command word, and the flag section is configured to store the channel command word in the space section under certain conditions. It has a control bit that instructs to store state information and data transfer amount information within the device, and when the above specific condition occurs in the channel device, the above state information and data transfer amount information are stored in the channel command being processed.・Storing the channel command word in the space section at the next address position of the word, and reading out the channel command word at the next address position of the space section which has been stored, and based on the read channel command word. The feature is that the data transfer is continued.
以下、本発明を実施例により説明する。第3図
は主記憶装置に格納されているCCWとチヤネル
内のレジスタを示したものであり、図中、10は
CAW保持レジスタ、20はデータ・アドレス・
レジスタ、30はフラグ・レジスタ、40はバイ
ト・カウント・レジスタ、50は状況情報レジス
タ、60〜6Nは主記憶装置のCCW領域、32
〜37は第2図で示したフラグ部の内容、38は
状況情報の格納を指示する状況格納指示ビツトで
ある。CAWレジスタ10はチヤネルが次に実行
すべきCCWのアドレスを保持するレジスタであ
り、入出力開始命令受付け時には主記憶装置の固
定アドレスから読み出したチヤネル・アドレス・
ワードを格納してチヤネル・プログラムの先頭ア
ドレスを与える。チヤネルはCCWを読み出して
くると、次に実行すべきCCWのアドレスを示す
ようにCAWレジスタ10の内容を更新する。デ
ータ・アドレス・レジスタ20、フラグ・レジス
タ30、バイト・カウント・レジスタ40の各レ
ジスタは、読み出してきたCCWを格納するレジ
スタであり、チヤネルはCCWの実行の進行に従
つて、データ・アドレス・レジスタ20とバイ
ト・カウント・レジスタ40の内容を更新する。
入出力装置と一連のデータ転送が終了し、入出力
装置からコマンド実行の終了が報告されると、前
記した如くバイト・カウント・レジスタ40と、
フラグ・レジスタ30の内容によつて、入出力終
了割込みを要求するか、又はコマンド連鎖の処理
がなされるが、本発明ではさらに以下に説明する
第4図に示す如く、本発明で導入したフラグ・レ
ジスタ30のビツト38(状況格納指示.ST)
が調べられる。第4図は、本発明による実施例の
チヤネルにおける制御信号作成回路の要部ブロツ
ク図であり、図中、第3図と同一番号のものは同
一のものを示し、60は零検出回路、61〜65
はアンド回路、66〜69は反転回路、70はオ
ア回路、71はバイト・カウント零信号線、72
は入出力装置からのコマンド終了信号線、73は
データ連鎖信号線、74は入出力終了割込み信号
線、75は状況情報格納信号線、76はコマンド
連鎖信号線である。 The present invention will be explained below using examples. Figure 3 shows the CCW stored in the main memory and the registers in the channel, and in the figure, 10 is
CAW holding register, 20 is data address
Registers, 30 is a flag register, 40 is a byte count register, 50 is a status information register, 60 to 6N are CCW areas of main memory, 32
37 are the contents of the flag portion shown in FIG. 2, and 38 is a status storage instruction bit for instructing storage of status information. The CAW register 10 is a register that holds the address of the CCW to be executed next by the channel. When receiving an input/output start command, the CAW register 10 is a register that holds the address of the CCW to be executed next by the channel.
Stores a word to give the start address of the channel program. When the channel reads the CCW, it updates the contents of the CAW register 10 to indicate the address of the CCW to be executed next. The data address register 20, flag register 30, and byte count register 40 are registers that store the CCW that has been read out, and the channel stores the data address register as the CCW execution progresses. 20 and the contents of byte count register 40 are updated.
When a series of data transfers with the input/output device are completed and the input/output device reports completion of command execution, the byte count register 40 and
Depending on the contents of the flag register 30, an input/output end interrupt is requested or command chain processing is performed.・Bit 38 of register 30 (Status storage instruction.ST)
can be investigated. FIG. 4 is a block diagram of main parts of a control signal generation circuit in a channel according to an embodiment of the present invention. In the figure, the same numbers as in FIG. 3 indicate the same components, 60 is a zero detection circuit, 61 ~65
is an AND circuit, 66 to 69 are inverting circuits, 70 is an OR circuit, 71 is a byte count zero signal line, 72
73 is a data chain signal line, 74 is an input/output end interrupt signal line, 75 is a status information storage signal line, and 76 is a command chain signal line.
入出力装置から信号線72によつてコマンド実
行の終了が報告されたとき、フラグ・レジスタ3
0のビツト38(ST)が“OFF”の場合は、ア
ンド回路65の出力が“ON”となり、従来技術
通りコマンド連鎖がなされるが、該ビツト38
(ST)が“ON”の場合は、アンド回路64の出
力が“ON”となり、チヤネル・レジスタのバイ
ト・カウント・レジスタ40と状況情報レジスタ
50の内容がCAWレジスタ10で示す主記憶装
置のCCW領域へ格納されるよう制御が行なわれ
る。さらに、該格納後は次に実行すべきCCWを
示すようにCAWレジスタ10は更新される。以
後はコマンド連鎖と同様にCAWレジスタ10で
示す実行すべきCCWを読み出し、チヤネルの各
レジスタに格納し入出力動作は続行される。すな
わち、本発明によればフラグ・レジスタ30のビ
ツト33(CC)とビツト38(ST)が指示され
ると現在実行中のCCW領域の次のCCW領域は格
納領域として使用し、次に実行するCCWは、こ
の格納領域の次の領域にあるCCWであることに
なる。第5図は実施例における主記憶装置の
CCW領域を示し、図中A側は入出力命令発行前
の内容の1例を示し、図中B側は入出力命令終了
後の内容の1例を示したものである。図中、
READ1で受信したブロツク長を仮に100バイト
とすると、READ1を指定したCCWの次のCCW
領域には状況情報とともに残りバイト・カウント
値50が格納される。更にREAD2で受信したブ
ロツク長を仮に150バイトとするとREAD2で指
定したCCWの次のCCW領域には、状況情報とと
もに残りバイト・カウンタ値が格納されるが、本
例では0となる。以下同様に格納されるわけであ
るが、最後のCCWはフラグ・レジスタ30のビ
ツト33(CC)及びビツト38は指示する必要
はない。最後のCCWの状況情報及び残りバイ
ト・カウント値は入出力命令終了割込みとして主
記憶装置の固定番地(CSW)に格納される。 When the end of command execution is reported from the input/output device via signal line 72, flag register 3
When bit 38 (ST) of 0 is "OFF", the output of the AND circuit 65 is "ON", and command chaining is performed as in the prior art.
(ST) is “ON”, the output of the AND circuit 64 is “ON”, and the contents of the byte count register 40 of the channel register and the status information register 50 are the CCW of the main memory device indicated by the CAW register 10. Control is performed so that the data is stored in the area. Furthermore, after the storage, the CAW register 10 is updated to indicate the CCW to be executed next. Thereafter, similarly to the command chain, the CCW to be executed indicated in the CAW register 10 is read out and stored in each register of the channel, and the input/output operation is continued. That is, according to the present invention, when bits 33 (CC) and 38 (ST) of the flag register 30 are specified, the CCW area next to the CCW area currently being executed is used as a storage area, and the next execution is executed. The CCW will be the CCW in the area next to this storage area. Figure 5 shows the main memory in the embodiment.
The CCW area is shown, and side A in the figure shows an example of the contents before the input/output command is issued, and side B in the figure shows an example of the contents after the input/output command is completed. In the figure,
Assuming that the block length received with READ1 is 100 bytes, the CCW next to the CCW that specified READ1
The remaining byte count value 50 is stored in the area along with status information. Furthermore, assuming that the block length received in READ2 is 150 bytes, the remaining byte counter value is stored together with status information in the CCW area next to the CCW specified in READ2, which is 0 in this example. The following data are stored in the same manner, but the last CCW does not need to be specified by bits 33 (CC) and 38 of the flag register 30. The status information and remaining byte count value of the last CCW are stored at a fixed address (CSW) in main memory as an input/output instruction end interrupt.
以上説明したように、本発明によればデータ処
理システムにおいて不定長の複数のデータ・ブロ
ツクを連続受信する場合でも、中央演算装置に負
荷をかける事なく容易に受信処理を実現できる。 As described above, according to the present invention, even when a plurality of data blocks of undefined length are continuously received in a data processing system, the reception processing can be easily realized without imposing a load on the central processing unit.
第1図はチヤネル・コマンド・ワード(CCW)
の形式を示す図、第2図はフラグ部の形式を示す
図、第3図は主記憶装置に格納されているチヤネ
ル・コマンド・ワード(CCW)とチヤネル内の
レジスタの関係を示す図、第4図は本発明による
実施例のチヤネルにおける制御信号作成回路の要
部ブロツク図、第5図は実施例における主記憶装
置のチヤネル・コマンド・ワード(CCW)領域
の使用態様を説明する図である。
図中、30はフラグ・レジスタ、40はバイ
ト・カウント・レジスタ、75は状況情報格納信
号である。
Figure 1 shows the channel command word (CCW)
FIG. 2 is a diagram showing the format of the flag section. FIG. 3 is a diagram showing the relationship between the channel command word (CCW) stored in the main memory and registers in the channel. FIG. 4 is a block diagram of the main part of a control signal generation circuit in a channel according to an embodiment of the present invention, and FIG. 5 is a diagram illustrating how the channel command word (CCW) area of the main memory device is used in the embodiment. . In the figure, 30 is a flag register, 40 is a byte count register, and 75 is a status information storage signal.
Claims (1)
記憶装置からコマンド部、データ・アドレス部、
フラグ部およびカウント部からなるチヤネル・コ
マンド・ワードを読出し、該コマンド部の内容を
入出力装置へ通知するとともに、データ転送時は
該データ・アドレス部およびカウント部の内容を
更新するようにして主記憶装置と入出力装置間の
データ転送を制御するチヤネル装置を有するデー
タ処理システムにおいて、上記主記憶装置上のチ
ヤネル・コマンド・ワード格納領域を各チヤネ
ル・コマンド・ワード間に所定のスペースがもう
けられるよう構成するとともに、上記フラグ部
に、特定条件発生のもとで上記スペース部に上記
チヤネル装置内の状態情報およびデータ転送量情
報を格納するよう指示する制御ビツトをもうけ、
上記チヤネル装置内にて上記特定条件が発生した
とき上記状態情報およびデータ転送量情報を当該
処理中のチヤネル・コマンド・ワードの次のアド
レス位置にある上記スペース部に格納し、さらに
該格納処理されたスペース部の次のアドレス位置
にあるチヤネル・コマンド・ワードを読出し、該
読出されたチヤネル・コマンド・ワードにもとづ
いてデータ転送を続行することを特徴とするチヤ
ネル制御方式。1 When an input/output command is received from the central processing unit, the command section, data address section,
The channel command word consisting of a flag section and a count section is read out, the contents of the command section are notified to the input/output device, and the contents of the data address section and count section are updated during data transfer. In a data processing system having a channel device that controls data transfer between a storage device and an input/output device, a predetermined space is provided between each channel command word in the channel command word storage area on the main storage device. The flag section includes a control bit that instructs the space section to store state information and data transfer amount information in the channel device under the occurrence of a specific condition,
When the specific condition occurs in the channel device, the status information and data transfer amount information are stored in the space section located at the address next to the channel command word being processed, and the storage processing is further performed. A channel control method characterized in that a channel command word located at the next address position of a space portion that has been read is read out, and data transfer is continued based on the read channel command word.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2749181A JPS57141737A (en) | 1981-02-26 | 1981-02-26 | Channel controlling system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2749181A JPS57141737A (en) | 1981-02-26 | 1981-02-26 | Channel controlling system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57141737A JPS57141737A (en) | 1982-09-02 |
| JPH0122938B2 true JPH0122938B2 (en) | 1989-04-28 |
Family
ID=12222597
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2749181A Granted JPS57141737A (en) | 1981-02-26 | 1981-02-26 | Channel controlling system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57141737A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5943771B2 (en) * | 1977-04-22 | 1984-10-24 | 日本電気株式会社 | Input/output control method |
-
1981
- 1981-02-26 JP JP2749181A patent/JPS57141737A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57141737A (en) | 1982-09-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0464615B1 (en) | Microcomputer equipped with DMA controller | |
| US4974143A (en) | Information processing apparatus wherein address path is used for continuous data transfer | |
| JPH0332818B2 (en) | ||
| EP0220990A2 (en) | Buffer storage control system | |
| JPH0221619B2 (en) | ||
| JPH0122938B2 (en) | ||
| JP2533886B2 (en) | Data transfer method | |
| JPS6048563A (en) | Channel control system | |
| JPS6240736B2 (en) | ||
| JPH0425581B2 (en) | ||
| JP2594611B2 (en) | DMA transfer control device | |
| JPH10133997A (en) | Dma controller | |
| JP2552025B2 (en) | Data transfer method | |
| JPS6149695B2 (en) | ||
| JPS59144955A (en) | Information processor | |
| JPH0424733B2 (en) | ||
| JPS6174045A (en) | Channel control system in multi-processor system | |
| JPS63137350A (en) | Execution control system for channel program | |
| JPS63132362A (en) | Command operation control system | |
| JPH05233482A (en) | Data transfer system | |
| JPH0347536B2 (en) | ||
| JPH0395652A (en) | Storage device for duplex system | |
| JPH071494B2 (en) | Channel command word chain device | |
| JPS60103473A (en) | Data transfer control system | |
| JPS63304345A (en) | Control system for memory request |