JPS63273149A - System for diagnosing conversion index buffer mechanism - Google Patents

System for diagnosing conversion index buffer mechanism

Info

Publication number
JPS63273149A
JPS63273149A JP62108348A JP10834887A JPS63273149A JP S63273149 A JPS63273149 A JP S63273149A JP 62108348 A JP62108348 A JP 62108348A JP 10834887 A JP10834887 A JP 10834887A JP S63273149 A JPS63273149 A JP S63273149A
Authority
JP
Japan
Prior art keywords
address
index buffer
conversion index
conversion
buffer mechanism
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
JP62108348A
Other languages
Japanese (ja)
Inventor
Toshimasa Arai
新井 利政
Kyoichi Tamura
田村 恭一
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Software Hokuriku 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 NEC Corp, NEC Software Hokuriku Ltd filed Critical NEC Corp
Priority to JP62108348A priority Critical patent/JPS63273149A/en
Publication of JPS63273149A publication Critical patent/JPS63273149A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To simplify the diagnosing system and to confirm that other attributes are registered correctly by reading the content of a conversion index buffer mechanism to a main storage device and comparing it with an expected value directly. CONSTITUTION:The titled system is provided with a transfer means 6 transferring the content of an address conversion table 4 stored by the conversion index buffer mechanism 2 to a main storage device and a comparison means 7 comparing the content transferred to the main storage device by the transfer means with the expected value representing the normality of the content of the conversion index buffer device prepared in advance. Thus, the diagnosis of the conversion index buffer device is simplified and whether or not the other information to be registered in the address conversion table is registered normally is confirmed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理袋はにおける診断方式に関し、特
に中央処理装置の変換索引縁i機構の診断方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a diagnostic method for a data processing unit, and more particularly to a diagnostic method for a conversion index edge mechanism of a central processing unit.

〔従来の技術〕[Conventional technology]

従来、この種の変換索引緩衝機構の診断方式は、例えば
、1つの仮想アドレスに2つの実アドレスを割り当てそ
の矛盾を利用して間接的に診IWiするものとなってい
た。
Conventionally, the diagnosis method for this type of conversion index buffer mechanism has been to allocate two real addresses to one virtual address and indirectly diagnose IWi by utilizing the contradiction between the two real addresses.

第3図は変換索引緩衝機構の診断方式の従来例の構成図
である。
FIG. 3 is a block diagram of a conventional example of a diagnosis method for a conversion index buffer mechanism.

仮想アドレス空間1は仮想アドレスAを有する。。Virtual address space 1 has virtual address A. .

アドレス変換テーブル4は1ご記憶装置(図示せず)に
保持され、仮想アドレス八がアクセスされると、仮想ア
ドレス八を実アドレス空間3の実アドレスaに変換する
。変換索引緩衝機構2はアドレス変換テーブル5を保持
し、主記憶装置に保持されているアドレス変換テーブル
4が仮想アドレスAを実アドレスaに変換すると、A:
aの対をアドレス変換テーブル4から読出してアドレス
変換テーブル5に蓄積し、以後、蓄積されている仮想ア
ドレスから実アドレスへ高速変換制御をする。
The address conversion table 4 is held in a storage device (not shown), and when virtual address 8 is accessed, it converts virtual address 8 to real address a in real address space 3. The translation index buffer 2 holds an address translation table 5, and when the address translation table 4 held in the main storage converts the virtual address A to the real address a, A:
The pair a is read out from the address conversion table 4 and stored in the address conversion table 5, and thereafter high-speed conversion control is performed from the stored virtual addresses to real addresses.

