JPS61235962A - Address converting system in virtual machine system - Google Patents

Address converting system in virtual machine system

Info

Publication number
JPS61235962A
JPS61235962A JP60076579A JP7657985A JPS61235962A JP S61235962 A JPS61235962 A JP S61235962A JP 60076579 A JP60076579 A JP 60076579A JP 7657985 A JP7657985 A JP 7657985A JP S61235962 A JPS61235962 A JP S61235962A
Authority
JP
Japan
Prior art keywords
address
virtual
length
real
mode
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
JP60076579A
Other languages
Japanese (ja)
Inventor
Hideki Fujisawa
秀樹 藤沢
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60076579A priority Critical patent/JPS61235962A/en
Publication of JPS61235962A publication Critical patent/JPS61235962A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve the processing efficiency by providing a means defining the length of an effective address and a means changing dynamically the length of address to a virtual address so as to make the length of the effective address of the virtual address equal to the length of the real address thereby preventing generation of a nonuse memory access in advance. CONSTITUTION:In changing the address mode from the virtual address mode to the real address mode, the address is changed into a virtual address space 12 by loading a data beta defining the virtual address space for real address mode to the virtual space definition register, the length of the effective virtual address is set equal to the length of the real address to generate an effective address space 12-1, then the control is returned to the program of a virtual machine 9. In changing the real address mode into the virtual address mode, the address is changed into the virtual address space 11, the length of the effective virtual address is set so that all the virtual address spaces are usable, and after the effective address space 11-1 is generated, the control is returned to a program of the virtual machine 9.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機の仮想計算機システムに関し、特
に実在の計算機(以下実計算機と略す)によシ実アドレ
スモードで動作していたプログラムを仮想計算機で仮想
アrレスモードで動作させる場合のアドレス変換方式に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a virtual computer system for an electronic computer, and in particular, to a virtual computer system for an electronic computer, in particular a program that is running in a real address mode on a real computer (hereinafter referred to as a real computer). This invention relates to an address translation method when operating a virtual machine in virtual address mode.

〔従来の技術〕[Conventional technology]

実計算機で実アドレスモードで動作していたプログラム
を仮想計算機システムで動作させる場合。
When running a program that was running in real address mode on a real computer on a virtual computer system.

仮想計算機システムでは1つの実計算機に実計算機と同
じアークテクチャの仮想計算機を複数台実現させるため
に、実計算機で実アドレスモードで動作するプログラム
を仮想計算機によ)実アドレスモードで動作させると、
実アドレスモードで動作するプログラムを複数個同時に
動作させるための制御が必要になる。その結果、実計算
機のアドレス空間として1つしか存在しない実アドレス
モードの空間(以下実アドレス空間と略す)を1つの仮
想計算機に割シ当てねばならず、仮想計算機システムが
仮想計算機のスイッチのたびに仮想計算機対応の実アド
レス空間全ての入れかえを必要とし、大きなオーバーヘ
ッドをともなっていた。
In a virtual computer system, in order to create multiple virtual computers with the same architecture as the real computer in one real computer, if a program that runs in real address mode on the real computer is run in real address mode on the virtual machine,
Control is required to simultaneously run multiple programs that operate in real address mode. As a result, it is necessary to allocate only one real address mode space (hereinafter referred to as real address space) as the address space of a real computer to one virtual computer, and the virtual computer system This required replacing the entire real address space corresponding to the virtual machine, resulting in a large overhead.

通常、仮想計算機は、仮想アドレス空間を定義するレジ
スタ(以下仮想空間定義レジスタと略す)の内容を変え
るだけで、アドレス空間の切りかわる仮想アドレスモー
ドで動作する。
Normally, a virtual machine operates in a virtual address mode in which the address space can be switched simply by changing the contents of a register that defines the virtual address space (hereinafter referred to as virtual space definition register).

