JPH04307646A - High speed addressing system with production of logical-real coincident space - Google Patents

High speed addressing system with production of logical-real coincident space

Info

Publication number
JPH04307646A
JPH04307646A JP3097983A JP9798391A JPH04307646A JP H04307646 A JPH04307646 A JP H04307646A JP 3097983 A JP3097983 A JP 3097983A JP 9798391 A JP9798391 A JP 9798391A JP H04307646 A JPH04307646 A JP H04307646A
Authority
JP
Japan
Prior art keywords
logical
address
space
real
belongs
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
JP3097983A
Other languages
Japanese (ja)
Inventor
Toshio Inaba
稲場 寿雄
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 JP3097983A priority Critical patent/JPH04307646A/en
Publication of JPH04307646A publication Critical patent/JPH04307646A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain a high addressing speed by omitting the conventional address converting process if an address belongs to a logical-real coincident area when an addressing operation is carried out for production of a logical-real coincident space. CONSTITUTION:In regard of a computer having a virtual space, the coincidence is secured between the logical and reel addresses in a proper space between logical addresses in an ASG state for acquisition of a logical-real coincident space. Then, a program, a control table, etc., which are resident in a memory and also frequently referred to and updated are allocated into the logical-real coincident space in an OS initialization state. When an address converting operation is carried out, a fact whether a logical address belongs to the logical- real coincident space or not (1). If so, the logical address is turned into a real address as it is (2). If not, the logical address is converted into a reel address by an address conversion mechanism (3).

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は仮想空間管理機能を有す
る計算機のアドレシング高速化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for accelerating addressing of a computer having a virtual space management function.

【0002】0002

【従来の技術】従来、論理アドレスからプレフィックス
変換前の実アドレスへの変換は、常にアドレス変換バッ
ファのエントリが使用できる場合はアドレス変換バッフ
ァを、エントリが使用できない場合はセグメントテーブ
ルと、ページテーブルにより行われていた。
[Background Art] Conventionally, conversion from a logical address to a real address before prefix conversion is always performed using an address translation buffer when an entry in the address translation buffer can be used, or by using a segment table and a page table when an entry cannot be used. It was done.

【0003】上述した従来のアドレシング方式は、メモ
リに常駐し、かつ頻繁に参照、更新が行われるプログラ
ム、制御表等のアドレシングに対しても、アドレス変換
の際、常にアドレス変換バッファ、またはセグメントテ
ーブル、ページテーブルを参照する必要があり、アドレ
ス変換の時間を無駄にしてしまうという欠点を持ってい
た。
[0003] The conventional addressing method described above always uses an address translation buffer or segment table when converting addresses, even for addressing programs and control tables that reside in memory and are frequently referenced and updated. , it was necessary to refer to the page table, which had the disadvantage of wasting time for address translation.

【0004】0004

【発明が解決しようとする課題】本発明は論実一致空間
を作成しその空間に対して論理アドレスをそのまゝ実ア
ドレスとするアドレスシング高速化方式を提供すること
を目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a high-speed addressing method that creates a logical-actual matching space and uses logical addresses as real addresses for that space.

【0005】[0005]

【課題を解決するための手段】本発明に従って仮想空間
を有する計算機において、ASG時に、適当な論理アド
レスと論理アドレスの間の空間を、論理アドレスと実ア
ドレスを一致させ論実一致空間とし、OS初期設定時に
、メモリに常駐し、かつ頻繁に参照、更新が行われるプ
ログラム、制御表等を論実一致空間に割り付け、また論
実一致空間の範囲をハードウェアに知らせること、アド
レス変換が生じた際に、ハードウェアは、変換する論理
アドレスが論実一致空間に属しているかどうか判定し、
論実一致空間に属しているならば、従来のアドレス変換
過程を省略し、概論理アドレスをそのまま実アドレスと
するを特徴とするアドレシング高速化方式が提供される
[Means for Solving the Problems] According to the present invention, in a computer having a virtual space, at the time of ASG, a space between an appropriate logical address and a logical address is made into a logical-real matching space by matching the logical address with the real address, and the OS During initial setup, programs, control tables, etc. that reside in memory and are frequently referenced and updated are allocated to the logical-actual matching space, and the range of the logical-actual matching space is notified to the hardware, and address conversion occurs. In doing so, the hardware determines whether the logical address to be translated belongs to the logical-real matching space;
If the address belongs to the logical-actual matching space, a high-speed addressing method is provided which is characterized by omitting the conventional address conversion process and using the approximate logical address as the real address as it is.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0007】本発明を実施する際の処理の流れを、SG
、ソフトウェア、ハードウェアについて示す。
[0007] The flow of processing when implementing the present invention is described by SG
, software, and hardware.

