JPS59109928A - Input and output control system - Google Patents

Input and output control system

Info

Publication number
JPS59109928A
JPS59109928A JP21961082A JP21961082A JPS59109928A JP S59109928 A JPS59109928 A JP S59109928A JP 21961082 A JP21961082 A JP 21961082A JP 21961082 A JP21961082 A JP 21961082A JP S59109928 A JPS59109928 A JP S59109928A
Authority
JP
Japan
Prior art keywords
input
output
address
data
memory
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
JP21961082A
Other languages
Japanese (ja)
Inventor
Mitsumasa Okamoto
光正 岡本
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP21961082A priority Critical patent/JPS59109928A/en
Publication of JPS59109928A publication Critical patent/JPS59109928A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

PURPOSE:To realize input/output control based upon Unix on a computer system by adding a hardware circuit which monitors address data and causes an interruption when the address data coincides with internally registered address data. CONSTITUTION:An existent computer system is provided with an input/output address detecting circuit 27 which assigns some of addresses of a main memory 22 for an input/output area and monitors address data transmitted through a memory bus 23 to cause an interruption to a CPU21 when the address data on the bus coincides with internally registered address. The CPU21 receives the interruption caused by the input/output address detecting circuit 27 to judge input/output devices 24 and 25 to which data is to be transferred, and performs the data transfer through an input/output bus 26.

Description

【発明の詳細な説明】 本発明はプログラマの負担を軽減した入出力制御方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output control method that reduces the burden on programmers.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

近年、計算機システムにおいては、LSIの発展、進歩
によりハードウェア価格が低置で巨つコンミ4クトに実
装される様になった。これに呼応して、ソフトウェア面
においてもオペレーティングシステム及びその他ソフト
ウェアに対する標準化の動きが高まり、その代表的なも
のの一つとしてUnixと称される標準オペレーティン
グシステムがBe1l研究所で開発された。
In recent years, with the development and advancement of LSI, computer systems have come to be implemented in large computer systems at low hardware prices. In response to this, there has been an increasing movement towards standardization of operating systems and other software in the software field, and one of the most representative of these is the development of a standard operating system called Unix at the Bel Institute.

このUnixは当初DEC社のPDpHO上で動作する
よう開発されたものであるため、DEC社のマシン構造
に従うところが多く、このUnixを他の思想のもとに
作られたマシンで動かそうとすると困難な点が幾つか生
じてくる。
Since this Unix was originally developed to run on DEC's PDpHO, it often follows DEC's machine structure, making it difficult to run this Unix on machines created based on other ideas. Several points arise.

その−例を以下に図面を参照して説明する。An example thereof will be explained below with reference to the drawings.

通常、比較的小形に属する計算機システムは第1図に示
す如く構成される。この様に構成される計算機システム
において、CPU11と主メモリ12との間のデータ転
送はメモリパス13を介して行なわれ、CPU11と入
出力デバイス14.15間のデータ転送は入出力パス1
6を介して行なわれる。
Usually, a relatively small computer system is configured as shown in FIG. In the computer system configured in this manner, data transfer between the CPU 11 and the main memory 12 is performed via the memory path 13, and data transfer between the CPU 11 and the input/output devices 14 and 15 is performed via the input/output path 1.
This is done via 6.

ところで、上記DEC社のマシンの入出力はメモリマツ
ブトIO(入出力レジスタが主メモリ上に割りつけられ
る)が前提であり、従って入出力ドライバ(入出力制御
を行なうためのプログラムルーチン)は主メモリ上にマ
ツプされた入出力レジスタをアクセスすることにより入
出力動作を行なうことができる。
By the way, the input/output of the above-mentioned DEC machine is based on the memory IO (input/output registers are allocated on the main memory), so the input/output driver (program routine for controlling input/output) is stored on the main memory. Input/output operations can be performed by accessing the input/output registers mapped to the .

しかしながら第1図に示した従来構成の計算機システム
では上記メモリマツブトIOをサポートするハードウェ
ア機能は用型されておらず、ソフトウェアにより対処せ
ざるを得ない。
However, in the computer system with the conventional configuration shown in FIG. 1, the hardware function to support the memory IO is not available, and the problem must be handled by software.

