JPS5942684A - Disconnection id allocating system of sto stack - Google Patents

Disconnection id allocating system of sto stack

Info

Publication number
JPS5942684A
JPS5942684A JP57151495A JP15149582A JPS5942684A JP S5942684 A JPS5942684 A JP S5942684A JP 57151495 A JP57151495 A JP 57151495A JP 15149582 A JP15149582 A JP 15149582A JP S5942684 A JPS5942684 A JP S5942684A
Authority
JP
Japan
Prior art keywords
register
sto
sto stack
disconnection
address
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
JP57151495A
Other languages
Japanese (ja)
Inventor
Masayuki Oya
大屋 昌之
Hideo Iyota
井余田 秀雄
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57151495A priority Critical patent/JPS5942684A/en
Publication of JPS5942684A publication Critical patent/JPS5942684A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

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)

Abstract

PURPOSE:To access two virtual address spaces even when an STO stack is disconnected, by allocating ID for STO disconnection forcibly in accordance with contents of head addresses of a segment table set to two control registers when the STO stack is disconnected due to a fault or the like. CONSTITUTION:When an STO stack 4 is disconnected and a disable signal goes to logic ''1'', disconnection ID allocating circuits 9 and 10 send disconnection ID, which is different from ID set to the first and the second ID registers 7 and 8, to an out-pointer 11. This disconnection ID is controlled in accordance with the output of a comparing circuit 1. Disconnection ID used for disconnection of the STO stack 4 is not registered in a table TBL. Consequently, two spaces beginning with head addresses of the segment table set to control registers CR1 and CR2 are accessed without hindrance.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、仮想アドレス空間のセグメント・テーブル先
頭アドレスが入る制御レジスタを2個用い、2空間のア
ドレス変換を行うようになった多重仮想記憶方式におい
て、各仮想アドレス空間に割付けられるS T OI 
D (Segment TableOrigin Id
entification ;空間識別子)とセグメン
ト・テーブル先頭アドレスの対応を記憶しておくための
STOスタックが障害等で切離された場合に、2つの仮
想アドレス空間に対して切離しIDを割付けるようにし
たSTOスタックの切離しID割付方式に関するもので
ある。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a multiple virtual memory system that uses two control registers that contain the segment table start address of a virtual address space and performs address conversion of two spaces. S T OI allocated to each virtual address space in
D (Segment TableOrigin Id
If the STO stack for storing the correspondence between the ``entification (space identifier)'' and the segment table start address is separated due to a failure, etc., an STO that separates and assigns IDs to two virtual address spaces. This relates to a stack separation ID allocation method.

〔技術の背景〕[Technology background]

第1図は多重仮想記憶方式の概要を示す図、第2図はT
LB機能を備えたアドレス変換方式の概要を示す図、第
3図はSTOIDを割付けたアドレス変換方式の概要を
示す図である。図において、vSは仮想記憶、R8は実
記憶、CRIは制御レジスタ、LAは論理アドレス、R
A  は実アドレス、SGTはセグメント・テーブル、
PGTはページ・ テーブル、PRはプレフィックス・
レジスタ、DSは外部ページ・データ・セット、vSO
ないしvSrLは仮想アドレス空間、4はSTOスタッ
クを示す。
Figure 1 shows an overview of the multiple virtual memory system, and Figure 2 shows T
FIG. 3 is a diagram showing an outline of an address translation method with an LB function, and FIG. 3 is a diagram showing an outline of an address translation method in which STOIDs are assigned. In the figure, vS is virtual memory, R8 is real memory, CRI is a control register, LA is a logical address, and R
A is the real address, SGT is the segment table,
PGT is the page table, PR is the prefix
register, DS is external page data set, vSO
to vSrL are virtual address spaces, and 4 indicates an STO stack.

多重仮想記憶方式では、第1図に示すように各ジョブ毎
に独立した仮想アドレス空間■SOないしV S nが
割当てられる。したがって、1システム内では、同時に
多数の仮想アドレス空間VSOないしV S nが存在
し、制御プログラムにより制御されている。仮想アドレ
ス空間VSOないしV S nは、セグメントとページ
という2段階の単位に分割されており、各セグメントと
各ページに対応してセグメント・テーブルSGTとペー
ジ・テーブルPGTが制御プログラムにより作成される
In the multiple virtual memory system, as shown in FIG. 1, an independent virtual address space SO to V S n is allocated to each job. Therefore, within one system, a large number of virtual address spaces VSO to V S n exist simultaneously and are controlled by a control program. The virtual address spaces VSO to V S n are divided into two-stage units, segments and pages, and a control program creates a segment table SGT and a page table PGT corresponding to each segment and each page.

セグメント・テーブルSGTは、仮想アドレス空間vS
OないしVSn、毎に1つ用意され、各セグメントのペ
ージ・テーブルへのエントリ・ポインタ、各ページ・テ
ーブルの長さPTL及び各ポインタの無効性を示すビッ
トIなどが格納される。
The segment table SGT is a virtual address space vS
One is prepared for each segment O to VSn, and stores the entry pointer to the page table of each segment, the length PTL of each page table, and the bit I indicating the invalidity of each pointer.

ページ・テーブルPGTには、あるセグメントに属する
複数ページ分の主記憶上のページ・アドレスや無効性を
示すピッ)Iなどが格納される。また仮想アドレス空間
には、共通領域とシステム全体があるが、ここには主記
憶常駐の制御プログラムやテーブル類、システム全体の
制御にかかわる制御表、作業域などが入れられる。
The page table PGT stores page addresses on the main memory for a plurality of pages belonging to a certain segment, a PID indicating invalidity, and the like. Furthermore, the virtual address space includes a common area and the entire system, in which control programs and tables resident in the main memory, control tables related to the control of the entire system, work areas, etc. are stored.

