JP2752544B2 - Virtual memory address space access control method - Google Patents

Virtual memory address space access control method

Info

Publication number
JP2752544B2
JP2752544B2 JP3308118A JP30811891A JP2752544B2 JP 2752544 B2 JP2752544 B2 JP 2752544B2 JP 3308118 A JP3308118 A JP 3308118A JP 30811891 A JP30811891 A JP 30811891A JP 2752544 B2 JP2752544 B2 JP 2752544B2
Authority
JP
Japan
Prior art keywords
access
register
conversion
segment table
instruction
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 - Fee Related
Application number
JP3308118A
Other languages
Japanese (ja)
Other versions
JPH05143462A (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 JP3308118A priority Critical patent/JP2752544B2/en
Publication of JPH05143462A publication Critical patent/JPH05143462A/en
Application granted granted Critical
Publication of JP2752544B2 publication Critical patent/JP2752544B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、多重仮想記憶システム
における仮想記憶アドレス空間のアクセス制御を実行す
る仮想記憶アドレス空間アクセス制御方式に関し、特
に、仮想アドレスから実アドレスへのアドレス変換を高
速で実行可能にする仮想記憶アドレス空間アクセス制御
方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a virtual memory address space access control method for controlling access to a virtual memory address space in a multiple virtual memory system, and more particularly, to high-speed address conversion from a virtual address to a real address. The present invention relates to a virtual memory address space access control method which is enabled.

【0002】従来の多重仮想記憶システムでは、コント
ロールレジスタによって指定されるアドレス空間内のデ
ータをアクセスすることのみが許されており、複数のア
ドレス空間内のデータを参照するためには、コントロー
ルレジスタの内容を入れ換えていく必要があったが、こ
のコントロールレジスタの内容の入れ換え処理はオペレ
ーティングシステムの管理下におかれていたために、ユ
ーザプログラムが直接複数のアドレス空間にまたがるよ
うなデータの処理を実行できなかった。
In a conventional multiple virtual memory system, only access to data in an address space specified by a control register is permitted. In order to refer to data in a plurality of address spaces, the data in the control register cannot be accessed. Although the contents had to be replaced, the contents of this control register were replaced under the control of the operating system, so that the user program could execute data processing that directly spans multiple address spaces. Did not.

【0003】このようなことを背景にして、最近、アク
セスレジスタを用いて、極めて多数のアドレス空間のデ
ータをユーザプログラムから直接アクセスすることを可
能とする新たなアーキテクチャの多重仮想記憶システム
が実用化されている。この多重仮想記憶システムを実装
していく場合には、アドレス変換のために必要となるセ
グメントテーブルを高速にアクセスできるようにして、
仮想アドレスから実アドレスへのアドレス変換処理を高
速で実現可能とするような手段を講じていく必要があ
る。
[0003] Against this background, recently, a multiple virtual memory system of a new architecture has been put to practical use, which enables an access register to directly access data in an extremely large number of address spaces from a user program. ing. When implementing this multiple virtual storage system, the segment table required for address translation can be accessed at high speed,
It is necessary to take measures to enable high-speed address conversion processing from a virtual address to a real address.

【0004】[0004]

【従来の技術】アクセスレジスタを用いる新たな多重仮
想記憶システムでは、図6に示すように、アクセスレジ
スタ番号(ベースレジスタ番号と対応付けがとられる)
によりアクセスされるアクセスレジスタの内容(ALE
Tと称されている)によりアクセスリストの対応データ
が特定され、この特定されたアクセスリストの対応デー
タによりASNセカンドテーブルの管理するセグメント
テーブル指定子(図中ではSTDと略してある)の中の
1つのセグメントテーブル指定子が特定されて、この特
定されたセグメントテーブル指定子の指定するセグメン
トテーブルを用いて、動的アドレス変換機構による仮想
アドレスから実アドレスへのアドレス変換を実行すると
いう構成を採っている。
2. Description of the Related Art In a new multiple virtual storage system using an access register, as shown in FIG. 6, an access register number (correlated with a base register number).
Of the access register accessed by ALE (ALE
T), the corresponding data of the access list is specified, and the corresponding data of the specified access list is used in the segment table specifier (abbreviated as STD in the figure) managed by the ASN second table. One segment table specifier is specified, and the address conversion from the virtual address to the real address by the dynamic address conversion mechanism is performed by using the segment table specified by the specified segment table specifier. ing.

【0005】この構成にあって、ユーザプログラムは、
例えば16個設けられるアクセスレジスタのエントリに
対してALETをロードすることで、1Kとか4Kの容
量を持つアクセスリストをアクセスすることが可能にな
り、これにより、極めて多数のセグメントテーブル指定
子を選択することが可能となることで、従来にない大容
量の多重仮想記憶を利用することができるのである。な
お、これとは別に、第1番のコントロールレジスタ(C
R1)の管理するセグメントテーブル指定子によって指
定されるプライマリ空間と、第7番のコントロールレジ
スタ(CR7)の管理するセグメントテーブル指定子に
よって指定されるセカンダリ空間という2つのアドレス
空間が用意されている。
In this configuration, the user program is:
For example, by loading ALET for the entries of 16 access registers provided, it becomes possible to access an access list having a capacity of 1K or 4K, thereby selecting an extremely large number of segment table specifiers. This makes it possible to use a large-capacity multi-virtual storage that has never been available before. In addition, separately from this, the first control register (C
Two address spaces are prepared: a primary space specified by a segment table specifier managed by R1) and a secondary space specified by a segment table specifier managed by the seventh control register (CR7).

【0006】この多重仮想記憶システムでは、複数のテ
ーブルを順番にアクセスしていくことでセグメントテー
ブル指定子を得るように構成していることから、セグメ
ントテーブル指定子が得られるまでに時間がかかるとい
う問題点がある。そこで、ALETからセグメントテー
ブル指定子への変換を高速で実行するアクセスレジスタ
変換索引緩衝機構(ALBと称されている)を備えるこ
とで、必要とされるセグメントテーブル指定子が高速で
得られるようにする構成を採っている。
In this multiple virtual storage system, since a segment table specifier is obtained by sequentially accessing a plurality of tables, it takes time to obtain a segment table specifier. There is a problem. Therefore, by providing an access register conversion index buffer mechanism (referred to as an ALB) for executing the conversion from the ALET to the segment table specifier at a high speed, the required segment table specifier can be obtained at a high speed. The configuration is adopted.

【0007】しかるに、このALBを用いるアクセス方
法では、先ず最初に、与えられたアクセスレジスタ番号
に従ってアクセスレジスタからALETを読み出し、続
いて、このALETに従ってALBからセグメントテー
ブル指定子を読み出していくという2段階の処理を踏む
ために、必要とされるセグメントテーブル指定子が得ら
れるまでに時間がかかり過ぎるという問題点がある。そ
して、この問題点は、ALBのハードウェア量が大きな
ものとなるためにCPUの主要部に配置することができ
ないことで更に大きなものとなることになる。
However, in the access method using the ALB, first, an ALET is read from the access register according to a given access register number, and then a segment table specifier is read from the ALB according to the ALET. , It takes too much time to obtain the required segment table specifier. This problem is further exacerbated by the fact that it cannot be arranged in the main part of the CPU because the hardware amount of the ALB is large.

【0008】そこで、本出願人は、平成1年7月25日に
出願した特願平1-192267 号(特開平3-57046号/発明
の名称:仮想記憶アドレス空間アクセス制御方式)で、
アクセスレジスタ番号からセグメントテーブル指定子へ
の変換を高速に実行する変換索引レジスタ(以下、SA
R:Shadow Access Register と称することがある)を備
えることで、必要とされるセグメントテーブル指定子が
高速で得られるようにする発明を開示した。
Accordingly, the present applicant has filed Japanese Patent Application No. Hei 1-192267 (JP-A-3-57046 / Title of Invention: Virtual memory address space access control system) filed on July 25, 1999.
A conversion index register (hereinafter, referred to as SA) for performing high-speed conversion from an access register number to a segment table designator
R: sometimes referred to as a shadow access register), so that a required segment table specifier can be obtained at high speed.