上記のように実現されている仮想計算機システムでは、
実計算機で実アドレスモードで動作するプログラムが仮
想アドレスモードで動作するために、仮想アドレスの長
さが実アドレスの長さに比較して長い場合、実計算機で
はアドレスとして有効でない上位ビットがアドレスの一
部として見なされ、予期せぬメモリへアクセスすること
がある。
In the virtual computer system realized as above,
If the length of the virtual address is longer than the length of the real address because a program that runs in real address mode on a real computer runs in virtual address mode, the upper bits of the address that are not valid as an address on a real computer are may access unexpected memory.

したがって、仮想計算機システムが実計算機で実アドレ
スモードで動作するプログラムを仮想アドレスモードで
動作させるときには、アドレス空間て有効でない。上位
ビットがOでないときに生じる予期せぬメモリアクセス
は実計算機に対して割込みを生ぜしめる。そして、その
割込みを契機に。
Therefore, when a virtual computer system causes a program that operates in real address mode on a real computer to operate in virtual address mode, the address space is not valid. An unexpected memory access that occurs when the upper bit is not O will cause an interrupt to the real computer. And, taking advantage of that interruption.

割込みの生じた命令を仮想計算機システムが実アドレス
モードでメモリアクセスを行なったと同じ動作でシェミ
レーションすることによ)、プログラム動作の保障を行
なってい念。
By simulating the instruction that caused the interrupt in the same way as if the virtual machine system accessed memory in real address mode, program operation is guaranteed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上述した従来の方式においては、仮想計算機シ
ステム上で実計算機で実アドレスモードで動作している
プログラムを仮想アドレスモードで動作させるとき、仮
想アドレスの長さと実アドレスの長さの差によって生じ
る予期せぬメモリへのアクセスを、電子計算機の割込み
通知を契機に命令をシェミレーションすることによって
回避していたが、命令のシュミレーシ目ンは電子計算機
の負荷を増大させ、仮想計算機システムの性能をいちじ
るしく劣下させるという欠点があった。
However, in the conventional method described above, when a program running in real address mode on a real computer is run in virtual address mode on a virtual computer system, the difference between the length of the virtual address and the length of the real address occurs. Unexpected access to memory has been avoided by simulating instructions triggered by computer interrupt notifications, but simulating instructions increases the load on the computer and reduces the performance of the virtual computer system. The disadvantage was that it significantly degraded the

以下余日 〔問題点を解決するための手段〕 本発明によるアドレス変換方式は、仮想アドレスの長さ
が実アドレスの長さに比較して長い電子計算機システム
により仮想計算機システムを動作させる場合、実在の計
算機で実アドレスモードで動作するプログラムを仮想計
算機の仮想アドレスモードで動作させるときに、前記ア
ドレスの長さの差により実アドレスモードでは無効とな
るごときアドレス上位の一部が有効となるために、無効
となるアドレスによるメモリアクセス実行時の命令を検
出する手段と該命令を記憶する手段とに基づき、検出直
後に命令をシーミレーシ田ンして正常なメモリアクセス
動作に保証する手段を備えた仮想計算機システムにおい
て、前記仮想アドレスに有効なアドレスの長さを定義す
る手段と、該アドレスの長さを動的に変更する手段とを
設けて。
[Means for solving the problem] The address conversion method according to the present invention is useful when operating a virtual computer system using a computer system in which the length of the virtual address is longer than the length of the real address. When a program that runs in real address mode on a computer is run in virtual address mode of a virtual machine, the upper part of the address becomes valid because it would be invalid in real address mode due to the difference in the length of the address. Based on the means for detecting an instruction when executing a memory access using an invalid address and the means for storing the instruction, a virtual machine is provided with a means for guaranteeing normal memory access operation by canceling the instruction immediately after the detection. In the computer system, means for defining a valid address length for the virtual address and means for dynamically changing the address length are provided.

仮想アドレスの有効なアドレスの長さを実アドレスの長
さと等しくすることを特徴とする。
It is characterized in that the length of the effective address of the virtual address is equal to the length of the real address.

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

次に2本発明によるアドレス変換方式について実施例を
挙げ1図面を参照して詳細に説明する。
Next, two embodiments of the address conversion system according to the present invention will be described in detail with reference to one drawing.

第1図(a) 、 (b) 、および第2図(、) 、
 (b)は本発明によるそれぞれ第1および第2の実施
例の構成をブロック図で示したものである。図中、1,
8は実在の電子計算機に存在する仮想計算機システム。
Figure 1 (a), (b), and Figure 2 (,),
(b) is a block diagram showing the configurations of the first and second embodiments of the present invention, respectively. In the figure, 1,
8 is a virtual computer system that exists in an actual computer.

2.3.9は仮想計算機、5.10は仮想計算機システ
ム内に存在する仮想計算機の制御テーブルであシ、アド
レスモードの情報(M、D)、仮想空間を定義するデー
タ(x、y、α、β)等が格納されている。6,7は各
仮想計算機2,3に対応する仮想アドレス空間、6−1
.7−1は各々の仮想計算機の有効なアドレス空間であ
る。11゜12は仮想計算機9の実アドレスモードおよ
び仮想アト9レスモードで動作するときの仮想アドレス
空間である。11−1.12−1は各々有効なアドレス
空間である。なお、これ等の実施例において表示記号と
して使用しているM、Dは仮想計算機の制御データとし
てのアドレスモードを示すもので2Mは仮想アドレスモ
ード、Dは実アドレスモードである。また、x、y、α
、βは、仮想空間を定義するデータを示しておシ、この
データを仮想空間定義レジスタに設定することによって
2.3.9 is a virtual computer, and 5.10 is a control table for a virtual machine existing in the virtual computer system, including address mode information (M, D), data defining virtual space (x, y, α, β), etc. are stored. 6 and 7 are virtual address spaces corresponding to each virtual machine 2 and 3, 6-1
.. 7-1 is the effective address space of each virtual machine. 11 and 12 are virtual address spaces when the virtual machine 9 operates in the real address mode and the virtual address mode. 11-1, 12-1 are each valid address spaces. In addition, M and D used as display symbols in these embodiments indicate address modes as control data of the virtual machine, 2M is virtual address mode, and D is real address mode. Also, x, y, α
, β indicates data that defines the virtual space, by setting this data in the virtual space definition register.

仮想計算機の仮想アドレス空間を変更することが出来る
You can change the virtual address space of a virtual machine.

まず、第1図の実施例において、仮想計算機システム1
に存在する仮想計算機2,3は仮想計算機制御テーブル
5によって制御される。このうち。
First, in the embodiment shown in FIG.
The virtual machines 2 and 3 that exist are controlled by a virtual machine control table 5. this house.

仮想計算機2はその制御テーブル5の仮想空間を定義す
るデータXを使用することによシ、仮想アドレス空間6
で動作する。Mは仮想アドレスモードであシ、その仮想
アドレス空間の全てを有効なアドレス空間6−1として
使用可能である。仮想計算機3は、その制御テーブルデ
ータのうち、仮想空間を定義するデータとしてyを使用
することによシ、仮想アドレス空間7で動作する。Dは
実アドレスモードであシ、その空間の一部が有効なアド
レス空間7−1として使用可能である。
The virtual computer 2 uses the data X that defines the virtual space in the control table 5 to create the virtual address space 6.
It works. M is in virtual address mode, and all of its virtual address space can be used as a valid address space 6-1. The virtual computer 3 operates in the virtual address space 7 by using y as data defining the virtual space in the control table data. D is in real address mode, and part of its space can be used as a valid address space 7-1.