【0008】図1は本発明の一実施例の論理アドレス、
ACR0とACR1の構成である。
FIG. 1 shows logical addresses of an embodiment of the present invention.
This is the configuration of ACR0 and ACR1.

【0009】図1を参照すると本実施例の計算機の論理
アドレスは、セグメント番号、ページ番号、ページ内相
対アドレスの3部分からなる。また、ACR0、ACR
1(アドレスコントロールレジスタ)は、それぞれ32
ビット長で後ろ28ビットがオールゼロであり、ハード
ウェアに論実一致空間の最大値を通知するためのレジス
タである。
Referring to FIG. 1, the logical address of the computer of this embodiment consists of three parts: a segment number, a page number, and an intra-page relative address. Also, ACR0, ACR
1 (address control register) is 32 each.
The last 28 bits of the bit length are all zeros, and is a register for notifying the hardware of the maximum value of the logical matching space.

【0010】本実施例では、セグメント番号により論実
一致空間の判定を行う。
In this embodiment, logical and actual matching spaces are determined based on segment numbers.

【0011】ASG時、論理アドレスと実アドレスを一
致させる論実一致空間の最小セグメント番号、最大セグ
メント番号及び、論実一致空間に割り付けるプログラム
、制御表等を判定する。この際、論実一致空間に割り付
けるプログラム、制御表等は、メモリ常駐かつ頻繁に参
照、更新が行われるものでなければならない。
[0011] At the time of ASG, the minimum segment number and maximum segment number of the logical and actual matching space for matching the logical address and the real address, and the program, control table, etc. to be allocated to the logical and actual matching space are determined. At this time, programs, control tables, etc. allocated to the logical-actual matching space must reside in memory and be referenced and updated frequently.

【0012】OS初期設定時、ソフトウェアはSG時に
決定した論実一致空間の最小セグメント番号をACR0
にロードし、最大セグメント番号をACR1にロードし
、ACR1に1を加え、上記プログラム、制御表等をメ
モリにロードしアドレシングモードを論理アドレスモー
ドに変更する。
[0012] When initializing the OS, the software sets the minimum segment number of the logical and real matching space determined at the time of SG to ACR0.
, load the maximum segment number into ACR1, add 1 to ACR1, load the above program, control table, etc. into memory, and change the addressing mode to logical address mode.

【0013】アドレス変換が生じた場合のハードウェア
の動作について図面を参照し説明する。
The operation of the hardware when address translation occurs will be explained with reference to the drawings.

【0014】図2は、本発明を実施した際の処理の流れ
を示すブロック図である。
FIG. 2 is a block diagram showing the flow of processing when implementing the present invention.

【0015】図3は、論実一致判定の処理を実行する加
算機の概略図である。
FIG. 3 is a schematic diagram of an adder that executes logical and actual coincidence determination processing.

【0016】図2を参照すると本実施例はアドレス変換
が発生したとき、概論理アドレスが論実一致空間に属し
ているかどうか判定する(1)。概論理アドレスが論実
一致の空間に属している場合は概論理アドレスがそのま
ま実アドレスとなる(2)。概論理アドレスが論実一致
の空間に属していない場合はアドレス変換機構により実
アドレスに変換される(3)。
Referring to FIG. 2, in this embodiment, when address translation occurs, it is determined whether the approximate logical address belongs to the logical-actual matching space (1). If the approximate logical address belongs to a space where logic and reality match, the approximate logical address becomes the real address as is (2). If the approximate logical address does not belong to the logical-actual matching space, it is converted into a real address by the address translation mechanism (3).

【0017】図3を参照すると、論実一致空間に属して
いるかの判定は、次のように行われる。
Referring to FIG. 3, it is determined whether the object belongs to the logical-actual matching space as follows.

