Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5946074B2 - Address translation buffer control method - Google Patents
[go: Go Back, main page]

JPS5946074B2 - Address translation buffer control method - Google Patents

Address translation buffer control method

Info

Publication number
JPS5946074B2
JPS5946074B2 JP54125051A JP12505179A JPS5946074B2 JP S5946074 B2 JPS5946074 B2 JP S5946074B2 JP 54125051 A JP54125051 A JP 54125051A JP 12505179 A JP12505179 A JP 12505179A JP S5946074 B2 JPS5946074 B2 JP S5946074B2
Authority
JP
Japan
Prior art keywords
address translation
address
translation buffer
tlb
flag
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
Application number
JP54125051A
Other languages
Japanese (ja)
Other versions
JPS5651075A (en
Inventor
幹雄 伊藤
隆 千葉
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 JP54125051A priority Critical patent/JPS5946074B2/en
Publication of JPS5651075A publication Critical patent/JPS5651075A/en
Publication of JPS5946074B2 publication Critical patent/JPS5946074B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明はアドレス変換バッファ制御方式に関し、特に論
理アドレスと実アドレスの対とともに主記憶保護キーの
コピー情報を格納するアドレス変換バッファを有するデ
ータ処理装置において、主記憶保護キーの参照およびア
ドレス変換を不要とするオペレーションの場合にアドレ
ス変換バッファからの読出しデータを使用せずにオペレ
ーションを実行することによりアドレス変換バッファの
使用効率を高め、かつオペレーションの高速化を達成す
るようにした制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an address translation buffer control method, and particularly to a data processing device having an address translation buffer that stores copy information of a main memory protection key along with a pair of logical addresses and real addresses. In the case of operations that do not require referencing or address translation, the operation is executed without using the data read from the address translation buffer, thereby increasing the efficiency of using the address translation buffer and speeding up the operation. Regarding the control method.

主記憶保護キー(以下MSKEYと略称)の参照を高速
に行なうために、アドレス変換バッファ(以下TLBと
略称)内にMSKEYのコピーをもうける方式がある。
In order to reference the main memory protection key (hereinafter abbreviated as MSKEY) at high speed, there is a method of creating a copy of MSKEY in an address translation buffer (hereinafter abbreviated as TLB).

この方式によれば仮想モードでシステムが動作している
場合だけでなく、実モードでシステムが動作している場
合にもTLBへのアクセスを必要とする。何故ならば、
実モードの場合でもMSKEYの参照を行なう、必要が
あるからである。この場合は、TLBの仮想アドレス部
に実アドレスを入れ、みかけ上のアドレス変換動作を行
なうようにしている。さらに、オペレーションの中には
、実アドレスでアクセスが行なわれ、かつMSKEYに
よる)プロアクションチェックを行なわないものがある
。このような特殊なオペレーションの場合でも、従来は
オペレーションを統一し、回路形式を共通にするために
、TLBをアクセスするようにしてきた。しかし、この
方法によると、上記のような特フ 殊なオペレーション
を実行した場合に下記のような欠点を生じる。(1)T
LBに本来不要な情報が登録され、TLBの利用効率が
減少する。
According to this method, access to the TLB is required not only when the system is operating in virtual mode but also when the system is operating in real mode. because,
This is because it is necessary to refer to MSKEY even in the real mode. In this case, the real address is placed in the virtual address section of the TLB to perform an apparent address conversion operation. Furthermore, some operations are accessed with a real address and do not perform a proactive check (by MSKEY). Conventionally, even in the case of such special operations, the TLB has been accessed in order to unify the operations and make the circuit format common. However, according to this method, the following drawbacks arise when the above-mentioned special operations are executed. (1)T
Information that is originally unnecessary is registered in the LB, and the efficiency of using the TLB decreases.

(2)TLBに上記不要な情報を登録するための動5
作フローが必要であり、処理装置の性能が低下する。
(2) Action 5 for registering the above unnecessary information in TLB
processing flow is required, which reduces the performance of the processing device.