今、仮想計算機2によシブログラムが動作して゛ いる
状態において、仮想計算機システムの要求によシ仮想計
算機3のプログラムを動作させようとするとき、仮想空
間定義レジスタに制御テ′−プルデータyをロードする
ことによって仮想アドレス空間7に切シかえる。この場
合、仮想計算機3は制御テーブルデータのアドレスモー
ドがDの実アドレスモードによる動作指示であるから、
仮想計算機2と同様に仮想アドレス空間の全てを使用す
ると不要なアドレス空間へのアクセスを生じるため、有
効な仮想アドレスの長さを実アドレスと同じ長さに設定
し、不要なアドレス空間のアクセスをなくした後、仮想
計算機3のプログラムへ制御移行する。また、仮想計算
機3のプログラムが動作している状態において、仮想計
算機システムの要求で仮想計算機2のプログラムを動作
させようとするとき、仮想空間定義レジスタに制御テー
ブルデータxt−ロードすることによって仮想アドレス
空間7に切シかえる場合、仮想計算機3で動作していた
プログラムは実アドレスモードであシ。
Now, when the virtual machine 2 is running the program, when trying to run the program in the virtual machine 3 in response to a request from the virtual machine system, the control table data y is input to the virtual space definition register. By loading, the virtual address space 7 is switched. In this case, since the virtual machine 3 is instructed to operate according to the real address mode whose address mode of the control table data is D,
As with virtual machine 2, using the entire virtual address space will result in unnecessary accesses to the address space, so set the length of the effective virtual address to the same length as the real address to prevent unnecessary accesses to the address space. After it is deleted, control is transferred to the program of the virtual machine 3. In addition, when the program of virtual machine 3 is running and the program of virtual machine 2 is to be operated at the request of the virtual machine system, the virtual address is When switching to space 7, the program running on virtual machine 3 must be in real address mode.

有効なアドレス空間の大きさが仮想計算機2の仮想アド
レスモードとは異なるため、有効な仮想アドレスの長を
仮想アドレス空間全てが使用可能になるように設定し、
仮想計算機2のプログラムへ制御移行する。
Since the size of the effective address space is different from the virtual address mode of virtual machine 2, set the length of the effective virtual address so that the entire virtual address space can be used,
Control is transferred to the program of virtual machine 2.

なお、上記においては、仮想計算機2,3のように別の
アドレスモードで動作する仮想計算機が仮想計算機シス
テムに各々1台しか存在しない場合について説明したが
、同一アドレスを持つ仮想計算機が他に複数台存在して
いても、同一アドレスモード仮想計算機間の制御移行は
、仮想空間定義レジスタのみを変更し、有効な仮想アド
レスの長さについてはそのまま、もしくは同一の値に設
定することによって達成される。それ以外は全く同様の
操作でよい。
In addition, in the above, we have explained the case where there is only one virtual machine each in the virtual machine system, such as virtual machines 2 and 3, which operate in different address modes, but if there are multiple other virtual machines with the same address. Control transfer between virtual machines with the same address mode is achieved by changing only the virtual space definition register and leaving the length of the effective virtual address unchanged or setting it to the same value, even if two virtual machines exist. . Other than that, the operation is exactly the same.

次に、第1図の実施例では仮想計算機が常に同一のアド
レスモードで動作することを例にしたのに対して、仮想
計算機の制御テーブルにおけるアドレスモード情報が仮
想計算機上のプログラムの指示によシ動的に変更可能な
例を、第2図の実施例を参照して説明する。第2図にお
いて、仮想計算機システム8に存在する仮想計算機9に
おいて。
Next, in the embodiment shown in Figure 1, the virtual machine always operates in the same address mode, whereas the address mode information in the control table of the virtual machine is determined by instructions from the program on the virtual machine. An example of dynamic change will be described with reference to the embodiment of FIG. In FIG. 2, in a virtual computer 9 existing in a virtual computer system 8.

仮想計算機を制御するテーブル10によシアドレスモー
ド情報としてMが指定された場合には、仮想アドレス空
間を定義するデータとしてαを使用することによシ、仮
想アドレス空間11で動作する。仮想アドレスモードで
あるから、その空間全てが有効なアドレス空間11−1
として使用可能である。アドレスモード情報にDが指定
された場合には、仮想アドレス空間を定義するデータと
してβを使用することにより、仮想アドレス空間12で
動作する。この場合は、実アドレスモード動作時の空間
であるから、その空間の一部が有効なアドレス空間12
−1として使用される。
When M is designated as the server address mode information by the table 10 that controls the virtual machine, the virtual machine operates in the virtual address space 11 by using α as the data that defines the virtual address space. Since it is virtual address mode, the address space 11-1 is all valid.
It can be used as When D is specified in the address mode information, β is used as data that defines the virtual address space, thereby operating in the virtual address space 12. In this case, since this is the space when operating in real address mode, part of that space is valid address space 12.
-1.