制御プログラムは、実行しようとする仮想アドレス空間
のセグメント・テーブルSGTの先頭の実記憶アドレス
(STO)を制御レジスタCRIにセットする。論理ア
ドレス(仮想アドレス)LAは、セグメント番号SXと
ページ番号PXとページ内変位りによって与えられる。
The control program sets the first real storage address (STO) of the segment table SGT of the virtual address space to be executed in the control register CRI. A logical address (virtual address) LA is given by a segment number SX, a page number PX, and an intra-page displacement.

この論理アドレスLAから実アドレスへの変換は、次の
ように行われる。
The conversion from this logical address LA to a real address is performed as follows.

■ 制御レジスタCRIのセグメント・テーブル先頭ア
ドレスSTOと、論理アドレスLAのセグメント番号S
Xによってセグメント・テーブルSGTを参照し、その
中のセグメント・テーブル・エントリを1つ選択する。
■ Segment table start address STO of control register CRI and segment number S of logical address LA
The segment table SGT is referred to by X and one segment table entry therein is selected.

■ 論理アドレスLAのページ番号PXと■で指定され
たセグメント・テーブル・エントリのページ・テーブル
先頭アドレスPOによってセグメント・テーブル・エン
トリに属するページ・テープ#PGTからページ・テー
ブル・エントリを1つ選択する。
■ Select one page table entry from the page tape #PGT belonging to the segment table entry using the page number PX of the logical address LA and the page table start address PO of the segment table entry specified by ■. .

■ ■で求められたページ・テーブル・エントリ(7:
) ヘ−i)・アドレスと論理アドレスのページ内変位
りによって実アドレスを求める。
■ The page table entry (7:
) H-i) Determine the real address by the displacement within the page of the address and logical address.

以上の■ないし■では、制御レジスタCRIで示された
セグメント・テーブルSGTの長さSTLやセグメント
・テーブル・エントリで示されたページ・テーブルPG
Tの長さPTLよりも論理アドレスLAのセグメント番
号SXやページ番号PXが大きいとき、或はエントリ中
の無効ピットが「1」になっているどきには、変換例外
となりアドレス変換が中止される。マルチ・プロセッサ
・システムの場合には、2台のCPUが夫々の実アドレ
ス空間を持つので、それぞれのCPUが持つ実アドレス
空間は、プリフィクス機能によって絶対アドレス空間に
変換される。
In the above ■ to ■, the length STL of the segment table SGT indicated by the control register CRI and the page table PG indicated by the segment table entry
When the segment number SX or page number PX of the logical address LA is larger than the length PTL of T, or when the invalid pit in the entry is "1", a conversion exception occurs and the address conversion is canceled. . In the case of a multi-processor system, since two CPUs have their own real address spaces, the real address spaces of each CPU are converted into absolute address spaces by the prefix function.