【0009】すなわち、アクセスレジスタ番号とセグメ
ントテーブル指定子との対応関係を管理する変換索引レ
ジスタを用意し、システムの初期化時やパージ命令等が
発行される場合には、その管理データに対応付けられる
有効ビットを無効化する構成を採って、アクセスレジス
タ番号が与えられるときに、そのアクセスレジスタ番号
対応の有効ビットが無効データを表示するときには、A
LBを索引することで求まるセグメントテーブル指定
子、ALBでヒットしないときには、上述のアクセスレ
ジスタ→アクセスリスト→ASNセカンドテーブルの変
換ルートで求まるセグメントテーブル指定子を登録して
有効化していくとともに、このセグメントテーブル指定
子を動的アドレス変換機構に与えていく構成を採る。そ
して、アクセスレジスタ番号が与えられるときに、その
アクセスレジスタ番号対応の有効ビットが有効データを
表示するときには、対応付けられるセグメントテーブル
指定子を直ちに動的アドレス変換機構に与えていくこと
で、必要とされるセグメントテーブル指定子が高速で得
られるようにとする発明を開示したのである。
That is, a conversion index register for managing the correspondence between the access register number and the segment table specifier is prepared, and when the system is initialized or a purge command is issued, the conversion index register is associated with the management data. When a valid bit corresponding to the access register number indicates invalid data when an access register number is given by adopting a configuration in which the valid bit to be
If the segment table specifier obtained by indexing the LB does not hit the ALB, the segment table specifier obtained by the above-described access register → access list → ASN second table conversion route is registered and validated, and this segment The configuration is such that a table designator is provided to the dynamic address translation mechanism. When the valid bit corresponding to the access register number indicates valid data when the access register number is given, it is necessary to immediately provide the associated segment table specifier to the dynamic address translation mechanism. The invention disclosed is such that the segment table specifier to be obtained can be obtained at high speed.

