[go: up one dir, main page]

JPH0223458A - Access control system for address converting table - Google Patents

Access control system for address converting table

Info

Publication number
JPH0223458A
JPH0223458A JP63174752A JP17475288A JPH0223458A JP H0223458 A JPH0223458 A JP H0223458A JP 63174752 A JP63174752 A JP 63174752A JP 17475288 A JP17475288 A JP 17475288A JP H0223458 A JPH0223458 A JP H0223458A
Authority
JP
Japan
Prior art keywords
lock
address
access
reading
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.)
Granted
Application number
JP63174752A
Other languages
Japanese (ja)
Other versions
JP2586112B2 (en
Inventor
Masanobu Yuhara
雅信 湯原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63174752A priority Critical patent/JP2586112B2/en
Publication of JPH0223458A publication Critical patent/JPH0223458A/en
Application granted granted Critical
Publication of JP2586112B2 publication Critical patent/JP2586112B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To share an address converting table by making inseparable a series of processings of reading, altering and writing for the address converting table, and prohibiting access by means of the other memory control unit during the said processings. CONSTITUTION:A lock instructing means 113 makes inseparable a series of the reading, altering and writing for an access converting table 21, and locking is instructed to a dynamic address converting mechanism 112 during the said processings. The dynamic address converting mechanism 112 combines the lock instruction from the lock instructing means 113 and the lock instruction by means of the other factors, lock-instructs a lock control mechanism 114, and the lock control mechanism 114 sends a lock signal by a lock signal line 40 according to the lock instructions, and access prohibition to a data bus 32 and a physical address bus 31 is notified. Thus, the other memory control unit 11 is prevented from reading the same address converting table 21 entry during a period from address converting table 21 entry reading to the writing by means of a single memory control unit 11.

Description

【発明の詳細な説明】 〔概 要〕 データ処理装置において論理アドレスと物理アドレスと
の対応示すアドレス変換テーブルへのアクセス制御に関
し、 複数の中央処理装置によるアドレス変換テーブルの共有
化を可能とすることを目的とし、各エントリに該エント
リが管理するメモリ領域への参照ならびに書込みのあっ
たことを示す情報を備えたアドレス変換テーブルを格納
するメモリを、それぞれメモリ管理ユニットを備えた複
数の中央処理装置が共有するシステムにおいて、メモリ
管理ユニット内に、高速にアドレス変換を行う小容量の
高速メモリからなる変換索引バッファと、要求された論
理アドレスが変換索引バッファになかったとき動作し変
換索引バッファへの登録を行う動的アドレス変換機構と
、アドレス変換テーブルに対する読出し・変更・書込み
の一連の処理を不可分な処理としてこの間共通バスのロ
ックを指示するロック指示手段と、ロック上水に応じて
共通バスへのアクセス禁止を通知するロック信号を送出
するロック制御機構を備え、一つのメモリ管理ユニット
から7ドレス変換テーブルに対する読出し・変更・書込
みの一連の処理を不可分の処理として、この間他のメモ
リ管理ユニットによるアクセスを禁止するよう構成する
[Detailed Description of the Invention] [Summary] Regarding access control to an address translation table showing the correspondence between logical addresses and physical addresses in a data processing device, it is possible to share an address translation table among a plurality of central processing units. For the purpose of In a system that is shared by two systems, the memory management unit includes a translation index buffer consisting of a small capacity high-speed memory that performs address translation at high speed, and a translation index buffer that operates when a requested logical address is not in the translation index buffer. A dynamic address translation mechanism that performs registration, a lock instruction means that instructs to lock the common bus during a series of processes of reading, changing, and writing to the address translation table as inseparable processes, and locking the common bus according to the lock status. Equipped with a lock control mechanism that sends out a lock signal to notify access prohibition, the series of processes of reading, changing, and writing from one memory management unit to the 7-dress conversion table are treated as inseparable processes, and during this period, other memory management units are not allowed to access the table. Configure to prohibit access.

〔産業上の利用分野〕[Industrial application field]

本発明は仮想記憶を用いるデータ処理システムにおける
アドレス変換に関し、特に複数の中央処理装置によるア
ドレス変換テーブルの共有を可能とするアクセス制御方
式に関する。
The present invention relates to address translation in a data processing system using virtual memory, and more particularly to an access control method that allows multiple central processing units to share an address translation table.

〔従来の技術〕[Conventional technology]

仮想記憶を使用するデータ処理装置では、論理アドレス
と物理アドレスとの変換を管理するため、メモリ管理ユ
ニットを備えたものが多い。メモリ管理ユニットには、
高速メモリに必要な部分を適当な大きさの単位(ページ
)で管理し高速に変換を行う高速変換バッファ(通常、
T L B : TableLookaside Bu
fferと呼ぶ)と、TLBに要求されるページの変換
情報がないとき自動的に主記憶上のアドレス変換テーブ
ルを検索しT L Bのエントリの入れ換えを行う動的
アドレス変換機構(通常D A T : Dynami
c Address Translationと呼ばれ
る)を備えている。
Many data processing devices that use virtual memory are equipped with a memory management unit to manage conversion between logical addresses and physical addresses. The memory management unit has
High-speed conversion buffer (usually,
TLB: TableLookaside Bu
Dynamic address translation mechanism (usually D : Dynami
c Address Translation).

第4図に示すように、データ処理装置のメモリ管理ユニ
ットにおいては、論理アドレスから物理アドレスへの変
換を動的に行うとき、仮想記憶管理のため、アドレス変
1桑の最小単位であるページをアクセスしたことがある
か、および、そのページの内容が変更されたかを記憶し
なければならない。以後、アクセスしたことを表す情報
をRビット、変更したことを表す情報をMビットと呼ぶ
As shown in Figure 4, when dynamically converting a logical address to a physical address, the memory management unit of a data processing device uses pages, which are the smallest unit of address change, to manage virtual memory. It must remember whether the page has been visited and whether the contents of the page have been modified. Hereinafter, the information indicating that the access has been made will be referred to as the R bit, and the information indicating that the access has been made will be referred to as the M bit.

RビットはTLBに新しいページを入れるために追い出
すべきページを決定するとき最近参照されたかを調べる
ため使用され、Mビットは主記憶から追い出すページを
二次記憶に書き込む必要があるかどうかの決定に使用す
る。
The R bit is used to determine whether a page has been recently referenced when determining which page should be evicted to put a new page in the TLB, and the M bit is used to determine whether a page evicted from main memory needs to be written to secondary memory. use.

大型計算機では、RビットやMビットを物理メモリのペ
ージに付属して持つことが多く、RビットやMビットの
管理は、メモリに付属した専用ハードウェアで行われて
いた。このような場合は、以下述べる問題はその専用ハ
ードウェアの処理で容易に解決できる。
Large computers often have R bits and M bits attached to pages of physical memory, and management of R bits and M bits has been performed by dedicated hardware attached to the memory. In such a case, the problems described below can be easily solved by processing the dedicated hardware.

しかし、マイクロプロセッサ関連のメモリ管理ユニット
では、第5図に示すように、RビットやMビットをアド
レス変換テーブルエントリに記憶してお(ことが普通で
ある。第5図の例では、アドレス変換テーブルエントリ
には、物理ページ番号と、Rビット、Mビットの他にエ
ントリの有効性を示すVビットおよびアクセス保護情報
を持っている。この種のメモリ管理ユニットは、R,M
ビットを含んだアドレス変換テーブルエントリを一旦読
み出した後、RビットまたはMビットを変更する必要が
あったときには、アドレス変換テーブルエントリへの書
込みを行う。
However, in a memory management unit related to a microprocessor, as shown in FIG. 5, it is common to store the R bit and M bit in an address translation table entry. In addition to the physical page number, R bit, and M bit, a table entry has a V bit indicating the validity of the entry and access protection information.
After once reading the address translation table entry containing the bit, if it is necessary to change the R bit or the M bit, writing to the address translation table entry is performed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第6図に示すように、上記のようなアドレス変換ユニッ
トを持った中央処理装置を複数台接続し、アドレス変換
テーブルを共有した場合に、次のような動作をした場合
に、Mビットを保証できなくなる。
As shown in Figure 6, when multiple central processing units each having an address conversion unit as described above are connected and share an address conversion table, the M bit is guaranteed in the following operations. become unable.

■あるアドレス変換テーブル・エントリ (以下、AT
Eと略記する)のRビットもMビットも “0”であっ
たとする。
■A certain address translation table entry (hereinafter referred to as AT
Suppose that both the R bit and the M bit of the data source (abbreviated as E) are “0”.

■中央処理装置1が、そのATEの規定するページ内の
データヘライトしようとしたため、メモリからATEを
読み出した。
(2) The central processing unit 1 attempted to write data in the page specified by the ATE, so it read the ATE from the memory.

メモリ中のATHの値:  R=O,M=0■中央処理
装置2が、同じATEの規定するページ内のデータをリ
ードしようとしたため、メモリからATEを読み出した
Value of ATH in memory: R=O, M=0 ■ The central processing unit 2 attempted to read data in a page defined by the same ATE, so it read the ATE from the memory.

メモリ中のATEの値:  R=O,M=0■中央処理
装置1が、ライトアクセスをするので、R=l、M  
=1にして、ATEを書き替えた。
Value of ATE in memory: R=O, M=0 ■ Since central processing unit 1 performs write access, R=l, M
= 1 and rewritten ATE.

メモリ中のATEの値:  R=1.  M=1■中央
処理装置2が、リードアクセスするので、R=1にして
(Mは■で読んだときのままOで)、ATEを書き替え
た。
Value of ATE in memory: R=1. M=1 ■Since the central processing unit 2 performs read access, R=1 was set (M is O as when read in ■), and ATE was rewritten.

メモリ中のATEの値:  R−1,M=0この時点で
、中央処理装置1がそのATEの規定するページ内へ、
書込みを行ったことが忘れられてしまう。アドレス変換
テーブルエントリのMビットが1になっているべきとき
にOになっていると、そのページ内の変更が二次記憶へ
反映されず、そのページが再び物理ページメモリへペー
ジインされされたときに誤動作してしまう。
Value of ATE in memory: R-1, M=0 At this point, central processing unit 1 enters the page defined by the ATE.
What I wrote is forgotten. If the M bit in the address translation table entry is O when it should be 1, changes in that page will not be reflected in secondary storage, and the page will be paged into physical page memory again. Sometimes it malfunctions.

従って、従来の方法では、アドレス変換チーフルを同時
に複数の中央処理装置で共有することはできないという
問題があった。
Therefore, in the conventional method, there was a problem in that the address translation table could not be shared by a plurality of central processing units at the same time.

本発明が解決しようとする課題は、このような従来の問
題点を解消したアドレス変換テーブルアクセス方式を提
供することにある。
The problem to be solved by the present invention is to provide an address translation table access method that eliminates such conventional problems.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、上述した課題を解決するための手段の原理を
示すブロック図である。
FIG. 1 is a block diagram showing the principle of means for solving the above-mentioned problems.

図において、1は中央処理装置であり、2はメモリであ
る。
In the figure, 1 is a central processing unit and 2 is a memory.

11はメモリ管理ユニットであり、命令の実行中に論理
アドレスから物理アドレスへの変換を実行する。
11 is a memory management unit that converts logical addresses into physical addresses during execution of instructions.

21はアドレス変換テーブルであり、論理アドレスに対
応する物理アドレスを格納する。
21 is an address conversion table, which stores physical addresses corresponding to logical addresses.

111は変換索引バッファ(TLB)であり、高速にア
ドレス変換を行う小容量の高速メモリからなる。
Reference numeral 111 denotes a translation lookaside buffer (TLB), which is a small-capacity high-speed memory that performs address translation at high speed.

112は動的アドレス変換機構であり、要求された論理
アドレスが変換索引バッファ111になかったとき動作
しTLBの内容の入れ換えを行う。
A dynamic address translation mechanism 112 operates when the requested logical address is not in the translation lookup buffer 111 and replaces the contents of the TLB.

113はロック指示手段であり、アドレス変換テーブル
21に対する読出し・変更・書込みの一連の処理を不可
分な処理としてこの間共通バスのロックを指示する。
Reference numeral 113 denotes a lock instruction means, which treats a series of processes of reading, changing, and writing to the address conversion table 21 as inseparable processes, and instructs to lock the common bus during this process.

114はロック制御機構であり、ロック指示に応じて共
通バスへのアクセス禁止を通知するロック信号を送出す
る。
A lock control mechanism 114 sends out a lock signal to notify that access to the common bus is prohibited in response to a lock instruction.

30は共通バスであり、物理アドレスバス31、データ
バス32、および物理アドレスバス31へのアクセス禁
止を通知するロック信号vA40からなる。
A common bus 30 includes a physical address bus 31, a data bus 32, and a lock signal vA40 that notifies access to the physical address bus 31.

〔作 用〕[For production]

従来の方法においての問題点は、アドレス変換テーブル
エントリを、読み出し、変更し、書き込むまでの操作を
行う間に、他の中央処理装置が同じエントリを読み出し
てしまう点にある。
The problem with the conventional method is that while an address translation table entry is read, modified, and written, another central processing unit reads the same entry.

そこで、本発明では、アドレス変換テーブルエントリを
、読み出し、変更し、書き込むまでの操作(通常、リー
ド・モディファイ・ライトと呼ばれる)を、不可分操作
とし、その間に他の中央処理装置がそのエントリを読出
しすることを禁止するようにしたものである。
Therefore, in the present invention, the operation of reading, modifying, and writing an address translation table entry (usually called read-modify-write) is an inseparable operation, and during this time, another central processing unit can read the entry. It was designed to prohibit doing so.

そのため、ロック指示手段113が、アクセス変換テー
ブル21に対する読出し・変更・書込み(エントリの内
容を読み出し、内容を変更してエントリに書き込む)の
一連の処理を不可分な処理とし、この間動的アドレス変
換機構112へロックを指示する。動的アドレス変換機
構112は、ロック指示手段113からのロック指示と
その他の要因によるロック指示と併せてロック制御機構
114にロック↑旨示し、ロック制御機構114はこれ
らのロック詣示に応じてロック信号を送出する。
Therefore, the lock instruction means 113 performs a series of processes of reading, changing, and writing to the access translation table 21 (reading the content of an entry, changing the content, and writing it to the entry) as an inseparable process, and during this process, the dynamic address translation 112 to lock. The dynamic address conversion mechanism 112 indicates the lock↑ to the lock control mechanism 114 together with the lock instruction from the lock instruction means 113 and the lock instruction due to other factors, and the lock control mechanism 114 performs the lock in response to these lock instructions. Send a signal.

ロック指示手段113によるアドレス変換テーブル21
への読出し・変更・書込み処理の不可分化ロック指示は
、中央処理装置が単独で動作している状態ではバスロッ
クの必要は無(、バスロックの開催のデバイスによるバ
ス使用が遅れることとなるので、ソフトウェアによりロ
ック指示手段に対して不可分とすることを指示する情報
を設定したときのみ不可分化するようにすることもでき
る。
Address conversion table 21 by lock instruction means 113
When the central processing unit is operating independently, there is no need for a bus lock when issuing an atomic lock instruction for read, change, or write processing to a device (because the bus use by the device holding the bus lock will be delayed). It is also possible to make the lock indivisible only when information instructing the lock instructing means to make it indivisible is set by software.

これによって、前述のような一つのメモリ管理機構によ
るATE読出しから書込みの間に他のメモリ管理ユニッ
トが同一のATEを読むことはなくなる。
This prevents other memory management units from reading the same ATE between ATE read and write by one memory management mechanism as described above.

〔実施例〕〔Example〕

以下第2図および第3図に示す実施例により、本発明を
さらに具体的に説明する。
The present invention will be explained in more detail below with reference to embodiments shown in FIGS. 2 and 3.

第2図は、本発明の一実施例におけるロック指示手段お
よびロック制御機構の構成を示す図である。
FIG. 2 is a diagram showing the configuration of a lock instruction means and a lock control mechanism in an embodiment of the present invention.

図において、回路素子1131〜1136はロック指示
手段を構成し、回路素子1141〜1149はロック制
御機構を形成する。
In the figure, circuit elements 1131-1136 constitute lock instruction means, and circuit elements 1141-1149 constitute a lock control mechanism.

インバータ1131.1132はスイッチを構成し、イ
ンバータ1133.1134はランチを構成する。Rと
記されたインバータ1134はインバータ1133に対
して弱い帰還を成し、ラッチを構成するが入力には支配
される。制御データバスの1ビツト (アドレス変換テ
ーブルへのアクセスの不可分化を指示するビット)はイ
ンバータ1132に入力され、特定の命令又は特定のオ
ペランドで定まる入力指示がインバータ1131に入力
され、入力指示が“1”のときスイッチが開かれ、制御
データバスの1ビツト (負論理)の値がラッチされる
。このランチの状態はAND回路1141に入力される
と共に、AND回路1135に入力され、出力指示があ
れば、その値はドライバ1136を経て制御データバス
の1ビツトに帰還され、読むことも可能となる。
Inverters 1131 and 1132 constitute a switch, and inverters 1133 and 1134 constitute a launch. Inverter 1134, labeled R, provides weak feedback to inverter 1133, forming a latch but dominated by the input. One bit of the control data bus (a bit that instructs indivisibility of access to the address conversion table) is input to the inverter 1132, and an input instruction determined by a specific instruction or a specific operand is input to the inverter 1131, and the input instruction is " 1”, the switch is opened and the value of 1 bit (negative logic) of the control data bus is latched. This launch state is input to the AND circuit 1141 and also to the AND circuit 1135, and if there is an output instruction, the value is fed back to 1 bit of the control data bus via the driver 1136 and can be read. .

本実施例の処理装置では、インクロック付き命令を備え
ており、例えば、B S ET I (set a b
itwith 1nterlocked)は、バスのロ
ックを行い、指定されたビットの値を反転し特定場所に
格納し、さらに指定されたビット“1”にセットする命
令であり、CS I  (compare and 5
tore (interlocked) )は、バスの
ロックを行い、デスティネーシヲンオペランドと比較オ
ペランドを比較し、その結果を判定し内容を更新する命
令である。
The processing device of this embodiment is equipped with an ink-locked instruction, for example, B S ET I (set a b
CS I (compare and
tore (interlocked) is an instruction that locks the bus, compares the destination operand and comparison operand, determines the result, and updates the contents.

第2図の下側のバスロックアクセス信号は、命令デコー
ドの結果により、これらのインクロック付き命令のロッ
クをかけるオペランドアクセスであることを示す信号で
ある。アドレス変換テーブルアクセス信号は、動的アド
レス変換機構から指示される。
The bus lock access signal on the lower side of FIG. 2 is a signal indicating that it is an operand access that locks these ink-locked instructions based on the result of instruction decoding. Address translation table access signals are directed from the dynamic address translation mechanism.

AND回路1141には、アドレス変換テーブルアクセ
ス信号とラッチ(1133,1134)の値が入力され
、ラッチの値が“0”、アドレス変換テーブルアクセス
信号が“1”のとき出力が”l”となる。
The address translation table access signal and the values of the latches (1133, 1134) are input to the AND circuit 1141, and when the value of the latch is "0" and the address translation table access signal is "1", the output becomes "L". .

NOR回路1142には、AND回路1141の出力と
バスロックアクセス信号が入力され、バスロックアクセ
スであるとき、またはアドレス変換テーブルアクセスで
ありランチがO”にラッチされているときに出力が“0
”となる。
The output of the AND circuit 1141 and the bus lock access signal are input to the NOR circuit 1142, and the output is "0" when the bus lock access is performed or when the address conversion table access is performed and the launch is latched at "O".
” becomes.

インバータ1144.1145はスイッチを構成し、A
ND回路1146とインバータ1147はラッチ回路を
構成しており、バスサイクル開始信号によりゲートが開
かれ、NOR回路1142の出力値が“0°であり、A
ND回路1143の出力が“O”であるときは、ラッチ
されて出力が61”となり、インバータ1148、11
49を経て*ロック信号(*は逆論理を示す)が“1”
にラッチされ、ロックが掛けられる。
Inverters 1144 and 1145 constitute a switch, and A
The ND circuit 1146 and the inverter 1147 constitute a latch circuit, and the gate is opened by the bus cycle start signal, and the output value of the NOR circuit 1142 is "0°", and the A
When the output of the ND circuit 1143 is "O", it is latched and the output becomes 61", and the inverters 1148, 11
After 49, the *lock signal (* indicates reverse logic) becomes "1"
is latched and locked.

バスロックサイクル終了信号はバスロックしている必要
がなくなったとき、その出力が“1”となり、ラッチ(
1146,1147)が外され、*ロック信号はO”と
なり、ロックは解かれる。
When the bus lock cycle end signal no longer needs to be locked, its output becomes “1” and the latch (
1146, 1147) are removed, the *lock signal becomes O'', and the lock is released.

これによって、入力指示によりロックが指示されている
ときは、アクセス変換テーブルアクセスがあれば、その
バスサイクルの間バスはロックされる。インクロック付
き命令の場合は、バスロックアクセス信号オンの間バス
ロックされる。
As a result, when a lock is instructed by an input instruction, if there is an access conversion table access, the bus is locked for that bus cycle. In the case of an instruction with an ink clock, the bus is locked while the bus lock access signal is on.

第3図は、本実施例におけるリード・モディフアイ・ラ
イトのバスロック動作を示すタイムチャートである。
FIG. 3 is a time chart showing the read/modify/write bus lock operation in this embodiment.

最も上段はバスクロック信号を示し、その次の段はアド
レス(A)信号を示し、その次の段は読出しか書込み(
R/W)かを示す信号である。アドレス信号中耕線を施
して示したのは何も行われない部分、即ち、リード・モ
ディファイ・ライトのモディファイの部分である。
The topmost row shows the bus clock signal, the next row shows the address (A) signal, and the next row shows the read or write (
R/W). The part where nothing is done, ie, the read/modify/write modify part, is shown with address signal lines.

次の段はアドレスストローブ(AS>であり、これが下
側(ロー)にあるときアドレス信号が有効であることを
示し、その次の段はデータストローブ(DS)であり、
これが下側(ロー)にあるとき、その次の段のデータ(
D)が有効であることを示す。
The next stage is the address strobe (AS>, which indicates that the address signal is valid when it is low), and the next stage is the data strobe (DS).
When this is on the lower side (low), the data in the next row (
D) is valid.

その次の段のSDCは、シンクロナス・データ・コンプ
リートであり、読出し時にはメモリ側からデータバスに
データを載せたことを示し、書込み時にはメモリへの書
込みが完了したことを示し、メモリサイクルを終了して
もよいことを示す。
The next stage of SDC is synchronous data complete, which indicates that data has been loaded from the memory side onto the data bus when reading, and indicates that writing to memory has been completed when writing, ending the memory cycle. Indicates that it is okay to do so.

最も下の段はロック信号(LOG> を示し、リードア
クセスが行われると、ライトの終わりまでオン(ロー側
)となることを示している。
The bottom row shows a lock signal (LOG>), which indicates that when a read access is performed, it remains on (low side) until the end of the write.

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

以上説明のように本発明によれば、Rビー/ )、Mビ
ットを含むアクセス変換テーブルを複数の中央処理装置
から共有することができ、これにより、密結合型マルチ
プロセッサ・システムの構築を容易化する効果がある。
As described above, according to the present invention, an access translation table including R bits/ ) and M bits can be shared by multiple central processing units, thereby facilitating the construction of a tightly coupled multiprocessor system. It has the effect of changing

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

第1図は本発明の原理を示すブロック図、第2図は本発
明の一実施例におけるロック指示およびロック制御回路
の構成を示す図、第3図は本発明の一実施例の動作を示
すタイムチャート、 第4図はメモリ管理ユニット持ったデータ処理装置を示
す図、 第5図はアドレス変換テーブルエントリの例を示す図、 第6図は複数の中央処理装置がアドレス変換テーブルを
共有する例を示す図である。 図面において、 1は中央処理装置、   2はメモリ、11はメモリ管
理ユニット、 21はアドレス変換テーブル、 111は変換索引バッファ(TLB)、112は動的ア
ドレス変換機構、 113はロック指示手段、 114はロック制御機構、
1131〜1134. 1144.1145.1147
〜1149はインバータ、 1135、114L 1146はAND回路、1142
はNOR回路、    1136はドライバ、をそれぞ
れ示す。 S門 ”Z−印 メモリ管理ユニットを持ったデータ処理装置を示す図第 図 アドレス変換テーブルエントリの例を示す図第 図 本発明の一実施例の動作を示すタイムチャート第 図 第 図
Fig. 1 is a block diagram showing the principle of the present invention, Fig. 2 is a diagram showing the configuration of a lock instruction and lock control circuit in an embodiment of the invention, and Fig. 3 shows the operation of an embodiment of the invention. Time chart, Figure 4 is a diagram showing a data processing device with a memory management unit, Figure 5 is a diagram showing an example of address translation table entries, and Figure 6 is an example where multiple central processing units share an address translation table. FIG. In the drawing, 1 is a central processing unit, 2 is a memory, 11 is a memory management unit, 21 is an address translation table, 111 is a translation lookaside buffer (TLB), 112 is a dynamic address translation mechanism, 113 is a lock instruction means, and 114 is a lock control mechanism,
1131-1134. 1144.1145.1147
~1149 is an inverter, 1135, 114L 1146 is an AND circuit, 1142
1136 indicates a NOR circuit, and 1136 indicates a driver. FIG. 2 is a diagram showing a data processing device having a memory management unit marked with "S" and "Z". FIG. 3 is a diagram showing an example of an address conversion table entry. FIG.

Claims (2)

【特許請求の範囲】[Claims] (1)各エントリに該エントリが管理するメモリ領域へ
の参照ならびに書込みのあったことを示す情報を備えた
アドレス変換テーブル(21)を格納するメモリ(2)
を、それぞれメモリ管理ユニット(11)を備えた複数
の中央処理装置(1)が共有するシステムにおいて、 メモリ管理ユニット(11)内に、 高速にアドレス変換を行う小容量の高速メモリからなる
変換索引バッファ(111)と、 要求された論理アドレスが変換索引バッファ(111)
になかったとき動作し変換索引バッファ(111)への
登録を行う動的アドレス変換機構(112)とアドレス
変換テーブル(21)に対する読出し・変更・書込みの
一連の処理を不可分な処理としてこの間共通バスのロッ
クを指示するロック指示手段(113)と、 ロック指示に応じて共通バスへのアクセス禁止を通知す
るロック信号を送出するロック制御機構(114)を備
え、 一つのメモリ管理ユニット(11)からアドレス変換テ
ーブル(21)に対する読出し・変更・書込みの一連の
処理を不可分の処理として、この間他のメモリ管理ユニ
ット(11)によるアクセスを禁止するよう構成したこ
とを特徴とするアドレス変換テーブルのアクセス制御方
式。
(1) Memory (2) that stores an address translation table (21) in which each entry has information indicating that there has been a reference to the memory area managed by the entry and that there has been a write.
In a system in which a plurality of central processing units (1), each having a memory management unit (11), share a conversion index, the memory management unit (11) includes a conversion index consisting of a small-capacity high-speed memory that performs address conversion at high speed. buffer (111) and the requested logical address is converted into a translation index buffer (111).
The dynamic address translation mechanism (112), which registers data in the translation index buffer (111), and the series of processes of reading, changing, and writing to the address translation table (21) are treated as inseparable processes, and the common bus is used during this time. A lock control mechanism (114) that sends out a lock signal to notify prohibition of access to the common bus in response to the lock instruction; Address conversion table access control characterized in that a series of processes of reading, changing, and writing to the address conversion table (21) are treated as inseparable processes, and access by other memory management units (11) is prohibited during this process. method.
(2)上記ロック指示手段(113)による読出し・変
更・書込みの一連の処理を不可分化しロックを指示する
動作を有効化するための、ソフトウェアにより設定可能
な不可分指示情報を備えるよう構成したことを特徴とす
る請求項1記載のアドレス変換テーブルのアクセス制御
方式。
(2) It is configured to include indivisible instruction information that can be set by software in order to indivisibly perform a series of processes of reading, changing, and writing by the lock instruction means (113) and to enable an operation that instructs locking. The access control method for an address translation table according to claim 1.
JP63174752A 1988-07-13 1988-07-13 Address conversion table access control method Expired - Fee Related JP2586112B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63174752A JP2586112B2 (en) 1988-07-13 1988-07-13 Address conversion table access control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63174752A JP2586112B2 (en) 1988-07-13 1988-07-13 Address conversion table access control method

Publications (2)

Publication Number Publication Date
JPH0223458A true JPH0223458A (en) 1990-01-25
JP2586112B2 JP2586112B2 (en) 1997-02-26

Family

ID=15984064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63174752A Expired - Fee Related JP2586112B2 (en) 1988-07-13 1988-07-13 Address conversion table access control method

Country Status (1)

Country Link
JP (1) JP2586112B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6011303A (en) * 1996-11-29 2000-01-04 Nec Corporation Electronic component
KR20160076532A (en) * 2013-10-27 2016-06-30 어드밴스드 마이크로 디바이시즈, 인코포레이티드 Input/output memory map unit and northbridge
JP2016521425A (en) * 2013-05-13 2016-07-21 エイアールエム リミテッド Page table data management

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7490215B2 (en) * 2004-12-22 2009-02-10 Intel Corporation Media memory system and method for providing concurrent memory access to a plurality of processors through separate translation table information
US8667249B2 (en) 2004-12-22 2014-03-04 Intel Corporation Systems and methods exchanging data between processors through concurrent shared memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62184549A (en) * 1986-02-07 1987-08-12 Nec Corp Terminal equipment with shared memory occupying function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62184549A (en) * 1986-02-07 1987-08-12 Nec Corp Terminal equipment with shared memory occupying function

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6011303A (en) * 1996-11-29 2000-01-04 Nec Corporation Electronic component
JP2016521425A (en) * 2013-05-13 2016-07-21 エイアールエム リミテッド Page table data management
KR20160076532A (en) * 2013-10-27 2016-06-30 어드밴스드 마이크로 디바이시즈, 인코포레이티드 Input/output memory map unit and northbridge
JP2017502435A (en) * 2013-10-27 2017-01-19 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated I/O Memory Map Unit and North Bridge
US10223280B2 (en) 2013-10-27 2019-03-05 Advanced Micro Devices, Inc. Input/output memory map unit and northbridge

Also Published As

Publication number Publication date
JP2586112B2 (en) 1997-02-26

Similar Documents

Publication Publication Date Title
US5761734A (en) Token-based serialisation of instructions in a multiprocessor system
US4891749A (en) Multiprocessor storage serialization apparatus
US4872138A (en) Transparent cache memory
JPH0529945B2 (en)
US5293602A (en) Multiprocessor computer system with dedicated synchronizing cache
JPH0661066B2 (en) Storage controller
US5440708A (en) Microprocessor and storage management system having said microprocessor
JPH0223458A (en) Access control system for address converting table
JPS5868286A (en) Cash memory and how it works
JPH0519176B2 (en)
JPH0362243A (en) Apparatus for quickening memory access in information processing system
CN101061462B (en) Multiprocessor system and exclusive control method therein
JPS6319058A (en) memory device
JPH01152546A (en) How to use access management means and access request conflict management unit
JPS59116866A (en) Storage device of computer system
JPH01226056A (en) Address converter
KR950011060B1 (en) How to control semaphores in multiprocessor systems
KR950013116B1 (en) Locking apparatus and its control method in ticom system
JP3074897B2 (en) Memory circuit
JPH0212358A (en) Data transfer system
JPH10133948A (en) Cache memory device
JP2910131B2 (en) Register file
JP2629400B2 (en) Self-synchronous pipeline processing unit
JPH06243045A (en) Cache memory
JPH03271859A (en) Information processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees