JP3070056B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP3070056B2
JP3070056B2 JP1286208A JP28620889A JP3070056B2 JP 3070056 B2 JP3070056 B2 JP 3070056B2 JP 1286208 A JP1286208 A JP 1286208A JP 28620889 A JP28620889 A JP 28620889A JP 3070056 B2 JP3070056 B2 JP 3070056B2
Authority
JP
Japan
Prior art keywords
address
speed conversion
index buffer
task switching
conversion index
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 - Lifetime
Application number
JP1286208A
Other languages
Japanese (ja)
Other versions
JPH03147155A (en
Inventor
真理子 佐野
光司 岡田
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 JP1286208A priority Critical patent/JP3070056B2/en
Publication of JPH03147155A publication Critical patent/JPH03147155A/en
Application granted granted Critical
Publication of JP3070056B2 publication Critical patent/JP3070056B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置に関し、特にタスク切替専用
の予め設定可能な高速変換索引緩衝機構と、この高速変
換索引緩衝機構への入出力ポートとを有する情報処理装
置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and more particularly, to a presettable high-speed conversion index buffer mechanism dedicated to task switching, and an input / output port to the high-speed conversion index buffer mechanism. And an information processing apparatus having the same.

〔従来の技術〕 従来の情報処理装置としては、第3図に示すように、
動的アドレス変換機構2と高速変換索引緩衝機構(TBL:
Translation Look−aside Buffer)13aとを同時に動作
させ、先に実アドレス11が求められた方をページアドレ
スのベースポインタ9とし、仮想アドレス1の下位をペ
ージのオフセットアドレス10として実アドレス11を求め
ている。ここで、もし高速変換索引緩衝機構13aに変換
アドレスと一致したデータがなかった場合は、動的アド
レス変換機構2により求められたアドレスを高速変換索
引緩衝機構13aに設定する。この高速変換索引緩衝機構1
3aへの設定方法は、LRU法(Least Recently Used Rul
e)に基づいて行なわれる。このLRU法とは、最も最近ア
クセスされなかったテーブルの上に書き込む。
[Prior Art] As a conventional information processing apparatus, as shown in FIG.
Dynamic address translation mechanism 2 and high-speed translation index buffer mechanism (TBL:
Translation Look-aside Buffer) 13a is operated at the same time, and the real address 11 is obtained by setting the one for which the real address 11 was obtained first as the base pointer 9 of the page address, and setting the lower part of the virtual address 1 as the page offset address 10. I have. Here, if there is no data that matches the translation address in the high-speed translation index buffer 13a, the address obtained by the dynamic address translation mechanism 2 is set in the high-speed translation index buffer 13a. This high-speed conversion index buffer mechanism 1
The setting method for 3a is the LRU method (Least Recently Used Rul
e). This LRU method writes on the table that has not been accessed most recently.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来の情報処理装置は、高速変換索引緩衝機
構13aが1方通行であるため、ページが変る毎に高速変
換索引緩衝機構13aの内容が書換えられてしまい(高速
変換索引緩衝機構に登録されていなかった場合)、タス
クが切替わったときにタスクの実アドレス11が高速変換
索引緩衝機構13aに登録されている確率が低く、毎回動
的アドレス変換機構2により計算される必要があり、タ
スクの切替時間が長くなってしまうという欠点がある。
In the conventional information processing apparatus described above, since the high-speed conversion index buffer mechanism 13a is one-way traffic, the contents of the high-speed conversion index buffer mechanism 13a are rewritten every time a page is changed (registered in the high-speed conversion index buffer mechanism). If the task is not switched, the probability that the real address 11 of the task is registered in the high-speed translation look-up buffer 13a when the task is switched is low, and it is necessary that the real address 11 be calculated by the dynamic address translator 2 every time. There is a disadvantage that the switching time becomes longer.

本発明の目的は、タスク切替専用の予め設定可能な高
速変換索引緩衝機構と入出力ポートをもった高速変換索
引緩衝機構とを設けて、タスク切替時間を短縮した情報
処理装置を提供することにある。
It is an object of the present invention to provide an information processing apparatus in which a task switching time is reduced by providing a preset high-speed conversion index buffer mechanism dedicated to task switching and a high-speed conversion index buffer mechanism having an input / output port. is there.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の情報処理装置の構成は、通常アクセスされる
第1の高速変換索引緩衝機構と、この第1の高速変換索
引緩衝機構とは別に設けられタスク切替に必要なタスク
の位置やOS常駐のプログラムのアドレスを予め設定でき
るタスク切替専用の第2の高速変換索引緩衝機構と、こ
れら第1および第2の高速変換索引緩衝機構への入出力
ポートとを有することを特徴とする。
The configuration of the information processing apparatus of the present invention includes a first high-speed conversion index buffer mechanism normally accessed, and a position of a task necessary for task switching and an OS resident, which are provided separately from the first high-speed conversion index buffer mechanism. It is characterized in that it has a second high-speed conversion index buffer mechanism dedicated to task switching, which can set a program address in advance, and an input / output port to these first and second high-speed conversion index buffer mechanisms.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の、ブロック図である。本
実施例は、従来の高速変換索引緩衝機構13の他に、タス
ク切替用の予め設定可能な高速変換索引緩衝機構12,13
の入出力ポートとなる切替制御回路14とを有している。
入出力ポートよりタスク切替専用高速変換索引緩衝機構
12に、タスク切替に必要とされるタスクの位置やオペレ
ーティングシステム常駐のプログラムのアドレスを予め
設定しておき、タスク切替処理が行なわれた場合には、
タスク切替専用高速変換索引緩衝機構12と動的アドレス
変換機構2とを同時に動作させ、先に実アドレスを求め
られた方をページアドレスのベースアドレスとし、仮想
アドレス1の下位をページのオフセットアドレス10と
し、実アドレス11を求めている。
FIG. 1 is a block diagram of one embodiment of the present invention. In the present embodiment, in addition to the conventional high-speed conversion index buffering mechanism 13, a presettable high-speed conversion index buffering mechanism 12, 13 for task switching is set.
And a switching control circuit 14 serving as an input / output port of
High-speed conversion index buffering mechanism dedicated to task switching from I / O ports
In 12, the position of the task required for task switching and the address of the program resident in the operating system are set in advance, and when the task switching process is performed,
The task switching dedicated high-speed translation index buffer mechanism 12 and the dynamic address translation mechanism 2 are operated at the same time. And seeks the real address 11.

もし、タスク切替専用高速変換索引緩衝機構12に変換
アドレスに一致したデータがなかった場合は、動的アド
レス変換機構2より求められたアドレスをタスク切替専
用高速変換索引緩衝機構12に設定する。この高速変換索
引緩衝機構12の設定方法は、LRU法に基づいて行なわれ
る。
If there is no data that matches the translation address in the task switching dedicated high speed translation index buffer 12, the address obtained by the dynamic address translation mechanism 2 is set in the task switching dedicated high speed translation index buffer 12. The setting method of the high-speed conversion index buffer mechanism 12 is performed based on the LRU method.

仮想アドレス1は動的アドレス変換機構2、または高
速変換索引緩衝機構12,13により実アドレス11に変換さ
れる。動的アドレス変換機構2は仮想アドレス1を次の
方法で実アドレス11に変換する。
The virtual address 1 is translated into a real address 11 by the dynamic address translation mechanism 2 or the high-speed translation index buffering mechanism 12, 13. The dynamic address translation mechanism 2 translates the virtual address 1 into the real address 11 by the following method.

第2図は本実施例のアドレス空間の構成を示す配置図
である。仮想空間Aは、4つのセクションBにより構成
され、また、1つのセクションBは1024個のエリアCに
より構成されている。
FIG. 2 is a layout diagram showing the configuration of the address space of the present embodiment. The virtual space A is composed of four sections B, and one section B is composed of 1024 areas C.

仮想アドレス1の上位2ビットによりセクションID3
が示され、対応するエリアテーブルレジスタペア4が選
択される。このエリアテーブルレジスタペア4で指定さ
れるベースアドレスを基準として仮想アドレス1のビッ
ト「20〜29」により示されるエリアID5をインデクス番
号としエリアテーブル6よりエリアテーブルエントリが
選択される。エリアテーブルエントリで指定されるベー
スアドレスを基準とし、仮想アドレス1のビット「12〜
19」により示されるページID7をインデクス番号としペ
ージテーブル8よりページテーブルエントリが選択され
る。最後に、ページテーブルエントリに仮想アドレス1
のビット「0〜11」が連接されアクセスされるデータの
実アドレス11を得る。
Section ID 3 by upper 2 bits of virtual address 1
And the corresponding area table register pair 4 is selected. An area table entry is selected from the area table 6 with the area ID 5 indicated by the bits “20 to 29” of the virtual address 1 as an index number based on the base address specified by the area table register pair 4. Based on the base address specified in the area table entry, bits “12 to
A page table entry is selected from the page table 8 using the page ID 7 indicated by "19" as an index number. Finally, the virtual address 1 is added to the page table entry.
Are connected to obtain the real address 11 of the data to be accessed.

一方、高速変換索引緩衝機構12,13では、まず高速変
換索引緩衝機構12をタスク切替専用とし、予め入出力ポ
ート16よりタスク切替に必要とされるタスクの位置やオ
ペレーティングシステム常駐のプログラムのアドレスを
あらかじめ設定しておく。仮想アドレスから実アドレス
への変換がタスク切替のものかどうかを、タスク切替制
御回路14により判定し、タスク切替でない場合は通常の
高速変換索引機構13から実アドレスのページベースポイ
ンタ9を得る。タスク切替の場合はタスク切替専用高速
変換索引機構12から実アドレスのページベースポインタ
9を得る。もし高速変換索引緩衝機構12または13に仮想
アドレス1に一致したデータがなかった場合は、同時に
起動した動的アドレス変換機構2より実アドレス11を求
める。ここで求めた仮想アドレス1と実アドレスのペー
ジベースポインタ9を高速変換索引緩衝機構12または13
に設定する。この設定方法はLRU法により行なう。
On the other hand, in the high-speed conversion index buffering mechanisms 12 and 13, first, the high-speed conversion index buffering mechanism 12 is dedicated to the task switching, and the position of the task and the address of the program resident in the operating system required for the task switching are input and output from the input / output port 16 in advance. Set in advance. The task switching control circuit 14 determines whether or not the conversion from the virtual address to the real address is a task switching. If the task switching is not a task switching, the real address page base pointer 9 is obtained from the normal high-speed translation and indexing mechanism 13. In the case of task switching, the page base pointer 9 of the real address is obtained from the task switching dedicated high-speed conversion indexing mechanism 12. If there is no data matching the virtual address 1 in the high-speed translation index buffer 12 or 13, the real address 11 is obtained from the dynamic address translator 2 which has been activated at the same time. The virtual address 1 and the page base pointer 9 of the real address obtained here are stored in the high-speed translation index buffer 12 or
Set to. This setting method is performed by the LRU method.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、タスク切替専用の予め
設定可能な高速変換索引緩衝機構および高速変換索引緩
衝機構への入出力ポートを有することにより、予めタス
ク切替に必要とされるタスクの位置やオペレーティング
システム常駐のプログラムのアドレスを高速変換索引緩
衝機構に設定することができ、またタスク切替専用の高
速変換索引緩衝機構があるため、ページが変る毎に高速
変換索引緩衝機構の内容が書換えられることもなくタス
クが切替わった時にタスクの実アドレスが高速変換索引
緩衝機構に登録されている確率が高くなり、タスクの切
替時間の短縮を図れるという効果がある。
As described above, the present invention has a presettable high-speed conversion index buffering mechanism dedicated to task switching and an input / output port to the high-speed conversion index buffering mechanism. The address of the program resident in the operating system can be set in the high-speed index buffer, and the high-speed index buffer for task switching is rewritten every time a page is changed. When the task is switched, the probability that the real address of the task is registered in the high-speed translation look-up buffer mechanism is increased, so that the task switching time can be reduced.

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

第1図は本発明の一実施例のブロック図、第2図はアド
レス空間の構成を示す配置図、第3図は従来の情報処理
装置の一例のブロック図である。 1……仮想アドレス、2……動的アドレス変換機構、3
……セクションID、4……エリアテーブルレジスタペ
ア、5……エリアID、6……エリアテーブル、7……ペ
ージID、8……ページテーブル、9……実アドレスペー
ジベースポインタ、10……ページオフセットアドレス、
11……実アドレス、12……タスク切替専用高速変換索引
緩衝機構、13,13a……高速変換索引緩衝機構、14……タ
スク切替制御回路、15……タスク切替信号、16……入出
力ポート、A……仮想空間、B……セクション、C……
エリア、D……ページ。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a layout diagram showing a configuration of an address space, and FIG. 3 is a block diagram of an example of a conventional information processing apparatus. 1 virtual address 2 dynamic address translation mechanism 3
... section ID, 4 ... area table register pair, 5 ... area ID, 6 ... area table, 7 ... page ID, 8 ... page table, 9 ... real address page base pointer, 10 ... page Offset address,
11: real address, 12: high-speed conversion index buffer mechanism dedicated to task switching, 13, 13a: high-speed conversion index buffer mechanism, 14: task switching control circuit, 15: task switching signal, 16: input / output port , A ... virtual space, B ... section, C ...
Area, D ... page.

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/10 Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 12/10

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】通常アクセスされる第1の高速変換索引緩
衝機構と、この第1の高速変換索引緩衝機構とは別に設
けられタスク切替に必要なタスクの位置やOS常駐のプロ
グラムのアドレスを予め設定できるタスク切替専用の第
2の高速変換索引緩衝機構と、これら第1および第2の
高速変換索引緩衝機構への入出力ポートとを有すること
を特徴とする情報処理装置。
1. A first high-speed conversion index buffer which is normally accessed, and a position of a task necessary for task switching and an address of an OS-resident program which are provided separately from the first high-speed conversion index buffer are provided in advance. An information processing apparatus comprising: a second high-speed conversion index buffer mechanism dedicated to task switching that can be set; and an input / output port to the first and second high-speed conversion index buffer mechanisms.
JP1286208A 1989-11-02 1989-11-02 Information processing device Expired - Lifetime JP3070056B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1286208A JP3070056B2 (en) 1989-11-02 1989-11-02 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1286208A JP3070056B2 (en) 1989-11-02 1989-11-02 Information processing device

Publications (2)

Publication Number Publication Date
JPH03147155A JPH03147155A (en) 1991-06-24
JP3070056B2 true JP3070056B2 (en) 2000-07-24

Family

ID=17701369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1286208A Expired - Lifetime JP3070056B2 (en) 1989-11-02 1989-11-02 Information processing device

Country Status (1)

Country Link
JP (1) JP3070056B2 (en)

Also Published As

Publication number Publication date
JPH03147155A (en) 1991-06-24

Similar Documents

Publication Publication Date Title
US4985828A (en) Method and apparatus for generating a real address multiple virtual address spaces of a storage
JPH0315211B2 (en)
JPH0137773B2 (en)
JP2892176B2 (en) Font memory access method
US4888688A (en) Dynamic disable mechanism for a memory management unit
JP3070056B2 (en) Information processing device
JPS6273347A (en) Address converter
JPH06187286A (en) Bus conversion adapter
JPS6024491B2 (en) Address conversion control method
JPH03196347A (en) Information processor
JPS6032221B2 (en) Address translation method
JPH03154139A (en) Cache memory
JPH0534042Y2 (en)
JP3125790B2 (en) Address translator
JP2559398B2 (en) Virtual computer system
JPH05250261A (en) Address conversion device
JPH0659980A (en) Cache device
JPH0157374B2 (en)
JPH01166148A (en) Memory access device
JPH05108486A (en) Cache memory control system
JPH02101552A (en) Address conversion buffer processing system
JPS646492B2 (en)
JPH04326437A (en) Information processor
JPS62177645A (en) Control system for cache memory
JPH06149677A (en) Cache memory system