【0010】以下、説明の便宜上、ALET→アクセス
リスト→ASNセカンドテーブルの変換ルートによるセ
グメントテーブル指定子の特定処理をAR変換処理、こ
のAR変換処理を実行する機構をAR変換機構と称する
ことにする。
Hereinafter, for convenience of explanation, the process of specifying a segment table specifier by a conversion route of ALET → access list → ASN second table will be referred to as an AR conversion process, and a mechanism for executing the AR conversion process will be referred to as an AR conversion mechanism. .

【0011】このような構成を採る多重仮想記憶システ
ムにあって、アクセスレジスタのエントリ間でのデータ
転送命令として、CPYA(Copy Access)命令が用意さ
れている。このCPYA命令は、 CPYA x,y 但し、x:複写先アクセスレジスタ番号 y:複写元アクセスレジスタ番号 という記述形態をとって、複写元アクセスレジスタ番号
の指すアクセスレジスタのエントリに管理されるALE
Tを、複写先アクセスレジスタ番号の指すアクセスレジ
スタのエントリに複写することを要求する命令である。
In a multiple virtual storage system having such a configuration, a CPYA (Copy Access) instruction is prepared as a data transfer instruction between entries of an access register. This CPYA instruction has the following format: CPYA x, y where x is the copy destination access register number and y is the copy source access register number, and is the ALE managed by the entry of the access register indicated by the copy source access register number.
This is an instruction requesting that T be copied to the entry of the access register indicated by the copy destination access register number.

【0012】従来では、このCPYA命令が発行される
と、複写先のアクセスレジスタのエントリのALETが
以前のものとは異なるものになることから、複写先アク
セスレジスタ番号の指す変換索引レジスタのエントリデ
ータを無効化していくように処理していたのである。
Conventionally, when this CPYA instruction is issued, the ALET of the entry of the copy destination access register is different from the previous one, so the entry data of the conversion index register indicated by the copy destination access register number is used. It was processing to invalidate.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、CPY
A命令が発行される場合には、複写元であるソースオペ
ランドの指定するアクセスレジスタのエントリデータが
最近使用された可能性が高く、また、複写先であるター
ゲットオペランドの指定するアクセスレジスタのエント
リデータがこの先直ぐにでも使用される可能性も高い。
SUMMARY OF THE INVENTION However, CPY
When the A instruction is issued, there is a high possibility that the entry data of the access register specified by the source operand as the copy source has recently been used, and the entry data of the access register specified by the target operand as the copy destination Is likely to be used soon.