従って、データ転送の1類(cptrH主メモリ、CP
U−人出力デバイス)に応じて異なった命令が岸在し、
プログラマは都度その使い分けを強いられ、ソフトウェ
ア及びプログラマにかかる負担が大きかった。
Therefore, data transfer type 1 (cptrH main memory, CP
There are different commands depending on the output device (U-person output device),
Programmers were forced to use different methods each time, placing a heavy burden on the software and the programmer.

〔発明の目的〕[Purpose of the invention]

本発明は上記欠点に鑑みてなされたものであり、簡単な
ハードウェアの追加により、現行の計算機システムにお
いてもUnixで規定されている入出力を効率良くコン
トロールすると共に、ソフトウェアにかかる負担を軽減
した入出力制御方式を提供することを目的とする。
The present invention has been made in view of the above-mentioned drawbacks, and by simply adding hardware, it is possible to efficiently control input/output specified by Unix even in current computer systems, and to reduce the burden on software. The purpose is to provide an input/output control method.

〔発明の概要〕[Summary of the invention]

本発明は、現行の計算機システムにおいて、主メモリの
アドレスの一部を入出力用のエリアとして割りつけると
共に、メモリパス上を伝播するアドレスデータを監視し
、内部に登録されたアドレスデータと一致したときにC
PUに対し割込みを発するハードフェア回路を設け、C
PUはこのハードウェア回路より発せられる割込みを受
信することにより、データ転送を行なうべき入出力デバ
イスを判別し、入出力パスを介してデータ転送を行なう
構成どしたものである。
The present invention allocates a part of the main memory address as an input/output area in the current computer system, monitors the address data propagated on the memory path, and checks whether the address data matches the internally registered address data. Sometimes C
A hardware circuit that issues an interrupt to the PU is provided, and the C
The PU is configured to receive an interrupt issued by this hardware circuit, determine the input/output device to which data should be transferred, and transfer the data via the input/output path.

このことにより現行の計帷機システムにおいてもUni
xを効率良く走らせると共に、ソフトウェアにかかる負
担が軽減される。
As a result, even in the current meter system, Uni
x can be run efficiently and the burden placed on the software is reduced.

〔発明の実施例〕[Embodiments of the invention]

以下、第2図以降を使用して本発明に関し詳述する。 The present invention will be described in detail below using FIG. 2 and subsequent figures.

第2図は本発明が実現される計算機システムの構成例を
示すブロック図である。図において、21は制御中枢と
なるCPUであるっ22は主メモリ、24.25は入出
力デバイスであり、それぞれメモリパス23.入出力パ
ス26を介して上記CPU21と接続される。メモリパ
ス26はCPU、?Jと入出力デバイス24.25との
データ転送時、その転送データの)4スとなるものであ
る。
FIG. 2 is a block diagram showing an example of the configuration of a computer system in which the present invention is implemented. In the figure, 21 is a CPU serving as the control center, 22 is a main memory, 24.25 is an input/output device, and memory paths 23.25 are input/output devices, respectively. It is connected to the CPU 21 via an input/output path 26. Memory path 26 is CPU,? When data is transferred between J and the input/output devices 24 and 25, this is the 4th path of the transferred data.

第1図に示した従来構成の計算機システムとは入出力ア
ドレス検出回路υが付加されている点で異なる。この入
出力アドレス検出回路27は、CPU21と、このCP
U、?Jから発せられる主メモリυ上のアドレスが伝播
するメモリアドレスバス231との間に接続される。本
発明において、入出力アドレス検出回路27はメモリパ
ス23上を伝播するアドレスデータを監視し1この入出
カニリアへのアクセスであることを検出した場合に限り
、割込み信号(INT)をCPU21に対し出力する。
This differs from the conventional computer system shown in FIG. 1 in that an input/output address detection circuit υ is added. This input/output address detection circuit 27 is connected to the CPU 21 and this CPU.
U,? It is connected to a memory address bus 231 through which the address on the main memory υ issued from J is propagated. In the present invention, the input/output address detection circuit 27 monitors the address data propagating on the memory path 23 and outputs an interrupt signal (INT) to the CPU 21 only when it detects an access to this input/output canister. do.

主メモリU上にマツピングされた入出力インターフェー
スレジスタのフォーマットを第3図に、入出力アドレス
検出回路だの内部構成を第4図に示す。
FIG. 3 shows the format of the input/output interface register mapped onto the main memory U, and FIG. 4 shows the internal configuration of the input/output address detection circuit.

