JPS6219949A - Address converting device - Google Patents

Address converting device

Info

Publication number
JPS6219949A
JPS6219949A JP60158546A JP15854685A JPS6219949A JP S6219949 A JPS6219949 A JP S6219949A JP 60158546 A JP60158546 A JP 60158546A JP 15854685 A JP15854685 A JP 15854685A JP S6219949 A JPS6219949 A JP S6219949A
Authority
JP
Japan
Prior art keywords
address
signal line
level
address translation
sent
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
JP60158546A
Other languages
Japanese (ja)
Inventor
Osamu Onodera
修 小野寺
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60158546A priority Critical patent/JPS6219949A/en
Publication of JPS6219949A publication Critical patent/JPS6219949A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To attain the address converting functions of 2 levels at a time with high efficiency by providing >=2 pairs of registers to hold the information needed for address conversion of two levels. CONSTITUTION:In an information processor of a virtual computer system, >=2 pairs of registers are provided independently of each other to holds the informa tion needed for address conversion together with the means which select the registers of each pair. Then the address converting processes are executed for >= 2 types of different architectures. Thus the address converting processes of >=2 levels can be executed in parallel with each other as much as possible. This improves greatly the address converting performance with >=2 levels as well as the address converting performance of 2 levels.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、仮想記憶方式の情報処理装置におけるアドレ
ス変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an address translation device in a virtual storage type information processing apparatus.

〔発明の背景〕[Background of the invention]

仮想記憶方式の情報処理装置においては、情報処理装置
が主記憶上のデータや命令をアクセスする際の仮想アド
レスを、絶対主記憶上の絶対アドレスに変換する必要が
ある。従来、この変換手段としては、ハードウェア論理
によるもの、もしくはマイクロプログラムの介入による
ものと種々実現されている。なお、仮想アドレスから絶
対アドレスに変換するいわゆるアドレス変換の一般的仕
様に関しては、例えばfBM社発行の刊行物rzIB 
 M  5yste+s  3 7 0   Pr1n
ciples  of  0perat、i。
In a virtual memory type information processing device, it is necessary to convert a virtual address when the information processing device accesses data or instructions in main memory to an absolute address in absolute main memory. Conventionally, this conversion means has been realized in various ways, such as by hardware logic or by intervention of a microprogram. Regarding the general specifications of so-called address conversion, which converts virtual addresses to absolute addresses, see, for example, the publication rzIB published by fBM.
M 5yste+s 3 7 0 Pr1n
ciples of 0perat, i.

n” (GA −22−7000)及び” I B M
  System  3 7 0   Ext、end
ed  Architecture  Pr1ncip
les of 0peration” (SA22−7
085)にその詳細が記載されている。
n” (GA-22-7000) and “I B M
System 3 7 0 Ext, end
ed Architecture Pr1ncip
les of 0operation” (SA22-7
The details are described in 085).

前記刊行物から明らかな様に、アドレス変換そのものに
対するアーキテクチャが全く異なる仕様の下に設置され
る必要が出て来た。例えば前記刊行物にて明らかな様に
゛″システム/3フ0モードアーキテクチャに於けるア
ドレス変換と”370−XAモード″に於けるアドレス
変換アーキテクチャの仕様の相異がそれである。この例
では双方のアーキテクチャ共に、論理アドレスからセグ
メントフィールド、ページフィールド及びディスプレー
スフイールドを切り出し、それぞれセグメントテーブル
エントリ及びページテーブルエントリを主記憶から取り
出し、最後に求めた実アドレスに対しプリフィクス変換
を施すという手順に於いては同一ではあるが、解釈する
論理アドレス及び実/絶対アドレスが片や24ビツトア
ドレスであるのに対し、他方は31ビツトアドレスであ
るという大きな相異が存在する。この相異のアドレス変
換に及ぼす大きなインパクトは、セグメントフィールド
(以降SXと略す)及びページフィールド(以降PXと
略す)、ディスプレースメントフィールド(以降BXと
略す)の切出しとそのアドレス属性の相異であり、この
相異はアドレス変換装置の構造上に大きな影響を与える
ものである。
As is clear from the above publications, it has become necessary for the architecture for address translation itself to be set up under completely different specifications. For example, as is clear from the above publication, there is a difference between the specifications of the address translation architecture in the "System/3F0 mode architecture" and the address translation architecture in the "370-XA mode." In this example, both In both architectures, in the procedure of cutting out the segment field, page field, and displacement field from the logical address, retrieving the segment table entry and page table entry respectively from main memory, and finally applying prefix conversion to the obtained real address. Although they are the same, there is a big difference in that the logical addresses and real/absolute addresses to be interpreted are 24-bit addresses on one side, while 31-bit addresses on the other. The major impact is the difference in the segment field (hereinafter abbreviated as SX), page field (hereinafter abbreviated as PX), and displacement field (hereinafter abbreviated as BX) and their address attributes. This has a major impact on the structure of the

前記の例の如く、異なったアーキテクチャのアドレス変
換を単一の処理装置内で実現する方策は従来からとられ
、いわゆる異なるアーキテクチャの双方の仕様を満足す
るアドレス変換を静的に処理するアドレス変換装置も実
現されている。たゾし、この種のアドレス変換装置に於
いては、複数のアーキテクチャによるアドレス変換機能
を静的に実行する機能は存在するが、動的に切替え、そ
の上、そのアドレス変換過程に於いて複数アーキテクチ
ャのアドレス変換過程を混在させて処理する事は出来な
い。
As in the above example, measures have been taken to realize address translation for different architectures within a single processing device, and address translation devices that statically process address translation that satisfies the specifications of both so-called different architectures have been used. has also been realized. However, in this type of address translation device, although there is a function to statically perform address translation functions based on multiple architectures, it is possible to switch dynamically, and in addition, in the address translation process, multiple It is not possible to mix architecture address translation processes.

近年、仮想計算機システムなる方式が実現され、単一の
実計算機の下に、複数の仮想計算機を生成して情報処理
システムを構築する例が多く実用化されている。この際
のアドレスの属性は、実計算機に於ける絶対アドレスで
あるレベル1アドレス、実計算機の仮想アドレスである
が仮想計算機の絶対アドレスに等しいレベル2アドレス
及び仮想計算機の仮想アドレスであるレベル3アドレス
に分類される。アーキテクチャの異なるアドレス変換を
実計算機と仮想計算機がそれぞれ持つ場合、又。
In recent years, a system called a virtual computer system has been realized, and many examples have been put into practical use in which multiple virtual computers are generated under a single real computer to construct an information processing system. The attributes of the address in this case are a level 1 address which is an absolute address in the real computer, a level 2 address which is a virtual address of the real computer but equal to the absolute address of the virtual computer, and a level 3 address which is a virtual address of the virtual computer. are categorized. When a real computer and a virtual computer each have address translations with different architectures, or.

同一のアーキテクチャのアドレス変換を実計算機と仮想
計算機が持つ場合でも同様であるが、レベル3アドレス
からレベル2アドレスへのアドレス変換は仮想計算機の
アドレス変換アーキテクチャに基く必要があり、レベル
2アドレスからレベル1アドレスへのアドレス変換は実
計算機のアドレス変換アーキテクチャに基く必要がある
The same is true even if a real computer and a virtual computer have address translation of the same architecture, but address translation from a level 3 address to a level 2 address must be based on the address translation architecture of the virtual machine, and from a level 2 address to a level 2 address. Address conversion to one address must be based on the address conversion architecture of the actual computer.

従来、このレベル3アドレスからレベル1アドレスへの
アドレス変換過程は処理の複雑さ故に。
Conventionally, the process of converting an address from a level 3 address to a level 1 address is complicated.

ハードウェア論理で実現される事は無く、仮想計算機ア
シスト(以降VMAと略す)と呼ばれるマイクロプログ
ラム、又は仮想計算機制御プログラム(以降VMCPと
略す)から生成されるシャドウ変換テーブルに依存して
いた。VMCPによるシャドウ変換テーブルの用意によ
り、レベル3アドレスからレベル1アドレスへのアドレ
ス変換が、擬似的にレベル2アドレスからレベルlアド
レスへの変換と同様にハードウェアによって扱われる事
により、アドレス変換の際に生ずるオーバヘッドを低減
する事が可能となったが、まだVMCPがシャドウ変換
テーブルを用意するオーバヘッドが残され、このオーバ
ヘッドも無視し得ない処理性能低下をシステムにもたら
していた。
It was not realized by hardware logic, and relied on a shadow conversion table generated from a microprogram called a virtual machine assist (hereinafter abbreviated as VMA) or a virtual machine control program (hereinafter abbreviated as VMCP). By preparing a shadow translation table by VMCP, address translation from a level 3 address to a level 1 address is treated by hardware in the same way as a pseudo translation from a level 2 address to a level 1 address. Although it has become possible to reduce the overhead caused by VMCP, there still remains an overhead for VMCP to prepare a shadow conversion table, and this overhead also causes a non-negligible drop in processing performance to the system.