【0014】しかるに、従来技術のように、CPYA命
令が発行されるときに、ターゲットオペランドの持つベ
ースレジスタ番号の指す変換索引レジスタのエントリデ
ータを無効化していくように処理していると、そのター
ゲットオペランドの指定するアクセスレジスタのエント
リデータが使用されるときにおいて、変換索引レジスタ
でヒットすることがなくなり、ALBの索引の実行やA
R変換の実行に入ってしまうことでセグメントテーブル
指定子が得られるまでに時間がかかることになる。
However, as in the prior art, when the CPYA instruction is issued, the entry data of the conversion index register indicated by the base register number of the target operand is invalidated. When the entry data of the access register specified by the operand is used, no hit occurs in the conversion index register.
Since the execution of the R conversion is started, it takes time until the segment table specifier is obtained.

【0015】これから、従来技術に従っていると、CP
YA命令の発行後において、仮想アドレスから実アドレ
スへのアドレス変換を高速に実行できないという問題点
があったのである。
From now on, according to the prior art, CP
After the YA instruction is issued, there is a problem that the address conversion from the virtual address to the real address cannot be executed at high speed.

【0016】本発明はかかる事情に鑑みてなされたもの
であって、AR変換機構と変換索引レジスタとに従って
仮想記憶アドレス空間のアクセス制御を実行するデータ
処理装置にあって、CPYA命令が発行されるときにあ
っても、仮想アドレスから実アドレスへのアドレス変換
を高速で実行できるようにする新たな仮想記憶アドレス
空間アクセス制御方式の提供を目的とするものである。
The present invention has been made in view of the above circumstances, and is directed to a data processing apparatus for performing access control of a virtual memory address space according to an AR conversion mechanism and a conversion index register, in which a CPYA instruction is issued. In some cases, it is an object of the present invention to provide a new virtual memory address space access control method that enables high-speed address conversion from a virtual address to a real address.

【0017】[0017]

【課題を解決するための手段】図1に本発明の原理構成
を図示する。図中、1は本発明を具備するデータ処理装
置であって、アクセスレジスタ10と、変換機構11
と、変換索引レジスタ12と、動的アドレス変換機構1
3と、CPYA命令発行部14と、SARデータ登録部
15と、ARデータ複写部16とを備える。
FIG. 1 shows the principle configuration of the present invention. In the figure, reference numeral 1 denotes a data processing device equipped with the present invention, which includes an access register 10 and a conversion mechanism 11.
, Translation index register 12 and dynamic address translation mechanism 1
3; a CPYA instruction issuing unit 14; a SAR data registration unit 15; and an AR data copying unit 16.

【0018】このアクセスレジスタ10は、アクセスレ
ジスタ番号とALETとの対応関係を管理して、アクセ
ス要求元からベースレジスタ番号に対応付けられるアク
セスレジスタ番号が与えられると、対応のALETを出
力していくよう動作する。変換機構11は、上述のAR
変換機構単独又はこれに上述のALBが加わるもので構
成されて、アクセスレジスタ10から与えられるALE
Tが指定するセグメントテーブル指定子を特定していく
よう動作する。変換索引レジスタ12は、変換機構11
により特定されるアクセスレジスタ番号とセグメントテ
ーブル指定子との対応関係を管理して、アクセス要求元
からアクセスレジスタ番号が与えられると、対応のセグ
メントテーブル指定子を出力していくよう動作する。こ
の変換索引レジスタ12に有効なセグメントテーブル指
定子がないときに、変換機構11が動作していくことに
なる。
The access register 10 manages the correspondence between the access register number and the ALET, and outputs the corresponding ALET when the access request source gives the access register number associated with the base register number. Works as follows. The conversion mechanism 11 uses the above-described AR
An ALE provided from the access register 10 which is constituted by a conversion mechanism alone or by adding the above-mentioned ALB to the conversion mechanism.
It operates to specify the segment table specifier specified by T. The conversion index register 12 stores the conversion mechanism 11
Manages the correspondence between the access register number and the segment table specifier specified by, and outputs the corresponding segment table specifier when the access register number is given from the access request source. When there is no valid segment table specifier in the conversion index register 12, the conversion mechanism 11 operates.