セグメント・テーブルSGTとページ・テーブルPGT
を使用するためには2回の主記憶の参照が必要であり、
命令の実行のたびにこうした変換ヲ行っていたのではシ
ステムΦパフォーマンスは大幅に低下する。これを防止
するため、ハードウェア機構としてT L B  (T
ranslation−LookasideBuffe
r )と呼ばれる高速記憶が用意される。第2図に示す
ように、TLBには、論理ページ・アドレス(論理アド
レスのセグメント番号sXとページ番号PX)と、実ペ
ージ・アドレスRPの組が複数個登録できる。TLB中
に目的の実ページ・アドレスRPが登録されていれば、
制御レジスタCRIのセグメント・テーブル先頭アドレ
スSTOと 論理アドレスのセグメント番号SXとペー
ジ番号PXに基づいてTLBの参照(第2図■)だけで
論理アドレスLAに対応する実アドレスRAが求まる(
第2図■)。TLBに登録されていない場合には、ハー
ドウェアは先に述べた手法によシ実ベージ嗜アドレスR
Pを求め、TLBに登録(第2図■)したあとでTLB
を参照することによシ、この実ページ・アドレスPRを
使用して実アドレスRAを求める。
Segment table SGT and page table PGT
To use , it is necessary to refer to the main memory twice,
If such conversion were to be performed every time an instruction was executed, system Φ performance would be significantly degraded. In order to prevent this, TLB (T
ranslation-LookasideBuffe
A high-speed memory called r ) is provided. As shown in FIG. 2, multiple sets of logical page addresses (logical address segment number sX and page number PX) and real page addresses RP can be registered in the TLB. If the target real page address RP is registered in the TLB,
The real address RA corresponding to the logical address LA can be found by simply referencing the TLB (■ in Figure 2) based on the segment table start address STO of the control register CRI, the segment number SX of the logical address, and the page number PX (Fig. 2).
Figure 2 ■). If it is not registered in the TLB, the hardware uses the method described above to retrieve the real page address R.
After finding P and registering it in the TLB (Fig. 2 ■), the TLB
This real page address PR is then used to find the real address RA.

多重仮想記憶方式では、各プログラムは異なった仮想ア
ドレス空間が与えられる。このことは、異なったプログ
ラムが同じ論理アドレスを持つ場合があることを意味す
る。第3図に仮想アドレス空間の違いをSTOIDを用
いて認識する方式の概要を示す。5TOIDα、b又は
ルは、その仮想アドレス空間VSO,VSI又はVSn
に対するセグメント・テーブル先頭アドレスA、B又は
Nを基にバッジ−法を用いて作り出される。このSTO
ID、1%h又はルと論理アドレス操入LAB又はLA
Nを用いてTLBをアクセスする。
In a multiple virtual memory scheme, each program is given a different virtual address space. This means that different programs may have the same logical address. FIG. 3 shows an outline of a method for recognizing differences in virtual address spaces using STOID. 5TOIDα, b or le is its virtual address space VSO, VSI or VSn
It is created using the badge method based on the segment table start address A, B, or N for the segment table. This STO
ID, 1%h or L and logical address operation LAB or LA
Access the TLB using N.

STOスタック4は、セグメント・デープル先頭7)”
L/スA、BlNとSTOIDd、h、n(1)対応を
記憶しCおくだめの高速記憶である。5TOIDが割イ
」けられた仮想アドレス空間については、セグメント・
テーブル先頭アドレスA、 B、 NとSTOIDα、
b%ルをSTOスタックに記憶しておく。これにより、
再び元の仮想アドレス空間に戻ったときに同じSTOI
Dを使用することができる。新しいSTOIDt−8T
Oスタツクに登録するだめに、空きエントリがなくある
エントリが追出される場合には、その追出されたSTO
IDが無効にされ、同じSTOIDを持つTLBエント
リだけが無効にされる(空間パージTLBという)。こ
のようにSTOスタックのエントリとTLBのエントリ
とは常に対応付けが行われている。
STO stack 4 is segment double top 7)"
It is a high-speed memory that stores the correspondence between L/S A, BIN and STOID d, h, n (1) and leaves C. 5 For the virtual address space to which TOID has been allocated, the segment
Table start addresses A, B, N and STOIDα,
Store b% file in the STO stack. This results in
The same STOI when returning to the original virtual address space
D can be used. New STOIDt-8T
If an entry is evicted because there are no free entries to register it in the O stack, the evicted STO
The ID is invalidated and only TLB entries with the same STOID are invalidated (referred to as a spatial purge TLB). In this way, the entries in the STO stack and the entries in the TLB are always associated with each other.