いま、診断プログラムが仮想アドレス八にメモリアクセ
スすると、アドレス変換テーブル4により実アドレスa
に変換され同時にA:aの対が変換索引緩衝機構2のア
ドレス変換テーブル5にΩ録される。これ以後は、仮想
アドレス八をアクセスしてb1アドレス変換テーブル4
は参照されず、変換索引緩衝機構2によって保持されて
いたエントリ内容により、高速にアドレス変換されるこ
とが正常な動作である。ここで、診断プログラムが変換
索引緩衝機構2によって保持された内容はそのまま保持
できるようにして、仮想アドレス八に実アドレスbが対
応するようにアドレス変換テーブル4を変更させる。次
に、診断プログラムが仮想アドレスAにメモリアクセス
すると、仮想アドレスAが変換索引緩衝機構2に正しく
登録されていればこの実行アドレスaが使用され、実ア
ドレスaに変換される。もし何らかの異常で、登録され
ていなければ、あるいはこの機構が正しく動作しなけれ
ば、アドレス変換テーブル4が参照され実アドレスbに
変換されてしまうことになる。したがって、変換索引緩
衝機構2を用いずに、予め実アドレスaおよびbに異な
るデータを格納してお【ノば、変換索引緩衝機構2を用
いて仮想アドレスAをアクセスして、読出されたデータ
の内容により変換索引緩衝門構2の正常性が間接的に診
断できる。
Now, when the diagnostic program accesses the memory to virtual address 8, address conversion table 4 converts it to real address a.
At the same time, the pair A:a is recorded in the address translation table 5 of the translation index buffer 2. After this, virtual address 8 is accessed and b1 address translation table 4 is accessed.
The normal operation is that the address is not referenced and the address is translated at high speed using the entry contents held by the translation index buffer mechanism 2. Here, the diagnostic program changes the address translation table 4 so that the contents held by the translation index buffer mechanism 2 can be retained as they are, and the real address b corresponds to the virtual address 8. Next, when the diagnostic program accesses the memory of the virtual address A, if the virtual address A is correctly registered in the conversion index buffer mechanism 2, the execution address a is used and converted to the real address a. If there is some abnormality and the address is not registered, or if this mechanism does not operate correctly, the address conversion table 4 will be referred to and the address will be converted to the real address b. Therefore, if different data is stored in real addresses a and b in advance without using the conversion index buffer 2, then the data read out by accessing the virtual address A using the conversion index buffer 2 The normality of the conversion index buffer gate structure 2 can be indirectly diagnosed based on the contents.