【0018】1、加算機のLパスに、論理アドレスRパ
スにACR0を出力する。
1. Output ACR0 to the L path of the adder and the logical address R path.

【0019】2、加算機に減算を指示する。2. Instruct the adder to subtract.

【0020】3、加算機は論理アドレス−ACR0を実
行する。
3. The adder executes logical address -ACR0.

【0021】4、加算機から結果のCCを受け取る。4. Receive the result CC from the adder.

【0022】5、結果のCCが1のとき論実不一致空間
に属していると判断される。
5. When the CC of the result is 1, it is determined that the result belongs to the logical-actual inconsistency space.

【0023】6、CCが1以外のときは、加算機のLパ
スに、論理アドレス RパスにACR1を出力する。
6. When CC is other than 1, output ACR1 to the L path of the adder and to the logical address R path.

【0024】7、加算機に減算を指示する。7. Instruct the adder to subtract.

【0025】8、加算機は論理アドレス−ACR1を実
行する。
8. Adder executes logical address -ACR1.

【0026】9、加算機から結果のCCを受け取る。9. Receive the result CC from the adder.

【0027】結果のCCが1のとき論実一致空間に属し
、1以外の時は論実不一致空間に属していると判断され
る。
When the CC of the result is 1, it is determined that it belongs to the logical-actual matching space, and when it is other than 1, it is determined that it belongs to the logical-actual mismatching space.

【0028】上記説明より論実一致空間の判定はハード
ウェアによって非常に高速に判定される。
From the above explanation, the logical and real matching space can be determined very quickly by hardware.

【0029】[0029]

【発明の効果】発明の効果を定量的に評価する。[Effect of the invention] Evaluate the effect of the invention quantitatively.

【0030】従来のアドレス変換過程によるアドレス変
換にかかる時間をNとし、論実一致判定にかかる時間を
αとし、アドレス変換の際、アドレスが論実一致空間に
属する確率をxとすると、本発明を実行した場合アドレ
ス変換にかかる時間 xα+(1−x)(α+N) となる。
[0030] Let N be the time required for address translation in the conventional address translation process, α be the time required for logical and actual matching determination, and x be the probability that an address belongs to the logical and actual matching space during address translation. If the above is executed, the time required for address conversion will be xα+(1-x)(α+N).

【0031】従来はNなので、比率は、となる。Conventionally, it is N, so the ratio is as follows.

【0032】α/Nはほとんどゼロに近いのでx(アド
レス変換の際、アドレスが論実一致空間に属する確率)
を高くすれば、十分な効果が得られる。
Since α/N is almost zero, x (the probability that an address belongs to the logical-real matching space during address conversion)
A sufficient effect can be obtained by increasing the value.

【0033】一般にxを高めるには、システムごとに論
実一致空間の大きさ、論実一致空間に割り当てるプログ
ラム制御表等をチューニングする必要がある。
Generally, in order to increase x, it is necessary to tune the size of the logical-actual matching space, the program control table allocated to the logical-actual matching space, etc. for each system.

【0034】以上の説明より明らかなように、本発明は
、論実一致空間を作成するため、アドレシングの際、概
アドレスが論実一致区間に属していれば、従来のアドレ
ス変換過程を省略することによってアドレシングの高速
化が計られる。
As is clear from the above description, the present invention creates a logical-actual matching space, so when addressing, if the approximate address belongs to the logical-actual matching interval, the conventional address conversion process is omitted. This speeds up addressing.

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

【図1】本発明の一実施例の論理アドレス、ACR0と
ACR1の構成を示す図である。
FIG. 1 is a diagram showing the configuration of logical addresses ACR0 and ACR1 in an embodiment of the present invention.

【図2】本発明を実施した際の処理の流れを示すブロッ
ク図である。
FIG. 2 is a block diagram showing the flow of processing when implementing the present invention.

【図3】論実一致判定の処理を実行する加算機の概略図
である。
FIG. 3 is a schematic diagram of an adder that executes logic-actual coincidence determination processing.

【符号の説明】[Explanation of symbols]

