JPH04296959A - Dma transfer control system - Google Patents

Dma transfer control system

Info

Publication number
JPH04296959A
JPH04296959A JP135291A JP135291A JPH04296959A JP H04296959 A JPH04296959 A JP H04296959A JP 135291 A JP135291 A JP 135291A JP 135291 A JP135291 A JP 135291A JP H04296959 A JPH04296959 A JP H04296959A
Authority
JP
Japan
Prior art keywords
transfer
cache
address
memory
storage device
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
JP135291A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Miki
三木 良行
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 JP135291A priority Critical patent/JPH04296959A/en
Publication of JPH04296959A publication Critical patent/JPH04296959A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the performance of a DMA transfer control system by reducing the overhead caused by a page fault. CONSTITUTION:When a page fault occurs, a CPU 1 instructs a secondary storage 4 to read the relevant page and also instructs a DMA transfer device 6 to transfer the page to a main storage MS 5. Thus the CPU 1 writes a transfer destination address, a page fault address, and a cache block size. The secondary storages 3 and 4 reads the pages with instructions and output these pages to a system bus 7. A DMA transfer device 6 transfers the outputted date and the transfer destination address to the MS 5 and at the same time compares the transfer destination address with the page fault address. When the coincidence is obtained between both addresses, the device 6 activates the write signal to be applied to a cache memory 2 end then inactivates the write signal when the transfer of date equivalent to a single block size of the memory 2 is over. Then the memory 2 fetches the transfer destination address and the date outputted to the bus 7 and writes them in the memory 2 when a cache write signal is activated.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は仮想記憶方式、キャッシ
ュ記憶装置を採用する情報処理装置におけるDMA転送
制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA transfer control method in an information processing apparatus employing a virtual storage method and a cache storage device.

【0002】0002

【従来の技術】DMA転送装置は、磁気ディスク装置,
通信装置,ディスプレイ装置などの入出力装置が共通デ
ータ転送経路に接続されたときに応答時間を上げるため
に入出力装置(以下IOという)と主記憶装置との間の
データ転送を中央処理装置(以下CPUという)に代わ
って高速に行うためのものである。
[Prior Art] A DMA transfer device is a magnetic disk device,
When input/output devices such as communication devices and display devices are connected to a common data transfer path, data transfer between the input/output devices (hereinafter referred to as IO) and the main storage device is performed by the central processing unit (hereinafter referred to as IO) in order to increase response time. This is to perform high-speed processing in place of the CPU (hereinafter referred to as the CPU).

【0003】キャッシュ記憶装置は、主記憶装置内の頻
繁にアクセスされる部分を記憶する高速のメモリで、C
PUからメモリの見かけ上のメモリ・アクセス時間を短
縮するものである。CPUがキャッシュ記憶装置にない
データをアクセスするとキャッシュ・ミスヒットが発生
し、主記憶装置にそのデータを含むブロックを読出すこ
とになる。
Cache storage is a high-speed memory that stores frequently accessed portions of main memory.
This reduces the apparent memory access time from the PU to the memory. A cache miss occurs when the CPU accesses data that is not in cache storage, resulting in reading the block containing the data into main storage.

【0004】従来、デマンド・ページングによる仮想記
憶方式を採用する中央処理装置では、プログラム実行開
始時には、プログラムは磁気ディスク等の2次記憶装置
に入っており、命令実行中必要となるページのみを主記
憶装置内に入れて実行する。このため命令実行中にまだ
主記憶装置内にないページをアクセスするとページ・フ
ォールト例外が発生する。
Conventionally, in a central processing unit that employs a virtual storage system based on demand paging, the program is stored in a secondary storage device such as a magnetic disk when program execution starts, and only the pages needed during instruction execution are stored as the main processor. Put it in your storage device and run it. Therefore, if a page that is not yet in main memory is accessed during instruction execution, a page fault exception will occur.