【0019】動的アドレス変換機構13は、変換索引レ
ジスタ12又は変換機構11により得られるセグメント
テーブル指定子の指定するセグメントテーブルを用い
て、仮想アドレスから実アドレスへのアドレス変換を実
行するよう動作する。CPYA命令発行部14は、アク
セスレジスタ10のエントリ間での管理データの複写の
実行を要求するCPYA命令を発行するよう動作する。
SARデータ登録部15は、変換索引レジスタ12の管
理データの登録処理を実行するよう動作する。ARデー
タ複写部16は、CPYA命令発行部14がCPYA命
令を発行するときに、そのCPYA命令の指定するアク
セスレジスタ10のエントリ間での管理データの複写を
実行するよう動作する。
The dynamic address translation mechanism 13 operates to execute the address translation from the virtual address to the real address by using the translation look-up register 12 or the segment table specified by the segment table designator obtained by the translation mechanism 11. . The CPYA instruction issuing unit 14 operates to issue a CPYA instruction requesting execution of management data copying between entries of the access register 10.
The SAR data registration unit 15 operates to execute a process of registering management data in the conversion index register 12. When the CPYA instruction issuing unit 14 issues the CPYA instruction, the AR data copying unit 16 operates to copy the management data between the entries of the access register 10 specified by the CPYA instruction.

【0020】[0020]

【作用】本発明では、CPYA命令発行部14が複写元
と複写先のアクセスレジスタ番号を指定して、アクセス
レジスタ10のエントリ間での管理データの複写の実行
を要求するCPYA命令を発行すると、SARデータ登
録部15は、そのCPYA命令の複写元アクセスレジス
タ番号の指す変換索引レジスタ12のエントリに管理さ
れるセグメントテーブル指定子を、CPYA命令の複写
先アクセスレジスタ番号の指す変換索引レジスタ12の
エントリに複写していくよう処理する。
According to the present invention, when the CPYA instruction issuing unit 14 specifies a source and destination access register number and issues a CPYA instruction requesting execution of management data copying between entries of the access register 10, The SAR data registration unit 15 stores the segment table specifier managed in the entry of the conversion index register 12 indicated by the copy source access register number of the CPYA instruction in the entry of the conversion index register 12 indicated by the copy destination access register number of the CPYA instruction. Process to copy to.

【0021】このように、本発明によれば、CPYA命
令の発行に従ってアクセスレジスタ10のエントリ間で
管理データ(ALET)の複写が実行されるときには、
変換索引レジスタ12の対応するエントリ間でも管理デ
ータ(セグメントテーブル指定子)の複写を実行してい
くように構成するものであることから、CPYA命令の
発行に関係して、その後で、そのCPYA命令のターゲ
ットオペランドの指定するアクセスレジスタのエントリ
データが使用されるときに、変換索引レジスタ12に従
って直ちに所望のセグメントテーブル指定子が得られる
ようになり、仮想アドレスから実アドレスへのアドレス
変換を高速に実行できるようになるのである。
As described above, according to the present invention, when the management data (ALET) is copied between the entries of the access register 10 according to the issuance of the CPYA instruction,
Since the management data (segment table specifier) is configured to be copied between corresponding entries of the conversion index register 12, the CPYA instruction is issued after the CPYA instruction is issued. When the entry data of the access register specified by the target operand is used, the desired segment table specifier can be obtained immediately according to the conversion index register 12, and the address conversion from the virtual address to the real address can be executed at high speed. You can do it.

【0022】[0022]

【実施例】以下、実施例に従って本発明を詳細に説明す
る。図2に、本発明が適用されることになる多重仮想記
憶システムのシステム構成を図示する。図中、図1で説
明したように、10はアクセスレジスタ、12は変換索
引レジスタ、13は動的アドレス変換機構である。図1
では省略したが、この図に示すように、変換索引レジス
タ12は、バリッドビットに従って登録中のセグメント
テーブル指定子の有効/無効を管理している。また、図
示していないが、この動的アドレス変換機構13に対応
してTLBが備えられることになる。そして、11aは
図1の変換機構11に対応するAR変換機構である。こ
のAR変換機構11aは、アクセスレジスタ10から与
えられるALETと、アクセスリストの展開域を間接的
に表示するALDSO情報と、ドメインID情報とを入
力として、図6で説明したALET→アクセスリスト→
ASNセカンドテーブルの変換ルートの変換処理を実行
することでセグメントテーブル指定子を特定していくよ
う処理する。図示していないが、このAR変換機構11
aに対応してALBが備えられることになる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to embodiments. FIG. 2 shows a system configuration of a multiple virtual storage system to which the present invention is applied. In the figure, as described with reference to FIG. 1, reference numeral 10 denotes an access register, reference numeral 12 denotes a translation index register, and reference numeral 13 denotes a dynamic address translation mechanism. FIG.
However, as shown in this figure, the conversion index register 12 manages the valid / invalid of the registered segment table specifier according to the valid bit. Although not shown, a TLB is provided corresponding to the dynamic address translation mechanism 13. Reference numeral 11a denotes an AR conversion mechanism corresponding to the conversion mechanism 11 of FIG. The AR conversion mechanism 11a receives the ALET given from the access register 10, the ALDSO information for indirectly displaying the expanded area of the access list, and the domain ID information, and receives the ALET described in FIG.
By executing the conversion process of the conversion route of the ASN second table, processing is performed so as to specify the segment table specifier. Although not shown, this AR conversion mechanism 11
ALB will be provided corresponding to a.