今、仮想計算機9が仮想アドレスモードで動作している
状態において、仮想計算機9上のプログラムによシ制御
テーブル10のアドレスモード情報MがDに変更、すな
わち、アドレスモードが仮想アドレスモードから実アド
レスモードへ変更スる命令が実行されると、仮想計算機
システムは。
Now, when the virtual machine 9 is operating in the virtual address mode, the program on the virtual machine 9 changes the address mode information M in the control table 10 to D, that is, the address mode changes from virtual address mode to real address mode. When an instruction to change mode is executed, the virtual machine system

仮想空間定義レジスタに実アドレスモード用の仮想アド
レス空間を定義するデータβをロードすることにより、
アドレスを仮想アドレス空間12に変更し、有効な仮想
アドレスの長さを実アドレスの長さと同じに設定して有
効なアドレス空間12−1を作成した後、仮想計算機9
のプログラムへ制御を戻す・また、制御テーブル10の
アドレスモード情報がDからMに変更、すなわち、アド
レスモードが実アドレスモードから仮想アドレスモード
へ変更する命令が実行されると、仮想計算機システムは
、仮想空間定義レジスタにαをロードすることによシ、
アドレスを仮想アドレス空間11に変更し、有効な仮想
アドレスの長さも仮想アドレス空間全てが使用可能にな
るように設定し。
By loading data β that defines the virtual address space for real address mode into the virtual space definition register,
After creating a valid address space 12-1 by changing the address to the virtual address space 12 and setting the length of the valid virtual address to be the same as the length of the real address, the virtual computer 9
・Also, when the address mode information in the control table 10 is changed from D to M, that is, when an instruction to change the address mode from real address mode to virtual address mode is executed, the virtual computer system By loading α into the virtual space definition register,
Change the address to virtual address space 11, and set the length of the effective virtual address so that the entire virtual address space can be used.

有効なアドレス空5間11−1を作成したのち、仮想計
算機9のプログラムへ制御を戻す。
After creating a valid address space 5 11-1, control is returned to the program of the virtual machine 9.

なお、上記第2図の実施例においては、仮想計算機シス
テム8に1つの仮想計算機9しか存在していないが、第
1図の実施例における仮想計算機間の制御移行と組み合
せることによシ、動的にアドレスモードを変更して動作
する仮想計算機が複数個存在するような仮想計算機シス
テムを構成することも可能である。
In the embodiment shown in FIG. 2, only one virtual computer 9 exists in the virtual computer system 8, but by combining the control transfer between virtual computers in the embodiment shown in FIG. It is also possible to configure a virtual computer system in which there are a plurality of virtual computers that operate by dynamically changing address modes.

第3図は、上記第1および第2の実施例に適用される有
効なアドレス長を定義する回路の構成をブロック図によ
り示したものである。この図において、20は取シ出さ
れた命令を保持するレジスタ、21.22はアドレス、
データ等が格納されるレジスタ部であり、どのレジスタ
を使用するかは命令の指示による。23は命令の指示に
よって指定されたレジスタ及び命令内のアドレスデータ
を合成してアドレスを生成するための加算器。
FIG. 3 is a block diagram showing the configuration of a circuit that defines the effective address length applied to the first and second embodiments. In this figure, 20 is a register that holds the fetched instruction, 21 and 22 are addresses,
This is a register section in which data etc. are stored, and which register is used depends on the instruction. Reference numeral 23 denotes an adder for generating an address by combining the register specified by the instruction and the address data in the instruction.

24は有効アドレス長設定の指示をうけて特定のピット
ノやターンを発生するビットパターン発生器である。こ
のピッ) /?ターン発生器24は2例えば、有効アド
レス長2ビツトを指定された場合は“0・・・011”
なる2進データを発生し、有効アドレス長5ビツトを指
定された場合には、“0・・・011111”なる2進
データを発生させるものである。25は論理データの演
算器である。
24 is a bit pattern generator that generates a specific pit pattern or turn in response to an instruction to set an effective address length. This beep) /? For example, if an effective address length of 2 bits is specified, the turn generator 24 will be set to 2.
When an effective address length of 5 bits is specified, binary data of "0...011111" is generated. 25 is a logical data arithmetic unit.

