JPS6218065B2 - - Google Patents

Info

Publication number
JPS6218065B2
JPS6218065B2 JP57078664A JP7866482A JPS6218065B2 JP S6218065 B2 JPS6218065 B2 JP S6218065B2 JP 57078664 A JP57078664 A JP 57078664A JP 7866482 A JP7866482 A JP 7866482A JP S6218065 B2 JPS6218065 B2 JP S6218065B2
Authority
JP
Japan
Prior art keywords
address
virtual machine
real
address translation
data
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
JP57078664A
Other languages
Japanese (ja)
Other versions
JPS58196681A (en
Inventor
Akihisa Makita
Yoshiharu Torii
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP57078664A priority Critical patent/JPS58196681A/en
Publication of JPS58196681A publication Critical patent/JPS58196681A/en
Publication of JPS6218065B2 publication Critical patent/JPS6218065B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 (技術分野の説明) 本発明は仮想マシンシステムにおけるアドレス
変換方式に関し、特に斯かるアドレス変換方式の
構成に関する。
DETAILED DESCRIPTION OF THE INVENTION (Description of the Technical Field) The present invention relates to an address translation method in a virtual machine system, and particularly to the configuration of such an address translation method.

(従来技術の説明) 従来から仮想マシンシステムにおいては、アド
レス変換テーブルを主記憶装置の内部に設け、仮
想マシン上のアドレスを実アドレスに変換してい
たため、アドレス変換の速度が低いと云う欠点が
あつた。
(Description of Prior Art) Conventionally, in virtual machine systems, an address translation table is provided inside the main storage device to convert addresses on the virtual machine to real addresses, which has the disadvantage of slow address translation speed. It was hot.

(発明の目的の説明) 本発明の目的は、仮想マシン識別子の一部分と
仮想マシン上のアドレスの一部分とをアドレス変
換バツフアのキイ部として使用し、実アドレスの
一部分または全部をアドレス変換バツフアのデー
タ部として使用して、仮想マシン識別子の一部分
と、仮想マシン上の仮想アドレス/実アドレス識
別子と、仮想マシン上でアドレスのキイ部以外の
一部分とをアドレス変換バツフアのアドレスとし
てアドレス変換バツフア内容の読出し、あるいは
書込みを実行すると共に、アドレス変換バツフア
から読出されたデータのキイ部がアドレス情報の
対応する部分と一致した場合にはデータ部を実ア
ドレスの一部または全部とし、一致しなかつた場
合にはアドレス変換テーブルからアドレス変換部
によつて求めたアドレス情報を実アドレスの一部
または全部として使用することにより上記欠点を
除去し、仮想マシンシステムにおけるアドレス変
換を高速化する方式を提供することである。
(Description of Object of the Invention) An object of the present invention is to use a part of a virtual machine identifier and a part of an address on a virtual machine as a key part of an address translation buffer, and to convert part or all of a real address into data of an address translation buffer. Read the contents of the address translation buffer using a part of the virtual machine identifier, the virtual address/real address identifier on the virtual machine, and the part other than the key part of the address on the virtual machine as the address of the address translation buffer. , or when writing is executed and the key part of the data read from the address conversion buffer matches the corresponding part of the address information, the data part is set as part or all of the real address, and if they do not match, The present invention provides a method for speeding up address translation in a virtual machine system by eliminating the above drawbacks by using address information obtained by an address translation unit from an address translation table as part or all of the real address. be.

(発明の構成と作用の説明) 本発明によるアドレス変換方式は仮想マシンシ
ステムにおいて使用される実チヤネル制御装置に
含まれる。本発明による仮想マシンシステムにお
けるアドレス変換方式はアドレス変換バツフア
と、アドレス変換部と、アドレス変換バツフア制
御部と、アドレスレジスタと、比較部と、選択部
とを具備して構成した方式である。アドレス変換
バツフアは仮想マシン識別子の一部分と仮想マシ
ン上のアドレスの一部分とをキイ部として使用
し、アドレス変換テーブルを格納するものであ
る。アドレス変換テーブルのデータ部は実アドレ
スの一部分、または全部から成立つ。よつて、ア
ドレス変換部はアドレス変換テーブルによつて仮
想マシン上の仮想アドレス、または実アドレスを
実マシン上の実アドレスの一部、または全部に変
換するものである。アドレス変換バツフア制御部
はアドレス変換部によつて求めた実アドレスの一
部、または全部をアドレス変換バツフアのデータ
部に書込み、仮想マシン識別子の一部分と仮想マ
シン上のアドレスの一部とをアドレス変換バツフ
アのキイ部に書込むものである。アドレスレジス
タはキイ部以外の仮想マシン識別子、仮想マシン
上の仮想アドレス/実アドレス識別子、およびキ
イ部以外であつて仮想マシン上のアドレスの一部
をアドレス情報として使用し、アドレス変換バツ
フアの書込み、読出しを実行するための一時記憶
装置である。比較部はアドレス変換バツフアから
送出された読出しデータのキイ部と、アドレスレ
ジスタにセツトされたアドレス情報の対応する部
分とが一致するか否かを検出するものである。比
較部によつて一致が検出された時には、選択部は
アドレス変換バツフアからの読出しデータを実マ
シンの実アドレス部の一部、または全部として選
択し、一致が検出されない時には、選択部はアド
レス変換部によつて求めたアドレス情報を実マシ
ンの実アドレスの一部、または全部として選択す
る。
(Description of Structure and Effects of the Invention) The address translation method according to the present invention is included in a real channel control device used in a virtual machine system. The address translation method in the virtual machine system according to the present invention is a method comprising an address translation buffer, an address translation section, an address translation buffer control section, an address register, a comparison section, and a selection section. The address translation buffer uses part of the virtual machine identifier and part of the address on the virtual machine as key parts, and stores an address translation table. The data portion of the address conversion table consists of part or all of the real address. Therefore, the address conversion unit converts a virtual address or a real address on a virtual machine into a part or all of a real address on a real machine using an address conversion table. The address translation buffer control unit writes part or all of the real address obtained by the address translation unit to the data part of the address translation buffer, and converts part of the virtual machine identifier and part of the address on the virtual machine into an address. This is to be written in the key part of the buffer. The address register uses the virtual machine identifier other than the key part, the virtual address/real address identifier on the virtual machine, and a part of the address on the virtual machine other than the key part as address information, and writes the address translation buffer. This is a temporary storage device for reading. The comparison section detects whether the key part of the read data sent from the address conversion buffer matches the corresponding part of the address information set in the address register. When a match is detected by the comparison section, the selection section selects the read data from the address conversion buffer as part or all of the real address section of the real machine; when no match is detected, the selection section selects the read data from the address conversion buffer as part or all of the real address section of the real machine. The address information obtained by the section is selected as part or all of the real address of the real machine.

(実施例の説明) 次に本発明について図面を参照して詳細に説明
する。
(Description of Examples) Next, the present invention will be described in detail with reference to the drawings.

第1図は本発明によつて仮想マシンシステムに
おけるアドレス変換方式を実現するための一実施
例を示す装置のブロツク図である。第1図におい
てアドレス変換方式を実現する装置はアドレスレ
ジスタ1と、アドレス変換バツフア2と、比較部
3と、選択部4と、アドレス変換部5と、アドレ
ス変換バツフア制御部6とから成立つ。仮想マシ
ンシステムに使用される実チヤネル制御装置にお
いて、仮想マシン識別子と、仮想マシン上の仮想
アドレス/実アドレス識別子と、仮想マシン上の
実アドレスとがアドレス情報としてアドレスレジ
スタ1に与えられる。そこで、キイ部以外の仮想
マシン識別子と、仮想マシン上の仮想アドレス/
実アドレス識別子と、キイ部以外の仮想マシン上
のアドレスの一部が、アドレスレジスタ1から信
号線101を介してアドレス変換バツフア2にア
ドレスとして与えられる。このアドレスに従つ
て、アドレス変換バツフア2の内容が読出され
る。アドレス変換バツフア2から読出されたデー
タのうち、仮想マシン識別子の一部分、ならびに
仮想マシン上のアドレスの一部分が信号線104
に出力される。比較部3ではアドレスレジスタ1
から信号線100を介して送出されるキイ部のデ
ータと信号線104を介してアドレス変換バツフ
ア2から読出されたデータの一部分とが比較され
る。比較部3で両データに一致がとれると信号線
108の信号の状態が1になる。そこで選択部4
では信号線105に読出されているアドレス変換
バツフア2の内容のデータ部を選択する。信号線
107ではこのデータ部は実アドレスの一部とな
る。実アドレスは信号線107に送出されたデー
タと、信号線102に送出されたデータとから成
立つ。信号線102に送出されたデータは、アド
レスレジスタ1に与えられたデータのうち、変換
が不要な部分である。上の様にして求めた実アド
レスを使用して、キヤツシユメモリ、または主記
憶装置をアクセスし、アドレシングする。比較部
3で上記両データ間の一致が得られなかつた場合
には、変換すべきデータを信号線103を介して
アドレス変換部5へ入力し、アドレス変換した出
力をセレクタ4によつて選択し、信号線107に
出力する。この時、アドレス変換バツフア制御部
6によつてアドレスレジスタ1の値がアドレス変
換されるが、アドレス変換された値が出力される
まで保持すべき信号は信号線109を介してアド
レス変換バツフア制御部6から指示される。アド
レス変換された値が出力された後、信号線110
を介してアドレス変換バツフア2に対して、キイ
部とデータ部とを書込むための指示がアドレス変
換バツフア制御部6から送出される。
FIG. 1 is a block diagram of an apparatus showing an embodiment for realizing an address translation method in a virtual machine system according to the present invention. In FIG. 1, a device implementing the address translation method is comprised of an address register 1, an address translation buffer 2, a comparison section 3, a selection section 4, an address translation section 5, and an address translation buffer control section 6. In a real channel control device used in a virtual machine system, a virtual machine identifier, a virtual address/real address identifier on the virtual machine, and a real address on the virtual machine are given to an address register 1 as address information. Therefore, the virtual machine identifier other than the key part and the virtual address/
The real address identifier and part of the address on the virtual machine other than the key part are given as addresses from the address register 1 to the address translation buffer 2 via the signal line 101. According to this address, the contents of address translation buffer 2 are read out. Among the data read from the address conversion buffer 2, a part of the virtual machine identifier and a part of the address on the virtual machine are transferred to the signal line 104.
is output to. In comparison section 3, address register 1
The data of the key portion sent from the address conversion buffer 2 via the signal line 100 is compared with a portion of the data read from the address conversion buffer 2 via the signal line 104. When the comparator 3 finds that both data match, the state of the signal on the signal line 108 becomes 1. Therefore, selection section 4
Then, the data part of the contents of the address conversion buffer 2 read out to the signal line 105 is selected. In the signal line 107, this data portion becomes part of the real address. The real address is made up of data sent to signal line 107 and data sent to signal line 102. The data sent to the signal line 102 is a portion of the data given to the address register 1 that does not require conversion. The real address obtained as above is used to access and address the cache memory or main memory. If the comparing section 3 does not find a match between the two data, the data to be converted is input to the address converting section 5 via the signal line 103, and the address converted output is selected by the selector 4. , is output to the signal line 107. At this time, the value of the address register 1 is converted into an address by the address conversion buffer control unit 6, but the signal to be held until the address converted value is output is sent to the address conversion buffer control unit via the signal line 109. Instructions are given from 6. After the address converted value is output, the signal line 110
An instruction for writing the key part and the data part is sent from the address translation buffer control section 6 to the address translation buffer 2 via the address translation buffer 2.

(発明の効果の説明) 本発明には以上説明したように、実チヤネル制
御装置のアドレス変換バツフアのキイ部として、
仮想マシン識別子の一部分と仮想マシン上のアド
レスの一部とを設定し、アドレス変換バツフアの
アドレス情報としてキイ部以外の仮想マシン識別
子と、仮想マシン上の仮想アドレス/実アドレス
識別子と、仮想マシン上のアドレスのキイ部以外
のアドレス情報の一部をアドレスレジスタに与
え、アドレス変換バツフアのキイ部がアドレスレ
ジスタの相当する部分の内容に一致したとき、デ
ータ部として読出した実アドレスの一部、または
全部をアクセスすべきメモリの実アドレスの一
部、または全部として使用することにより、仮想
マシンシステムにおけるアドレス変換を高速化で
きると云う効果がある。
(Description of Effects of the Invention) As explained above, the present invention includes the key part of the address translation buffer of the real channel control device.
Set part of the virtual machine identifier and part of the address on the virtual machine, and set the virtual machine identifier other than the key part as the address information of the address translation buffer, the virtual address/real address identifier on the virtual machine, and the address information on the virtual machine. When a part of the address information other than the key part of the address of the address is given to the address register, and the key part of the address conversion buffer matches the content of the corresponding part of the address register, the part of the real address read out as the data part, or By using all of them as part or all of the real address of the memory to be accessed, there is an effect that address translation in the virtual machine system can be speeded up.

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

第1図は本発明によつて構成した仮想マシンシ
ステムにおけるアドレス変換方式の一実施例を示
すブロツク図である。 1……アドレスレジスタ、2……アドレス変換
バツフア、3……比較部、4……選択部、5……
アドレス変換部、6……アドレス変換バツフア制
御部、100〜110……信号線。
FIG. 1 is a block diagram showing an embodiment of an address translation method in a virtual machine system constructed according to the present invention. 1...Address register, 2...Address conversion buffer, 3...Comparison section, 4...Selection section, 5...
Address conversion unit, 6...Address conversion buffer control unit, 100-110...Signal line.

Claims (1)

【特許請求の範囲】[Claims] 1 実チヤネル制御装置に含まれ、仮想マシンシ
ステムにおいて使用されるアドレス変換方式にお
いて、仮想マシン識別子の一部分と仮想マシン上
のアドレスの一部分とをキイ部として使用し、実
アドレスの一部分または全部をデータ部として使
用したアドレス変換バツフアと、アドレス変換テ
ーブルによつて前記仮想マシン上の仮想アドレス
または実アドレスを実マシン上の実アドレスの一
部、または全部に変換するためのアドレス変換部
と、前記アドレス変換部によつて求めた前記実ア
ドレスの一部、または全部を前記アドレス変換バ
ツフアのデータ部に書込み、前記仮想マシン識別
子の一部と前記仮想マシン上のアドレスの一部と
をアドレス変換バツフアのキイ部に書込むための
アドレス変換バツフア制御部と、前記キイ部以外
の仮想マシン識別子、前記仮想マシン上の仮想ア
ドレス/実アドレス識別子、および前記キイ部以
外であつて前記仮想マシン上のアドレスの一部を
アドレス情報として使用し前記アドレス変換バツ
フアの書込み、読出しを実行するためのアドレス
レジスタと、前記アドレス変換バツフアから送出
された読出しデータのキイ部と、前記アドレスレ
ジスタにセツトされた前記アドレス情報の対応す
る部分とが一致するか否かを検出するための比較
部と、前記比較部によつて前記一致が検出された
時には前記アドレス変換バツフアからの読出しデ
ータを前記実マシンの前記実アドレスの一部、ま
たは全部として選択し、前記一致が検出されない
時には前記アドレス変換部によつて求めたアドレ
ス情報を前記実マシンの前記実アドレスの一部、
または全部として選択するための選択部とを具備
したことを特徴とする装置によつて構成した仮想
マシンシステムにおけるアドレス変換方式。
1 In an address translation method included in a real channel control device and used in a virtual machine system, a part of a virtual machine identifier and a part of an address on a virtual machine are used as key parts, and part or all of the real address is converted into data. an address translation buffer used as a part, an address translation part for converting a virtual address or a real address on the virtual machine into a part or all of a real address on the real machine using an address translation table; A part or all of the real address obtained by the translation unit is written to the data part of the address translation buffer, and a part of the virtual machine identifier and a part of the address on the virtual machine are written to the data part of the address translation buffer. an address translation buffer control unit for writing to the key part; a virtual machine identifier other than the key part; a virtual address/real address identifier on the virtual machine; An address register for executing writing and reading of the address translation buffer using a part as address information, a key part of the read data sent from the address translation buffer, and the address information set in the address register. a comparison unit for detecting whether or not the corresponding portions of If the match is not detected, the address information obtained by the address conversion unit is selected as part or all of the real address of the real machine,
or a selection section for selecting all of the addresses.
JP57078664A 1982-05-11 1982-05-11 Address converting system for virtual machine system Granted JPS58196681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57078664A JPS58196681A (en) 1982-05-11 1982-05-11 Address converting system for virtual machine system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57078664A JPS58196681A (en) 1982-05-11 1982-05-11 Address converting system for virtual machine system

Publications (2)

Publication Number Publication Date
JPS58196681A JPS58196681A (en) 1983-11-16
JPS6218065B2 true JPS6218065B2 (en) 1987-04-21

Family

ID=13668124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57078664A Granted JPS58196681A (en) 1982-05-11 1982-05-11 Address converting system for virtual machine system

Country Status (1)

Country Link
JP (1) JPS58196681A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0441355U (en) * 1990-08-01 1992-04-08

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5434723A (en) * 1977-08-24 1979-03-14 Hitachi Ltd Address converting device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5434723A (en) * 1977-08-24 1979-03-14 Hitachi Ltd Address converting device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0441355U (en) * 1990-08-01 1992-04-08

Also Published As

Publication number Publication date
JPS58196681A (en) 1983-11-16

Similar Documents

Publication Publication Date Title
US4218743A (en) Address translation apparatus
JPH0137773B2 (en)
KR920013132A (en) Preferred reference buffer
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
JPS6218065B2 (en)
JPS6218064B2 (en)
JPS5816263B2 (en) General information
JPS5853075A (en) Information processor provided with high speed separation buffer
JP2501353B2 (en) Prefetch control method
JPS58196677A (en) Address converting system for virtual machine system
JPS58196678A (en) Address converting system for virtual machine system
JPS58196675A (en) Address converting system for virtual machine system
JPH0318214B2 (en)
JPS58196679A (en) Address converting system for virtual machine system
JPS6319858Y2 (en)
JPS58196674A (en) Address converting system of virtual machine system
JP3147355B2 (en) Address translator
JPS55105884A (en) Address conversion device
JPS5533282A (en) Buffer control system
JPS63189955A (en) Data transferring and processing system in virtual computer system
JPS58196676A (en) Address converting system for virtual machine system
JP2510317B2 (en) TLB access device
JPS60254345A (en) Address conversion system
JPS608971A (en) Central processing unit
JPH0159611B2 (en)