本発明実施例では、64にバイト存在するメモリ空間中
、2にバイト容量を入出カニリアとし、アドレスx’5
ooo’〜X’FFFF’にマツピングされている。X
 ’ 8000’+EIN番地には、デバイスアドレス
Nの入出力インターフェースアドレスがマツピングされ
ており、入出力インターフェースレジスタとして、コマ
ンドコードが設定されるコマンドレジスタ(COM)。
In the embodiment of the present invention, in a memory space of 64 bytes, the byte capacity is set to 2 as an input/output canister, and address x'5
It is mapped to ooo' to X'FFFF'. X
The input/output interface address of device address N is mapped to address '8000'+EIN, and the input/output interface register is a command register (COM) in which a command code is set.

スティタスレジスタ(STS)、READ/WRITE
命令で送受すべきデータが設定されるデータレジスタ(
DAT )で割つけられることは言うまでもない。
Status register (STS), READ/WRITE
Data register (
Needless to say, it can be assigned by DAT).

アドレス検出回路27は、CPU21によりアFL/ス
データが設定されるレジスタファイル27ノと、このレ
ジスタファイル271に設定されたアドレス値とメモリ
アドレスバス231を介して到来するアドレスデータと
を比較するコンノ平レータ272とで構成される。この
コン・ぐレータ272出力は、CPU21に対し割込み
信号(INT)として通知される。
The address detection circuit 27 is a register file 27 in which address data is set by the CPU 21, and a controller that compares the address value set in this register file 271 with the address data arriving via the memory address bus 231. 272. The output of this converter 272 is notified to the CPU 21 as an interrupt signal (INT).

通常CPU21と主メモ+)22のデータ転送は、CP
U21よりメモリアドレスバス231に対し、主メモリ
22上のメモリアドレスデータを出力し、主メモリ22
はそのメモリアドレスに該当するメモリ素子に対し、メ
モリデータバス232上のデータを書込んだり、メモリ
データバス232上を伝播するデータを続出したりする
。ここで、メモリアドレスバス23ノ上のアドレスデー
タが入出力アドレス検出回路ど内部のデータ(レジスタ
ファイル27)へ事前にCPU21により登録されであ
るアドレスデータ)と−敗すると、入出力アドレス検出
回路27はCPU 21に対しアドレス検出割込み信号
(INT)を出力する。
Normally, data transfer between the CPU 21 and the main memo +) 22 is
U21 outputs memory address data on the main memory 22 to the memory address bus 231, and
writes data on the memory data bus 232 to the memory element corresponding to the memory address, or outputs data propagated on the memory data bus 232 one after another. Here, if the address data on the memory address bus 23 is registered in advance in the data (register file 27) inside the input/output address detection circuit by the CPU 21), the input/output address detection circuit 27 outputs an address detection interrupt signal (INT) to the CPU 21.

入出力アドレス検出回路27は、メモリアドレスバス2
31上の上位複数ビットを監視することにより、メモリ
空間の一部(x’5ooo’〜X’FFF’Fにアドレ
ス配置された2にバイトの空間)を入出力デバイスアド
レスとして検出する。
The input/output address detection circuit 27 is connected to the memory address bus 2.
By monitoring a plurality of high-order bits on 31, a part of the memory space (space of 2 bytes with addresses arranged in x'5ooo' to X'FFF'F) is detected as an input/output device address.

CPU2Jは、上記入出力アドレス検出回路だよりアド
レス検出割込み信号(INT)を受信すると、メモリア
ドレスバス231上を伝播するアドレスデータにより、
データ転送すべき入出力デバイスを判別し、該当する入
出力デバイスと入出力パス26を介してデータ転送を行
なう。
When the CPU 2J receives the address detection interrupt signal (INT) from the input/output address detection circuit, the CPU 2J uses the address data propagated on the memory address bus 231 to
The input/output device to which data should be transferred is determined, and the data is transferred via the corresponding input/output device and the input/output path 26.

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

以上説明の如く本発明によれば、既存の計算機システム
に簡単なハードウェアを付加するだけでUnixに従っ
た入出力制御を実現することができる。又、プログラマ
は人出デバイスとのデータ転送を主メモリとのデータ転
送と同様に扱うことができる。従ってプログラムを作]
戊するうえで入出力デバイスを何等意識する必要がなく
自損が軽減される。
As described above, according to the present invention, input/output control according to Unix can be realized by simply adding simple hardware to an existing computer system. Also, the programmer can treat data transfers to and from the attended device in the same way as data transfers to and from main memory. Create a program accordingly]
There is no need to be aware of the input/output devices when performing the operation, and self-loss is reduced.

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