【0005】ページ・フォールトが発生すると、CPU
は2次記憶装置に対して読出しコマンドを発行し、DM
A転送装置に対してIOからメモリへ転送コマンドを発
行し、ページ・フォールトを発生したプログラムをサス
ペンド状態にして、転送終了割り込みが入るのを待つ。
[0005] When a page fault occurs, the CPU
issues a read command to the secondary storage device, and DM
Issue a transfer command from IO to memory to transfer device A, suspend the program that caused the page fault, and wait for a transfer end interrupt.

【0006】転送終了後、仮想アドレス変換テーブルを
更新し、そのプログラムを再起動する。再起動時、ペー
ジ・フォールトは発生しないので、次のページ・フォー
ルトが発生するまでプログラムは実行される。ページ・
フォールト発生時、再起動時はキャッシュ記憶装置には
そのページのデータは入っていないので、キャッシュ・
ミスが発生する。
After the transfer is completed, the virtual address translation table is updated and the program is restarted. When restarted, no page fault occurs, so the program continues to run until the next page fault occurs. page·
When a fault occurs and the page is restarted, the cache storage device does not contain the data for that page, so the cache
Mistakes occur.

【0007】[0007]

【発明が解決しようとする課題】このように従来のDM
A転送装置においては、ページ・フォールト時に2次記
憶装置へのアクセス、キャッシュ・ミスによる読出し等
が発生して処理時間がかかり、CPUの処理性能が低下
することになる。
[Problem to be solved by the invention] In this way, conventional DM
In the A transfer device, when a page fault occurs, access to the secondary storage device, reading due to a cache miss, etc. occur, which takes processing time and reduces the processing performance of the CPU.

【0008】本発明の目的は、ページ・フォールト発生
時の2次記憶装置へのアクセスの時に、キャッシュのペ
ージ・フォールトを起こしたデータのブロック読出しを
並行して実行し、読出し時間を短縮したDMA転送方式
を提供することにある。
[0008] An object of the present invention is to provide a DMA that reduces the read time by executing a block read of data that caused a page fault in the cache in parallel when accessing a secondary storage device when a page fault occurs. The objective is to provide a transfer method.

【0009】[0009]

【課題を解決するための手段】本発明の構成は、中央処
理装置,キャッシュ・メモリ,共通データ転送経路,D
MA転送装置,主記憶装置,2次記憶装置を備え、デマ
ンド・ページング仮想記憶方式を用いた情報処理装置の
DMA転送制御方式において、前記中央処理装置は、ペ
ージ・フォールト発生時に、前記2次記憶装置に対して
該当ページの読出し命令を発行し、前記DMA転送装置
に対して読出されたページを前記主記憶装置へ転送する
命令を発行し、さらに転送先アドレス,前記ページ・フ
ォールト・アドレス,キャッシュ・ブロック・サイズを
書込み、前記2次記憶装置は前記読出し命令に従って前
記ページを読みだし前記共通データ転送経路に出力し、
前記DMA転送装置は前記転送命令に従って前記共通デ
ータ転送経路に出力されたデータ及び転送先アドレスを
前記主記憶装置に転送し、同時に現在転送中のメモリ・
アドレスと前記ページ・フォールト・アドレスを比較し
、これらが一致していれば前記キャッシュ・メモリに対
してキャッシュ書込み信号をアクティブにし、このキャ
ッシュ・メモリの1ブロック・サイズ分の転送が終わる
と前記キャッシュ書込み信号をインアクティブにし、前
記キャッシュ・メモリは前記キャッシュ書込み信号がア
クティブになると、前記共通データ転送経路に出力され
ている前記転送先アドレス、データを取込み前記キャッ
シュ・メモリ内に書込むことを特徴とする。
[Means for Solving the Problems] The configuration of the present invention includes a central processing unit, a cache memory, a common data transfer path, a
In a DMA transfer control method for an information processing device that includes an MA transfer device, a main storage device, and a secondary storage device and uses a demand paging virtual storage method, the central processing unit transfers the data to the secondary storage device when a page fault occurs. Issues an instruction to read the corresponding page to the device, issues an instruction to the DMA transfer device to transfer the read page to the main storage device, and further issues the transfer destination address, the page fault address, and the cache. writing the block size, the secondary storage device reads the page according to the read instruction and outputs it to the common data transfer path;
The DMA transfer device transfers the data output to the common data transfer path and the transfer destination address to the main storage device in accordance with the transfer command, and at the same time transfers the data and transfer destination address to the memory currently being transferred.
The address and the page fault address are compared, and if they match, a cache write signal is activated for the cache memory, and when the transfer of one block size of this cache memory is completed, the cache write signal is A write signal is made inactive, and when the cache write signal becomes active, the cache memory takes in the transfer destination address and data output to the common data transfer path and writes them into the cache memory. shall be.