本発明はTLBに不要な情報を登録することなく、上記
特殊なオペレーシヨンを認識したときTLBによるアド
レス変換およびフロセクションチェックが正常に行なわ
れたようにみせかけることによりTLBの利用効率を増
大し、処理装置の性能向上を図ることを目的とし、その
ため本発明は、互いに対応する論理アドレスと実アドレ
スの対とともに主記憶保護キーのコピー情報を格納する
アドレス変換バッフアを有し、該アドレス変換バツフア
にアクセスして実アドレスを得るとともに主記憶保護キ
ーの参照を行なえるようにしたデータ処理装置において
、アドレス変換および主記憶保護キーの参照の両方とも
必要としないときにセツトされるフラグをもうけ、該フ
ラグがオン状態のときアドレス変換バツフアの内容にか
かわらずアドレス変換成功信号およびフロセクションチ
ェック正常信号を生成するようにしたことを特徴とする
The present invention increases the efficiency of TLB usage by making it appear as if the address translation and flow section check by the TLB were performed normally when the above-mentioned special operation is recognized, without registering unnecessary information in the TLB. , an object of the present invention is to improve the performance of a processing device, and for this purpose, the present invention has an address translation buffer that stores copy information of a main memory protection key along with a pair of logical addresses and real addresses that correspond to each other. In a data processing device that can obtain a real address by accessing a main memory protection key and refer to a main memory protection key, a flag is set when neither address translation nor reference to the main memory protection key is required. The present invention is characterized in that when the flag is on, an address translation success signal and a flow section check normal signal are generated regardless of the contents of the address translation buffer.

以下、本発明を図面により説明する。Hereinafter, the present invention will be explained with reference to the drawings.

図は本発明による実施例のアドレス変換バツフア制御回
路であり、図中、1は有効アドレスレジスタ、2はアド
レス変換およびMSKEYの参照の両方とも必要としな
いときにセツトされるフラグ、3はTLBでありメモリ
素子より成るもの、3−1は論理アドレス部、3−2は
STO−1D部、33はバリツドビツト部、3−4は実
アドレス部、3−5はMSKEY部、4はTLBへの書
込みレジスタ、5はTLBからの読出しレジスタ、6は
アドレス変換成功(TLBMATCH)を検出するため
の比較回路、7はTLBから読出したMSKEYとPS
WKEYを比較する比較回路、8はSTOスタツクから
のSTO−Dがセツトされるレジスタであり、現在勤作
中の空間を示すもの、9はフラグ2がオンのときに有効
アドレスレジスタ1のアドレスをロー・レベルCOll
)に強制するゲート、10はフラグ2がオンのときにS
TO−1Dレジスタ8のアドレスをロー・レベル(1W
011)に強制するゲート、11はプリフイクス変換回
路、12はフラグ2がオンのときプリフイクス変換回路
11からのアドレスを選択し、フラグ2がオフのときT
LB3の実アドレス部3一4からの読出しデータを選択
する選択回路、13はフラグ2がオンのとき、またはP
SWKEYがオール1W0!?のとき強制的にフロセク
ションチェック正常信号を出力するゲートである。なお
、フラグ2の出力は、TLB3の論理アドレス部3−1
、STO−1D部3−2、バリツドビツト部3−3のメ
モリの出力を゛0゛に強制するように各々のメモリのチ
ツプセレクト端子に入力されている(バリツドビツトは
ロー・レベルでバリツドである。上記フラグ2がセツト
されるオペレーシヨンの種類としては、例えば次のよう
なオペレーシヨンの場合がある。
The figure shows an address translation buffer control circuit according to an embodiment of the present invention. In the figure, 1 is a valid address register, 2 is a flag that is set when neither address translation nor MSKEY reference is required, and 3 is a TLB. 3-1 is a logical address section, 3-2 is a STO-1D section, 33 is a valid bit section, 3-4 is a real address section, 3-5 is an MSKEY section, and 4 is a write to TLB. register, 5 is a read register from TLB, 6 is a comparison circuit for detecting successful address conversion (TLBMATCH), 7 is MSKEY and PS read from TLB
A comparison circuit that compares WKEY, 8 is a register in which STO-D from the STO stack is set, and indicates the space currently being worked on, and 9 is a register that indicates the address of effective address register 1 when flag 2 is on. Low level COll
), 10 is S when flag 2 is on.
The address of TO-1D register 8 is set to low level (1W
011), 11 is a prefix conversion circuit, 12 is a gate that selects the address from the prefix conversion circuit 11 when flag 2 is on, and T when flag 2 is off.
A selection circuit 13 selects read data from the real address section 3-4 of LB3, when flag 2 is on or P
SWKEY is all 1W0! ? This is a gate that forcibly outputs a flow section check normal signal when . Note that the output of flag 2 is the logical address section 3-1 of TLB3.
, the STO-1D section 3-2, and the valid bit section 3-3 are input to the chip select terminals of each memory so as to force the outputs of the memories to ``0'' (the valid bit is at a low level and valid). Examples of the types of operations in which flag 2 is set include the following operations.

1アドレス変換テーブルに対するアクセスTLBをアク
セスし、アドレス一致が検出されなかつた時、ハードウ
エアはセグメント・テーブル・アクセス、ページ・テー
ブル・アクセスを行なつて、実アドレスを求めるがその
際のアクセスはMSKEYの参照は不要である。
1 Access to the address translation table When the TLB is accessed and no address match is detected, the hardware performs segment table access and page table access to obtain the real address, but the access at that time is MSKEY. It is not necessary to refer to .