このオーバヘッドを除去する方策は、シャドウテーブル
の使用を除去することであり、その方法の一例は、特開
昭57−212680号等にそのアウトラインが示され
ている。又、原理的にシャドウテーブルを用意する必要
の無い、いわゆるV=RVMを単−又は複数生成させる
方策も提案されている。
A measure to eliminate this overhead is to eliminate the use of shadow tables, and an example of this method is outlined in Japanese Patent Laid-Open No. 57-212680. Also, a method has been proposed in which one or more so-called V=RVMs are generated, which in principle does not require the preparation of a shadow table.

レベル3アドレスからレベル1アドレスの変換をシャド
ウ変換テーブルを用意しないで実行する方策は従来のV
MAマイクロプログラムでも実現されており、更に前記
特開昭57−212680号にも記述されている。特に
、特開昭57−212680号には、レベル3アドレス
からレベル1アドレスへのマイクロプログラムによる変
換手段が記述されているが、より性能向上の余地がある
と考えられるハードウェアによる変換については。
The conventional method for converting level 3 addresses to level 1 addresses without preparing a shadow conversion table is
It has also been realized in the MA microprogram, and is also described in the above-mentioned Japanese Patent Application Laid-Open No. 57-212680. In particular, Japanese Patent Application Laid-Open No. 57-212680 describes a conversion means using a microprogram from a level 3 address to a level 1 address, but conversion using hardware is considered to have room for further performance improvement.

加速モードと称してその機能が存在するという記述があ
るのみで、その具体的実現手段等は記述されておらず、
更にそのアドレス変換ハードウェアは本来1つのアーキ
テクチャのアドレス変換を行う論理構造と本質的に変わ
る部分が無く、大幅にマイクロプログラムの支援を受け
たもので、2レベル以上のアドレス変換の飛躍的性能向
上は望めない。
There is only a description that the function exists called acceleration mode, but there is no description of the specific means for realizing it.
Furthermore, the address translation hardware has essentially no difference from the logical structure that performs address translation in a single architecture, and is largely supported by microprograms, resulting in a dramatic improvement in the performance of address translation at two or more levels. I can't hope for that.

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

本発明の目的は、仮想計算機システムにおいて、任意の
アーキテクチャで構築された多重レベルアドレスのアド
レス変換を効率良く行えるアドレス変換装置を提供する
ことにある。
An object of the present invention is to provide an address translation device that can efficiently translate multi-level addresses constructed using an arbitrary architecture in a virtual computer system.

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

本発明の特徴とするところは、2レベルのアドレス変換
に必要なアドレス変換情報を保持するレジスタを2組以
上備え、異なるアーキテクチャ(又は同一アーキテクチ
ャ)による2レベルのアドレス変換機能を一括して効率
良く実現するところにある。具体的には、仮想計算機が
要求するレベル3の仮想アドレスを直接、実計算機の絶
対アドレスであるレベルlアドレスに変換するアドレス
変換装置を実現したことである。
A feature of the present invention is that it includes two or more sets of registers that hold address translation information necessary for two-level address translation, and efficiently performs two-level address translation functions based on different architectures (or the same architecture) at once. It is about to come true. Specifically, we have realized an address translation device that directly translates a level 3 virtual address requested by a virtual machine into a level 1 address, which is an absolute address of a real computer.

即ち、本発明では異なるアーキテクチャ(又は同一アー
キテクチャ)のアドレス変換動作は、同一のアドレス変
換回路を使用し、アーキテクチャの相異による変換動作
は動的に切り替えられ、結果としてレベル3アドレスか
らレベル1アドレスへの変換が一回のアドレス変換過程
で実行される。
That is, in the present invention, address translation operations for different architectures (or the same architecture) use the same address translation circuit, and translation operations due to differences in architecture are dynamically switched, resulting in a change from a level 3 address to a level 1 address. The conversion to is performed in one address translation process.

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

第1図は本発明の一実施例であるところのアドレス変換
装置のブロック図である。尚1本実施例では、2レベル
のアドレス変換を行うにあたり、2組のアドレス変換情
報を蓄えておく例が示されている。
FIG. 1 is a block diagram of an address translation device which is an embodiment of the present invention. In this embodiment, an example is shown in which two sets of address translation information are stored when performing two-level address translation.

第1図に於いて、1は本発明のアドレス変換装置内のレ
ジスタ群のセット、データの転送等を司どる制御装置(
以降CUと略す)である。2はアドレス変換実行ステー
ジ、アドレス変換装置内のデータ転送の制御及びCUI
との制御の授受等を司どるアドレス変換制御回路(以降
DATCTLと略す)である。3は2つの入力の2進加
算を行うアドレス加算器(以降AAと略す)であり、A
A3の加算結果は、4のアドレスラッチ(以降TALと
略す)にセットされる。TAL4にセットされたデータ
は信号線109を介してCUIに送出される。5は6.
tdの入力信号の1組を選択し、信号線301に送出す
るセレクタ回路(以降5ELBと略す)であり、6は2
組の入力信号の1組を選択し、信号線302に送出する
セレクタ回路(以降5ELAと略す)である。
In FIG. 1, reference numeral 1 denotes a control device (1) that controls the setting of register groups, data transfer, etc.
(hereinafter abbreviated as CU). 2 is an address translation execution stage, control of data transfer within the address translation device, and CUI.
This is an address translation control circuit (hereinafter abbreviated as DATCTL) that manages the exchange of control with the DATCTL. 3 is an address adder (hereinafter abbreviated as AA) that performs binary addition of two inputs;
The addition result of A3 is set in address latch 4 (hereinafter abbreviated as TAL). The data set in TAL4 is sent to CUI via signal line 109. 5 is 6.
6 is a selector circuit (hereinafter abbreviated as 5ELB) that selects one set of td input signals and sends it to the signal line 301;
This is a selector circuit (hereinafter abbreviated as 5ELA) that selects one set of input signals and sends it to the signal line 302.

7は変換を受けるアドレスをラッチし、そのラッチ内容
を信号線201を介してDATCTL2に送出する変換
論理アドレスラッチ(以降TLAXと略す)である。T
LAX7にはCUIからアドレス変換過程中に、必要に
応じて変換を受けるアドレスがセットされる。
Reference numeral 7 denotes a conversion logical address latch (hereinafter abbreviated as TLAX) which latches the address to be converted and sends the latched contents to DATCTL2 via the signal line 201. T
An address to be converted is set in LAX7 as necessary during the address conversion process from the CUI.

8及び9は、それぞれ実計算機(ホスト)及び仮想計算
機(ゲスト)のアドレス変換で使用する変換形式を保持
する変換形式レジスタ(以降HTFR及びGTFRと略
す)である。HTFR8及びGTFR9には予めCUI
から、それぞれ実計算機の変換形式及び仮想計算機の変
換形式データが信号fi102を介してセットされる。
8 and 9 are conversion format registers (hereinafter abbreviated as HTFR and GTFR) that hold conversion formats used for address conversion of the real computer (host) and virtual computer (guest), respectively. CUI is installed in advance for HTFR8 and GTFR9.
, respectively, the conversion format data of the real computer and the conversion format data of the virtual computer are set via the signal fi102.

10及び11は、それぞれ実計算機及び仮想計算機のセ
グメントテーブル起点及びセグメントテーブル長を保持
するセグメントテーブル起点レジスタ(以降H3TOR
及びGSTORと略す)である。H3TORI O及び
GSTORllには、予めCUIから、それぞれ実計算
機のセグメントテーブル指定データ及び仮想計算機のセ
グメントテーブル指定データがセットされる。
10 and 11 are segment table starting point registers (hereinafter referred to as H3TOR) that hold the segment table starting point and segment table length of the real computer and virtual computer, respectively.
and GSTOR). The segment table designation data of the real computer and the segment table designation data of the virtual computer are set in advance in H3TORI O and GSTORll from the CUI, respectively.

12はアドレス変換過程で取り出されるセグメントテー
ブルエントリを保持するセグメントテーブルエントリレ
ジスタ(以降5TERと略す)であり、13は同様にペ
ージテーブルエントリを保持するページテーブルエント
リレジスタ(以降PTERと略す)である。5TERI
 2及びPTER13は、実計算機及び仮想計算機双方
