JPS5953634B2 - computer system - Google Patents
computer systemInfo
- Publication number
- JPS5953634B2 JPS5953634B2 JP55097337A JP9733780A JPS5953634B2 JP S5953634 B2 JPS5953634 B2 JP S5953634B2 JP 55097337 A JP55097337 A JP 55097337A JP 9733780 A JP9733780 A JP 9733780A JP S5953634 B2 JPS5953634 B2 JP S5953634B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- address
- identifier
- register
- computer system
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1027—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F12/1036—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] for multiple virtual address spaces, e.g. segmentation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
本発明は、多重仮想記憶方式の仮想計算機として動作で
きるばかりでなく、多重仮想記憶方式の通常計算機シス
テムとしても動作できる計算磯システムに関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a computing system that can operate not only as a virtual computer using a multiple virtual memory system, but also as a normal computer system using a multiple virtual memory system.
多重仮想記憶方式の計算機システムにおいては、空間識
別子(以下、空間1D)があり、空間1Dの一致がTL
BFOUNDの1条件となつているが、共通な空間(セ
グメント)の場合には、空間Dを無視している。In a computer system using multiple virtual memory, there is a space identifier (hereinafter referred to as space 1D), and a match in space 1D is TL.
This is one of the conditions for BFOUND, but in the case of a common space (segment), space D is ignored.
従来の多重仮想記憶方式の仮想計算機システムにおいて
は変換索引緩衝機構(以二下、TLBという)のエント
リに論理アドレス、システム絶対アドレス、仮想計算機
識別子(以下、VM−Dという)、空間識別子(以下、
空間IDという)および共通空間であることを示すコモ
ン・セグメント・ビツトを登録して置き、 ンTL
Bを検索する際、コモン・セグメント・ビツトが論理「
1」であるエントリに関しては空間1Dを強制的に一致
させている。多重仮想記憶方式の仮想計算機システムと
しても動作できる計算機システムを多重仮想記憶方式こ
の通常計算機システムとして動作させる場合には、VM
−1Dフイールドが不要となるので、未使用のVM−D
フイールドを利用して空間Dを拡張する試みがなされて
る。In a conventional virtual machine system using multiple virtual memory, entries in a translation lookaside buffer (hereinafter referred to as TLB) include logical addresses, system absolute addresses, virtual machine identifiers (hereinafter referred to as VM-D), and space identifiers (hereinafter referred to as VM-D). ,
Space ID) and common segment bits indicating that it is a common space are registered, and the NTL
When searching for B, the common segment bit is
1", the spaces 1D are forced to match. When operating a computer system that can also operate as a virtual computer system using multiple virtual memory as a normal computer system using multiple virtual memory, VM
- Since the 1D field is no longer needed, the unused VM-D
Attempts have been made to expand space D using fields.
空間1Dのビツト数が大きくなると、多数の仮想空間を
識別することがj出来、この結果、TLBパージの回数
を減少させることが出来る。多重仮想記憶方式の仮想計
算機システム時には、論理アドレス・システム絶対アド
レス、VM−1Dおよび空間1DをTLBに書込み、多
重仮想記憶4方式の通常計算機システム時には論理アド
レス、システム絶対アドレスおよび拡張された空間1D
をTLBに書込むよう計算機システムを構成する場合に
は、共通空間を如何にして表示するかということ、並び
に共通空間であるときに空間1Dを如何にして強制一致
させるかということが問題となる。When the number of bits in the space 1D increases, a large number of virtual spaces can be identified, and as a result, the number of TLB purges can be reduced. In a virtual computer system with multiple virtual memory system, the logical address, system absolute address, VM-1D, and space 1D are written to the TLB, and in a normal computer system with four multiple virtual memory systems, the logical address, system absolute address, and extended space 1D are written in the TLB.
When configuring a computer system to write 1D to the TLB, the problem is how to display the common space, and how to force the space 1D to match when it is a common space. .
本発明は、上記の問題を解決するものであつて、多重仮
想記憶方式の仮想計算機システムとして動作できるばか
りでなく多重仮想記憶方式の通常計算機システムとして
も動作でき、しかも通常計算機システム時には空間1D
を拡張するように構成された計算機システムにおいて、
共通空間の問題を簡単かつ合理的に解決できるようにし
た計算機システムを提供することを目的としている。The present invention solves the above problem, and can operate not only as a virtual computer system using multiple virtual memory, but also as a normal computer system using multiple virtual memory, and moreover, when the normal computer system is used, the space is 1D.
In a computer system configured to extend
The purpose is to provide a computer system that can easily and rationally solve common space problems.
そしてそのため、本発明の計算機システムは、多重仮想
記憶方式の仮想計算機システムとして動作できるばかり
でなく、多重仮想記憶方式の通常計算機システムとして
も動作できる計算機システムであつて、論理アドレスが
セツトされるアドレス・レジスタと、セグメント・テー
ブル起点アドレスがセツトされる制御レジスタと、仮想
計算機を一意に指示する仮想計算機番号がセツトされる
拡張制御レジスタと、複数個のエントリを有し且つ各エ
ントリが複数のコモン・セグメント・ビツトを格納する
コモン・セグメント・フイールド、多重仮想記憶方式の
仮想計算機システムとして動作しているときにはmビツ
トの仮想空間識別子が格納され多重仮想記憶方式の通常
計算機システムとして動作しているときには拡張仮想空
間識別子のビツトO(先頭のビツト)ないしvツトm−
1のデ・ータが格納されるmビツトの構成の第1の識別
子フイールド、多重仮想記憶方式の仮想計算機として動
作しているときにはnビツトの仮想計算機識別子が格納
され多重仮想記憶方式の通常計算機として動作している
ときには拡張仮想空間識別子のビツトmないしビツトm
+n−1のデータが格納される第2の識別子フイールド
、論理アドレスの一部を格納する論理アドレス・フイー
ルド及びシステム絶対アドレスを格納するシステム絶対
アドレス・フイールドを有するアドレス変換索引緩衝機
構と、計算機システムが多重仮想記憶方式の仮想計算機
システムとして動作しているときには上記制御レジスタ
の内容に基づいてmビツト構成の仮想空間識別子を生成
すると共に上記拡張制御レジスタの内容に基づいてnビ
ツト構成の仮想計算機識別子を生成し計算機システムが
多重仮想記憶方式の通常計算機システムとして動作して
いる場合には上記制御レジスタの内容に基づいてm+n
ビツト構成の拡張仮想空間識別子を生成する識別子生成
回路と、該識別子生成回路の生成したmビツト構成の仮
想空間識別子とnビツト構成の仮想計算機識別子とを結
合したもの又はm+nビツト構成の拡張仮想空間識別子
がセツトされる出力レジスタと、上記アドレス変換索引
緩衝機構から読出されたエントリの内容がセットされる
読出レジスタと、該読出レジスタの第1の識別子フイー
ルドの内容と上記出力レジスタのビツトOないしビツト
m−1のデータとを比較する第1の比較器と、上記読出
レジスタの第2の識別子フイールドの内容と上記出力レ
ジスタのビツトmないしビツトm+n−1のデータとを
比較する第2の比較器と、上記読出レジスタの論理アド
レス・フイールドの内容と上記アドレス・レジスタにセ
ツトされているアドレスの一部とを比較する第3の比較
器と、上記読出レジスタの所定のコモン・セグメント・
ビツトが所定の論理値を有している場合には上記第1の
比較器の比較結果に関係なく一致を出力し上記所定のコ
モン・セグメント・ビツトが他の論理値を有している場
合には上記第1の比較器の比較結果をそのまま出力する
第1の強制一致手段と、上記読出レジスタの他の所定の
コモン・セグメント・ビツトが所定の論理値を有してい
る場合には上記第2の比較器の比較結果に関係なく一致
を出力し上記他の所定のコモン・セグメント・ビツトが
他の論理値を有している場合には上記第2の比較器の比
較結果をそのまま出力する第2の強制一致手段と、上記
第1の強制一致手段、第2の強制一致手段及び上記第3
の比較器がすべて一致を出力している場合に論理アドレ
スに対応するシステム絶対アドレスがアドレス変換索引
緩衝機構に存在することを示す信号を出力する手段とを
具備することを特徴とするものである。以下、本発明を
図面を参照しつつ説明する。第1図は仮想計算機システ
ムにおける主記憶の割付けを説明する図、第2図は本発
明によるアドレス変換機構の1例を示す図、第3図は識
別子生成回路の1例のプロツク図、第4図はコモン・セ
グメント・ビツトによる空間1Dの強制一致を説明する
図である。Therefore, the computer system of the present invention is a computer system that can operate not only as a virtual computer system using a multiple virtual memory method, but also as a normal computer system using a multiple virtual memory method, and is capable of operating as an ordinary computer system using a multiple virtual memory method, and is capable of operating as a normal computer system using a multiple virtual memory method, and is capable of operating as a normal computer system using a multiple virtual memory method.・It has a register, a control register in which the segment table start address is set, an extended control register in which a virtual machine number that uniquely indicates a virtual machine is set, and multiple entries, and each entry has multiple common・Common segment field that stores segment bits; when operating as a virtual computer system with multiple virtual memory method, an m-bit virtual space identifier is stored; when operating as a normal computer system with multiple virtual memory method, it stores an m-bit virtual space identifier. Bit O (first bit) to vtm- of the extended virtual space identifier
The first identifier field has an m-bit configuration in which data of 1 is stored, and when operating as a virtual computer with a multiple virtual memory system, an n-bit virtual machine identifier is stored. bit m or bit m of the extended virtual space identifier when operating as
an address translation index buffer having a second identifier field in which +n-1 data is stored, a logical address field in which a portion of a logical address is stored, and a system absolute address field in which a system absolute address is stored; and a computer system. When operating as a virtual computer system using multiple virtual memory, it generates an m-bit virtual space identifier based on the contents of the control register, and also generates an n-bit virtual machine identifier based on the contents of the extended control register. If the computer system is operating as a normal computer system with multiple virtual memory, m+n is generated based on the contents of the control register above.
An identifier generation circuit that generates an extended virtual space identifier with a bit configuration; and an extended virtual space with an m+n bit configuration, which is a combination of an m-bit virtual space identifier generated by the identifier generation circuit and an n-bit virtual computer identifier. an output register in which an identifier is set; a read register in which the contents of the entry read from the address translation index buffer are set; the contents of the first identifier field of the read register and bits O to B of the output register; a first comparator that compares the data of bit m-1 with the data of bit m-1 of the output register, and a second comparator that compares the contents of the second identifier field of the read register with the data of bit m to bit m+n-1 of the output register. and a third comparator for comparing the contents of the logical address field of the read register with a portion of the address set in the address register;
If the bit has a predetermined logic value, a match is output regardless of the comparison result of the first comparator, and if the predetermined common segment bit has another logic value, a match is output. is a first forced matching means that outputs the comparison result of the first comparator as it is, and when another predetermined common segment bit of the read register has a predetermined logical value, A match is output regardless of the comparison result of the second comparator, and if the other predetermined common segment bits have other logical values, the comparison result of the second comparator is output as is. a second forced matching means, the first forced matching means, the second forced matching means, and the third forced matching means;
and means for outputting a signal indicating that a system absolute address corresponding to the logical address exists in the address translation index buffer when all of the comparators output matches. . Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a diagram explaining the allocation of main memory in a virtual computer system, FIG. 2 is a diagram illustrating an example of an address translation mechanism according to the present invention, FIG. 3 is a block diagram of an example of an identifier generation circuit, and FIG. The figure is a diagram illustrating forced matching in space 1D using common segment bits.
第1図に示すように仮想計算機VM#1,VM#2,・
・・VM#lのそれぞれに対してVM#1リージヨン、
VM#2リージヨン、・・・VM#iリージヨンが与え
られている。As shown in Figure 1, virtual machines VM#1, VM#2,
...VM#1 region for each VM#l,
VM#2 region, . . . VM#i region are given.
VMMIJ−ジヨンは、仮想計算機モニタに割当てられ
たものである。VMMリージヨンはVMMプレフイクス
領域とMMプログラム領域とに分割されている。VM#
iリージヨンもVM#iプレフイクス領域とVM#lプ
ログラム領域とに分割されている。VMMIJ is assigned to a virtual machine monitor. The VMM region is divided into a VMM prefix area and a MM program area. VM#
The i region is also divided into a VM#i prefix area and a VM#l program area.
システム絶対アドレスとは、ホストマシンを管理するプ
ログラム(VMMプログラム)の用いるアドレスであり
、ホスト・マシンの持つ主記憶の全領域(VMプログラ
ム領域、VMプレフイクス領域も自まれる)をアクセス
することが可能である。リージヨン絶対アドレスとは、
仮想計算機に対して与えられたリージヨンをスタート・
アドレスを1011として、システム絶対アドレスの増
加の方向に対して連続的にアドレスづけし、割当て最大
のシステム絶対アドレスに対するリージヨン絶対アドレ
スをエンド・アドレスとするようにアドレスづけしたも
のであり、VMプログラムが認識できるアドレスとして
も最もレベルの低いものである。仮想計算機VM#iに
割当てられたVM#1リージヨンの先頭アドレスはリー
ジヨン・ベース、アドレス・レジスタRBAにセツトさ
れており、その最終アドレスはリージヨン・リミツト・
アドレス・レジスタRCAにセツトされている。第2図
において、1はTLB、2はアドレス・レジスタ、3−
1ないし3−3は比較器、4−1と4−2は0R回路、
5はコモン・セグメント・ビツト作成回路、6はAND
回路、7はDATテーブルによるアドレス変換処理部、
8はプレフイクス処理部、9は加算器、10はリージヨ
ン・ベース・アドレス・レジスタ、11は読出レジスタ
、12は制御レジスタ、13は拡張制御レジスタ、14
は識別子生成回路、15は出力レジスタをそれぞれ示し
ている。また、AUは論理アドレスの上位部分、AMは
中位部分、ALは下位部分、SAUはシステム絶対アド
レス、ID−0とID−1は識別子0S0と0S1はコ
モン・セグメント・ビツトをそれぞれ示している。アド
レス部分ALはページ内アドレスであり、システム絶対
アドレスはページに対するものである。計算機システム
が多重仮想記憶方式の仮想計算機システムとして動作し
ている場合には、TLBlのD−1フイールドには仮想
計算機を識別するためのVM−Dが書込まれ、D−0フ
イールドには仮想空間を識別するための空間1Dが記入
される。A system absolute address is an address used by the program that manages the host machine (VMM program), and is used to access all areas of the host machine's main memory (including the VM program area and VM prefix area). It is possible. What is region absolute address?
Starts the region given to the virtual machine.
The address is set to 1011, and addresses are assigned continuously in the direction of increase in the system absolute address, and the end address is the region absolute address for the maximum allocated system absolute address, and the VM program is It is also the lowest level of address that can be recognized. The start address of the VM#1 region assigned to the virtual machine VM#i is set in the region base address register RBA, and its final address is set in the region limit register RBA.
Set in address register RCA. In Figure 2, 1 is the TLB, 2 is the address register, 3-
1 to 3-3 are comparators, 4-1 and 4-2 are 0R circuits,
5 is a common segment bit creation circuit, 6 is an AND
circuit, 7 is an address conversion processing unit using a DAT table;
8 is a prefix processing unit, 9 is an adder, 10 is a region base address register, 11 is a read register, 12 is a control register, 13 is an extension control register, 14
15 indicates an identifier generation circuit, and 15 indicates an output register. Also, AU is the upper part of the logical address, AM is the middle part, AL is the lower part, SAU is the system absolute address, ID-0 and ID-1 are the identifiers, and 0S0 and 0S1 are the common segment bits, respectively. . The address part AL is an intra-page address, and the system absolute address is for a page. When the computer system operates as a virtual machine system using multiple virtual memory, VM-D for identifying the virtual machine is written in the D-1 field of TLBl, and VM-D for identifying the virtual machine is written in the D-0 field. Space 1D for identifying the space is entered.
制御レジスタ12は、セグメント・テーブル起点アドレ
ス・レジスタである。拡張制御レジスタ13には仮想計
算機を一意に指示する仮想計算機番号が格納される。識
別子生成回路14は、第3図に示すような構成を有して
いる。第3図において、16はSTOスタツク、17は
ハツシユ回路、18と19は比較回路、20はAND回
路をそれぞれ示している。多重仮想記憶方式の仮想計算
機システムとして動作している場合にはD−0が空間1
Dとなり、ID−1はVM−1Dとなるが、M−1Dは
拡張制御レジスタ13の内容をハツシユすることにより
生成され、空間IDは制御レジスタ12の内容をハツシ
ユすることにより生成される。ハツシユ回路17は、上
記の八ツシユ処理を行うものであり、ハツシユ回路17
の出力は出力レジスタ15にセツトされる。また、ハツ
シユ回路17の出力は、STOスタツク16のエントリ
・アドレスを指示する。STOスタツク16のエントリ
には、制御レジスタ12の内容および拡張制御レジスタ
13の内容が書込まれる。制御レジスタ12および拡張
制御レジスタ13の内容が変更されたとき、STOスタ
ツク16の内容が読出され、制御レジスタ12および拡
張制御レジスタ13の内容と一致するものが存在しない
場合には、TLBパージ指令をTLBlに対して送出す
る。DATテーブルによるアドレス変換処理部7は、T
LBがNOTFOUNDの場合にセグメント・テーブル
およびページ・テーブルなどを用いて論理アドレスを実
アドレスに変換するものであり、プレフイクス処理部8
は実アドレスを処理してリージヨン絶対アドレスを生成
するものである。加算器9は、リージヨス絶対アドレス
にRBAレジスタ10の内容を加算してシステム絶対ア
ドレスを生成するものである。コモン・セグメント・ビ
ツト作成回路5は、仮想計算機システムとして動作して
いる場合にアドレス変換処理部7で使用されるセグメン
ト・テーブルに共通領域であることを示すフラグが付加
されていると、論理「1」のコモン・セグメント・ビツ
トCSOと論理[0」のコモン・セグメント・ビツトC
Slを出力する。また、セグメント・テーブルに共通領
域であることを示すフラグが付加されていないときは、
仮想計算機システム時か通常計算機システム時かに関係
なく、論理「O」のコモン・セグメント・ビツトCSO
と論理[0」のコモン・セグメント・ビツトCSlを出
力する。コモン・セグメント・ビツト作成回路5は、通
常計算機システムとして動作している場合に、アドレス
変換処理部7で使用されるセグメント・テーブルに共通
領域表示がなされていると、論理「1」のコモン・セグ
メント・ビツトCSOと論理「1」のコモン・セグメン
ト・ビツトCSlを出力する。計算機システムが通常計
算機システムとして動作している場合には、TLBlの
ID−0フイールドおよびID−1フイールドは、空間
1Dに対して割当てられる。いま、D−0フイールドが
mビツト構成であり、D−1フイールドがnビツト構成
であるとすると、通常計算機システム時には、第3図の
ハツシユ回路17のハツシユ・アルゴリズムを変更し、
制御レジスタ12の内容に基づき2m+n通りのパター
ンを取り得るm+nビツトの空間1Dを生成する。TL
Blを検索する場合、アドレス部分AMに対応するエン
トリの内容が読出レジスタ11に読出される。Control register 12 is a segment table starting point address register. The extended control register 13 stores a virtual machine number that uniquely designates a virtual machine. The identifier generation circuit 14 has a configuration as shown in FIG. In FIG. 3, 16 is an STO stack, 17 is a hashing circuit, 18 and 19 are comparison circuits, and 20 is an AND circuit. When operating as a virtual computer system with multiple virtual memory method, D-0 is space 1.
D, and ID-1 becomes VM-1D. However, M-1D is generated by hashing the contents of the extended control register 13, and the space ID is generated by hashing the contents of the control register 12. The hash circuit 17 performs the eight-hash processing described above.
The output of is set in the output register 15. The output of hashing circuit 17 also indicates the entry address of STO stack 16. The contents of the control register 12 and the contents of the extended control register 13 are written to the entry of the STO stack 16. When the contents of the control register 12 and extended control register 13 are changed, the contents of the STO stack 16 are read, and if there is no match with the contents of the control register 12 and extended control register 13, a TLB purge command is issued. Send to TLBl. The address conversion processing unit 7 based on the DAT table
When LB is NOTFOUND, a logical address is converted into a real address using a segment table, a page table, etc., and the prefix processing unit 8
processes real addresses to generate regional absolute addresses. The adder 9 adds the contents of the RBA register 10 to the relative absolute address to generate a system absolute address. When operating as a virtual computer system, the common segment bit creation circuit 5 generates a logic "if a flag indicating a common area is added to the segment table used by the address translation processing unit 7. Common Segment Bit CSO of “1” and Common Segment Bit C of Logic “0”
Output Sl. Also, if the segment table does not have a flag indicating that it is a common area,
Common segment bit CSO with logic “O” regardless of whether it is a virtual computer system or a normal computer system.
and a common segment bit CSl of logic [0]. When the common segment bit creation circuit 5 operates as a normal computer system, if a common area is displayed in the segment table used by the address conversion processing unit 7, the common segment bit generation circuit 5 generates a common segment bit of logic "1". Outputs segment bit CSO and common segment bit CS1 of logic "1". When the computer system operates as a normal computer system, the ID-0 field and ID-1 field of TLB1 are assigned to space 1D. Now, assuming that the D-0 field has an m-bit configuration and the D-1 field has an n-bit configuration, in a normal computer system, the hashing algorithm of the hashing circuit 17 in FIG. 3 is changed,
Based on the contents of the control register 12, an m+n bit space 1D that can take 2m+n patterns is generated. T.L.
When searching Bl, the contents of the entry corresponding to address portion AM are read to read register 11.
コモン・セグメント・ビツトC$0とCSlが共に論理
[0」の場合には、ID−0の一致およびID−1の一
致がTLBFOUND条件となる。コモン・セグメント
・ビツトCSOが論理「1」であり且つCSlが論理[
0]であるときにはD−0は強制的に一致とされ、D−
1の一致がTLBFOUND条件となる。コモン・セグ
メント・ビツトCSOとCSlが共に論理[1」の場合
には、ID−0とID−1は強制的に一致とされる。第
4図はコモン・セグメント・ビツトCSOとCSlによ
る識別子の強制一致を説明するものである。When common segment bits C$0 and CS1 are both logic [0], a match of ID-0 and a match of ID-1 are the TLBFUND conditions. Common segment bit CSO is logic ``1'' and CSl is logic [
0], D-0 is forced to match, and D-
A match of 1 becomes the TLBFUND condition. When common segment bits CSO and CS1 are both logic [1], ID-0 and ID-1 are forced to match. FIG. 4 explains forced matching of identifiers using common segment bits CSO and CS1.
第4図から判るように、仮想計算機システム時には空間
1DとVM−1DがTLBlのエントリに書込まれ、空
間1Dはコモン・セグメント・ビツトCSOを論理「1
」とすることにより強制的に一致とされる。通常計算機
システム時にはTLBlのM−1Dフイールドには拡張
された空間1Dが書込まれる。通常計算機システム時の
空間Dは、コモン・セグメント・ビツトCSOとCSl
の両方を論理「1」とすることにより強制的に一致とさ
れる。仮想計算機システムとして動作している場合、制
御レジスタ12および拡張制御レジスタ13が変更され
ると、STOスタツク16から読出されたセグメント・
テーブル起点アドレスと制御レジスタ12のセグメント
・テーブル起点アドレスとを比較すると共に、読出され
た仮想計算機番号と拡張制御レジスタ13の仮想計算機
番号を比較する。As can be seen from FIG. 4, in the virtual machine system, space 1D and VM-1D are written to the entry of TLB1, and space 1D sets the common segment bit CSO to logic "1".
”, it is forced to match. In a normal computer system, expanded space 1D is written in the M-1D field of TLB1. The space D in a normal computer system consists of common segment bits CSO and CSL.
A match is forced by setting both to logic "1". When operating as a virtual machine system, when the control register 12 and extended control register 13 are changed, the segment read from the STO stack 16
The table start address and the segment table start address of the control register 12 are compared, and the read virtual machine number and the virtual machine number of the extended control register 13 are compared.
セグメント・テーブル起点アドレスの不一致または仮想
計算機番号の不一致が検出されたときには、TLBパー
ジ指令、並びに空間1DとM−1DがTLBlに送出さ
れる。TLBlはTLBパージ指令を受取ると、同一の
空間1DおよびVM−Dをもつエントリをパージするが
、セグメントテーブル起点アドレスのみが不一致の場合
には、コモン・セグメント・ビツトCSOが論理「1」
のエントリをパージ対象から除外する。以上の説明から
明らかなように、本発明によれば、通常計算機システム
時においては未使用のM−1Dを利用して空間Dを拡張
するように構成された計算機において、共通空間の問題
を簡単かつ合理的に解決することが出来る。When a mismatch in segment table start addresses or a mismatch in virtual machine numbers is detected, a TLB purge command and spaces 1D and M-1D are sent to TLB1. When TLB1 receives a TLB purge command, it purges entries with the same spaces 1D and VM-D, but if only the segment table start address does not match, the common segment bit CSO is set to logic "1".
Exclude entries from being purged. As is clear from the above description, according to the present invention, the common space problem can be easily solved in a computer configured to expand the space D using M-1D, which is unused in a normal computer system. And it can be solved rationally.
第1図は仮想計算機システムにおける主記憶の割付けを
説明する図、第2図は本発明によるアドレス変換機構の
1例を示す図、第3図は識別子生成回路の1例のプロツ
ク図、第4図はコモン・セグメント・ビツトによる空間
1Dの強制一致を説明する図である。
1・・・・・・TLB、2・・・・・・アドレス・レジ
スタ、3−1ないし3−3・・・・・・比較器、4−1
と4−2・・・・・・0R回路、5・・・・・・コモン
・セグメント・ビツト作成回路、6・・・・・・AND
回路、7・・・・・・DATテーブルによるアドレス交
換処理部、8・・・・・・プレフイクス処理部、9・・
・・・・加算機、10・・・・・・リージヨン・ベース
●アドレス●レジスタ、11・・・・・・読出レジスタ
、12・・・・・・制御レジスタ、13・・・・・・拡
張制御レジスタ、14・・・・・・識別子生成回路、1
5・・・・・・出力レジスタ。FIG. 1 is a diagram explaining the allocation of main memory in a virtual computer system, FIG. 2 is a diagram illustrating an example of an address translation mechanism according to the present invention, FIG. 3 is a block diagram of an example of an identifier generation circuit, and FIG. The figure is a diagram illustrating forced matching in space 1D using common segment bits. 1...TLB, 2...Address register, 3-1 to 3-3...Comparator, 4-1
and 4-2...0R circuit, 5...common segment bit creation circuit, 6...AND
Circuit, 7... Address exchange processing unit based on DAT table, 8... Prefix processing unit, 9...
... Adder, 10 ... Region base ● Address ● Register, 11 ... Read register, 12 ... Control register, 13 ... Extension Control register, 14...Identifier generation circuit, 1
5... Output register.
Claims (1)
できるばかりでなく、多重仮想記憶方式の通常計算機シ
ステムとしても動作できる計算機システムであつて、論
理アドレスがセットされるアドレス・レジスタと、セグ
メント・テーブル起点アドレスがセットされる制御レジ
スタと、仮想計算機を一意に指示する仮想計算機番号が
セットされる拡張制御レジスタと、複数個のエントリを
有し且つ各エントリが複数のコモン・セグメント・ビッ
トを格納するコモン・セグメント・フィールド多重仮想
記憶方式の仮想計算機システムとして動作しているとき
にはmビットの仮想空間識別子が格納され多重仮想記憶
方式の通常計算機システムとして動作しているときには
拡張仮想空間識別子のビット0ないしビットm−1のデ
ータが格納されるmビットの構成の第1の識別子フィー
ルド、多重仮想記憶方式の仮想計算機として動作してい
るときにはnビットの仮想計算機識別子が格納され多重
仮想記憶方式の通常計算機として動作しているときには
拡張仮想空間識別子のビットmないしビットm+n−1
のデータが格納される第2の識別子フィールド、論理ア
ドレスの一部を格納する論理アドレス・フィールド及び
システム絶対アドレスを格納するシステム絶対アドレス
・フィールドを有するアドレス変換索引緩衝機構と、計
算機システムが多重仮想記憶方式の仮想計算機システム
として動作しているときには上記制御レジスタの内容に
基づいてmビット構成の仮想空間識別子を生成すると共
に上記拡張制御レジスタの内容に基づいてnビット構成
の仮想計算機識別子を生成し計算機システムが多重仮想
記憶方式の通常計算機システムとして動作している場合
には上記制御レジスタの内容に基づいてm+nビット構
成の拡張仮想空間識別子を生成する識別子生成回路と該
識別子生成回路の生成したmビット構成の仮想空間識別
子とnビット構成の仮想計算機識別子とを結合したもの
又はm+nビット構成の拡張仮想空間識別子がセットさ
れる出力レジスタと、上記アドレス変換索引緩衝機構か
ら読出されたエントリの内容がセットされる読出レジス
タと、該読出レジスタの第1の識別子フィールドの内容
と上記出力レジスタのビット0ないしビットm−1のデ
ータとを比較する第1の比較器と、上記読出レジスタの
第2の識別子フィールドの内容と上記出力レジスタのビ
ットmないしビットm+n−1のデータとを比較する第
2の比較器と、上記読出レジスタの論理アドレス・フィ
ールドの内容と上記アドレス・レジスタにセットされて
いるアドレスの一部とを比較する第3の比較器と、上記
読出レジスタの所定のコモン・セグメント・ビットが所
定の論理値を有している場合には上記第1の比較器の比
較結果に関係なく一致を出力し上記所定のコモン・セグ
メント・ビットが他の論理値を有している場合には上記
第1の比較器の比較結果をそのまま出力する第1の強制
一致手段と、上記読出レジスタの他の所定のコモン・セ
グメント・ビットが所定の論理値を有している場合には
上記第2の比較器の比較結果に関係なく一致を出力し上
記他の所定のコモン・セグメント・ビットが他の論理値
を有している場合には上記第2の比較器の比較結果をそ
のまま出力する第2の強制一致手段と、上記第1の強制
一致手段、第2の強制一致手段及び上記第3の比較器が
すべて一致を出力している場合に論理アドレスに対応す
るシステム絶対アドレスがアドレス変換索引緩衝機構に
存在することを示す信号を出力する手段とを具備するこ
とを特徴とする計算機システム。1 A computer system that can operate not only as a virtual computer system using a multiple virtual memory method, but also as a normal computer system using a multiple virtual memory method, which has an address register in which a logical address is set, and a segment table starting address. a control register in which is set a virtual machine number, an extended control register in which a virtual machine number uniquely indicating a virtual machine is set, and a common register having multiple entries and each entry storing multiple common segment bits. When operating as a virtual computer system using the segment field multiple virtual memory method, an m-bit virtual space identifier is stored; when operating as a normal computer system using multiple virtual storage method, bits 0 to bit m of the extended virtual space identifier are stored. -1 data is stored in the m-bit first identifier field, and when operating as a virtual machine with multiple virtual memory system, an n-bit virtual machine identifier is stored and operates as a normal computer with multiple virtual memory system. bit m or bit m+n-1 of the extended virtual space identifier
an address translation index buffer having a second identifier field in which data is stored, a logical address field in which a portion of a logical address is stored, and a system absolute address field in which a system absolute address is stored; When operating as a storage-based virtual machine system, an m-bit virtual space identifier is generated based on the contents of the control register, and an n-bit virtual machine identifier is generated based on the contents of the extended control register. When the computer system operates as a normal computer system with multiple virtual memory, an identifier generation circuit that generates an m+n bit extended virtual space identifier based on the contents of the control register, and m generated by the identifier generation circuit. An output register in which a combination of a bit-configured virtual space identifier and an n-bit-configured virtual machine identifier or an m+n-bit extended virtual space identifier is set, and the contents of the entry read from the address translation index buffer mechanism. a read register to be set; a first comparator that compares the contents of a first identifier field of the read register with data from bit 0 to bit m-1 of the output register; a second comparator for comparing the contents of the identifier field with the data of bit m to bit m+n-1 of the output register; and the contents of the logical address field of the read register and the address set in the address register. and a third comparator that compares a portion of a first forced matching means that outputs a match and outputs the comparison result of the first comparator as is when the predetermined common segment bit has another logical value; If the other predetermined common segment bits have a predetermined logical value, a match is output regardless of the comparison result of the second comparator, and the other predetermined common segment bits a second forced matching means that outputs the comparison result of the second comparator as it is when the logical value of A computer system comprising means for outputting a signal indicating that a system absolute address corresponding to a logical address exists in an address conversion index buffer when all comparators output matches.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55097337A JPS5953634B2 (en) | 1980-07-15 | 1980-07-15 | computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55097337A JPS5953634B2 (en) | 1980-07-15 | 1980-07-15 | computer system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5724082A JPS5724082A (en) | 1982-02-08 |
| JPS5953634B2 true JPS5953634B2 (en) | 1984-12-26 |
Family
ID=14189664
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55097337A Expired JPS5953634B2 (en) | 1980-07-15 | 1980-07-15 | computer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5953634B2 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59119110U (en) * | 1983-01-28 | 1984-08-11 | ヤンマー農機株式会社 | transplant machine |
| JPS60142451A (en) * | 1983-12-29 | 1985-07-27 | Fujitsu Ltd | Address conversion control system |
| JPH0324003Y2 (en) * | 1984-12-20 | 1991-05-24 | ||
| JPS6336704A (en) * | 1986-07-30 | 1988-02-17 | 安久津 義人 | Automatic ridge matching method of cultivator |
| JPS63126406A (en) * | 1986-11-17 | 1988-05-30 | 日農機製工株式会社 | Automatic levee width matching method of transplanter of beet |
| JPH01255945A (en) * | 1988-04-06 | 1989-10-12 | Hitachi Ltd | Address converter in virtual computer |
| JP5091655B2 (en) * | 2007-12-21 | 2012-12-05 | 株式会社日立製作所 | Computer virtualization apparatus, program thereof, and method thereof |
-
1980
- 1980-07-15 JP JP55097337A patent/JPS5953634B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5724082A (en) | 1982-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4985828A (en) | Method and apparatus for generating a real address multiple virtual address spaces of a storage | |
| US4654777A (en) | Segmented one and two level paging address translation system | |
| US4495575A (en) | Information processing apparatus for virtual storage control system | |
| EP0149389B1 (en) | Address translation control system | |
| JPH0658646B2 (en) | Virtual memory address translation mechanism with controlled data persistence | |
| JPH0749812A (en) | Memory address controller using hash address tag in page table | |
| CA2057494A1 (en) | Translation lookaside buffer | |
| US5129071A (en) | Address translation apparatus in virtual machine system using a space identifier field for discriminating datoff (dynamic address translation off) virtual machines | |
| US5276829A (en) | Data processing system including cache memory for rapidly converting a logical address into a physical address using shared memory flag | |
| JPS5953634B2 (en) | computer system | |
| US5319761A (en) | Directory look-aside table for a virtual storage system including means for minimizing synonym entries | |
| US6446186B1 (en) | Method, apparatus and article of manufacture for mapping physical memory in a virtual address system | |
| CN115774683A (en) | Method for acquiring physical address in super user mode and corresponding processor | |
| US5634028A (en) | Compact track address translation mapping system and method | |
| US4380797A (en) | Two level store with many-to-one mapping scheme | |
| JP2000276405A (en) | Address translator and computer system having the address translator | |
| JPH0760411B2 (en) | Buffer storage controller | |
| US10621107B1 (en) | Translation lookaside buffer (TLB) clustering system for checking multiple memory address translation entries each mapping a viritual address offset | |
| JP2000284996A (en) | Memory management device and memory management method | |
| JPS5953633B2 (en) | computer system | |
| JPH04205636A (en) | High speed address translation device | |
| JPS5925303B2 (en) | Multiple virtual memory control method in multiple virtual computer system | |
| JP2635310B2 (en) | Address translation device | |
| JP3204098B2 (en) | Dynamic address decode cache control method | |
| JPS5821352B2 (en) | Buffer memory control method |