〔従来技術と問題点〕 従来は、1個の制御レジスタを用い、その制御レジスタ
に実行空間のセグメント・テーブル先頭アドレスをセッ
トしている。そして空間の切り替えは制御プログラムが
制御レジスタの内容を変えることによってなされる。
[Prior Art and Problems] Conventionally, one control register is used, and the start address of the segment table in the execution space is set in the control register. The space is switched by the control program changing the contents of the control register.

このような従来の多重仮想記憶方式に対して、空間間通
信要求、即ち、複数空間でプログラムを共用すること、
2つの空間間でのデータの移動を行うこと、異なる空間
にあるデータを、共通領域に移すことなく参照/更新す
ること、などに応えてセグメント・テーブル先頭アドレ
スを入れるだめの制御レジスタを2個使用するシステム
が考えられるようになった。かかるシステムでは、夫々
の制御レジスタにセグメント・テーブル先頭アドレスが
セットされその空間に対応して、2つのIDが割付けら
れ、第1IDレジスタ及び第2IDレジスタの2個のI
Dレジスタが設けられることになる。しかしながら、S
TOスタックが障害等によって切離された場合には、切
離された状態では、先に述べたようなSTOスタックの
エントリとTLBのエントリとが対応付けされだ5TO
IDの管理が行われなくなる。STOIDの管理が混乱
すると仮想アドレス空間へのアクセスが困難になる。
In contrast to such conventional multiple virtual storage systems, inter-space communication requirements, that is, sharing a program in multiple spaces,
Two control registers are provided to store the segment table start address in order to move data between two spaces, refer to/update data in different spaces without moving it to a common area, etc. Now you can think about the system you want to use. In such a system, the segment table start address is set in each control register, two IDs are assigned corresponding to the spaces, and two IDs in the first ID register and the second ID register are assigned.
A D register will be provided. However, S
When the TO stack is separated due to a failure or the like, the STO stack entries and TLB entries are associated with each other in the separated state.
ID management will no longer be performed. If STOID management is disrupted, access to the virtual address space becomes difficult.

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

本発明は、上記の考察に基づくものであって、STOス
タックが障害等で切離された場合において、2つの空間
にアクセスができるように5TOIDを割付けるように
した多重記憶方式におけるSTOスタックの切離しID
割付は方式を提供することを目的とするものである。
The present invention is based on the above considerations, and is based on the STO stack in a multiplexed storage system in which 5 TOIDs are assigned so that two spaces can be accessed when the STO stack is separated due to a failure or the like. Separation ID
The layout is intended to provide a scheme.

〔発明の構成〕[Structure of the invention]