のテープメニントリの保持に使用される。
12 is a segment table entry register (hereinafter abbreviated as 5TER) that holds a segment table entry taken out in the address translation process, and 13 is a page table entry register (hereinafter abbreviated as PTER) that similarly holds a page table entry. 5TERI
2 and PTER 13 are used to hold tape menu entries for both the real computer and the virtual computer.

14及び15は、それぞれ実計算機及び仮想計算機の変
換を受ける仮想アドレスを保持する変換論理アドレスレ
ジスタ(以降HTLAR及びGTLARと略す)である
。HTLAR14及びGTLAR15には、変換過程の
実行過程でCUIから該当する仮想アドレスが信号線1
06を介してセットされる。
14 and 15 are conversion logical address registers (hereinafter abbreviated as HTLAR and GTLAR) that hold virtual addresses to be converted for a real computer and a virtual computer, respectively. HTLAR14 and GTLAR15 receive the corresponding virtual address from the CUI on signal line 1 during the conversion process.
Set via 06.

16は、仮想計算機の主記憶範囲が実計算機の主記憶の
どのアドレスから始まるかを規定する主記憶起点アドレ
スを保持する主記憶起点アドレスレジスタ(以降MSO
ARと略す)である、MSOAR16には予めCUIに
より信号線103を介して該当する仮想計算機の主記憶
起点アドレスがセットされている。17はアドレス変換
過程中にアドレス変換に対する例外が発生した場合、そ
の例外を起こした仮想アドレスをセットし保持する変換
例外アドレスレジスタ(以降TEARと略す)である。
Reference numeral 16 denotes a main memory starting point address register (hereinafter referred to as MSO
The main memory starting point address of the corresponding virtual machine is set in advance in the MSOAR 16 (abbreviated as AR) via the signal line 103 by the CUI. Reference numeral 17 denotes a translation exception address register (hereinafter abbreviated as TEAR) which, when an exception to address translation occurs during the address translation process, sets and holds the virtual address that caused the exception.

18は仮想計算機の主記憶範囲を規定する主記憶範囲ア
ドレスを保持している主記憶範囲アドレスレジスタ(以
降MSEARと略す)であり、MSEAR18には予め
CUIにより信号線103を介して該当する仮想計算機
の主記憶筒アドレスがセットされている。
Reference numeral 18 denotes a main memory range address register (hereinafter abbreviated as MSEAR) that holds a main memory range address that defines the main memory range of a virtual machine. The main memory cylinder address of is set.

第2図は第1図の動作を説明するためのフローチャート
であり、第3図はその動作を模式的に示したものである
。第3図の丸印内の数字は第2図の処理ステップに対応
している。以下、第2図の処理手順に沿い第1図の動作
を説明する。
FIG. 2 is a flowchart for explaining the operation of FIG. 1, and FIG. 3 schematically shows the operation. The numbers in circles in FIG. 3 correspond to the processing steps in FIG. The operation shown in FIG. 1 will be explained below along with the processing procedure shown in FIG. 2.

まず、ステップ501から506までの処理について説
明する(第3図(a))。
First, the processing from steps 501 to 506 will be explained (FIG. 3(a)).

ステップ501 CUIは変換を要求される仮想計算機(以降ゲストと略
す)の仮想アドレスを本アドレス変換装置のGTLAR
I 5及びTLAX7にそれぞれ信号線106及び10
1を介してセットし、更にDATCTL2に信号線10
8を介してアドレス変換起動要求トリガを送出する。即
ち、GTLARI5及びTLAX7には同じ仮想アドレ
スがセットされる。
Step 501 The CUI converts the virtual address of the virtual machine (hereinafter abbreviated as guest) requested to be converted into the GTLAR of this address translation device.
Signal lines 106 and 10 for I5 and TLAX7 respectively
1 through signal line 10, and further connect signal line 10 to DATCTL2.
8, an address translation activation request trigger is sent. That is, the same virtual address is set to GTLARI5 and TLAX7.

本説明に於いて、以降ホスト及びゲストのプログラム状
態語(PSW)のアドレス変換モードピットは共にII
 I IIである場合、即ちホスト及びゲスト共にアド
レス変換を必要とされる場合を例にとる。
In this explanation, the host and guest program state word (PSW) address translation mode pits are both II.
Let us take as an example a case where address translation is required for both the host and the guest.

ステップ502 アドレス変換起動トリガを受けたDATCTL2は、ゲ
ストアドレス変換アーキテクチャに基いてGTFR9に
保持されているゲスト変換形式データの形式チェックを
行い、不当形式であれば、その旨を信号a108を介し
てcUlに報告し、以降のアドレス変換動作を停止する
Step 502 DATCTL2, which has received the address translation start trigger, checks the format of the guest translation format data held in GTFR9 based on the guest address translation architecture, and if it is an invalid format, it sends a cUL signal to that effect via signal a108. and stops further address translation operations.

GTFR9に保持されているゲスト変換形式データは、
具体的にはゲストアドレス変換アーキテクチャのセグメ
ントサイズ及びページサイズを規定するものである。例
として、IBM社発行の刊行物” I B M Sys
tem 370  Pr1nciples ofOpe
rat、ion″(GA −22−7000)及びre
 IB  M   System  3 7 0   
Extended  ArchitecturePri
nciples  of  0peraしion”  
(S  A −22−7085)によると、セグメント
サイズ64にバイトでページサイズ2にバイトの場合に
は(01000)2の値であり、セグメントサイズ、ペ
ージサイズがそれぞれ1Mバイトで2にバイトの場合は
(01010)2.64にバイトで4にバイトの場合は
(10000)z、1Mバイトで4にバイトの場合は(
1001o3z又は(10110)。
The guest conversion format data held in GTFR9 is
Specifically, it defines the segment size and page size of the guest address translation architecture. As an example, the publication "IBM Sys" published by IBM Corporation
tem 370 Pr1ciples ofOpe
rat, ion'' (GA-22-7000) and re
IBM System 3 7 0
Extended ArchitecturePri
ciples of zero peration”
(SA-22-7085), if the segment size is 64 bytes and the page size is 2 bytes, the value is (01000)2, and if the segment size and page size are 1 MB and 2 bytes, respectively. is (01010)2.64 bytes and 4 bytes is (10000)z, 1M byte and 4 bytes is (10000)z.
1001o3z or (10110).

である。It is.

DATCTL2は、ま、?:、GSTORI 1に保持
しているゲストセグメントテーブル指定データを信号線
305に出力する旨の指示を信号線303を介して5E
LB5に発し、信号線305を介して得られるセグメン
トテーブル指定データの内のセグメントテーブル長と、
TLAX7から信号線201を介して送出されているゲ
スト仮想アドレス(以降GVAと略す)のセグメントフ
ィールド(以降SXと略す)とをゲストアドレス変換ア
ーキテクチャに基いて比較し、ゲストSXの方が大きい
場合、その旨を信号線108を介してCUlに報告し、
以降のアドレス変換動作を停止する。
DATCTL2 is, well? :, 5E sends an instruction to output the guest segment table specification data held in GSTORI 1 to the signal line 305 via the signal line 303.
The segment table length of the segment table designation data issued to LB5 and obtained via the signal line 305;
Compare the segment field (hereinafter referred to as SX) of the guest virtual address (hereinafter referred to as GVA) sent from TLAX7 via the signal line 201 based on the guest address translation architecture, and if the guest SX is larger, Report this to CUl via the signal line 108,
Stops subsequent address translation operations.

DATCTL2は、同時にGTLARI5に保持してい
るGVAを信号線306を介してTEAR17にセット
する指示を、信号線304を介して5ELA6に発行す
ると共に、信号線303を介して5ELB5に対し、信
号LA206に送出されているGSTORI 1の内容
のうちセグメントテーブル起点データのみを切り出し信
号線301に送出する指示を出し、更に信号線304を
介して5ELA6に対し信号線210に送出されている
GTLAR15の内容であるGVAのうちのSX部を切
り出し、ゲストアドレス変換アーキテクチャに基いた所
定のシフト及びLL OJJ挿入を行った後に信号線3
02に送出する指示を出す。
DATCTL2 simultaneously issues an instruction to set GVA held in GTLARI5 to TEAR17 via signal line 306 to 5ELA6 via signal line 304, and also issues an instruction to 5ELB5 via signal line 303 to signal LA206. Out of the contents of GSTORI 1 being sent, an instruction is issued to extract only the segment table starting point data and sending it to the signal line 301, and the contents of GTLAR15 are sent to the signal line 210 to 5ELA6 via the signal line 304. After cutting out the SX part of the GVA and performing a predetermined shift and LL OJJ insertion based on the guest address translation architecture, the signal line 3 is
Issue an instruction to send to 02.

アドレス演算器3は信号線301及び302に送出され
たゲストセグメントテーブル起点アドレス(GSTO)
とゲストのsx (GSX)との加算を行い、加算結果
をTAL4にセットする。こ\でTAL4にセットされ
た内容はゲス1−セグメントテーブルエントリ(以II
GsTEと略す)のレベル2実アドレス(G R)であ
り、信号線109を介してCUIに送られる。
Address calculator 3 uses guest segment table starting point address (GSTO) sent to signal lines 301 and 302.
and the guest's sx (GSX), and set the addition result to TAL4. The content set in TAL4 here is the Guess 1-Segment Table Entry (hereinafter referred to as II).
This is the level 2 real address (GR) of the GsTE (abbreviated as GsTE) and is sent to the CUI via signal line 109.

ステップ503 CUIは信号線109を介して送られて来たGSTEの
レベル2アドレス(G R)を、ゲストプリフィクス値
を用いてプリフィクス変換を行い、信号線106を介し
てHTLARI4にセットする。HRLARI 4にセ
ットされたアドレスはGSTEのレベル2絶対アドレス
(GA)である。
Step 503 The CUI performs prefix conversion on the GSTE level 2 address (G R) sent via the signal line 109 using the guest prefix value, and sets it in HTLARI4 via the signal line 106. The address set in HRLARI 4 is a GSTE level 2 absolute address (GA).

DATCTL2は、信号線303を介して5ELB5に
対し、信号a211に出力されているMSEAR18の
内容である主記憶範囲アドレスを信号線301に選択し
出力する旨の指示を出し、更に信号線304を介して5
ELA6に対し信号線209に出力されているHTLA
RI 4の内容であるGSTEのレベル2絶対アドレス
を信号線302に選択し出力する旨の指示を出す。AA
3は信号線301及び302に出力された主記憶範囲ア
ドレスとGSTEのレベル2絶対アドレスとの比較演算
を行い、比較結果をTAL4にセットする。TAL4は
、GSTEのレベル2絶対アドレスが主記憶範囲アドレ
スより大きい場合、その旨を信号線307を介してDA
TCTLに報告する。DATCTL2は前記報告信号を
受は取ると、その旨を信号線108を介してCUIに報
告し。
DATCTL2 issues an instruction to 5ELB5 via the signal line 303 to select and output the main memory range address, which is the content of MSEAR18 outputted to the signal a211, to the signal line 301, and further via the signal line 304. Te5
HTLA output to signal line 209 for ELA6
An instruction is issued to select and output the GSTE level 2 absolute address, which is the content of RI 4, to the signal line 302. A.A.
3 performs a comparison operation between the main memory range address output to the signal lines 301 and 302 and the level 2 absolute address of the GSTE, and sets the comparison result in TAL4. If the level 2 absolute address of GSTE is larger than the main memory range address, TAL4 sends a message to that effect via signal line 307 to DA.
Report to TCTL. When the DATCTL 2 receives the report signal, it reports the fact to the CUI via the signal line 108.

以降のアドレス変換動作を停止する。Stops subsequent address translation operations.

ステップ505 DATCTL2は、GSTEのレベル2絶対アドレスが
主記憶範囲アドレス内の場合、信号線303及び信号線
304を介して5ELB5及び5ELA6に対し、それ
ぞれ信号、lX204に出力されているMSOARI 
6の内容である主記憶起点アドレスを選択し信号線30
1に出力する旨及び信号線209に出力されている)H
TLARI4の内容であるGSTEのレベル2絶対アド
レス(GA)を選択し信号線302に出力する旨の指示
を出す。
Step 505 If the level 2 absolute address of GSTE is within the main memory range address, DATCTL2 outputs the MSOARI output to signal lX204 to 5ELB5 and 5ELA6 via signal line 303 and signal line 304, respectively.
Select the main memory starting point address, which is the content of 6, and connect the signal line 30.
1 and is output to the signal line 209) H
An instruction is issued to select the level 2 absolute address (GA) of GSTE, which is the content of TLARI4, and output it to the signal line 302.