【0023】図3に、変換索引レジスタ12と、この変
換索引レジスタ12の管理データの登録処理を実行する
図1で説明したSARデータ登録部15との間の信号関
係を図示する。
FIG. 3 shows a signal relationship between the conversion index register 12 and the SAR data registration unit 15 described with reference to FIG. 1 for executing management data registration processing of the conversion index register 12.

【0024】この図3に示すように、変換索引レジスタ
12は、アクセスレジスタ番号によりアクセスされるセ
グメントテーブル指定子と、そのセグメント指定子の有
効/無効を表示するバリッドビットとを管理して、アク
セス要求元からリード要求のアクセスレジスタ番号が与
えられると、そのアクセスレジスタ番号に対応付けられ
るセグメントテーブル指定子が有効データであるときに
は、そのセグメントテーブル指定子をTLBに通知して
いくことで仮想アドレスから実アドレスへのアドレス変
換を高速に実現していくよう動作するものである。
As shown in FIG. 3, the conversion index register 12 manages a segment table specifier accessed by an access register number and a valid bit indicating validity / invalidity of the segment specifier. When the access register number of the read request is given from the request source, and the segment table specifier associated with the access register number is valid data, the segment table specifier is notified to the TLB so that the virtual address is obtained from the virtual address. It operates to realize high-speed address conversion to a real address.

【0025】SARデータ登録部15は、この変換索引
レジスタ12の管理データの登録処理を実行するもので
あって、本発明を実現するために、アクセスレジスタ1
0のエントリ間でのデータ転送命令として用意されるC
PYA命令が発行されるときにおいて、本発明に特徴的
な登録処理を実行していくよう動作する。次に、図4に
示すSARデータ登録部15の登録処理の説明図に従っ
て、このSARデータ登録部15の実行する登録処理に
ついて詳細に説明する。
The SAR data registration unit 15 executes a process of registering the management data of the conversion index register 12, and implements the access register 1 in order to realize the present invention.
C prepared as a data transfer instruction between 0 entries
When the PYA instruction is issued, it operates to execute the registration processing characteristic of the present invention. Next, the registration process executed by the SAR data registration unit 15 will be described in detail with reference to the explanatory diagram of the registration process of the SAR data registration unit 15 shown in FIG.

【0026】SARデータ登録部15は、AR変換機構
11aがAR変換を実行することでアクセスレジスタ番
号とセグメントテーブル指定子との対応関係を求める
と、図4の「AR変換=1, 但し、Set AR by CPYA=0
」の欄に示すように、そのアクセスレジスタ番号の指
す変換索引レジスタ12のエントリ(図4では、i=1で
表している)に対して、AR変換機構11aの求めたセ
グメントテーブル指定子“STDART ”を登録するとと
もに、そのエントリのバリッドビットに“1”を立てて
有効データであることを登録する。そして、CPYA命
令が発行されるときには、図4の「Set AR by CPYA =1,
但し、AR変換=0」の欄に示すように、CPYA命令
の指定する複写先アクセスレジスタ番号の指す変換索引
レジスタ12のエントリ(図4では、i=1で表してい
る)に対して、CPYA命令の指定する複写元アクセス
レジスタ番号の指す変換索引レジスタ12のエントリに
管理されるセグメントテーブル指定子“STDSRC ”を
登録するとともに、そのエントリのバリッドビットに
“1”を立てて有効データであることを登録する。
The SAR data registration unit 15 obtains the correspondence between the access register number and the segment table designator by executing the AR conversion by the AR conversion mechanism 11a. AR by CPYA = 0
, The segment table specifier “STD” obtained by the AR conversion mechanism 11a for the entry of the conversion index register 12 indicated by the access register number (represented by i = 1 in FIG. 4). ART ", and the valid bit of the entry is set to" 1 "to register that the data is valid data. When the CPYA instruction is issued, “Set AR by CPYA = 1,
However, as shown in the column of “AR conversion = 0”, the CPYA instruction specifies an entry of the conversion index register 12 indicated by the copy destination access register number (indicated by i = 1 in FIG. 4) in the CPYA instruction. The segment table specifier "STD SRC " managed in the entry of the conversion index register 12 indicated by the copy source access register number specified by the instruction is registered, and the valid bit of the entry is set to "1" to indicate valid data. Register that thing.