そのために本発明のSTOスタックの切離しID割付方
式はセグメント・テーブルの先頭アドレスが格納される
第1の制御レジスタと第2の制御レジスタ、セグメント
の大きさとページの大きさが格納される第3の制御レジ
スタ、上記第1の制御レジスタの値と 上記第2の制御
レジスタの値とのいずれかを選ぶインポインタ、該イン
ポインタにより選ばれた値をハツシュして空間識別子を
作るハツシュ論理部、セグメント・テーブルの先頭アド
レスと空間識別子を記憶しておくSTOスタック、空間
識別子を格納する第1IDレジスタと第2IDレジスタ
、上記バッジ−論理部により作られた空間識別子を格納
する上記第1IDレジスタ又は上記第2IDレジスタを
選ぶインポインタ、及び上記第LIDレジスタの空間識
別子又は上記第2IDレジスタの空間識別子を選び送出
するアウトポインタを備え、上記STOスタックが切離
されたことを条件に切離し空間識別子を割付けるように
なったSTOスタックの切離しID割付方式であって、
上記第1の制御レジスタの値と上記第2の制御レジスタ
の値とを比較する比較回路及び上記第1IDレジスタと
第2IDレジスタの出力側に切離しID割付回路を設け
、該切離しID割付回路は、STOスタックが切離され
たこと及び上記比較回路の比較結果が一致を示すことを
条件に上記第1IDレジスタ及び上記第2IDレジスタ
の出力と無関係の特定の同一値の空間識別子を上記アウ
トポインタに出力し、STOスタックが切離されたこと
及び上記比較回路の比較結果が不一致を示すことを多件
に上記第LIDレジスタ及び上記第2IDレジスタの出
力と無関係の特定の異なる値の空間識別子を上記アウト
ポインタに出力するように構成されたことを特徴とする
ものである。
For this purpose, the STO stack detachment ID allocation method of the present invention has a first control register and a second control register in which the start address of the segment table is stored, and a third control register in which the segment size and page size are stored. a control register; an inpointer that selects either the value of the first control register or the value of the second control register; a hash logic unit that hashes the value selected by the inpointer to create a space identifier; a segment; - STO stack that stores the top address of the table and space identifier; a first ID register and a second ID register that store the space identifier; and the first ID register or the second ID register that stores the space identifier created by the badge-logic section. an in pointer that selects a second ID register, and an out pointer that selects and sends a space identifier of the second LID register or a space identifier of the second ID register, and allocates a detached space identifier on the condition that the STO stack is detached. The STO stack separation ID allocation method has become as follows:
A comparison circuit for comparing the value of the first control register and the value of the second control register, and a separate ID allocation circuit are provided on the output side of the first ID register and the second ID register, and the separate ID allocation circuit includes: On the condition that the STO stack is separated and the comparison result of the comparison circuit shows a match, output a space identifier of the same specific value unrelated to the outputs of the first ID register and the second ID register to the out pointer. However, due to the fact that the STO stack has been separated and the comparison result of the comparison circuit shows a mismatch, the space identifier of a specific different value unrelated to the output of the LID register and the second ID register is outputted. It is characterized in that it is configured to output to a pointer.

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

以下、本発明の実施例を図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第4図は本発明の1実施例を示す図である。FIG. 4 is a diagram showing one embodiment of the present invention.

第4図において、1と5は比較回路、2と6はインポイ
ンタ、3はハツシュ論理部、4はSTOスタック、7は
第LIDレジスタ、8は第2IDレジスタ、9と10は
切離しID割付回路、11はアウトポインタ、CROl
CRIとCR7は制御レジスタを示す。制御レジスタC
RIには、第1のセグメント・テーブル先頭アドレスが
セットされ、制御レジスタCR7には、第2のセグメン
ト・テーブル先頭アドレスがセットされる。制御レジス
タCROには、セグメントの大きさとページの大きさが
セットされる。制御レジスタCRIとCIt7にセット
されたセグメント・テーブル先頭アドレスは、インポイ
ンタ2によって選択され、選択されたセグメント・テー
ブル先頭アドレスを基に、ハツシュ論理部3でハツシュ
法を用いてSTOIDが作シ出される。STOスタック
4には、セグメント・テーブル先頭アドレスとSTOI
Dの対応を記憶する。また、インポインタ6によって第
LIDレジスタ7又は第2IDレジスタ8が選択され、
選択された第LIDレジスタ7又は第2 IDレジスタ
8に、ハツシュ論理部3で作り出されたSTOIDがセ
ットされる。DISABLE 信号が論理「0」である
ことを条件に、第1IDレジスタ7及び第2IDレジス
タ8にセットされた第LID及び第2IDは、切離しI
D割付回路9及び10を通してその!j:まアウトポイ
ンタ11に送られる。アラ]・・ポインタ11からは、
送られてきた第1ID又は第2IDを選択してT L 
Bに送る。比較回路5では、制御プロゲラl、によって
制御レジスタCRI又はCR2のセグメント・テーブル
先頭アドレスがv1替えられたとき、書替えられた後の
セグメント・テーブル先頭アドレスとSTOIDがST
Oスタック4に登録されているか否かを調べるだめに用
いられる。STOスタック4の中に制御レジスタCRI
又はCR7のセグメン)−テーブル先頭アドレスと一致
するエントリがある場合には、同じSTOIDを使用す
ることができるが、一致するエントリがない場合には、
先に述べたように、新しいSTOIDがSTOスタック
4に登録される。STOスタック4に空きエントリがな
いとき、例えば最も古いエントリが追出され、そこに新
しいSTOIDが登録される。
In FIG. 4, 1 and 5 are comparison circuits, 2 and 6 are inpointers, 3 is a hash logic section, 4 is an STO stack, 7 is a LID register, 8 is a second ID register, 9 and 10 are separated ID allocation circuits , 11 is an out pointer, CROl
CRI and CR7 indicate control registers. control register C
The first segment table start address is set in RI, and the second segment table start address is set in control register CR7. The segment size and page size are set in the control register CRO. The segment table start address set in the control registers CRI and CIt7 is selected by the inpointer 2, and based on the selected segment table start address, the hash logic unit 3 creates the STOID using the hash method. It will be done. STO stack 4 contains the segment table start address and STOI.
Memorize the correspondence of D. Further, the in-pointer 6 selects the LID register 7 or the second ID register 8,
The STOID created by the hash logic unit 3 is set in the selected LID register 7 or second ID register 8. On the condition that the DISABLE signal is logic "0", the first LID and second ID set in the first ID register 7 and second ID register 8 are disconnected.
Through D allocation circuits 9 and 10! j: Sent to the out pointer 11. From pointer 11,
Select the 1st ID or 2nd ID sent to you and click T L
Send to B. In the comparator circuit 5, when the segment table start address of the control register CRI or CR2 is changed to v1 by the control progera l, the segment table start address and STOID after being rewritten are ST.
It is used to check whether it is registered in the O stack 4. Control register CRI in STO stack 4
or CR7 segment) - If there is an entry that matches the table start address, the same STOID can be used, but if there is no matching entry,
As mentioned above, a new STOID is registered in the STO stack 4. When there is no free entry in the STO stack 4, the oldest entry is evicted, and a new STOID is registered there.