(発明が解決しようとする問題点) 上述した従来の変換索引緩衝門構の診断方式は、正常な
仮想アドレス二実アドレスの対が登録されていることを
間接的に知る方式であり、診断方法が複雑になり、また
変換索引緩衝機構2には、一般にメしり保護機能し併わ
Uて持たせるために(mの属性も登録されており、この
情報の登録がされたかどうかの確認がilI接できない
という欠点がある。
(Problems to be Solved by the Invention) The diagnosis method of the conventional conversion index buffer gate structure described above is a method of indirectly knowing that a pair of normal virtual addresses and two real addresses is registered. In addition, the conversion index buffer mechanism 2 generally has a message protection function and an attribute of (m) is also registered, and it is difficult to check whether this information has been registered. It has the disadvantage of not being accessible.

(問題点を解決するための手段) 本発明の変換索引緩衝機構の診断システム1よ、変換索
引緩衝機構が保持するアドレス変換テーブルの内容を主
24a装置に移送する移送手段と、移送手段によって主
記憶装置に移送された内容を、予め準備された変換索引
緩衝機構の内容が正常であることを示す期待値と比較す
る比較手段を有することを特徴とする。
(Means for Solving the Problems) The diagnosis system 1 for a conversion index buffer mechanism of the present invention includes a transfer means for transferring the contents of an address translation table held by the conversion index buffer mechanism to a main device 24a, and a main device 24a by the transfer means. The present invention is characterized by comprising comparison means for comparing the contents transferred to the storage device with an expected value prepared in advance indicating that the contents of the conversion index buffer are normal.

このように、変換索引Wililiil椛が保持するア
ドレス変換テーブルの内容を主記憶装置に移送し、そ札
が正常であるか否かを示す期待値と比較することにより
、変換索引緩衝機構の診断が簡素化され、ざらに前記ア
ドレス変換テーブルに登録されているべき他の情報が正
常に登録されているか否かの確認をすることができる。
In this way, the conversion index buffer mechanism can be diagnosed by transferring the contents of the address conversion table held by the conversion index Wililiil to the main storage and comparing it with the expected value indicating whether the note is normal or not. It is simplified and it is possible to roughly check whether other information that should be registered in the address conversion table is properly registered.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の変換索引状m機構の診断方式の一実施
例の構成図である。
FIG. 1 is a block diagram of an embodiment of a diagnostic method for a conversion index-like m mechanism according to the present invention.

本実施例1よ、第3図の変換索引緩衝機構2の診断方式
の従来例に、移送手段6および比較手段7を付加したも
のである。移送手段6は変換索引緩衝門構2が保持する
アドレス変換テーブル5の内容を主記憶装置に移送する
。比較手段7は移送手段6によって主記憶装置に移送さ
れたアドレス変換テーブル5の内容を、予め準備された
、変換索引テーブル5の内容が正常であることを足す期
待値と比較する。
This embodiment 1 is obtained by adding a transfer means 6 and a comparison means 7 to the conventional diagnosis method of the conversion index buffer mechanism 2 shown in FIG. The transfer means 6 transfers the contents of the address conversion table 5 held by the conversion index buffer gate 2 to the main storage device. The comparison means 7 compares the contents of the address conversion table 5 transferred to the main storage device by the transfer means 6 with an expected value prepared in advance which indicates that the contents of the conversion index table 5 are normal.

第2図は本実施例の動作を示すフローヂp−l〜である
FIG. 2 is a flowchart showing the operation of this embodiment.

変換索引11%機構2がイニシャライズされているとき
に、まず、仮想アドレス八をアクセスすると、アドレス
変換テーブル4が参照され、このアドレス変換テーブル
4に従って実アドレスaに変換される。これと同時に、
A:aの対が変換索引テーブル機構2に保持されている
アドレス変換テーブル5に登録される(ステップ11)
When the translation index 11% mechanism 2 is initialized, first, when virtual address 8 is accessed, the address translation table 4 is referred to and the address translation table 4 is translated into the real address a. At the same time,
The pair A:a is registered in the address translation table 5 held in the translation index table mechanism 2 (step 11).
.

次に、変換索引縁)ii II構2が保持するアドレス
変換テーブル5の内容が主記憶#A首の所定位置に移送
される(ステップ12)。この機能はファームウェア等
により容易に中央処I!I!’A置内に実現でき、ソフ
トウェア命令によって実行指示できるにうに構成してお
けばよい。移送された内容は、予め用意しである変換索
引緩衝機構2が保持すべき期待値と比較される(ステッ
プ13)。これによって変換索引Ffi函機構2に保持
されている内容が、アドレス変換情報以外の情報をも含
めて直接α「認され、変換索引緩衝機構2の診断が可能
となる。
Next, the contents of the address conversion table 5 held by the conversion index edge) ii II structure 2 are transferred to a predetermined position in the main memory #A (step 12). This function can be easily implemented centrally using firmware, etc. I! It is sufficient if the configuration is such that it can be realized within the A device and can be instructed to execute by software commands. The transferred contents are compared with the expected value that should be held in the conversion index buffer mechanism 2, which is prepared in advance (step 13). As a result, the contents held in the conversion index Ffi box mechanism 2, including information other than the address conversion information, are directly verified, making it possible to diagnose the conversion index buffer mechanism 2.

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

以上説明したように本発明は、変換索引緩衝別構の内容
を主記憶装置に読出し、これを]ll]待値と直接比較
することにより、診断方式が簡素化され、さらにその他
の属性が正しく登録されていることも確認できる効果が
ある。
As explained above, the present invention simplifies the diagnosis method and furthermore, by reading the contents of the conversion index buffer into the main memory and directly comparing it with the [ll] wait value, it is possible to correctly determine other attributes. It also has the effect of confirming that it is registered.

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