52一・−トウエア固定領域に対する一〜−トウエア自
身から発生するアクセス。
52--Access to the to-ware fixed area that occurs from the to-ware itself.

プリフイクス・エリアとも呼ばれる、割込時のPSWの
セーブ、リストア、マシンチエック時の一・−トウエア
情報等の格納エリアがあり、これらへのアクセスはハー
ドウエアが自動的に行なう。3バツフア無効化 マルチプロセツサシステムで相手側のCPUから、又は
単一プロセッサシステムでもチャネルから主記憶装置に
ストアが実行されたら、自CPUのバツフアと主記憶装
置の2致化を保証してやる必要があるが、その為のアク
セス。
There is a storage area, also called a prefix area, for saving and restoring PSW at the time of an interrupt, and one-to-ware information at the time of machine check, and access to these areas is automatically performed by the hardware. 3 Buffer invalidation When a store is executed from the other side's CPU in a multiprocessor system or from a channel in a single processor system to the main memory, it is necessary to ensure that the buffer of the own CPU and the main memory are duplicated. Yes, but there is access for that purpose.

4パージTLB TLBの内容を全て無効にしてやるオペレーシヨン〜 5部分パツケージTLB SSK(SetstOragekey)命令によりMS
KEYが書き替えられた時及び、IPTE(Inval
ldatePageTableEntly)命令によつ
て、ページの無効化が行なわれた時、ハードウエアはT
LB内を調べ、対応するページがTLB内にあれば、無
効化してやる必要がある。
4 Purge TLB An operation that invalidates all the contents of TLB ~ 5 Partial package TLB MS by SSK (SetstOragekey) command
When KEY is rewritten and IPTE (Inval
When a page is invalidated by the ldatePageTableEntly) instruction, the hardware
It is necessary to check the LB and, if the corresponding page is in the TLB, invalidate it.

図示しない制御部がアドレス変換および主記憶保護キー
の参照の両方とも必要としない条件を検出したとき、フ
ラグ2がセツトされる。フラグ2がオンとなることによ
りTLB3の論理アドレス部3−1、STO−1D部3
−2、バリツドビット部3−3の出力はロー・レベルに
強制される。さらに、有効アドレスレジスタ1のアドレ
スおよびSTO−1Dレジスタ8の出力もそれぞれゲー
ト9および10により、口ー・レベルに強制されるので
比較回路6の入力はすべて1011となり、TLBMA
TCH条件が得られ、比較回路6からアドレス変換成功
信号が出力される。また、フラグ2がオンとなることに
より、比較回路7の出力にかかわらず、ゲート13の出
力はロー・レベルとなりフロセクションチェック正常信
号が得られる。また、フラグ2がオンのとき有効アドレ
スレジスタ1の値がプリフイクス変換回路11により実
アドレスに変換された上で選択回路12を通して図示し
ない演算部へ送られる。
Flag 2 is set when a control unit (not shown) detects a condition that does not require both address translation and main memory protection key reference. When flag 2 turns on, the logical address section 3-1 and STO-1D section 3 of TLB3
-2, the output of the valid bit section 3-3 is forced to a low level. Furthermore, since the address of the effective address register 1 and the output of the STO-1D register 8 are also forced to the low level by gates 9 and 10, respectively, the inputs of the comparison circuit 6 are all 1011, and the TLBMA
The TCH conditions are obtained, and the comparison circuit 6 outputs an address conversion success signal. Further, since flag 2 is turned on, the output of gate 13 becomes low level regardless of the output of comparator circuit 7, and a flow section check normal signal is obtained. Further, when flag 2 is on, the value of effective address register 1 is converted into a real address by prefix conversion circuit 11, and then sent to an arithmetic unit (not shown) through selection circuit 12.

上記実施例においては、TLB3のチツプセレクト信号
の制御およびゲート9,10の制御により比較回路6の
入力をすべてロー・レベルとする方法を使用しているが
、時間的制約がきびしくなければゲート9,10等をも
うけることなく、比較回路6の出力とフラグ2の出力の
オア論理をとつてTLBMATCH信号とすることもで
きる。
In the above embodiment, a method is used in which all the inputs of the comparator circuit 6 are set to low level by controlling the chip select signal of the TLB 3 and controlling the gates 9 and 10. However, if time constraints are not severe, the gate 9 , 10, etc., it is also possible to obtain the TLBMATCH signal by ORing the output of the comparator circuit 6 and the output of the flag 2.