【0027】一方、SARデータ登録部15は、AR変
換機構11aがAR変換を実行しないときと、CPYA
命令が発行されないときには、図4の「AR変換=0,
SetAR by CPYA =0 」の欄に示すように、変換索引レジ
スタ12に対して何ら登録処理を実行しない。
On the other hand, when the AR conversion mechanism 11a does not execute the AR conversion, the SAR data
When no instruction is issued, “AR conversion = 0,
SetAR by CPYA = 0 as shown in the column "no do not want to perform the registration processing for converting the index register 12.

【0028】このようにして、本発明のSARデータ登
録部15は、図5に示すように、CPYA命令の発行に
従ってアクセスレジスタ10のエントリ間で管理データ
(ALET)の複写が実行されるときには、変換索引レ
ジスタ12の対応するエントリ間でも管理データ(セグ
メントテーブル指定子)の複写を実行していくように処
理するのである。
In this way, as shown in FIG. 5, the SAR data registration unit 15 of the present invention, when the management data (ALET) is copied between the entries of the access register 10 according to the issuance of the CPYA instruction, Processing is performed so that the management data (segment table specifier) is copied between corresponding entries of the conversion index register 12.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
CPYA命令の発行に関係して、その後でそのCPYA
命令のターゲットオペランドの指定するアクセスレジス
タのエントリデータが使用されるときには、変換索引レ
ジスタに従って直ちに所望のセグメントテーブル指定子
が得られるようになる。これから、CPYA命令の発行
後にあっても、仮想アドレスから実アドレスへのアドレ
ス変換を高速に実行できるようになるのである。
As described above, according to the present invention,
In connection with the issuance of the CPYA instruction,
When the entry data of the access register specified by the target operand of the instruction is used, a desired segment table specifier can be obtained immediately according to the conversion index register. As a result, even after the CPYA instruction is issued, the address conversion from the virtual address to the real address can be executed at high speed.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明が適用されることになる多重仮想記憶シ
ステムのシステム構成図である。
FIG. 2 is a system configuration diagram of a multiple virtual storage system to which the present invention is applied;

【図3】変換索引レジスタの周辺機構の説明図である。FIG. 3 is an explanatory diagram of a peripheral mechanism of a conversion index register.

【図4】SARデータ登録部の実行する登録処理の説明
図である。
FIG. 4 is an explanatory diagram of a registration process executed by a SAR data registration unit.

【図5】本発明の処理の説明図である。FIG. 5 is an explanatory diagram of the processing of the present invention.

【図6】本発明が適用されることになる多重仮想記憶シ
ステムのアドレス制御の説明図である。
FIG. 6 is an explanatory diagram of address control of a multiple virtual storage system to which the present invention is applied.

【符号の説明】[Explanation of symbols]