今、命令レジスタ20にこれから実行される命令が与え
られ、その命令がメモリアクセスを伴ない、命令の指示
にしたがってレジスタ部21゜22内から選択されたレ
ジスタデータと、命令内のアドレスデータとからアドレ
ス生成用加算器23によってア、Pレスを作成する。こ
のとき、命令の指示によっては、アドレス生成用加算器
23の入力としてレジスタ部22.23内のレジスタデ
ータ及び命令内のアドレスデータの全てを使用するとは
限らない。一方、ピットノ4 p −y 発生器24は
、有効アドレス長を変更する命令をうけると、その前か
ら動作している仮想計算機のプログラムの有効なアドレ
ス長に対応するノリーンを発生する。アドレス生成用加
算器23の出力とビットパターン発生器24の出力とは
論理演算器25に与えられ2両者の論理積をとることに
よってアドレスの無効な部分をクリヤし、有効なアドレ
ス長の部分だけのデータを残すように動作する。
Now, an instruction to be executed is given to the instruction register 20, the instruction involves memory access, and register data selected from the register sections 21 and 22 according to the instructions of the instruction and address data in the instruction are used. A and P addresses are created by the address generation adder 23. At this time, depending on the instruction, not all of the register data in the register section 22.23 and the address data in the instruction are used as input to the address generation adder 23. On the other hand, when receiving an instruction to change the effective address length, the pitno 4 p -y generator 24 generates a nolean corresponding to the effective address length of the program of the virtual machine that has been running before. The output of the address generation adder 23 and the output of the bit pattern generator 24 are fed to a logical operator 25, and by performing a logical product of the two, the invalid part of the address is cleared, and only the valid address length part is removed. It operates to leave the data of.

なお、電子計算機を実計算機として動作させる場合、常
にピットノJ?ターン発生器24によって発生する特定
データはオール”1”の2進データであシ、アドレス生
成用加算器23のアドレスを全て有効として扱うように
制御する。
In addition, when operating an electronic computer as a real computer, Pitno J? The specific data generated by the turn generator 24 is binary data of all "1"s, and is controlled so that all addresses of the address generation adder 23 are treated as valid.

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

以上の説明によシ明らかなように2本発明によれば、仮
想計算機システムにおいて、仮想計算機が実アドレスモ
ードで動作する場合でも、仮想アドレスの長さを実アド
レスの長さと等しくするとともに、その長さを動的に変
更することにより。
As is clear from the above description, according to the present invention, in a virtual machine system, even when a virtual machine operates in real address mode, the length of the virtual address is made equal to the length of the real address, and By dynamically changing the length.

不用なメモリアクセスの発生を前取って防ぐことが出来
、処理効率および性能の向上に対して得られる効果は大
きい。
The occurrence of unnecessary memory accesses can be prevented in advance, and the effect of improving processing efficiency and performance is significant.

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