【0010】0010

【実施例】図1は本発明の一実施例におけるDMA転送
装置のブロック図、図2は本実施例を用いたシステムの
構成を示すブロック図である。このシステムは、CPU
1,キャッシュ・メモリ2、2次記憶装置(IOC,D
ISK)3,4、主記憶装置(MS)5、DMA転送装
置6およびシステムバス7から主に構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of a DMA transfer device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a system using this embodiment. This system uses CPU
1. Cache memory 2. Secondary storage device (IOC, D
ISK) 3, 4, a main memory (MS) 5, a DMA transfer device 6, and a system bus 7.

【0011】通常CPU1は、命令アドレスまたはオペ
ランド・アドレスを実アドレスに変換キャッシュ2に出
力し、キャッシュ2は該当するアドレスのデータが高速
メモリにあればそのデータをCPU1に引き渡す。CP
U1はアドレス変換時にページ・フォールト例外を検出
する。このとき命令アドレス、オペランド・アドレス(
仮想アドレス)の示すデータは主記憶装置5に存在せず
、2次記憶装置4に存在する。
Normally, the CPU 1 converts an instruction address or an operand address into a real address and outputs it to the cache 2, and if the data at the corresponding address is in the high-speed memory, the cache 2 delivers the data to the CPU 1. C.P.
U1 detects a page fault exception during address translation. At this time, the instruction address, operand address (
The data indicated by the virtual address does not exist in the main storage device 5 but exists in the secondary storage device 4.

【0012】ページ・フォールト発生時にCPU1は以
下のような動作を行う。
[0012] When a page fault occurs, the CPU 1 performs the following operations.

【0013】(1)CPU1は2次記憶装置3,4に対
してIOリード・コマンドを発行し、DMA転送装置6
に対して転送先のメモリ・アドレス25を書き込み、転
送バイト数27を書き込み、IOからメモリへ転送コマ
ンドを発行する。さらにページ・フォールト・アドレス
21,キャッシュのブロック・サイズ23を書き込む。
(1) The CPU 1 issues an IO read command to the secondary storage devices 3 and 4, and the DMA transfer device 6
Writes the transfer destination memory address 25 to , writes the number of transfer bytes 27, and issues a transfer command from IO to memory. Furthermore, the page fault address 21 and cache block size 23 are written.

【0014】(2)ページ・フォールトを発生したプロ
グラムをサスペンド状態にする。
(2) Put the program that caused the page fault into a suspended state.

【0015】(3)他に実行可能なプログラムがあれば
そのプログラムに実行を移す。
(3) If there is another executable program, execution is shifted to that program.

【0016】(4)IO終了割り込み15を待つ。IO
終了割り込み15発生後、前述の中断状態のプログラム
を再実行させる。再実行時、命令・アドレス、オペラン
ド・アドレス(仮想アドレス)を実アドレスに変換しキ
ャッシュに出力し、そのアドレスのデータを得る。
(4) Wait for IO end interrupt 15. IO
After the termination interrupt 15 occurs, the above-mentioned suspended program is re-executed. When re-executing, the instruction/address and operand address (virtual address) are converted into real addresses and output to the cache to obtain the data at that address.

【0017】DMA転送装置6は、比較器22,デクリ
メンタ24,28、アドレスINC/DEC26、フリ
ップフロップF/F29およびバス制御部30から構成
され、次のような動作を行う。
The DMA transfer device 6 includes a comparator 22, decrementers 24 and 28, an address INC/DEC 26, a flip-flop F/F 29, and a bus control section 30, and performs the following operations.

【0018】(1)2次記憶装置4から主記憶装置5に
データを転送する。
(1) Data is transferred from the secondary storage device 4 to the main storage device 5.

【0019】2次記憶装置3のDMA転送要求11がア
クティブになると、DMA転送装置6はアクノリッジ信
号12をアクティブにし、2次記憶装置3に対してIO
R信号13をアクティブにし、主記憶装置5に対してW
R信号9をアクティブにしてDMA転送を行う。
When the DMA transfer request 11 of the secondary storage device 3 becomes active, the DMA transfer device 6 activates the acknowledge signal 12 and transfers IO to the secondary storage device 3.
Activate the R signal 13 and write W to the main storage device 5.
The R signal 9 is activated to perform DMA transfer.

【0020】(2)現在の転送中のアドレス31とDM
A転送装置6内に記憶しているページ・フォールト・ア
ドレス21とを比較器22により比較し、一致していれ
ばF/F29をセットしキャッシュ・メモリ2に対して
ライト信号34,8を送る。
(2) Address 31 and DM currently being transferred
The page fault address 21 stored in the A transfer device 6 is compared with the page fault address 21 by the comparator 22, and if they match, the F/F 29 is set and the write signals 34 and 8 are sent to the cache memory 2. .

【0021】(3)ブロックサイズ分の転送が終わるの
をカウントする。比較器22からの一致信号33がアク
ティブになると、デクリメンタ24にキャッシュ・ブロ
ック・サイズ23をロードしカウントを開始する。バス
制御部30からのバス・サイクル終了信号35がアクテ
ィブになると、デクリメンタ24のカウント・ダウンを
行う。ブロック・サイズ分の転送が終わると、デクリメ
ンタ24が“0”になり“0”検出信号33がアクティ
ブになりF/F29をリセットしキャッシュに対するラ
イト信号34をインアクティブにする。
(3) Count the completion of transfer for the block size. When match signal 33 from comparator 22 becomes active, decrementer 24 is loaded with cache block size 23 and begins counting. When the bus cycle end signal 35 from the bus control unit 30 becomes active, the decrementer 24 counts down. When the transfer for the block size is completed, the decrementer 24 becomes "0", the "0" detection signal 33 becomes active, the F/F 29 is reset, and the write signal 34 for the cache is made inactive.

【0022】キャッシュ・メモリ2は、キャッシュ・メ
モリ・ライト信号34,8がアクティブになると、シス
テム・バス7に出力されているアドレス、データを取込
みキャッシュ・メモリ2内の高速メモリの該当するブロ
ックにデータを書込む。この方法によりページ・フォー
ルトを発生したブロックのデータをキャッシュにも転送
する事が可能になる。
When the cache memory write signals 34 and 8 become active, the cache memory 2 takes in the address and data output to the system bus 7 and stores them in the corresponding block of high-speed memory within the cache memory 2. Write data. This method makes it possible to transfer the data of the block where the page fault has occurred to the cache as well.

【0023】このようにしてページ・フォールトによる
2次記憶装置からメモリへのDMA転送時に、同時にキ
ャッシュのページ・フォールト・アドレスに該当するブ
ロックにもデータを書込むことにより、ページ・フォー
ルトによるオーバー・ヘッドを短縮化し性能を向上させ
ることが出来る。
[0023] In this way, when a DMA transfer is performed from the secondary storage device to the memory due to a page fault, data is simultaneously written to the block corresponding to the page fault address of the cache, thereby preventing overflow due to a page fault. It is possible to shorten the head and improve performance.

【0024】図3は本発明の第2の実施例を示すDMA
転送装置のブロック図である。第1の実施例ではページ
・フォールト・アドレスを含む1ブロック分のみをIO
からメモリへの転送時にキャッシュにも転送したが、本
実施例ではページ・フォールト・アドレスを含むブロッ
クとその後に連続する複数のブロックをIOからメモリ
へ転送時に同時にキャッシュにも転送している。この例
では、命令アドレスのページ・フォールト時に有効とな
るが、命令領域は局所参照性が高く連続するブロックが
アクセスされる可能性が高いためである。
FIG. 3 shows a DMA system according to a second embodiment of the present invention.
FIG. 2 is a block diagram of a transfer device. In the first embodiment, only one block including the page fault address is IO
In this embodiment, the block containing the page fault address and a plurality of consecutive blocks after it are simultaneously transferred to the cache when transferred from IO to memory. In this example, this is effective when a page fault occurs in an instruction address, because the instruction area has high local referentiality and there is a high possibility that consecutive blocks will be accessed.

【0025】本実施例は、キャッシュ・ブロック・サイ
ズを記憶するレジスタ51、連続してキャッシュに転送
するブロック数を記憶するレジスタ52、デクリメンタ
53以外の構成は、第1の実施例と同じである。
The configuration of this embodiment is the same as that of the first embodiment except for the register 51 for storing the cache block size, the register 52 for storing the number of blocks to be successively transferred to the cache, and the decrementer 53. .

【0026】ページ・フォールト発生時CPU1は以下
のような動作を行う。
When a page fault occurs, the CPU 1 performs the following operations.

【0027】(1)CPU1は2次記憶装置3,4に対
してIOリード・コマンドを発行し、DMA転送装置6
に対して転送先のメモリ・アドレス25を書込み、転送
バイト数27を書き込み、IOからメモリへ転送コマン
ドを発行する。さらにページ・フォールト・アドレス2
1、キャッシュのブロック・サイズ51、連続して書込
むブロック数52を書込む。
(1) The CPU 1 issues an IO read command to the secondary storage devices 3 and 4, and the DMA transfer device 6
The transfer destination memory address 25 is written to the memory address, the number of transfer bytes 27 is written, and a transfer command is issued from IO to the memory. Additionally page fault address 2
1. Write the cache block size 51 and the number of blocks to be written consecutively 52.

【0028】(2)ページ・フォールトを発生したプロ
グラムをサスペンド状態にする。
(2) Put the program that caused the page fault into a suspended state.

【0029】(3)他に実行可能なプログラムがあれば
そのプログラムに実行を移す。
(3) If there is another executable program, execution is shifted to that program.

【0030】(4)IO終了割り込み15を待つ。この
IO終了割り込み15発生後、中断状態のプログラムを
再実行させる。再実行時、命令・アドレス、オペランド
・アドレス(仮想アドレス)を実アドレスに変換しキャ
ッシュ2に出力し、そのアドレスのデータを得る。
(4) Wait for IO end interrupt 15. After the IO end interrupt 15 occurs, the suspended program is re-executed. At the time of re-execution, the instruction/address and operand address (virtual address) are converted into real addresses and output to the cache 2 to obtain data at the addresses.

【0031】また、DMA転送装置6は以下のような動
作を行う。
Further, the DMA transfer device 6 performs the following operations.

【0032】(1)2次記憶装置4から主記憶装置5に
データを転送する。2次記憶装置3のDMA転送要求1
1がアクティブになると、DMA転送装置6はアクノリ
ッジ信号12をアクティブにし、2次記憶装置3に対し
てIOR信号13をアクティブにし、主記憶装置5に対
してWR信号9をアクティブにしてDMA転送を行う。
(1) Data is transferred from the secondary storage device 4 to the main storage device 5. DMA transfer request 1 for secondary storage device 3
1 becomes active, the DMA transfer device 6 activates the acknowledge signal 12, activates the IOR signal 13 for the secondary storage device 3, and activates the WR signal 9 for the main storage device 5 to perform the DMA transfer. conduct.

【0033】(2)現在の転送中のアドレス31とDM
A転送装置6内に記憶しているページ・フォールト・ア
ドレス21とを比較器22により比較し、一致していれ
ばF/F29をセットし、キャッシュ・メモリ2に対し
てライト信号34,8を送る。
(2) Address 31 and DM currently being transferred
The comparator 22 compares the page fault address 21 stored in the A transfer device 6, and if they match, sets the F/F 29 and sends write signals 34 and 8 to the cache memory 2. send.

【0034】(3)ブロック数×ブロックサイズ分の転
送が終るのをカウントする。比較器22からの一致信号
33がアクティブになるとキャッシュ・ブロック・サイ
ズ51を下位、ブロック数52上位として数字を合成し
、合成された値をデクリメンタ53にロードしカウント
を開始する。バス制御部30からのバス・サイクル終了
信号35がアクティブになると、デクリメンタ53のカ
ウント・ダウンを行う。ブロック・サイズ分の転送が終
わると、デクリメンタ53が“0”になり“0”検出信
号33がアクティブになり、F/F29をリセットしキ
ャッシュに対するライト信号34をインアクティブにす
る。
(3) Count the completion of transfer for the number of blocks x block size. When the match signal 33 from the comparator 22 becomes active, numbers are synthesized with the cache block size 51 as the lower and the block number 52 as the upper, and the synthesized value is loaded into the decrementer 53 to start counting. When the bus cycle end signal 35 from the bus control unit 30 becomes active, the decrementer 53 counts down. When the transfer for the block size is completed, the decrementer 53 becomes "0", the "0" detection signal 33 becomes active, the F/F 29 is reset, and the write signal 34 for the cache is made inactive.

【0035】キャッシュ・メモリ2は、キャッシュ・メ
モリ・ライト信号34,8がアクティブになると、シス
テム・バス7に出力されているアドレス・データを取込
みキャッシュ・メモリ内の高速メモリの該当するブロッ
クにデータを書き込む。
When the cache memory write signals 34 and 8 become active, the cache memory 2 takes in the address data output to the system bus 7 and stores the data in the corresponding block of high-speed memory in the cache memory. Write.

【0036】この方法により、ページ・フォールトを発
生したブロックとその後に連続する複数のブロックのデ
ータをIOからメモリへ転送時に同時にキャッシュにも
転送する事が可能になる。
With this method, it is possible to simultaneously transfer the data of the block in which a page fault has occurred and the data of a plurality of consecutive blocks subsequent to the cache from the IO to the memory.

【0037】[0037]

【発明の効果】以上説明したように本発明により、ペー
ジ・フォールトによる2次記憶装置からメモリへのDM
A転送時に同時にキャッシュのページ・フォールト・ア
ドレスに該当するブロックにもデータを書込むことによ
り、ページ・フォールトによるオーバー・ヘッドを短縮
化し、性能を向上させることが出来る。
Effects of the Invention As explained above, according to the present invention, DM from the secondary storage device to the memory due to a page fault can be prevented.
By simultaneously writing data to the block corresponding to the page fault address of the cache during the A transfer, it is possible to reduce the overhead caused by page faults and improve performance.

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

【図1】本発明の一実施例1におけるDMA転送装置の
ブロック図である。
FIG. 1 is a block diagram of a DMA transfer device in a first embodiment of the present invention.

【図2】図1の実施例を用いたシステム構成図である。FIG. 2 is a system configuration diagram using the embodiment of FIG. 1;

【図3】本発明の第2の実施例におけるDMA転送装置
のブロック図である。
FIG. 3 is a block diagram of a DMA transfer device in a second embodiment of the present invention.

【符号の説明】 1    CPU 2    キャッシュメモリ 3    IOC 4    ディスク 5    MS 6    DMAC 7    システムバス 21    ページフォールトアドレス22    一
致回路 23,51    キャッシュ・ブロック・サイズ24
,28,53    デクリメンタ25    転送先
・元メモリ・アドレス26    インクリメンタ/デ
クリメンタ27    転送バイト数 29    フリップフロップ 30    バス制御部 52    ブロック数
[Explanation of symbols] 1 CPU 2 Cache memory 3 IOC 4 Disk 5 MS 6 DMAC 7 System bus 21 Page fault address 22 Match circuit 23, 51 Cache block size 24
, 28, 53 Decrementer 25 Transfer destination/source memory address 26 Incrementer/decrementer 27 Number of transferred bytes 29 Flip-flop 30 Bus control unit 52 Number of blocks

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  中央処理装置,キャッシュ・メモリ,
共通データ転送経路,DMA転送装置,主記憶装置,2
次記憶装置を備え、デマンド・ページング仮想記憶方式
を用いた情報処理装置のDMA転送制御方式において、
前記中央処理装置は、ページ・フォールト発生時に、前
記2次記憶装置に対して該当ページの読出し命令を発行
し、前記DMA転送装置に対して読出されたページを前
記主記憶装置へ転送する命令を発行し、さらに転送先ア
ドレス,前記ページ・フォールト・アドレス,キャッシ
ュ・ブロック・サイズを書込み、前記2次記憶装置は前
記読出し命令に従って前記ページを読みだし前記共通デ
ータ転送経路に出力し、前記DMA転送装置は前記転送
命令に従って前記共通データ転送経路に出力されたデー
タ及び転送先アドレスを前記主記憶装置に転送し、同時
に現在転送中のメモリ・アドレスと前記ページ・フォー
ルト・アドレスを比較し、これらが一致していれば前記
キャッシュ・メモリに対してキャッシュ書込み信号をア
クティブにし、このキャッシュ・メモリの1ブロック・
サイズ分の転送が終わると前記キャッシュ書込み信号を
インアクティブにし、前記キャッシュ・メモリは前記キ
ャッシュ書込み信号がアクティブになると、前記共通デ
ータ転送経路に出力されている前記転送先アドレス、デ
ータを取込み前記キャッシュ・メモリ内に書込むことを
特徴とするDMA転送制御方式。
[Claim 1] Central processing unit, cache memory,
Common data transfer path, DMA transfer device, main storage device, 2
In a DMA transfer control method for an information processing device equipped with a storage device and using a demand paging virtual storage method,
When a page fault occurs, the central processing unit issues an instruction to the secondary storage device to read the corresponding page, and issues an instruction to the DMA transfer device to transfer the read page to the main storage device. issue, further write the transfer destination address, the page fault address, and the cache block size, and the secondary storage device reads the page according to the read instruction and outputs it to the common data transfer path, and performs the DMA transfer. The device transfers the data output to the common data transfer path and the transfer destination address to the main storage device in accordance with the transfer command, and at the same time compares the memory address currently being transferred with the page fault address, and determines whether these are the same. If they match, a cache write signal is activated for the cache memory, and one block of this cache memory is written.
When the transfer for the size is completed, the cache write signal is made inactive, and when the cache write signal becomes active, the cache memory takes in the transfer destination address and data output to the common data transfer path and writes the data to the cache memory. - A DMA transfer control method characterized by writing into memory.
JP135291A 1991-01-10 1991-01-10 Dma transfer control system Pending JPH04296959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP135291A JPH04296959A (en) 1991-01-10 1991-01-10 Dma transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP135291A JPH04296959A (en) 1991-01-10 1991-01-10 Dma transfer control system

Publications (1)

Publication Number Publication Date
JPH04296959A true JPH04296959A (en) 1992-10-21

Family

ID=11499103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP135291A Pending JPH04296959A (en) 1991-01-10 1991-01-10 Dma transfer control system

Country Status (1)

Country Link
JP (1) JPH04296959A (en)

Similar Documents

Publication Publication Date Title
US5664199A (en) Microcomputer free from control of central processing unit (CPU) for receiving and writing instructions into memory independent of and during execution of CPU
US7941652B2 (en) Apparatus and computer program product for implementing atomic data tracing
US5765022A (en) System for transferring data from a source device to a target device in which the address of data movement engine is determined
JPH03135641A (en) Microprocessor
JPS62151971A (en) Microprocessor
JPH0337744A (en) Data processor
JPS60258671A (en) Processor
JPH04306748A (en) Information processor
JP3027843B2 (en) Bath snoop method
US6678838B1 (en) Method to track master contribution information in a write buffer
JPH04296959A (en) Dma transfer control system
JPH03656B2 (en)
JPH0133856B2 (en)
JP2679440B2 (en) Information processing device
JP3161422B2 (en) Microcomputer
JPH0461384B2 (en)
JPS59133629A (en) Dma transfer control system
JPH0415496B2 (en)
JPS60123944A (en) Buffer memory controlling system of information processor
JPS61239339A (en) System for controlling transfer of page data
JPH02259945A (en) Storing processing system
JPH01144151A (en) Information processor
JPH0981458A (en) Access method to cache in data-processing system
JPH0628303A (en) Communication processor
JPH01302448A (en) Information processor