上記したように本発明によれば、TLBからの読出しデ
ータを使用せずにアドレス変換成功信号およびフロセク
ションチェック正常信号を生成できるようにしたので、
アドレス変換およびフロセクションチェックを必要とし
ない特殊オペレーシヨン実行時においてTLBに本来不
要な情報を登録することなく制御形式を統一することが
できる。
As described above, according to the present invention, the address conversion success signal and the flow section check normal signal can be generated without using the read data from the TLB.
When executing special operations that do not require address translation or flow section checking, control formats can be unified without registering essentially unnecessary information in the TLB.

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

図は本発明による実施例のアドレス変換バッフア制御回
路であり、図中、1は有効アドレスレジスタ、2はフラ
グ、3はTLBl4はTLBへの書込みレジスタ、5は
TLBからの読出しレジスタ、6と7は比較回路、8は
STO−1Dレジスタ、11はプリフイクス変換回路、
12は選択回路である。
The figure shows an address translation buffer control circuit according to an embodiment of the present invention. In the figure, 1 is an effective address register, 2 is a flag, 3 is TLB14 is a write register to TLB, 5 is a read register from TLB, 6 and 7 is a comparison circuit, 8 is a STO-1D register, 11 is a prefix conversion circuit,
12 is a selection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 互いに対応する論理アドレスと実アドレスの対とと
もに主記憶保護キーのコピー情報を格納するアドレス変
換バッファを有し、該アドレス変換バッファにアクセス
して実アドレスを得るとともに主記憶保護キーの参照を
行なえるようにしたデータ処理装置において、アドレス
変換および主記憶保護キーの参照の両方とも必要としな
いオペレーションの実行時にセットされるフラグをもう
け、該フラグがオン状態のときアドレス変換バッファの
内容にかかわらずアドレス変換成功信号およびプロテク
ションチェック正常信号を生成するようにしたことを特
徴とするアドレス変換バッファ制御方式。
1. It has an address translation buffer that stores copy information of the main memory protection key along with pairs of logical addresses and real addresses that correspond to each other, and can access the address translation buffer to obtain the real address and refer to the main memory protection key. A data processing device configured to have a flag that is set when an operation that does not require both address translation and main memory protection key reference is provided, and when the flag is on, regardless of the contents of the address translation buffer. An address translation buffer control method characterized in that an address translation success signal and a protection check normal signal are generated.
JP54125051A 1979-09-28 1979-09-28 Address translation buffer control method Expired JPS5946074B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54125051A JPS5946074B2 (en) 1979-09-28 1979-09-28 Address translation buffer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54125051A JPS5946074B2 (en) 1979-09-28 1979-09-28 Address translation buffer control method

Publications (2)

Publication Number Publication Date
JPS5651075A JPS5651075A (en) 1981-05-08
JPS5946074B2 true JPS5946074B2 (en) 1984-11-10

Family

ID=14900604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54125051A Expired JPS5946074B2 (en) 1979-09-28 1979-09-28 Address translation buffer control method

Country Status (1)

Country Link
JP (1) JPS5946074B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04155577A (en) * 1990-10-19 1992-05-28 Fujitsu Ltd Storage protection control system for vector processing system

Also Published As

Publication number Publication date
JPS5651075A (en) 1981-05-08

Similar Documents

Publication Publication Date Title
US4816991A (en) Virtual machine system with address translation buffer for holding host and plural guest entries
US4937738A (en) Data processing system which selectively bypasses a cache memory in fetching information based upon bit information of an instruction
KR20020039685A (en) Fine grain translation discrimination
US5946717A (en) Multi-processor system which provides for translation look-aside buffer address range invalidation and address translation concurrently
US5764944A (en) Method and apparatus for TLB invalidation mechanism for protective page fault
US4658356A (en) Control system for updating a change bit
JPS5946074B2 (en) Address translation buffer control method
KR960012354B1 (en) Microprocessor
JPS644214B2 (en)
JPH0368421B2 (en)
JP3013517B2 (en) Write buffer error address detection circuit
JPS63752A (en) Memory protection system
JP3047992B2 (en) Main memory key control method
JP2656558B2 (en) Cache memory control circuit
JPH06139084A (en) Information processing equipment
JPH0336648A (en) Electronic computer, TLB device and microprocessor chip
JPS6252334B2 (en)
JPH04319746A (en) Information processor
JPH0412861B2 (en)
JPH041373B2 (en)
JPH04242455A (en) Inter-processor communication trace circuit
JPS5918797B2 (en) Address check processing method
JPH0234059B2 (en)
JPS6175939A (en) Detection circuit for malfunction of copy type garbage collector
JPS62197846A (en) Address converting device