(1)  図2において概論理アドレスが論実一致空間
に属しているかどうかを判定する (2)  概論理アドレスが論実一致の空間に属してい
る場合は概論理アドレスがそのまゝ実アドレスとなる(
3)  概論理アドレスが論実一致の空間に属していな
い場合はアドレス変換機構により実アドレスに変換され
(1) Determine whether the approximate logical address belongs to the logical-actual matching space in Figure 2. (2) If the approximate logical address belongs to the logical-actual matching space, the approximate logical address is directly equivalent to the real address. Become(
3) If the approximate logical address does not belong to the logical-actual matching space, it is converted to a real address by the address translation mechanism.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  仮想空間を有する計算機において、S
G時に、適当な論理アドレスと論理アドレスの間の空間
を、論理アドレスと実アドレスを一致させ論実一致空間
にすること、OS初期設定時に、メモリに常駐し、かつ
頻繁に参照、更新が行われるプログラム、制御表等を論
実一致空間に割り付け、また論実一致空間の範囲をハー
ドウェアに知らせること、アドレス変換が生じた際に、
ハードウェアは、変換する論理アドレスが論実一致空間
に属しているかどうか判定し、論実一致空間に属してい
るならば、従来のアドレス変換過程を省略し、概論理ア
ドレスをそのまま実アドレスとすること、により構成さ
れることを特徴とするアドレシング高速化方式。
Claim 1: In a computer having a virtual space, S
At G time, the space between the appropriate logical address and the logical address is made to match the logical address and the real address to make it a logical-real matching space. Allocate programs, control tables, etc. to be used in the logical and actual matching space, notify the hardware of the range of the logical and actual matching space, and when address conversion occurs,
The hardware determines whether the logical address to be translated belongs to the logical-actual matching space, and if it belongs to the logical-actual matching space, the conventional address translation process is omitted and the approximate logical address is used as the real address as it is. A high-speed addressing method characterized by comprising:
JP3097983A 1991-04-04 1991-04-04 High speed addressing system with production of logical-real coincident space Pending JPH04307646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3097983A JPH04307646A (en) 1991-04-04 1991-04-04 High speed addressing system with production of logical-real coincident space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3097983A JPH04307646A (en) 1991-04-04 1991-04-04 High speed addressing system with production of logical-real coincident space

Publications (1)

Publication Number Publication Date
JPH04307646A true JPH04307646A (en) 1992-10-29

Family

ID=14206904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3097983A Pending JPH04307646A (en) 1991-04-04 1991-04-04 High speed addressing system with production of logical-real coincident space

Country Status (1)

Country Link
JP (1) JPH04307646A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009527861A (en) * 2006-02-23 2009-07-30 フリースケール セミコンダクター インコーポレイテッド Data processing system and method having address translation bypass

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009527861A (en) * 2006-02-23 2009-07-30 フリースケール セミコンダクター インコーポレイテッド Data processing system and method having address translation bypass

Similar Documents

Publication Publication Date Title
US4218743A (en) Address translation apparatus
US4004278A (en) System for switching multiple virtual spaces
US3533075A (en) Dynamic address translation unit with look-ahead
US5608867A (en) Debugging system using virtual storage means, a normal bus cycle and a debugging bus cycle
JPS63231550A (en) Multiple virtual space control system
US5077654A (en) Virtual machine system which translates virtual address from a selected virtual machine into real address of main storage
US3982231A (en) Prefixing in a multiprocessing system
US4491911A (en) Data processing system with improved address translation facility
JPH04307646A (en) High speed addressing system with production of logical-real coincident space
JPS63298485A (en) Image processor
EP0430500A2 (en) System and method for atomic access to an input/output device with direct memory access
JPH0656594B2 (en) Vector processor
GB1535283A (en) Data processing apparatus
JPS6273347A (en) Address converter
US7793069B2 (en) Indexing for dynamic address translation
JPS6068443A (en) Address converter
JPS60204048A (en) Virtual storing system
JPS63144492A (en) Memory access system
JPH03109656A (en) Multiplex virtual space address system and data processor
JPH0588983A (en) Method for dynamic address conversion of channel equipment
JPS63189955A (en) Data transferring and processing system in virtual computer system
JPH01131937A (en) Address conversion system
JPS608971A (en) Central processing unit
JPH01315858A (en) Data transfer control method and device
JPH04160544A (en) Addressing system