次に、STOスタック4が障害等で切離された場合につ
いて説明する。STOスタック4が切離されると、D 
I S A B L E信号が論理「1」にされる。D
ISABLE信号が論理「1」になると、切離しID割
付回路9と10は、アウトポインタ11に対して、第1
IDレジメタフ及び第2IDレジスタ8にセットされた
IDとは全く異なる切離しIDを送る。そして、その切
離しIDは比較回路1の出力に応じて制御される。比較
回路1は、制御レジスタCRIとCR7にセットされた
夫々のセグメント・テーブル先頭アドレスを比較してい
る。比較回路1は、制御レジスタCRIとCR7にセッ
トされたセグメント・テーブル先頭アドレスの仮想アド
レス空間が同一(比較結果が一致)である場合には論理
「1」を出力し、2つの仮想アドレス空間が異なる(比
較結果が不一致)場合には論理「0」を出力する。比較
回路1が論理「1]を出力している場合には、切離しI
D割付回路9と10からは同一の切離しID、例えばr
o 000Jがアウトポインタ11に送られるが、比較
回路1が論理「0」を出力している場合には、切離しI
D割付回路9とlOからは異なる切離しLD、例えば一
方は「0000」、他方は[oooljがアウトポイン
タに送られる。これらの切離しIDは、バッジ−論理部
3でバッジ−法を用いて作り出されるSTOIDの範囲
外とされる。これによって、STOスタック4が切離さ
れた場合において用いられる切離しIDは、TLBに登
録されていることがない。したがって制御レジスタCR
IとCR7にセットされたセグメント・テーブル先頭ア
ドレスによる2つの空間は、支障なくアクセスすること
ができる。
Next, a case where the STO stack 4 is disconnected due to a failure or the like will be described. When the STO stack 4 is detached, D
The I S A B L E signal is made logic "1". D
When the ISABLE signal becomes logic “1”, the separation ID allocation circuits 9 and 10 assign the first
A detachment ID that is completely different from the ID set in the ID register table and the second ID register 8 is sent. The disconnection ID is controlled according to the output of the comparator circuit 1. Comparison circuit 1 compares the segment table start addresses set in control registers CRI and CR7. If the virtual address spaces of the segment table start addresses set in the control registers CRI and CR7 are the same (the comparison results match), the comparison circuit 1 outputs a logic "1", indicating that the two virtual address spaces are the same. If they are different (the comparison results do not match), a logic "0" is output. If the comparator circuit 1 is outputting logic "1", the disconnection I
The D allocation circuits 9 and 10 have the same disconnection ID, e.g.
o 000J is sent to the out pointer 11, but if the comparator circuit 1 is outputting logic "0", disconnection I
From the D allocation circuit 9 and IO, different disconnected LDs, for example "0000" on one side and [ooolj on the other side, are sent to the out pointer. These separated IDs are outside the scope of the STOID created by the badge logic unit 3 using the badge method. As a result, the detachment ID used when the STO stack 4 is detached is never registered in the TLB. Therefore control register CR
The two spaces according to the segment table start address set in I and CR7 can be accessed without any problem.

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

以上の説明から明らかなように、本発明によれば、ST
Oスタックが障害等で切離された場合に、2個の制御レ
ジスタにセットされたセグメント自テーブル先頭アドレ
スの内容に応じて強制的にSTO切離し時のIDを割付
けるようにしたので、STOスタックが切離された場合
にも2つの仮想アドレス空間をアクセスすることができ
る。
As is clear from the above description, according to the present invention, ST
When the O stack is detached due to a failure, etc., the ID at the time of STO detachment is forcibly assigned according to the contents of the segment own table start address set in the two control registers, so the STO stack Even if the two virtual address spaces are separated, the two virtual address spaces can be accessed.

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

第1図は多重仮想記憶方式の概要を示す図、第2図はT
LB機能を備えたアドレス変換方式の概要を示す図、第
3図はSTOIDを割付けだアドレス変換方式の概要を
示す図、第4図は本発明の1実施例を示す図である。 CROlCRIとCR7・・・制御レジスタ、■、A・
・・論理アドレス、RA・・・実アドレス、SGT・・
・セグメント・テーブル、PGT・・・ページ・テーブ
ル、PR・・・プレフィックス・レジスタ、DS・・・
外部ページ・データ・セット、vSOないしvSrL・
・・仮想アドレス空間、■S・・・仮想記憶、R8・・
・実記憶、1と5・・・比較回路、2と6・・・インポ
インタ、3・・・ハツシュ論理部、4・・・STOスタ
ック、7・・・第1IDレジメタ、8・・・第2IDレ
ジスタ、9と10・・・切離しID割付回路、11・・
・アウトポインタ。 49i
Figure 1 shows an overview of the multiple virtual memory system, and Figure 2 shows T
FIG. 3 is a diagram showing an outline of an address translation method with an LB function, FIG. 3 is a diagram showing an outline of an address translation method with STOID assignment, and FIG. 4 is a diagram showing an embodiment of the present invention. CROlCRI and CR7...control registers, ■, A.
...Logical address, RA...Real address, SGT...
・Segment table, PGT...page table, PR...prefix register, DS...
external page data set, vSO or vSrL.
...Virtual address space, ■S...Virtual memory, R8...
・Real memory, 1 and 5... Comparison circuit, 2 and 6... In pointer, 3... Hash logic section, 4... STO stack, 7... 1st ID register, 8... th 2 ID registers, 9 and 10... Separate ID assignment circuit, 11...
・Out pointer. 49i

Claims (1)

【特許請求の範囲】[Claims] セグメント・テーブルの先頭アドレスが格納される第1
の制御レジスタと第2の制御レジスタ、セグメントの大
きさとページの大きさが格納される第3の制御レジスタ
、上記第1の制御レジスフの値と 上記第2の制御レジ
スタの値とのいずitかを選ぶインポインタ、該インポ
インタにより選ばれた値をハツシュして空間識別子を作
る!・ツシコー論理部、セグメント・テーブルの先頭ア
ドレスと空間識別子を記憶してお(STOスタック、空
間識別子を格納する第LIDレジスタと第2IDレジス
タ、上記ハツシュ論理部により作られた空間識別子を格
納する上記第LIDレジスタ又は上記第2IDレジスタ
を選ぶインポインタ、及び上記第LIDレジスタの空間
識別子又は上記第2IDレジスタの空間識別子を選び送
出するアウトポインタを備え、上記STOスタックが切
離されたことを条件に切離し空間識別子を割付けるよう
になったSTOスタックの切離しID割付方式であって
、上記第1の制御レジスタの値と上記第2の制御レジス
タの値とを比較する比較回路及び上記第LIDレジスタ
と第2IDレジスタの出力側に切離しID割付回路を設
け、該切離しID割付回路は、STOスタックが切離さ
れたこと及び」二記比較回路の比較結果が一致を示すこ
とを条件に上記第1IDレジスク及び上記第2IDレジ
スタの出力と無関係の特定の同一値の空間識別子を上記
アウトポインタに出力し、STOスタックが切離された
こと及び上記比較回路の比較結果が不一致を示すことを
条件に上記第LIDレジスタ及び上記第2IDレジスタ
の出力と無関係の特定の異なる値の空間識別子を」二記
アウトボインクに出力するように構成されたことを特徴
とするSTOスタックの切離しID割付方式。
The first address where the start address of the segment table is stored.
a control register and a second control register, a third control register in which the segment size and page size are stored, and the value of the first control register and the value of the second control register. Create a space identifier by hashing the value selected by the inpointer and selecting the inpointer!・Tushiko logic unit, stores the start address and space identifier of the segment table (STO stack, 2nd LID register and 2nd ID register that store the space identifier, and the above-mentioned hash logic unit that stores the space identifier created by the hash logic unit) an in pointer that selects the second LID register or the second ID register, and an out pointer that selects and sends the space identifier of the second LID register or the second ID register, provided that the STO stack is detached; A separation ID allocation method for an STO stack in which a separation space identifier is allocated, the method comprising: a comparison circuit for comparing a value of the first control register and a value of the second control register; and the third LID register. A disconnection ID assignment circuit is provided on the output side of the second ID register, and the disconnection ID assignment circuit connects the first ID register on the condition that the STO stack is disconnected and the comparison result of the second comparison circuit shows a match. and outputs a space identifier of the same specific value unrelated to the output of the second ID register to the out pointer, and on condition that the STO stack is separated and the comparison result of the comparison circuit shows a mismatch, STO stack separation ID allocation method, characterized in that the STO stack is configured to output a space identifier of a specific different value unrelated to the outputs of the LID register and the second ID register to the second outboard ink.
JP57151495A 1982-08-31 1982-08-31 Disconnection id allocating system of sto stack Pending JPS5942684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57151495A JPS5942684A (en) 1982-08-31 1982-08-31 Disconnection id allocating system of sto stack

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57151495A JPS5942684A (en) 1982-08-31 1982-08-31 Disconnection id allocating system of sto stack

Publications (1)

Publication Number Publication Date
JPS5942684A true JPS5942684A (en) 1984-03-09

Family

ID=15519743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57151495A Pending JPS5942684A (en) 1982-08-31 1982-08-31 Disconnection id allocating system of sto stack

Country Status (1)

Country Link
JP (1) JPS5942684A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112011101165T5 (en) 2010-03-29 2013-03-28 Mitsubishi Paper Mills Limited Photosensitive composition and photosensitive lithographic printing plate material

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112011101165T5 (en) 2010-03-29 2013-03-28 Mitsubishi Paper Mills Limited Photosensitive composition and photosensitive lithographic printing plate material

Similar Documents

Publication Publication Date Title
US4136385A (en) Synonym control means for multiple virtual storage systems
EP0149389B1 (en) Address translation control system
KR100382395B1 (en) Methods and devices for storing information in computer memory
US4068303A (en) Address translation managing system with translation pair purging
US5361340A (en) Apparatus for maintaining consistency in a multiprocessor computer system using virtual caching
US5230045A (en) Multiple address space system including address translator for receiving virtual addresses from bus and providing real addresses on the bus
US3938100A (en) Virtual addressing apparatus for addressing the memory of a computer utilizing associative addressing techniques
JPS6133220B2 (en)
JPH04320553A (en) Address converting mechanism
US20030070057A1 (en) Apparatus for translation between virtual and physical addresses using page number, a physical page number, a process identifier and a global bit
US20090228667A1 (en) Performing a Least Recently Used (LRU) Algorithm for a Co-Processor
US6766434B2 (en) Method for sharing a translation lookaside buffer between CPUs
JPH0512126A (en) Device and method for address conversion for virtual computer
US5440708A (en) Microprocessor and storage management system having said microprocessor
EP0175398A2 (en) Data processing system comprising a memory access controller which is provided for combining descriptor bits of different descriptors associated with virtual addresses
JPS5829187A (en) Cache memory controller
JPS5942684A (en) Disconnection id allocating system of sto stack
US4984150A (en) Virtual memory control management system
US20060168419A1 (en) Method for updating entries of address conversion buffers in a multi-processor computer system
GB2052117A (en) Data processing systems
JPS5953634B2 (en) computer system
US6647483B1 (en) Address translation circuit for processors utilizing a single code image
GB2221066A (en) Address translation for I/O controller
US7181587B1 (en) Mapping an arbitrary number of contiguous memory pages at an arbitrary alignment
JP3456727B2 (en) Data processing device