JPS6010338B2 - Multiple virtual memory control method - Google Patents
Multiple virtual memory control methodInfo
- Publication number
- JPS6010338B2 JPS6010338B2 JP56155011A JP15501181A JPS6010338B2 JP S6010338 B2 JPS6010338 B2 JP S6010338B2 JP 56155011 A JP56155011 A JP 56155011A JP 15501181 A JP15501181 A JP 15501181A JP S6010338 B2 JPS6010338 B2 JP S6010338B2
- Authority
- JP
- Japan
- Prior art keywords
- tlb
- multiple virtual
- virtual memory
- address
- memory control
- 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
【発明の詳細な説明】
本発明はセグメント・テーブル・オリジン・スタック(
以下STOスタックと称す)を有し、異なる仮想空間に
おける論理/実アドレス変換を単一のアドレス変換バッ
ファ(いわゆるTLB)を用いて行なうようにした多重
仮想記憶方式の情報処理システムにおいて、TLBを用
いてアドレス変換を行なう場合(以下TLB・DATと
称す)と、TLBを用いずに主記憶装置上のセグメント
・テーブル及びページ・テーブルを用いてアドレス変換
を行なう場合(以下テーブルDATと称す)との切換を
、STOスタックにある空間IDの値によって制御する
ものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a segment table origin stack (
In an information processing system using a multiple virtual memory system, which has an STO stack (hereinafter referred to as an STO stack) and performs logical/real address translation in different virtual spaces using a single address translation buffer (so-called TLB), TLB is used. (hereinafter referred to as TLB/DAT) and the case where address translation is performed using segment tables and page tables on the main storage device without using TLB (hereinafter referred to as table DAT). The switching is controlled by the value of the space ID in the STO stack.
通常はアドレス変換時間を最短にするため、先先ずTL
Bによる変換を試み、もしTLBに該当実アドレスが存
在しないときにテーブルDATを行なうようにされる。Normally, in order to minimize the address conversion time, the TL is
Translation by B is attempted, and if the corresponding real address does not exist in TLB, table DAT is performed.
しかし、TLBが故障した場合や保守・試験等のために
一時的にTLBを切離したいときなど、積極的にTLB
を用いたくない場合が存在する。従来このようなTLB
の切離しは、特別にモードを設けて行なうか、或いはT
LB中のェントリを常にィンバリッドにして(即ち常に
TLBフオルトになるようにしつつ)通常どうりのDA
Tを行なうかしていた。前者の方式はモード制御ビット
が余計に必要になり、また後者の方式はTLBをィンバ
リッドに保つ処理が必要なこと及びTLBアクセス時間
が必らず入ること等の欠点があった。本願はこのような
欠点を解消することを目的とし、STOスタック中の空
間IDの値によりTLB・DATとテーブルDATを切
換えるものである。However, when the TLB breaks down or when you want to temporarily disconnect the TLB for maintenance, testing, etc., you can actively disconnect the TLB.
There are cases where you do not want to use . Conventional TLB like this
To disconnect, either set up a special mode or use T.
DA as usual while always invalidating the entry in LB (that is, always making it a TLB fault)
I was thinking of doing T. The former method requires an extra mode control bit, and the latter method has drawbacks such as requiring processing to keep the TLB invalid and requiring a TLB access time. The purpose of the present application is to eliminate such drawbacks, and to switch between TLB/DAT and table DAT based on the value of the space ID in the STO stack.
以下図面により詳説する。図中、1は論理アドレスレジ
スタ、2はSTOスタツクで21はセグメント・ィンデ
クス記憶部、22は空間ID記憶部、3は一致検出器、
4はしジスタ、5は空間ID発生器、6はTLBで61
はィンデクス記憶部、62は実アドレス記憶部、7は一
致検出器、8はしジスタ、9は本発明により設けられる
ID検出器、10はテーブルDAT制御部である。This will be explained in detail below with reference to the drawings. In the figure, 1 is a logical address register, 2 is an STO stack, 21 is a segment index storage section, 22 is a space ID storage section, 3 is a coincidence detector,
4 is register, 5 is spatial ID generator, 6 is TLB, 61
1 is an index storage section, 62 is a real address storage section, 7 is a coincidence detector, 8 is a register, 9 is an ID detector provided according to the present invention, and 10 is a table DAT control section.
論理アドレスのセグメントアドレス部の一部でSTOス
タック2を索引し、一致するィンデスクが存在するとそ
れに対応する空間IDをレジスタ4へセットする。The STO stack 2 is indexed using a part of the segment address part of the logical address, and if a matching index exists, the corresponding space ID is set in the register 4.
TLB6は論理アドレスのページアドレス部の一部(及
びセグメントアドレスの一部をハッシュしてもよい)で
索引されるが、ィンデスクの一部として空間IDも含ん
でおり、レジスタ4の空間IDとの一致を条件にTLB
ヒットノフオルトを判定する。TLBヒット時には対応
する実ページ・アドレスが62からしジスタ8へセット
される。,またTLBフオルトのときにはテーブルDA
T制御部を起動してテーブルDATが行なわれる。ここ
までは従釆公知の方式と同様であり、更に詳しくは特公
昭母−25774号公報等を参照されたい。本発明にお
いてはしジスタ4への空間m出力を検出器9にて監視し
、その値が例えばオール“0”(従来は無効な値として
いた)であるとTLBアクセスは行なわず、直ちにテー
ブルDAT制御部10を起動してテーブルDATを行な
う。TLB6 is indexed by part of the page address part of the logical address (and part of the segment address may be hashed), but it also contains the space ID as part of the index, and it is linked to the space ID in register 4. TLB conditional on match
Determine hit no fault. When a TLB hit occurs, the corresponding real page address is set in register 8 from 62. , and table DA when there is a TLB fault.
The T control section is activated and table DAT is performed. Up to this point, the method is similar to the conventional method, and for more details, please refer to Japanese Patent Publication No. 25774. In the present invention, the spatial m output to the ladder register 4 is monitored by the detector 9, and if the value is, for example, all "0" (conventionally, it was an invalid value), the TLB access is not performed and the table DAT is immediately accessed. The control unit 10 is activated to perform table DAT.
このように本発明では簡単なオール“0”検出器を設け
るのみで、特殊なモードを設けたり、TLBに特殊な処
理をなしても、容易にTLBの切離しが行なえる。なお
、STOスタック2へのID値の設定は、一般にはm発
生器5中にカゥンタを有し、新規の空間を用いる錆にそ
の値を設定するとともにカウント値を更新しておくよう
にされる。As described above, in the present invention, by simply providing a simple all-0 detector, the TLB can be easily disconnected even if a special mode is provided or the TLB is subjected to special processing. In addition, to set the ID value to the STO stack 2, generally, a counter is provided in the m generator 5, and the value is set in the rust using a new space, and the count value is updated. .
本発明のようなオール“0”への設定に当たってはカゥ
ンタ出力をゲートでインヒビツトすればよい。またTL
Bの故障時や保守時には、すべての仮想空間についてテ
ーブルDATをさせるため、STOスタツク中のすべて
の空間IDをオール“0”にするが、診断目的の場合に
よっては特定の仮想空間についてのみテーブルDATを
行なわせ、他の仮想空間については通常どうりTLB・
DATを行なわせるようにすることも可能である。When setting all "0"s as in the present invention, the counter output may be inhibited by a gate. Also TL
When B fails or during maintenance, all space IDs in the STO stack are set to "0" in order to perform table DAT for all virtual spaces, but in some cases for diagnostic purposes, table DAT is performed only for specific virtual spaces. For other virtual spaces, TLB/
It is also possible to have DAT performed.
図は本発明の一実施例ブロック図であり、1は論理アド
レスレジスタ、2はSTOスタック、6はTLB、9は
本発明による空間m検出器、1 0はテーブルDAT制
御部である。The figure is a block diagram of an embodiment of the present invention, in which 1 is a logical address register, 2 is an STO stack, 6 is a TLB, 9 is a space m detector according to the present invention, and 10 is a table DAT control section.
Claims (1)
ジン・スタツクを有する多重仮想記憶方式の情報処理シ
ステムにおいて、上記仮想空間IDが特定の値のときに
はアドレス変換バツフアを用いずに、直ちに主記憶中の
セグメント・テーブル及びページ・テーブルを用いたア
ドレス変換を行なって実アドレスを求めるようにしたこ
とを特徴とする多重仮想記憶制御装置。1. In a multiple virtual memory information processing system having a segment table origin stack that defines a virtual space ID, when the virtual space ID has a specific value, the segment table in main memory is immediately updated without using an address translation buffer. A multiple virtual memory control device characterized in that a real address is obtained by performing address conversion using a table and a page table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56155011A JPS6010338B2 (en) | 1981-09-30 | 1981-09-30 | Multiple virtual memory control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56155011A JPS6010338B2 (en) | 1981-09-30 | 1981-09-30 | Multiple virtual memory control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5856280A JPS5856280A (en) | 1983-04-02 |
| JPS6010338B2 true JPS6010338B2 (en) | 1985-03-16 |
Family
ID=15596728
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56155011A Expired JPS6010338B2 (en) | 1981-09-30 | 1981-09-30 | Multiple virtual memory control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6010338B2 (en) |
-
1981
- 1981-09-30 JP JP56155011A patent/JPS6010338B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5856280A (en) | 1983-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4068303A (en) | Address translation managing system with translation pair purging | |
| US4733350A (en) | Improved purge arrangement for an address translation control system | |
| US4604688A (en) | Address translation buffer control system | |
| US5745676A (en) | Authority reduction and restoration method providing system integrity for subspace groups and single address spaces during program linkage | |
| US4658356A (en) | Control system for updating a change bit | |
| JPS6010338B2 (en) | Multiple virtual memory control method | |
| JP3030037B2 (en) | Main storage device | |
| JPS62115554A (en) | Storage protection system in multi-processor system | |
| JPS6129070Y2 (en) | ||
| JPS6065358A (en) | Cache control system | |
| JP3047992B2 (en) | Main memory key control method | |
| JPH06309196A (en) | Information processor with trace function | |
| JPS6032221B2 (en) | Address translation method | |
| JP3147355B2 (en) | Address translator | |
| JPS6370354A (en) | Address translation device | |
| JPS59198586A (en) | Address conversion buffer control system | |
| JPH0458347A (en) | Control system for shared address space | |
| JPS6252339B2 (en) | ||
| JPH02101552A (en) | Address conversion buffer processing system | |
| JPS59207082A (en) | Address converter | |
| JPH0673115B2 (en) | Memory protection key controller | |
| JPH0439099B2 (en) | ||
| JPH03110648A (en) | Data processing system | |
| JPH0277953A (en) | Constitution system for conversion index buffer | |
| JPS6174040A (en) | Address expansion method |