1 データ処理装置 10 アクセスレジスタ 11 変換機構 12 変換索引レジスタ 13 動的アドレス変換機構 14 CPYA命令発行部 15 SARデータ登録部 16 ARデータ複写部 REFERENCE SIGNS LIST 1 data processing device 10 access register 11 conversion mechanism 12 conversion index register 13 dynamic address conversion mechanism 14 CPYA instruction issuing section 15 SAR data registration section 16 AR data copying section

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アクセスレジスタ番号によりアクセスさ
れるアクセスレジスタの管理するコード値からセグメン
トテーブル指定子を特定する変換機構と、該変換機構に
より特定されるアクセスレジスタ番号とセグメントテー
ブル指定子との対応関係を管理する変換索引レジスタと
を備えるデータ処理装置において、上記アクセスレジスタの管理するコード値の複写を指示
するコピー命令が発行されるときに、該コピー命令で指
定される複写元アクセスレジスタ番号の指す上記アクセ
スレジスタのエントリに管理されるコード値を、該コピ
ー命令で指定される複写先アクセスレジスタ番号の指す
上記アクセスレジスタのエントリに複写する第1の複写
部と、 上記第1の複写部が複写処理を実行するときに、上記複
写元アクセスレジスタ番号の指す上記変換索引レジスタ
のエントリに管理されるセグメントテーブル指定子を、
上記複写先アクセスレジスタ番号の指す上記変換索引レ
ジスタのエントリに複写する第2の複写部とを備えるこ
とを、 特徴とする仮想記憶アドレス空間アクセス制御方式。
1. A and conversion mechanism code values or al segment table designator to specific that manages the access register accessed by the access register number, access register number and segment table designator specified by the conversion mechanism in the data processing device and a conversion index register to manage the correspondence between the instruction to copy the code values managed by the access registers
When a copy instruction to be issued is issued,
Access specified by the copy source access register number
The code value managed in the register entry is
-Indicates the copy destination access register number specified by the instruction
First copy for copying to the entry of the access register
And the first copying unit performs the copying process.
The above conversion index register indicated by the source access register number
The segment table specifier managed in the entry of
The conversion index record indicated by the copy destination access register number
A second copying unit for copying to the register entry.
And a virtual memory address space access control method.
JP3308118A 1991-11-25 1991-11-25 Virtual memory address space access control method Expired - Fee Related JP2752544B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3308118A JP2752544B2 (en) 1991-11-25 1991-11-25 Virtual memory address space access control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3308118A JP2752544B2 (en) 1991-11-25 1991-11-25 Virtual memory address space access control method

Publications (2)

Publication Number Publication Date
JPH05143462A JPH05143462A (en) 1993-06-11
JP2752544B2 true JP2752544B2 (en) 1998-05-18

Family

ID=17977095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3308118A Expired - Fee Related JP2752544B2 (en) 1991-11-25 1991-11-25 Virtual memory address space access control method

Country Status (1)

Country Link
JP (1) JP2752544B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3476376B2 (en) 1998-12-16 2003-12-10 富士通株式会社 Virtual storage address space access control method and apparatus therefor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02168332A (en) * 1988-09-30 1990-06-28 Hitachi Ltd Data processor
JPH0650481B2 (en) * 1989-10-27 1994-06-29 株式会社日立製作所 Data processing device

Also Published As

Publication number Publication date
JPH05143462A (en) 1993-06-11

Similar Documents

Publication Publication Date Title
EP1653365B1 (en) Invalidating storage, clearing buffer entries
KR100432470B1 (en) Input/output (i/o) address translation in a bridge proximate to a local i/o bus
JP4562919B2 (en) Method and apparatus for implementing dynamic display memory
JPH0348541B2 (en)
JPH05233458A (en) Memory managing unit for computer system
JPH077363B2 (en) Access device and method
JPH0137773B2 (en)
JPH05233425A (en) Memory management unit
JPH08272692A (en) Conversion method of virtual address
US5226132A (en) Multiple virtual addressing using/comparing translation pairs of addresses comprising a space address and an origin address (sto) while using space registers as storage devices for a data processing system
JP2768503B2 (en) Virtual memory address space access control method
JPH05181750A (en) Apparatus and method for address conversion
JPH0519176B2 (en)
JP2752544B2 (en) Virtual memory address space access control method
JPH07120318B2 (en) Apparatus and method for protecting main memory unit with access and defective logic signals
JP2790556B2 (en) Data processing device
JPH0650480B2 (en) Multiple virtual memory system and address controller
JP2752543B2 (en) Virtual memory address space access control method
JP2501353B2 (en) Prefetch control method
JPS6042972B2 (en) Information processing device with address conversion function
JPH03109656A (en) Multiplex virtual space address system and data processor
JPH06259329A (en) Information processor equipped with address converting function
JPH04205535A (en) Copy on write system
JPH024016B2 (en)
JPS6324337A (en) Cache memory managing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980210

LAPS Cancellation because of no payment of annual fees