第1図および第2図は1本発明によるそれぞれ第1およ
び第2の実施例の構成を示すブロック図。 第3図は、第1図および第2図の実施例に適用される仮
想アドレスに有効なアドレスの長さを定義する回路のブ
ロック図である。 図において、1,8は実計算機に存在する仮想計算機シ
ステム、2,3.9は仮想計算機、5゜10は仮想計算
機の制御テーブル、6.7,11゜12Fi仮想計算機
の仮想アドレス空間、6−1゜7−1.11−1.12
−1は仮想計算機の有効なアドレス空間、20は命令を
保持するレジスタ。 21.22はレジスタ部、23はアドレス生成用加算器
、24は動的に特定の2進データを発生するピット・母
ターン発生器、25は論理演算器である。 第1図 <a> (bン 第2図 (a) (b) 仮想アドレス空間  仮想アドレス空間第3図
FIGS. 1 and 2 are block diagrams showing the configurations of first and second embodiments of the present invention, respectively. FIG. 3 is a block diagram of a circuit that defines a valid address length for a virtual address applied to the embodiments of FIGS. 1 and 2. FIG. In the figure, 1 and 8 are virtual computer systems existing in the real computer, 2 and 3.9 are virtual computers, 5゜10 is a control table of the virtual computer, 6.7, 11゜12 is the virtual address space of the virtual computer, 6 -1゜7-1.11-1.12
-1 is the effective address space of the virtual machine, and 20 is a register that holds instructions. 21 and 22 are register sections, 23 is an adder for generating addresses, 24 is a pit/main turn generator that dynamically generates specific binary data, and 25 is a logical arithmetic unit. Figure 1 <a> (b) Figure 2 (a) (b) Virtual address space Virtual address space Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1、仮想アドレスの長さが実アドレスの長さに比較して
長い電子計算機システムにより仮想計算機システムを動
作させる場合、実在の計算機で実アドレスモードで動作
するプログラムを仮想計算機の仮想アドレスモードで動
作させるときに、前記アドレスの長さの差により実アド
レスモードでは無効となるごときアドレス上位の一部が
有効となるために、無効となるアドレスによるメモリア
クセス実行時の命令を検出する手段と該命令を記憶する
手段とに基づき、検出直後に命令をシュミレーションし
て正常なメモリアクセス動作に保証する手段を備えた仮
想計算機システムにおいて、前記仮想アドレスに有効な
アドレスの長さを定義する手段と、該アドレスの長さを
動的に変更する手段とを設けて、仮想アドレスの有効な
アドレスの長さを実アドレスの長さと等しくすることを
特徴とするアドレス変換方式。
1. When operating a virtual computer system using a computer system where the length of the virtual address is longer than the length of the real address, a program that runs in real address mode on the real computer must be run in the virtual address mode of the virtual machine. means for detecting an instruction at the time of memory access execution using an address that is invalid because a part of the upper part of the address that would be invalid in the real address mode becomes valid due to the difference in the length of the address when the address is accessed; In a virtual computer system, the virtual machine system includes means for simulating an instruction immediately after detection to guarantee normal memory access operation based on the means for storing the virtual address; and means for dynamically changing the length of the address to make the length of the effective address of the virtual address equal to the length of the real address.
JP60076579A 1985-04-12 1985-04-12 Address converting system in virtual machine system Pending JPS61235962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60076579A JPS61235962A (en) 1985-04-12 1985-04-12 Address converting system in virtual machine system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60076579A JPS61235962A (en) 1985-04-12 1985-04-12 Address converting system in virtual machine system

Publications (1)

Publication Number Publication Date
JPS61235962A true JPS61235962A (en) 1986-10-21

Family

ID=13609177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60076579A Pending JPS61235962A (en) 1985-04-12 1985-04-12 Address converting system in virtual machine system

Country Status (1)

Country Link
JP (1) JPS61235962A (en)

Similar Documents

Publication Publication Date Title
US4347565A (en) Address control system for software simulation
EP0106572B1 (en) Data processing system with virtual machines
EP0729094A1 (en) A mixed-endian computing environment for a conventional bi-endian computer system
JPH05233452A (en) Information processor
JPH01155451A (en) Virtual computer system
US5459872A (en) Software control of hardware interruptions
JPS5911921B2 (en) numerical control device
JPS61235962A (en) Address converting system in virtual machine system
KR920008959B1 (en) Method of transferring information for virtual computer system
JPS6299844A (en) Address converter
JPS6220034A (en) Program status word switching control system
JPH07141252A (en) Data processor
JP2513846B2 (en) Vector instruction generation method
JP3471388B2 (en) Auxiliary processing unit
JPH0412861B2 (en)
EP0550290A2 (en) CPU register array
JPH07134658A (en) Address translation buffer control system for virtual machine system
JPS61201326A (en) Information processor
JPS6279546A (en) System for converting and controlling dynamic address
JPS63180171A (en) Information processor
JPH04142640A (en) Address converter
JPH0724049B2 (en) Data processing device
JPH01154264A (en) Dynamic channel address conversion system for virtual computer system
JPS6195463A (en) Peculiar space control system
JPH03142546A (en) Address converting device