AA3は信号線301及び302に出力された主記憶起
点アドレスとGSTEのレベル2絶対アドレスの加算を
行い、加算結果をTAL4にセットする。このTAL4
にセットされたアドレスはGSTEのレベル1仮想アド
レスであり、ホストのPSWのアドレス変換モードピッ
トが1101′である場合、GSTEのレベルl実アド
レスに等しい。
AA3 adds the main memory starting point address output to signal lines 301 and 302 and the level 2 absolute address of GSTE, and sets the addition result in TAL4. This TAL4
The address set to is the GSTE level 1 virtual address, which is equal to the GSTE level 1 real address if the address translation mode pit of the host's PSW is 1101'.

ホスI−P S Wのアドレス変換モードピットがI 
Og″である場合にはステップ514に進むが、本例で
はこのビットが゛1″の場合を示す。
The address conversion mode pit of the host IP SW is I
If the bit is "Og", the process advances to step 514, but this example shows the case where this bit is "1".

TAL4にセットされたGSTEのレベル1仮想アドレ
スは信号線109を介してCUIに送出される。
The GSTE level 1 virtual address set in TAL4 is sent to the CUI via signal line 109.

ステップ506 CUIは信号線109を介して受は取ったGSTEのレ
ベル1仮想アドレスを信号線106を介してHTLAR
I 4にセットすると共に、信号線lotを介してTL
AX7にセットする。
Step 506 CUI receives the level 1 virtual address of GSTE via signal line 109 and converts it to HTLAR via signal line 106.
I set it to 4 and also set it to TL via the signal line lot.
Set it to AX7.

次に、ステップ507から513までの処理について説
明する(第3図(b))。
Next, the processing from steps 507 to 513 will be explained (FIG. 3(b)).

ステップ507 DATCTL2は、HTFR8に保持されているホスト
変換形式データをホストアドレス変換アーキテクチャに
基いてチェックを行い、不当形式であればその旨を信号
線108を介してCUIに報告し、以降のアドレス変換
動作を停止する。
Step 507 DATCTL2 checks the host translation format data held in HTFR8 based on the host address translation architecture, and if the format is invalid, reports the fact to CUI via signal line 108, and performs subsequent address translation. Stop operation.