第1図は本発明の変換索引状w1機構の診断方式の一実
施例の構成図、第2図は本実施例の動作を示すフローチ
ャート、第3図は変換索引緩衝截梠の診断方式の従来例
の構成図である。 1・・・仮想アドレス空間、 2・・・変換索引!1衝機構、 3・・・実アドレス空間、 4・・・主記憶装置に保持されているアドレス変換デー
プル、 5・・・変換索引状mm溝2に保持されているアドレス
変換テーブル、 6・・・移送手段、 7・・・比較手段。 第1図 第2図 1汲置7ドレ入交間 第3図
Fig. 1 is a block diagram of an embodiment of the diagnosis method of the conversion index w1 mechanism of the present invention, Fig. 2 is a flowchart showing the operation of this embodiment, and Fig. 3 is a conventional diagnosis method of the conversion index buffer cutter. It is a block diagram of an example. 1...Virtual address space, 2...Conversion index! 1. Impact mechanism, 3. Real address space, 4. Address translation table held in main memory, 5. Address translation table held in translation index mm groove 2, 6..・Transportation means, 7...Comparison means. Fig. 1 Fig. 2 Fig. 1 Sumpling 7 Drain insertion Fig. 3

Claims (1)

【特許請求の範囲】 仮想アドレスを実アドレスに変換する変換索引緩衝機構
の診断方式において、 変換索引緩衝機構が保持するアドレス変換テーブルの内
容を主記憶装置に移送する移送手段と、移送手段によっ
て主記憶装置に移送された前記アドレス変換テーブルの
内容を、予め準備された、変換索引緩衝機構の内容が正
常であることを示す期待値と比較する比較手段を有する
ことを特徴とする変換索引緩衝機構の診断方式。
[Claims] A diagnosis method for a conversion index buffer that converts a virtual address into a real address includes a transfer means for transferring the contents of an address translation table held by the conversion index buffer to a main storage device; A conversion index buffer mechanism comprising a comparison means for comparing the contents of the address conversion table transferred to a storage device with a previously prepared expected value indicating that the contents of the conversion index buffer mechanism are normal. diagnostic method.
JP62108348A 1987-04-30 1987-04-30 System for diagnosing conversion index buffer mechanism Pending JPS63273149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62108348A JPS63273149A (en) 1987-04-30 1987-04-30 System for diagnosing conversion index buffer mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62108348A JPS63273149A (en) 1987-04-30 1987-04-30 System for diagnosing conversion index buffer mechanism

Publications (1)

Publication Number Publication Date
JPS63273149A true JPS63273149A (en) 1988-11-10

Family

ID=14482425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62108348A Pending JPS63273149A (en) 1987-04-30 1987-04-30 System for diagnosing conversion index buffer mechanism

Country Status (1)

Country Link
JP (1) JPS63273149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9122597B2 (en) 2010-03-09 2015-09-01 Fujitsu Limited Information processing apparatus, information processing method and medium storing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9122597B2 (en) 2010-03-09 2015-09-01 Fujitsu Limited Information processing apparatus, information processing method and medium storing program

Similar Documents

Publication Publication Date Title
CN109445685B (en) User mode file system processing method
JPS5898893A (en) Information processing device
JPH029373B2 (en)
CN111736945A (en) Virtual machine thermal migration method, device, equipment and medium based on intelligent network card
JPS63273149A (en) System for diagnosing conversion index buffer mechanism
US8090991B2 (en) Information processing apparatus, method, and computer program product for self-diagnosis for utilizing multiple diagnostic devices, each having exclusive access to a resource
JPS61165170A (en) Bus controlling system
JPS59173828A (en) Data processing system
JPS646489B2 (en)
JPS6331806B2 (en)
JPS6032213B2 (en) Logical unit diagnostic method
JP3190694B2 (en) Diagnostic method for local memory
JPS62143151A (en) Diagnosis system for common memory
JPS6252339B2 (en)
JPH0644147A (en) Cache memory system
JPH0245211B2 (en)
JP3036449B2 (en) Memory diagnostic device
JPH0474254A (en) Microprocessor diagnostic system
JPS6042977B2 (en) common memory controller
JPH0587850B2 (en)
JPH01181257A (en) Adaptor
JPH10171771A (en) Associative storage device
JPH0113142B2 (en)
JPH04106647A (en) Memory diagnostic system
JPH05216836A (en) Inter-processor communication system