第1図は従来の計算機システムの構成例を示すブロック
図、第2図は本発明が実現される計算機システムの構成
例を示すブロック図、第3図は主メモリ上にマツピング
された入出力インターフェースレジスタのフォーマット
を示す図、第4図は第2図に示した入出力アドレス検出
回路の実施例を示すブロック図である。 22・・・主メモリ、25・・・メモリパス、27・・
・入出力アドレス検出回路、27ノパ°レジスタファイ
ル、272・・eコンノ9レータ。 出願人代理人  弁理士 鈴 江 武 彦第1図 第3図 仏 第2図 第4図 1−一一一ラテ一一一−1
Figure 1 is a block diagram showing a configuration example of a conventional computer system, Figure 2 is a block diagram showing a configuration example of a computer system in which the present invention is implemented, and Figure 3 is an input/output interface mapped on main memory. FIG. 4 is a block diagram showing an embodiment of the input/output address detection circuit shown in FIG. 2, which shows the format of the register. 22...Main memory, 25...Memory path, 27...
- Input/output address detection circuit, 27 register file, 272... e-conno 9 regulator. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 3 Buddha Figure 2 Figure 4 1-111 Latte 111-1

Claims (1)

【特許請求の範囲】[Claims] 主メモリとはメモリパスを介して接続され、入出力デバ
イスとは人出カパス金介して接続されるCPUを制御中
枢としてデータ転送がなされる計算機システムにおいて
上記CPUは上記メモリパス上を伝播するアドレスデー
タを監視し、内部に登録されたアドレスデータと一致し
たとよアドレス検出回路により生成されるアドレス検出
割込みを受信することKよリデータ転送を行なうべ前人
出方デバイスを判別し、上記入出力パスを介して該当す
る入出力デバイスとデータ転送を行なうことを特徴とす
る入出力制御方式。
In a computer system in which data transfer is performed using a CPU as a control center, the main memory is connected via a memory path, and the input/output device is connected via an input/output device. Monitor the data, and if it matches the address data registered internally, receive the address detection interrupt generated by the address detection circuit. An input/output control method characterized by transferring data to the corresponding input/output device via a path.
JP21961082A 1982-12-15 1982-12-15 Input and output control system Pending JPS59109928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21961082A JPS59109928A (en) 1982-12-15 1982-12-15 Input and output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21961082A JPS59109928A (en) 1982-12-15 1982-12-15 Input and output control system

Publications (1)

Publication Number Publication Date
JPS59109928A true JPS59109928A (en) 1984-06-25

Family

ID=16738222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21961082A Pending JPS59109928A (en) 1982-12-15 1982-12-15 Input and output control system

Country Status (1)

Country Link
JP (1) JPS59109928A (en)

Similar Documents

Publication Publication Date Title
US4163280A (en) Address management system
EP0136560B1 (en) Loosely coupled multiprocessor system capable of transferring a control signal set by the use of a common memory
US5146605A (en) Direct control facility for multiprocessor network
JPH0232659B2 (en)
EP0139254A2 (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfer
EP0290942B1 (en) Guest machine execution control system for virtual machine system
US4814977A (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfers
JPS59109928A (en) Input and output control system
US5561818A (en) Microprocessor and data processing system for data transfer using a register file
JPH03656B2 (en)
EP0117837B1 (en) User programmable bus configuration for microcomputers
JPS605369A (en) Memory control system
JPS61269545A (en) Computer system
JP2837522B2 (en) I / O instruction control method
EP0316251A2 (en) Direct control facility for multiprocessor network
JP2825589B2 (en) Bus control method
JPH0467215B2 (en)
JPS6020779B2 (en) Composite computer system
JPS6159565A (en) Interrupt input device of multicomputer system
JPS61165160A (en) Bus controlling system
JP3190694B2 (en) Diagnostic method for local memory
JPS6243408Y2 (en)
JPH03252831A (en) Method for collecting ras information by dma transfer
JP2003186666A (en) Microcomputer and dma control circuit
JPS6227855A (en) Deleting system for initial program loading fixed memory device