DATCTL2は、同時にH3TOR10L;:保持し
ているホストセグメントテーブル指定データを信号線3
05に出力する旨の指示を信号線3゜3を介して5EL
B5に出し、信号線305を介して得られるセグメント
テーブル指定データの内のセグメントテーブル長と、T
LAX7から信号線201を介して送出されているホス
ト仮想アドレス(レベル1仮想アドレス)(以降HVA
と略す)のSXとをホストアドレス変換アーキテクチャ
に基いて比較し、ホストSXの方が大きい場合、その旨
を信号線108を介してCUlに報告し、以降のアドレ
ス変換動作を停止する。
DATCTL2 simultaneously transfers the held host segment table specification data to signal line 3.
An instruction to output to 05 is sent to 5EL via signal line 3゜3.
The segment table length in the segment table designation data sent to B5 and obtained via the signal line 305, and T
Host virtual address (level 1 virtual address) (hereinafter referred to as HVA
(abbreviated as ) based on the host address translation architecture, and if the host SX is larger, this is reported to CU1 via the signal line 108, and subsequent address translation operations are stopped.

DATCTL2は、同時にHTLARI4に保持してい
るHVAを信号線306を介してTEAR17にセット
する指示を信号8304を介して5ELA6に発行する
と共に、信号線303を介して5ELB5に対し、信号
@205に送出されているH5TORIOの内容のうち
セグメントテーブル起点データ(HS T O)のみを
切り出し信号線301に送出する指示を出し、更に信号
線304を介して5FLA6に対し、信号線209に送
出されているHTLARI 4の内容であるHVAのう
ちのSX部を切り出し、ホストアドレス変換アーキテク
チャに基いた所定のシフト及び゛″0′″0′″挿入後
、信号線302に送出する指示を出す。
DATCTL2 simultaneously issues an instruction to set the HVA held in HTLARI4 to TEAR17 via signal line 306 to 5ELA6 via signal 8304, and sends a signal @205 to 5ELB5 via signal line 303. It issues an instruction to extract only the segment table starting point data (HS TO) out of the contents of the H5TORIO that is being processed and sends it to the signal line 301, and further sends the HTLARI data sent to the signal line 209 to the 5FLA6 via the signal line 304. After cutting out the SX part of the HVA which is the contents of 4 and inserting a predetermined shift and "0" based on the host address translation architecture, an instruction to send it to the signal line 302 is issued.

AA3は信号m301及び302に送出されたホストセ
グメントテーブル起点アドレス(H3T○)とHVAの
SX部との加算を行い、加算結果をTAL4にセットす
る。こ\でTAL4にセットされたアドレスはホストセ
グメントテーブルエントリ(以降H3TEと略す)のレ
ベル1実アドレス(HR)であり、信号線109を介し
てCUlに送られる。
AA3 adds the host segment table starting point address (H3T○) sent to signals m301 and 302 to the SX section of the HVA, and sets the addition result in TAL4. The address set in TAL4 here is the level 1 real address (HR) of the host segment table entry (hereinafter abbreviated as H3TE), and is sent to CU1 via signal line 109.

ステップ508 CUIは信号線109を介して送られて来たHSTEの
レベル1実アドレスを用いて主記憶に対し、HSTEの
読出し要求を出す。
Step 508 The CUI uses the level 1 real address of the HSTE sent via the signal line 109 to issue a read request for the HSTE to the main memory.

ステップ509 CUIは、主記憶から読み出したHSTEを信号線10
5を介して5TER12にセットし、且つ、その旨を信
号線108を介してDATCTL2に報告する。
Step 509 The CUI transmits the HSTE read from the main memory to the signal line 10.
5 to 5TER12 via the signal line 108, and reports this to the DATCTL2 via the signal line 108.

ステップ510 DATCTL2は、信号線108を介してステップ50
9の実行が終了した旨を報告されると、ホストアドレス
変換アーキテクチャに基いて、H3TE無効ビット(I
ビット)が′1″′であるか否かを調べ、無効ビットが
′1”であればその旨を信号線108を介してCUIに
報告し、以降のアドレス変換動作を停止する。
Step 510 DATCTL2 is connected to step 50 via signal line 108.
Based on the host address translation architecture, the H3TE invalid bit (I
If the invalid bit is '1', this fact is reported to the CUI via the signal line 108, and subsequent address conversion operations are stopped.

DATCTL2は同時に、信号線303を介して5TE
RI 2の内容を信号線305を介してDATCTL2
に送出する旨の指示を出し、本動作によりHSTEの形
式チェックをホストアドレス変換アーキテクチャに基い
て行い、形式違反があれば信号線108を介してCUI
にその旨を報告し、以降のアドレス変換動作を停止する
DATCTL2 simultaneously connects 5TE via signal line 303.
The contents of RI2 are sent to DATCTL2 via the signal line 305.
This operation checks the HSTE format based on the host address translation architecture, and if there is a format violation, the CUI is sent via the signal line 108.
The address translation operation will be stopped from now on.

DATCTL2は、同時に5TER12に保持している
HSTEの内容を信号線305に出力す旨の信号を信号
線303を介して5ELB5に出し、信号線305を介
して得られるHSTEのページテーブル長と、TLAX
7から信号線201を介して送出されているホスト仮想
アドレスのpx部とをホストアドレス変換アーキテクチ
ャに基いて比較し、ホストPXの方が大きい場合、その
旨を信号線108を介してCUIに報告し以降のアドレ
ス変換動作を停止する。
DATCTL2 simultaneously outputs a signal to 5ELB5 via signal line 303 to output the contents of HSTE held in 5TER12 to signal line 305, and outputs the page table length of HSTE obtained via signal line 305 and TLAX.
The px part of the host virtual address sent from 7 via the signal line 201 is compared based on the host address translation architecture, and if the host PX is larger, that fact is reported to the CUI via the signal line 108. The address translation operation after that is stopped.

DATCTL2は同時に、信号[207に送出されてい
る5TER12の内容のうちのページテーブル起点デー
タ(HPTO)のみを切り出して信号線301に送出す
る旨の指示を信号、i@303を介して5ELB5に送
出し、更に信号線209に送出されているHTLARI
 4の内容であるHVAのうちのpx部(HP X)を
切り出し、ホストアドレス変換アーキテクチャに基いた
所定のシフト及びJ# On挿入等の編集を行った後、
信号線302に送出する旨の指示を信号B504を介し
て5ELA6に送出する。
At the same time, DATCTL2 sends an instruction to cut out only the page table starting point data (HPTO) from the contents of 5TER12 sent to signal [207 and send it to signal line 301 to 5ELB5 via signal i@303. HTLARI which is further sent to the signal line 209
After cutting out the px part (HP
An instruction to send the signal to the signal line 302 is sent to the 5ELA6 via the signal B504.

AA3は信号、11301及び302に送出されたホス
トページテーブル起点アドレス(HPTO)とHVAの
px部(HPX)との加算を行い、加算結果をTAL4
にセットする。こ\で、TAL4にセットされたアドレ
スは、ホストページテーブルエントリ(以降HPTEと
略す)のレベル1実アドレス(HR)であり、信号線1
09を介してCUIに送られる。
AA3 adds the host page table starting point address (HPTO) sent to signals 11301 and 302 with the px section (HPX) of HVA, and sends the addition result to TAL4.
Set to . Here, the address set in TAL4 is the level 1 real address (HR) of the host page table entry (hereinafter referred to as HPTE), and the address set in TAL4 is the level 1 real address (HR) of the host page table entry (hereinafter abbreviated as HPTE), and
09 to CUI.

ステップ511 CUIは信号線109を介して送られて来たHPTEの
レベル1実アドレスを用いて、主記憶に対しHPTEの
読出し要求を出す。
Step 511 The CUI uses the level 1 real address of the HPTE sent via the signal line 109 to issue a read request for the HPTE to the main memory.

ステップ512 CUIは主記憶から読み出したHPTEを信号線105
を介してPTERI 3にセットし、且つその旨を信号
線108を介してDATCTL2に報告する。
Step 512 The CUI transmits the HPTE read from the main memory to the signal line 105.
PTERI 3 via signal line 108, and reports this to DATCTL2 via signal line 108.

ステップ513 DATCTL2は、信号線108を介してステップ51
2の実行が終了した旨を報告されると。
Step 513 DATCTL2 is connected to step 51 via the signal line 108.
When it is reported that the execution of step 2 has finished.

ホストアドレス変換アーキテクチャに基いて、I]PT
Eの無効ビット(エビット)が111 IPであるか否
かを調べ、無効ビットがII I IIであればその旨
を信号線108を介してCUIに報告し、以降のアドレ
ス変換動作を停止する。
Based on the host address translation architecture, I]PT
It is checked whether the invalid bit (E bit) of E is 111 IP, and if the invalid bit is II II II, this fact is reported to the CUI via the signal line 108, and the subsequent address translation operation is stopped.

DATCTL2は同時に信号線303を介してPTER
I3の内容を信号線305を介してDATCTL2に送
出する旨の指示を出し、本動作によりHPTEの形式チ
ェックをホストアドレス変換アーキテクチャに基いて行
い、形式違反があれば信号線108を介してCUIにそ
の旨を報告し以降のアドレス変換動作を停止する。
DATCTL2 simultaneously connects PTER via signal line 303.
An instruction is issued to send the contents of I3 to DATCTL2 via the signal line 305, and this operation performs a HPTE format check based on the host address translation architecture, and if there is a format violation, it is sent to the CUI via the signal line 108. It reports this and stops subsequent address translation operations.

DATCTL2は同時に、信号線208に送出されてい
るPTERI3の内容のうちのページフレーム実アドレ
ス(以降PFRAと略す)部のみをホストアドレス変換
アーキテクチャに基いて編集し信号線301に送出する
旨の指示を信号線303を介して5ELB5に送出し、
更に信号線209に送出されているHVAのうちのBX
部(HBX)を切り出し、ホストアドレス変換アーキテ
クチャに基いた所定のシフト及び″0′″挿入等の編集
を行った後、信号線302に送出する旨の指示を信号線
304を介して5ELA6に送出する。
At the same time, DATCTL2 sends an instruction to edit only the page frame real address (hereinafter abbreviated as PFRA) part of the contents of PTERI3 sent to the signal line 208 based on the host address translation architecture and send it to the signal line 301. Send to 5ELB5 via signal line 303,
Furthermore, BX of the HVA sent to the signal line 209
After cutting out the part (HBX) and editing such as predetermined shifts and insertion of "0" based on the host address translation architecture, an instruction to send it to the signal line 302 is sent to the 5ELA6 via the signal line 304. do.

二Nで、ステップ510又はステップ513では、該当
するアーキテクチャに依り、アドレス変換テーブルの記
憶保護ビットをDATCTL2で保存する。
2N, in step 510 or step 513, depending on the applicable architecture, the storage protection bit of the address translation table is saved in DATCTL2.

AA3は信号線301及び302に送出されたホストP
FRA (HPFRA)とHVA(7)BX部(HB 
X)との加算を行い、加算結果をTAL4にセットする
。こきで、TAL4にセットされたアドレスはゲストセ
グメントテーブルエントリ(以降GSTEと略す)のレ
ベル1実アドレス(HR)であり、信号線109を介し
てCUIに送られる。
AA3 is the host P sent to signal lines 301 and 302.
FRA (HPFRA) and HVA (7) BX section (HB
X) and set the addition result to TAL4. Here, the address set in TAL4 is the level 1 real address (HR) of the guest segment table entry (hereinafter abbreviated as GSTE), and is sent to the CUI via the signal line 109.

次に、ステップ514から519までの処理について説
明する(第3図(C))。
Next, the processing from steps 514 to 519 will be explained (FIG. 3(C)).

ステップ514 CUIは信号線109を介して送られて来たGSTEの
レベルl実アドレス(HR)を用いて、主記憶に対しG
STEの読出し要求を出すと共に、信号線304を介し
て5ELA6にGTLARI5の内容を送出しTEAR
17にセットする旨の指示を出す。同時にCUIは信号
線101を介しGVAをTLAX7にセットする。又、
読み出したGSTEを5TERI 2にセットし、且つ
、その旨を信号線108を介してDATCTL2に報告
する。
Step 514 The CUI uses the GSTE level l real address (HR) sent via the signal line 109 to write the G to main memory.
At the same time as issuing a STE read request, the contents of GTLARI5 are sent to 5ELA6 via the signal line 304 and TEAR
I issue an instruction to set it to 17. At the same time, CUI sets GVA to TLAX7 via signal line 101. or,
It sets the read GSTE to 5TERI 2 and reports this to DATCTL2 via the signal line 108.

スー・プ515 DATCTL2は、信号線108を介してステップ51
4の実行が終了した旨を報告されると、ゲストアドレス
変換アーキテクチャに基いて、DSTE無効ビット(I
ビット)がII I IIであるか否かを調べ、無効ビ
ットが111 Hであればその旨を信号線108を介し
てCUIに報告し、以降のアドレス変換動作を停止する
The soup 515 DATCTL2 is connected to the step 51 via the signal line 108.
Based on the guest address translation architecture, the DSTE invalid bit (I
If the invalid bit is 111H, this fact is reported to the CUI via the signal line 108, and subsequent address translation operations are stopped.

DATCTL2は同時に、信号線303を介して5TE
R12の内容を信号線305に送出する旨の指示を5E
LB5に出し、本動作によりGSTHの形式チェックを
ゲストアドレス変換アーキテクチャに基いて行い、形式
違反があれば信号線108を介してCUlにその旨を報
告し、以降のアドレス変換動作を停止する。
DATCTL2 simultaneously connects 5TE via signal line 303.
5E sends an instruction to send the contents of R12 to the signal line 305.
This operation checks the format of GSTH based on the guest address translation architecture, and if there is a format violation, it is reported to CU1 via the signal line 108, and subsequent address translation operations are stopped.

DATC:TL2は同時に、GSTEの共通セグメント
ビット又は記憶保護ビットを該当するアーキテクチャに
依りDATCT、L2内に保存する。
DATC:TL2 simultaneously stores the GSTE's common segment bits or storage protection bits in DATCT:L2, depending on the appropriate architecture.

DATCTL2は、また、5TERI 2に保存してい
るGSTEの内容を信号線305に出力する旨の信号を
信号線303を介して5ELB5に出し、信号線305
を介して得られるGSTEのページテーブル長(、GP
TL)と、TLAX7から信号線201を介して送出さ
れているゲスト仮想アドレスのPX部(GPX)とをゲ
ストアドレス変換アーキテクチャに基いて比較し、ゲス
トPX (GPX)の方が大きい場合、その旨を信号線
108を介してCUIに送出して以降のアドレス変換動
作を停止する。
DATCTL2 also outputs a signal to 5ELB5 via signal line 303 to output the contents of GSTE stored in 5TERI 2 to signal line 305;
The page table length of GSTE (,GP
TL) and the PX part (GPX) of the guest virtual address sent from TLAX7 via the signal line 201 based on the guest address translation architecture, and if the guest PX (GPX) is larger, the is sent to the CUI via the signal line 108, and subsequent address conversion operations are stopped.

DATCTL2は同時に、信号線207に送出されてい
る5TER12の内容のうちのページテーブル起点デー
タ(GPTO)のみを切り出して信号線301に送出す
る旨の指示を信号a303を介して5ELB5に送出し
、更に信号線210に送出されているGTLAR15の
内容であるGVAのうちのPX部(GPX)を切り出し
、ゲストアドレス変換アーキテクチャに基いた所定のシ
フト及びII OHp挿入等の編集を行った後、信号線
302に送出する旨の指示を信号線304を介して5E
LA6に送出する。
At the same time, DATCTL2 sends an instruction to 5ELB5 via signal a303 to extract only the page table starting point data (GPTO) from the contents of 5TER12 sent to signal line 207 and send it to signal line 301, and then After cutting out the PX portion (GPX) of the GVA that is the content of GTLAR 15 sent to the signal line 210 and performing editing such as a predetermined shift and II OHp insertion based on the guest address translation architecture, the signal line 302 5E via the signal line 304.
Send to LA6.

AA3は信号線301及び302に送出されたゲストペ
ージテーブル起点アドレス(GPTO)とGVAのpx
部(GPX)との加算を行い、加算結果をTAL4にセ
ットする。二\で、TA14にセットされたアドレスは
ゲストページテーブルエントリ(以降GPTEと略す)
のレベル2実アドレス(レベル1仮想アドレス)であり
、信号線109を介してCUIに送られる。
AA3 is the guest page table starting point address (GPTO) sent to signal lines 301 and 302 and the px of GVA.
(GPX) and sets the addition result to TAL4. 2\, the address set in TA14 is the guest page table entry (hereinafter abbreviated as GPTE)
This is the level 2 real address (level 1 virtual address) of , and is sent to the CUI via signal line 109.

ステップ516 CUIは信号線109を介して送られて来たGPTEの
レベル2アドレス(G R)を、ゲストプリフィクス値
を用いてプリフィクス変換を行い、信号線106を介し
てHTLARl、4にセットする。HTLARI 4に
セットされたアドレスはGPTEのレベル2絶対アドレ
ス(G A)である。
Step 516 The CUI performs prefix conversion on the GPTE level 2 address (G R) sent via the signal line 109 using the guest prefix value, and sets it to HTLAR1,4 via the signal line 106. The address set in HTLARI 4 is a GPTE level 2 absolute address (GA).

ステップ517 ステップ517は、GPTEのレベル2絶対アドレスを
GSTEレベル2絶対アドレスと置き換えることを除け
ば、ステップ504と同じ動作を行う。
Step 517 Step 517 performs the same operations as step 504, except that the GPTE level 2 absolute address is replaced with the GSTE level 2 absolute address.

ステップ518 ステップ518は、GPTEのレベル2絶対アドレスを
GSTEレベル2絶対アドレスに置き替える以外、ステ
ップ505と同じ動作を行う。
Step 518 Step 518 performs the same operation as step 505, except that the GPTE level 2 absolute address is replaced with the GSTE level 2 absolute address.

二\で、TAL4にセットされたアドレスは、GPTE
のレベル1仮想アドレスであり、ホストのPSWのアド
レス変換モードビットが′0″である場合、GPTEの
レベル1実アドレスに等しい。
2\, the address set in TAL4 is GPTE
is the level 1 virtual address of the host and is equal to the GPTE level 1 real address if the address translation mode bit of the host's PSW is '0''.

ホストPSWのアドレス変換モードピットが′0″であ
る場合にはステップ524に進むが、本例ではこのビッ
トがII I IIの場合を示す。
If the address translation mode pit of the host PSW is '0'', the process proceeds to step 524, but this example shows the case where this bit is II III II.

TAL4にセットされたGPTEのレベル1仮想アドレ
ス(HV)は、信号線109を介してCUlに送出され
る。
The GPTE level 1 virtual address (HV) set in TAL4 is sent to CU1 via signal line 109.

ステップ519 CUIは信号線109を介して受は取ったGPTEのレ
ベル1仮想アドレス(HV)を信号線106を介してH
TLARl4にセットすると共に、信号線101を介し
てTLAX7にセットする。
Step 519 The CUI receives the GPTE level 1 virtual address (HV) via the signal line 109 and transfers it to H via the signal line 106.
It is set to TLARl4 and is also set to TLAX7 via the signal line 101.

次に、ステップ520から526までの処理について説
明する(第3図(d))。
Next, the processing from steps 520 to 526 will be explained (FIG. 3(d)).

ステップ520 ステップ520ではステップ507と同様な動作を行い
、不当形式のチェック、ホストセグメント長(HS T
 L)とホストSX (H8X)との比較チェック、ホ
ストセグメントテーブル起点(HST○)とホストSX
 (H5X)の加算を行う。
Step 520 Step 520 performs the same operation as step 507, checks for an invalid format, and checks the host segment length (HS T
Comparison check between L) and host SX (H8X), host segment table origin (HST○) and host SX
(H5X) is added.

ステップ521 ステップ521ではステップ508と同様な動作を行う
Step 521 In step 521, the same operation as in step 508 is performed.

ステップ522 ステップ522では、ステップ509と同様な動作を行
う。
Step 522 In step 522, the same operation as in step 509 is performed.

ステップ523 ステップ523では、ステップ510と同様な動作を行
い、HSTEの無効ビット(■ビット)のチェック、H
STEの形式チェック、ホストページテーブル長(HP
 T L)とホストPX部(HPX)との比較、ホスト
ページテーブル起点(HPTO)とホストPX部(HP
X)との加算を行い、TAL4にHPTEのアドレスを
求めCUIに送出する。
Step 523 In step 523, the same operation as step 510 is performed, checking the invalid bit (■ bit) of HSTE,
STE format check, host page table length (HP
Comparison of host page table origin (HPTO) and host PX unit (HPX)
X), obtains the HPTE address from TAL4, and sends it to CUI.

ステップ524 ステップ524はステップ511と同様の動作を行う。Step 524 Step 524 performs the same operation as step 511.

ステップ525 ステップ525はステップ512と同様の動作を行う。Step 525 Step 525 performs the same operation as step 512.

ステップ526 ステップ526はステップ513と同様の動作を行い、
HPTEの無効ビット(■ビット)のチェック、形式チ
ェック、PTER13のPFRA(HP F RA)と
HTLARI4のBX部(HBX)の加算を行い、結果
をTAL4にセットする。
Step 526 Step 526 performs the same operation as step 513,
Check the invalid bit (■ bit) of HPTE, check the format, add PFRA (HP F RA) of PTER13 and BX part (HBX) of HTLARI4, and set the result to TAL4.

ニジで、TAL4にセットされたアドレスはゲストPT
Eのレベル2実アドレス(HR)であり、信号線109
を介してCUIに送られる。
The address set in TAL4 is the guest PT.
Level 2 real address (HR) of E, signal line 109
is sent to CUI via.

次にステップ527から532までの処理について説明
する(第3図(e))。
Next, the processing from steps 527 to 532 will be explained (FIG. 3(e)).

ステップ527 CUIは信号線109を介して送られた来たGPTEの
レベル1実アドレス(HR)を用いて、主記憶に対しG
PTHの読出し要求を出すと共に、信号線304を介し
て5ELA6にGTLARI5の内容を送出しTEAR
17にセットする旨の指示を出す。同時にCUIは信号
、$A101を介してGvAt&TLAX7にセットす
る。又、読み出したGPTEをPTER13にセットし
、且つその旨を信号線108を介してDATCTL2に
報告する。
Step 527 The CUI uses the level 1 real address (HR) of the incoming GPTE sent via the signal line 109 to address the G
At the same time as issuing a PTH read request, the contents of GTLARI5 are sent to 5ELA6 via the signal line 304 and TEAR
I issue an instruction to set it to 17. At the same time, CUI sets GvAt&TLAX7 via signal $A101. It also sets the read GPTE in PTER13 and reports this to DATCTL2 via signal line 108.

ステップ528 DATCTL2は、信号線108を介してステップ52
7の実行が終了した旨を報告されると、ゲストアドレス
変換アーキテクチャに基いて、PTER13のGPTE
無効ビット(エビット)がre 1 nであるか否かを
調べ、無効ビットが′1″であればその旨を信号線10
8を介してCUlに報告し、以降のアドレス変換動作を
停止する。
Step 528 DATCTL2 is connected to step 52 via signal line 108.
When it is reported that the execution of PTER 7 has finished, based on the guest address translation architecture, the
It is checked whether the invalid bit (ebit) is re 1 n, and if the invalid bit is '1'', that fact is sent to the signal line 10.
8 to CU1, and the subsequent address translation operation is stopped.

DATCTL2は、また、信号線303を介してPTE
R13の内容を信号線305に送出する旨の指示を5E
LB5に出し1本動作によりGPTEの形式チェックを
ゲストアドレス変換アーキテクチャに基いて行い、形式
違反があれば信号線108を介してCUIにその旨を報
告し、以降のアドレス変換動作を停止する。
DATCTL2 also connects PTE via signal line 303.
5E sends an instruction to send the contents of R13 to the signal line 305.
A GPTE format check is performed based on the guest address translation architecture by sending one line to LB5, and if there is a format violation, the fact is reported to the CUI via the signal line 108, and subsequent address translation operations are stopped.

DATCTL2は同時に、GPTEの記憶保護ビットを
該当するアーキテクチャに依りDATCTL2内に保存
する。
DATCTL2 simultaneously stores the GPTE storage protection bits in DATCTL2 depending on the appropriate architecture.

DATCTL2は同時に、信号線208に送出されてい
るPTER13の内容のうちのゲストPFRA部(G 
P F RA)のみをゲストアドレス変換アーキテクチ
ャに基いて編集し信号線301に送出する旨の指示を信
号線303を介して5ELB5に送出し、更に信号線2
10に送出されているGVAのうちのBX部(GBX)
を切り出し、ゲストアドレス変換アーキテクチャに基い
た所定のシフト及び゛″0″b 線302に送出する旨の指示を信号線304を介して5
ELA6に送出する。
DATCTL2 simultaneously reads the guest PFRA part (G
An instruction to edit only P F RA) based on the guest address translation architecture and send it to signal line 301 is sent to 5ELB5 via signal line 303, and further to signal line 2.
BX part (GBX) of GVA sent to 10
A predetermined shift based on the guest address translation architecture and an instruction to send to the ``0''b line 302 are sent via the signal line 304.
Send to ELA6.

AA3は信号線301及び302に送出されたゲストP
FRA (GPFRA)とGVA(71BX部(G B
 X)との加算を行い、加算結果をTAL4にセットす
る。こ\でTAL4にセットされたアドレスはゲスト実
アドレス(GR)であり信号線109を介してCUIに
送られる。
AA3 is the guest P sent to signal lines 301 and 302.
FRA (GPFRA) and GVA (71BX section (GB
X) and set the addition result to TAL4. The address set in TAL4 here is the guest real address (GR) and is sent to the CUI via the signal line 109.

ステップ529 CUIは信号線109を介して送られて来たゲスト実ア
ドレス(以降GRAと略す)を、ゲストプリフィクス値
を用いてプリフィクス変換を行い。
Step 529 The CUI performs prefix conversion on the guest real address (hereinafter abbreviated as GRA) sent via the signal line 109 using the guest prefix value.

信号fi106を介してHTLARI 4にセットする
。HTLARI 4にセットされたアドレスはゲストの
レベル2絶対アドレスである。
Set to HTLARI 4 via signal fi106. The address set in HTLARI 4 is the guest's level 2 absolute address.

ステップ530 ステップ530は、ゲストのレベル2絶対アドレスをG
STEレベル2絶対アドレスと置き替えて、ステップ5
04と同じ動作を行う。
Step 530 Step 530 sets the level 2 absolute address of the guest to G
Replace with STE level 2 absolute address, step 5
Perform the same operation as 04.

ステップ531 ステップ531は、ゲストのレベル2絶対アドレスをG
STEレベル2絶対アドレスに置き替えて、ステップ5
05と同じ動作を行う。
Step 531 Step 531 sets the level 2 absolute address of the guest to G
Replace with STE level 2 absolute address, step 5
Perform the same operation as 05.

TAL4にセットされたアドレスは、ゲストのレベル1
仮想アドレスであり、ホストのPSWのアドレス変換モ
ードピットがu O、、である場合、ゲストのレベル1
実アドレスに等しい。ホストPSWのアドレス変換モー
ドが110 ″である場合にはステップ540に進むが
、本例ではこのビットがLL L 11の場合を示す。
The address set in TAL4 is the guest's level 1 address.
If it is a virtual address and the address translation mode pit of the host's PSW is u O, then the guest's level 1
Equal to real address. If the address translation mode of the host PSW is 110'', the process proceeds to step 540, but in this example, the case where this bit is LL L 11 is shown.

TAL4にセットされたゲストのレベル1仮想アドレス
(HV)は、信号線109を介してCUlに送出される
The guest's level 1 virtual address (HV) set in TAL4 is sent to CU1 via signal line 109.

ステップ532 ステップ532はGPTEのレベル1仮想アドレスをゲ
ストのレベル1仮想アドレスに置き替えて、ステップ5
19と同様の動作を行う。
Step 532 Step 532 replaces the GPTE's level 1 virtual address with the guest's level 1 virtual address and steps 5
Perform the same operation as No. 19.

次に、ステップ533から540の処理を説明する(第
3図(f))。
Next, the processing from steps 533 to 540 will be explained (FIG. 3(f)).

ステップ533 ステップ533はステップ507と同様の動作を行う。Step 533 Step 533 performs the same operation as step 507.

ステップ534 ステップ534はステップ508と同様の動作を行う。Step 534 Step 534 performs the same operation as step 508.

ステップ535 ステップ535はステップ509と同様の動作を行う。Step 535 Step 535 performs the same operation as step 509.

ステップ536 ステップ536はステップ510と同様の動作を行う。Step 536 Step 536 performs similar operations to step 510.

ステップ537 ステップ537はステップ511と同様の動作を行う。Step 537 Step 537 performs the same operation as step 511.

ステップ538 ステップ538はステップ512と同様の動作を行う。Step 538 Step 538 performs the same operation as step 512.

ステップ539 ステップ539はステップ513と同様の動作を行う。Step 539 Step 539 performs the same operation as step 513.

TA L 4にセットされたアドレスはゲストのレベル
1実アドレスであり、信号線109を介してCUlに送
られる。
The address set in TA L 4 is the guest's level 1 real address and is sent to CUL via signal line 109.

ステップ540 CUIは信号線109を介して送られて来たレベル1実
アドレスを受は取り、更に信号線108介してDATC
TL2が保存している共通ゼクメントビット及び記憶保
護ビットを取り出す。しかる後に主記憶に対しデータの
読出し要求を出す。
Step 540 The CUI receives the level 1 real address sent via the signal line 109, and further sends the DATC via the signal line 108.
The common secment bit and storage protection bit stored in TL2 are retrieved. Thereafter, a data read request is issued to the main memory.

以上本発明の一実施例を説明したが、ゲスト仮想アドレ
スはGTLARI 5から取り出してCUlに再送出す
る構造としても良く、又5TERI2とPTERI 3
を同一のレジスタにしても良い。
Although one embodiment of the present invention has been described above, the guest virtual address may be taken out from GTLARI 5 and re-sent to CUl, or the structure may be such that the guest virtual address is taken out from GTLARI 5 and re-sent to CUl, or 5TERI2 and PTERI3
may be in the same register.

又、H5TORIOとGSTORI 1を同一のレジス
タとして、CUlが使用の都度入れ替えをやる構成にし
ても良く、TLAX7とHTLARI4を同一のレジス
タにしても良い。
Alternatively, H5TORIO and GSTORI 1 may be made the same register, and CUl may be replaced each time it is used, or TLAX7 and HTLARI4 may be made the same register.

又、HTLAR14とGTLARI 5を同一のレジス
タにして、CUlが使用の都度入れ替える構成にしても
よい。
Alternatively, the HTLAR 14 and GTLARI 5 may be made into the same register, and CUl may be replaced each time it is used.

又、第2図のフロー図では、各ステップを必要に応じて
競合、分離して実現しても良い。
Furthermore, in the flow diagram of FIG. 2, each step may be realized by competing or separating each step as necessary.

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

以上の説明から明らかな如く1本発明によれば、2レベ
ル以上のアドレス変換について各アドレス変換過程を可
能な限り並列に実行でき、2レベル以上のアドレス変換
性能を飛躍的に向上させることができ、又異なったアー
キテクチャの2レベルアドレス変換性能の飛躍的性能向
上を図ることができる。
As is clear from the above description, according to the present invention, each address conversion process for two or more levels of address conversion can be executed in parallel as much as possible, and the performance of two or more levels of address conversion can be dramatically improved. , it is also possible to dramatically improve the two-level address translation performance of different architectures.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の動作を説明するための処理フロー図、第3図は第1
図の動作を説明するための模式図である。 1・・・制御装置、 2・・・アドレス変換制御回路、
3・・・アドレス加算器、  4・・・アドレスラッチ
、5・・・セレクタB、  6・・・セレクタA、  
7・・・変換論理アドレスラッチ、 8・・・ホスト変
換形式%式% 起点レジスタ、  11・・・ゲストセグメントテーブ
ル起点レジスタ、  12・・・セグメントテーブルエ
ントリレジスタ、  13・・・ページテーブルエント
リレジスタ、  14・・・ホスト変換論理アドレスレ
ジスタ、  15・・・ゲスト変換論理アドレスレジス
タ、  16・・・主記憶起点アドレスレジスタ、  
17・・・変換例外アドレスレジスタ。 18・・・主記憶範囲アドレスレジスタ。 第  2  図 (2) 第  2  図 (の 第  2  図 (C)
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
A processing flow diagram for explaining the operation of the figure, Figure 3 is the first
It is a schematic diagram for demonstrating the operation|movement of a figure. 1... Control device, 2... Address conversion control circuit,
3...Address adder, 4...Address latch, 5...Selector B, 6...Selector A,
7... Conversion logical address latch, 8... Host conversion format % expression % starting point register, 11... Guest segment table starting point register, 12... Segment table entry register, 13... Page table entry register, 14...Host translation logical address register, 15...Guest translation logical address register, 16...Main memory starting point address register,
17... Conversion exception address register. 18...Main memory range address register. Figure 2 (2) Figure 2 (Figure 2 (C)

Claims (1)

【特許請求の範囲】[Claims] (1)仮想計算機方式の情報処理装置において、アドレ
ス変換に必要なアドレス変換情報を保持するレジスタを
独立に2組以上備えると共に各組のレジスタを選択する
手段を設け、2種類以上の異なるアーキテクチャのアド
レス変換過程をそれぞれ実行することを特徴とするアド
レス変換装置。
(1) A virtual machine type information processing device is provided with two or more independent sets of registers that hold address translation information necessary for address translation, and is provided with means for selecting each set of registers, so that two or more types of different architectures can be used. An address translation device characterized in that it performs each address translation process.
JP60158546A 1985-07-18 1985-07-18 Address converting device Pending JPS6219949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60158546A JPS6219949A (en) 1985-07-18 1985-07-18 Address converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60158546A JPS6219949A (en) 1985-07-18 1985-07-18 Address converting device

Publications (1)

Publication Number Publication Date
JPS6219949A true JPS6219949A (en) 1987-01-28

Family

ID=15674067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60158546A Pending JPS6219949A (en) 1985-07-18 1985-07-18 Address converting device

Country Status (1)

Country Link
JP (1) JPS6219949A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5390309A (en) * 1990-07-30 1995-02-14 Hitachi, Ltd. Virtual address translation in three level virtual machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5452929A (en) * 1977-10-05 1979-04-25 Hitachi Ltd Address converting device for information processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5452929A (en) * 1977-10-05 1979-04-25 Hitachi Ltd Address converting device for information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530820A (en) * 1990-07-03 1996-06-25 Hitachi, Ltd. Virtual machine and method for controlling the same
US5390309A (en) * 1990-07-30 1995-02-14 Hitachi, Ltd. Virtual address translation in three level virtual machine

Similar Documents

Publication Publication Date Title
US5530820A (en) Virtual machine and method for controlling the same
JP5181141B2 (en) Apparatus, method and computer program for providing indirect data addressing in an input / output processing system
JP2722523B2 (en) Instruction prefetch device
JPH0137773B2 (en)
CN111414325B (en) Method for converting Avalon bus into Axi4 bus
JPH0564813B2 (en)
CN115840620B (en) Data path construction method, device and medium
US6052530A (en) Dynamic translation system and method for optimally translating computer code
EP0239359B1 (en) Address translation circuit
US5991848A (en) Computing system accessible to a split line on border of two pages within one cycle
JPS6219949A (en) Address converting device
US4768146A (en) Vector data refer circuit with a preceding paging control for a vector processor apparatus therefor
JP3190700B2 (en) Address translator
TW202240411A (en) Method for transmitting data and data processing circuit
JP3125790B2 (en) Address translator
JPH08235071A (en) Virtual computr system
JP2001154915A (en) Information processor
JP2000003328A (en) Address reference system for input/output control device
JPS60123946A (en) Address translating mechanism
JP3471657B2 (en) Address translation apparatus and method
JPH0322053A (en) Move in buffer control system
JPS6048789B2 (en) Prefix conversion control method
JPS63189955A (en) Data transferring and processing system in virtual computer system
JPH06100990B2 (en) Address conversion method for virtual machine system
JPH0550019B2 (en)