JPS6269332A - Storing system for history information - Google Patents

Storing system for history information

Info

Publication number
JPS6269332A
JPS6269332A JP60209834A JP20983485A JPS6269332A JP S6269332 A JPS6269332 A JP S6269332A JP 60209834 A JP60209834 A JP 60209834A JP 20983485 A JP20983485 A JP 20983485A JP S6269332 A JPS6269332 A JP S6269332A
Authority
JP
Japan
Prior art keywords
information
instruction
area
history information
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
JP60209834A
Other languages
Japanese (ja)
Inventor
Teruo Nakamura
中村 輝夫
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 JP60209834A priority Critical patent/JPS6269332A/en
Publication of JPS6269332A publication Critical patent/JPS6269332A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain quickly the data that is effective for study of the factor of a fault by storing successively the information on the replacement of the address converting information in the form of the history information. CONSTITUTION:A main memory 1 includes a pointer area 2 and a firmware FW work area 3. The area 2 contains an FW stack pointer 4 of 4 bytes starting at an address of 20H (sexadecimal digit) for example. The pointer 4 is provided with an address indicating an FW stack area 5 included in the area 3, a trace mode bit showing whether the history information is stored or not and a log-out display bit showing whether or not the stored history information is set in a log-out mode. The area 5 contains an areas that correspond to each CPU and have the same capacity. Then the factors of a fault can be checked and analyzed quickly and accurately by means of the history information.

Description

【発明の詳細な説明】 発明の目的 産業上の利用分野 本発明は、論理アドレスから絶対アドレスへの変換機構
を有する情報処理システムにおいて、ソフトウェア命令
群のそれぞれによるアドレス変換情報の更新制御に伴う
履歴情報を記42する履歴情報記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention Industrial Application Field The present invention relates to an information processing system having a conversion mechanism from a logical address to an absolute address. The present invention relates to a history information storage device for recording information.

従来の技術 データ処理やデータ通信等の分野では、コンピュータを
含む情報処理システムが一般に使用されている。このよ
うな情報処理システムは近来ますます高度な機能を含み
複雑化している。
BACKGROUND OF THE INVENTION Information processing systems including computers are commonly used in fields such as data processing and data communications. In recent years, such information processing systems have become increasingly complex and include increasingly sophisticated functions.

特にプログラム上の論理アドレスから主メモリ上の絶対
アドレスへのアドレス変換を必要とする仮想記憶方式で
は、ハードウェア、ファームウェア及びソフトウェアが
複雑に絡み合って実行される。
In particular, in a virtual memory system that requires address translation from a logical address on a program to an absolute address on a main memory, hardware, firmware, and software are intricately intertwined.

発明が解決しようとする問題点 上記複雑な情報処理システムでは、その稼働時などに発
生した障害を調査分析し、その原因を究明することには
、非常な困難を伴う場合が多い。
Problems to be Solved by the Invention In the above-mentioned complex information processing system, it is often extremely difficult to investigate and analyze failures that occur during operation, and to determine the cause.

特に、複数台のコンピュータシステムから成るマルチプ
ロセッサシステムでは、障害原因の調査分折が更に一層
困難である。
In particular, in a multiprocessor system consisting of a plurality of computer systems, it is even more difficult to investigate and analyze the cause of the failure.

すなわち、このような障害の原因を調査分析してその解
決を図るには、多大な手数と時間を必要とするという問
題がある。
That is, there is a problem in that it requires a great deal of effort and time to investigate and analyze the causes of such failures and attempt to resolve them.

発明の構成 問題点を解決するための手段 上記従来技術の問題点を解決する本発明の方式は、アド
レス変換用ソフトウェア命令群のそれぞれを実行するア
ドレス変換情報の更新処理情報を履歴情報として記憶す
べきか否かの指定情報を検査し、記憶動作を指定してい
ると判断したときには履歴情報と時刻情報とを逐次記憶
することにより、この履歴情報を用いて障害原因の調査
分析を迅速・確実に行えるように構成されている。
Structure of the Invention Means for Solving the Problems The method of the present invention for solving the problems of the prior art described above is to store update processing information of address translation information for executing each address translation software command group as history information. When it is determined that storage operation is specified, history information and time information are sequentially stored, and this history information can be used to quickly and reliably investigate and analyze the cause of the failure. It is configured so that it can be done.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 第1 (A)図は、本発明の一実施例が適用される情報
処理システム内の主メモリ構成図である。
Embodiment 1 FIG. 1A is a main memory configuration diagram in an information processing system to which an embodiment of the present invention is applied.

この主メモリ1は、ポインタ領域2とファームウェア(
rFWJと略称する)ワーク領域3を備えている。
This main memory 1 includes a pointer area 2 and firmware (
It has a work area 3 (abbreviated as rFWJ).

ポインタ領域2は、例えば20H(]、6進数)番地か
ら始まる4バイトのFWスタックポインタ4を有する。
The pointer area 2 has a 4-byte FW stack pointer 4 starting from address 20H (], hexadecimal number), for example.

FWスタックポインタ4は、FWワーク領域3に含まれ
るFWスタック領域5を指示するアドレス、履歴情報を
記憶するか否かを示すトレースモード・ビット及び記憶
された履歴情報のログアウト中か否かを示すログアウト
表示ビットから構成されている。
The FW stack pointer 4 includes an address that points to the FW stack area 5 included in the FW work area 3, a trace mode bit that indicates whether or not history information is to be stored, and a trace mode bit that indicates whether or not the stored history information is being logged out. Consists of logout display bits.

FWスタ、り領域5は、各中央処理装置(rCPUJと
略称する)に対応する同一容量の領域から成る。すなわ
ちCPU#O領域6、CPU#1領域7、CPU#2領
域8およびCPU#3領域9である。
The FW star area 5 consists of areas with the same capacity corresponding to each central processing unit (rCPUJ). That is, they are a CPU#O area 6, a CPU#1 area 7, a CPU#2 area 8, and a CPU#3 area 9.

CP U # Oi1域6は、CPUを特定するポイン
タlOと、2”−1個の履歴情報の記憶領域#11、#
2・・・#(2”−1)からなる。
The CPU #Oi1 area 6 contains a pointer lO for identifying the CPU, and storage areas #11 and #2 for history information of 2"-1 pieces.
Consisting of 2...# (2"-1).

各記憶領域には、第1図(B)に例示するように、実行
された命令の種別、そのときのタスク名。
In each storage area, as illustrated in FIG. 1(B), the type of executed instruction and the task name at that time are stored.

命令カウンタの内容、汎用レジスタG1の内容。Contents of instruction counter, contents of general-purpose register G1.

汎用レジスタG1+1の内容及び時刻情報TODがそれ
ぞれ記憶される。
The contents of general-purpose register G1+1 and time information TOD are respectively stored.

CPU#1領域7.CPU#2領域8及びcpU # 
38W域9もそれぞれ上記のCPU#0領域6と全く同
様に構成されている。
CPU #1 area 7. CPU #2 area 8 and cpU #
The 38W area 9 is also configured exactly the same as the CPU #0 area 6 described above.

第2図は、アドレス変換情報更新制御にかかわる命令の
型式を説明する図である。同図において命令は16ビツ
トからなり、8ビツトの命令コードと各4ビツトの汎用
レジスタ番号G1と62から構成されている。
FIG. 2 is a diagram illustrating the format of instructions related to address translation information update control. In the figure, an instruction consists of 16 bits, including an 8-bit instruction code and 4-bit general-purpose register numbers G1 and 62.

第3図は、アドレス変換情報更新制御にかかわる汎用レ
ジスタの型式を説明する図であり、汎用レジスタGRの
型式を各命令毎に示している。
FIG. 3 is a diagram for explaining the types of general-purpose registers involved in address translation information update control, and shows the types of general-purpose registers GR for each instruction.

5TGSD命令は、汎用レジスタGI G2及びG2+
1を使用する。汎用レジスタG1は、第0〜15ビツト
のセグメント番号SEG#と、第16〜31ビツトのタ
スク名から成る。汎用レジスタG2、ばセグメント記述
子SDの第1ワードであり、同様に汎用レジスタG2+
1はセグメント記述子SDの第2ワードである。
5TGSD instruction uses general purpose registers GI G2 and G2+
Use 1. General-purpose register G1 consists of a segment number SEG# of 0th to 15th bits and a task name of 16th to 31st bits. General-purpose register G2 is the first word of segment descriptor SD, and similarly general-purpose register G2+
1 is the second word of the segment descriptor SD.

5TGPD命令は、汎用レジスタC1,G1+1及びG
2を使用する。汎用レジスタG1は、第0〜15ビツト
が未定義であり、第16〜31ビツトがタスク名である
。汎用レジスタG1+1は第0〜15ビツトがセグメン
ト番号SEG#であり、第16〜19ピントがページ番
号P#であり、第20〜31ビツトが未定義である。汎
用レジスタG2はページ記述子PDである。
The 5TGPD instruction uses general purpose registers C1, G1+1 and G
Use 2. In the general-purpose register G1, the 0th to 15th bits are undefined, and the 16th to 31st bits are the task name. In the general-purpose register G1+1, the 0th to 15th bits are the segment number SEG#, the 16th to 19th bits are the page number P#, and the 20th to 31st bits are undefined. General purpose register G2 is a page descriptor PD.

R3TSD命令は、汎用レジスタG1とG2を使用する
。汎用レジスタGlは、5TGSD命令が使用する汎用
レジスタG1と同一である。汎用レジスタG2は、第O
〜7ビントがリセット・マスクRMであり、第8〜31
ビツトが未定義である。
The R3TSD instruction uses general purpose registers G1 and G2. General-purpose register G1 is the same as general-purpose register G1 used by the 5TGSD instruction. General-purpose register G2 is the Oth
The ~7th bin is the reset mask RM, and the 8th~31st
Bit is undefined.

R5TPD命令は、汎用レジスタG1、G1+1及びG
2を使用する。汎用レジスタG1と01+1の型式はそ
れぞれ5TGPD命令が使用する同一番号の汎用レジス
タと同一である。また汎用レジスタG2の型式はR3T
SD命令が使用するそれと同一である。
The R5TPD instruction uses general purpose registers G1, G1+1 and G
Use 2. The types of general-purpose registers G1 and 01+1 are each the same as the general-purpose registers of the same number used by the 5TGPD instruction. Also, the model of general-purpose register G2 is R3T.
It is the same as that used by the SD instruction.

CLHR3命令は、汎用レジスタG1だけを使用し、汎
用レジスタG2は未定義である。汎用レジスタ01は、
5TGSD命令が使用するそれと同一である。
The CLHR3 instruction uses only general purpose register G1, and general purpose register G2 is undefined. General-purpose register 01 is
It is the same as that used by the 5TGSD instruction.

第4図は、5TGSD命令、5TGPD命令とのこれに
付随して行われる履歴情報の記憶処理の内容を説明する
フローチャートである。
FIG. 4 is a flowchart illustrating the contents of history information storage processing performed in conjunction with the 5TGSD command and the 5TGPD command.

最初のステップ処理3Iにおいて、命令の種類が判別さ
れる。5TGSD命令であれば、ステップ32において
、この命令にかかわる汎用レジスタG1が指定するセグ
メント記述子SDの絶対アドレスWが求められる。次の
ステップ33において、同じ< 5TGSD命令にかか
わる汎用レジスタG2とG2+1の内容が、上記絶対ア
ドレスWから始まる8バイトの主メモリに格納される。
In the first step 3I, the type of instruction is determined. If it is a 5TGSD instruction, in step 32, the absolute address W of the segment descriptor SD specified by the general-purpose register G1 related to this instruction is determined. In the next step 33, the contents of general purpose registers G2 and G2+1 relating to the same <5TGSD instruction are stored in the 8-byte main memory starting from the above absolute address W.

一方、ステップ31における判定結果が5TGPD命令
であれば、ステップ34において、この5TGPD命令
にかかわる汎用レジスタG1とG1+1が指定するペー
ジ記述子PDの絶対アドレスWが求められる。次のステ
ップ33において、同じ<5TGPD命令にかかわる汎
用レジスタG2の内容が上記絶対アドレスWから始まる
4バイトの主メモリに格納される。
On the other hand, if the determination result in step 31 is a 5TGPD instruction, then in step 34, the absolute address W of the page descriptor PD specified by general-purpose registers G1 and G1+1 related to this 5TGPD instruction is determined. In the next step 33, the contents of the general-purpose register G2 related to the same <5TGPD instruction are stored in the 4-byte main memory starting from the above-mentioned absolute address W.

上述の5TGSD命令又は5TGPD命令の実行後に、
ステップ36において、履歴情報が記憶される。この履
歴情報の記憶処理については、第7図によって後に詳述
する。最後のステップ37において、命令カウンタIC
が2だけ歩進される。
After executing the above 5TGSD instruction or 5TGPD instruction,
At step 36, historical information is stored. The storage process of this history information will be described in detail later with reference to FIG. In the last step 37, the instruction counter IC
is incremented by 2.

第5図は、R3TSD命令、R3TPD命令。FIG. 5 shows R3TSD and R3TPD instructions.

CLHR3命令及びCLHRP命令の内容と、複数CP
U間の応答の手順を示すフローチャートである。
Contents of CLHR3 command and CLHRP command and multiple CP
3 is a flowchart showing a response procedure between U;

最初にステップ41と42において、020間間の通信
ロックの指示とその確認が行われる。次のステップ43
と44において、他の全てのCPUに対する命令の実行
を一時停止させるための通信コマンド(PAUSE)の
送出とこれに対する応答の確認が行われる。応答側CP
Uの動作については、のちに第6図によって説明する。
First, in steps 41 and 42, an instruction to lock communication between 020 and its confirmation is performed. Next step 43
At step 44, a communication command (PAUSE) for temporarily halting the execution of instructions to all other CPUs is sent, and a response thereto is confirmed. Responding side CP
The operation of U will be explained later with reference to FIG.

次のステップ45において、命令の種類が判別され、R
3TSD命令又はCLHR3命令であれば、ステップ4
6に移行し、他の全てのCPUに通信コマンドCLR3
Dが送出される。このコマンドの受信側CPUの動作に
ついては、のちに第6図によって説明する。次のステッ
プ47において、RSTSD命令とCLHR3命令のい
ずれであるかが判別され、R3TSD命令であればステ
ップ48に、CLHR3命令であればステップ50にそ
れぞれ処理が移行する。
In the next step 45, the type of instruction is determined and R
3TSD instruction or CLHR3 instruction, step 4
6 and send the communication command CLR3 to all other CPUs.
D is sent. The operation of the CPU on the receiving side of this command will be explained later with reference to FIG. In the next step 47, it is determined whether the instruction is an RSTSD instruction or a CLHR3 instruction, and if the instruction is an R3TSD instruction, the process proceeds to step 48, and if it is a CLHR3 instruction, the process proceeds to step 50.

ステップ48において、R3TSD命令にかかわる汎用
レジスタG1が指定するセグメント記述子SDの絶対ア
ドレスWが求められる。次のステップ49において、こ
のR3TSD命令にかかわる汎用レジスタG2が指定す
るりセント・マスクRMに従って、上記絶対アドレスW
が指示するハイド内のビットがリセットされる。さらに
、ステップ50において、このR3TSD命令にかかわ
る汎用レジスタG1が指定するセグメントに関する情報
が、論理アドレスから絶対アドレスへの変換を高速に行
うためのアドレス変換バッファTLBからクリアされる
。同様のクリア処理が、次のステップ50においてCL
 HRS命令についても行われる。すなわち、CLHR
5命令にかかわる汎用レジスタG1による指定セグメン
トに関する情報がアドレス変換バッファTLBからクリ
アされる。
In step 48, the absolute address W of the segment descriptor SD specified by the general-purpose register G1 related to the R3TSD instruction is determined. In the next step 49, in accordance with the cent mask RM specified by the general register G2 related to this R3TSD instruction, the absolute address W is
The bit in the hide pointed to by is reset. Further, in step 50, information regarding the segment specified by the general-purpose register G1 related to this R3TSD instruction is cleared from the address translation buffer TLB for performing high-speed translation from a logical address to an absolute address. A similar clearing process is performed on the CL in the next step 50.
This is also done for HRS commands. That is, CLHR
Information regarding the segment specified by the general-purpose register G1 related to the 5 instructions is cleared from the address translation buffer TLB.

一方、ステップ45において、R3TPD命令又はCL
HRP命令であると判別されると、処理はステップ51
に移行し、ここで他の全てのCPUに通信コマンドCL
RPGが送出される。これを受信した他のCPUの動作
については、後に詳述する。次のステップ52において
、R3TPD命令とCLHRP命令のいずれであるかが
判別され、R3TPD命令であれば処理はステップ53
に移行し、CLHRP命令であれば処理はステップ55
に移行する。
On the other hand, in step 45, the R3TPD instruction or the CL
If it is determined that it is an HRP command, the process proceeds to step 51.
and then send the communication command CL to all other CPUs.
RPG is sent out. The operations of other CPUs that have received this will be detailed later. In the next step 52, it is determined whether the instruction is an R3TPD instruction or a CLHRP instruction, and if it is an R3TPD instruction, the process proceeds to step 53.
If it is a CLHRP command, the process goes to step 55.
to move to.

ステップ53において、RSTPD命令にかかわる汎用
レジスタGlとCI+1が指定するページ記述子PDの
絶対アドレスWが求められる。次のステップ54におい
て、このR8TPD命令にかかわる汎用レジスタG2が
指定するリセット・マスクRMに従って、上記絶対アド
レスWが指示するハイド内のビットがリセットされる。
In step 53, the absolute address W of the page descriptor PD specified by the general-purpose registers G1 and CI+1 related to the RSTPD instruction is determined. In the next step 54, the bit in the hide indicated by the absolute address W is reset according to the reset mask RM specified by the general-purpose register G2 related to this R8TPD instruction.

さらにステップ55において、このR3TPD命令にか
かわる汎用レジスタG1とG1+1が指定するページに
関する情報がアドレス変換バッファT1□Bからクリア
される。これと同様のクリア処理が、次のステップ55
において、CLHRP命令についても行われる。すなわ
ち、CL HRS命令にかかわる汎用レジスタG1とG
1+1が指定するページに関する情報がアドレス変換バ
ッファTLBからクリアされる。
Furthermore, in step 55, information regarding the page specified by general-purpose registers G1 and G1+1 related to this R3TPD instruction is cleared from address translation buffer T1□B. Clearing processing similar to this is performed in the next step 55.
This is also done for the CLHRP instruction. In other words, general-purpose registers G1 and G related to the CL HRS instruction
Information regarding the page specified by 1+1 is cleared from the address translation buffer TLB.

上述のようなR3TSD命令、R3TPD命令。R3TSD instruction and R3TPD instruction as described above.

CL HRS命令及びCLHRP命令のいずれか一つが
実行されると、処理はステップ56に移行し、ここで履
歴情報の記憶が行われる。
When either one of the CL HRS and CLHRP instructions is executed, processing moves to step 56 where historical information is stored.

次のステップ57において、他の全てのCP Uから、
ステップ46と51で命令種別ごとに発した通信指示に
対する応答が返されるまで待ち合わせが行われる。この
応答が返されると、処理は次のステップ58に移行し、
ここで、ステップ43で他の全てのCP[Jに送出した
P A U S Eを開放するための通信コマンドFR
EE送出され、これに対する応答が次のステップ59で
確認されと、ステップ60において、通信ロックの解除
が行われる。最後のステップ61において、命令カウン
タICが2だけ歩進されたのら、全処理が終了する。
In the next step 57, from all other CPUs,
In steps 46 and 51, waiting is performed until a response to the communication instruction issued for each command type is returned. When this response is returned, the process moves to the next step 58,
Here, the communication command FR for releasing the PAUSE sent to all other CP[J in step 43
When the EE is sent and the response thereto is confirmed in the next step 59, the communication lock is released in step 60. At the final step 61, the instruction counter IC is incremented by 2, and then the entire process ends.

第6図は、第5図のステップ43.46及び51におい
て他の全てのCPUに発せられた各種の通信コマンドに
対する受信側のCPUの動作を説明するフローチャート
である。
FIG. 6 is a flowchart illustrating the operation of the CPU on the receiving side in response to the various communication commands issued to all other CPUs in steps 43, 46 and 51 of FIG.

まず、ステップ71と713において、通信コマンドP
AUSEの受信とこれに対する応答が行われる。次のス
テップ72において、前述の通信コマンドCLR3Dと
CLRPGに対する待ち合わせが行われ、いずれかを受
信すると、ステップ72において、いずれの通信コマン
ドであるかが判定される。次の処理は、この通信コマン
ドがCLR3Dであればステップ74に、CLRPGで
あればステップ75へそれぞれ移行する。
First, in steps 71 and 713, the communication command P
AUSE is received and a response thereto is performed. In the next step 72, a wait is made for the aforementioned communication commands CLR3D and CLRPG, and when one of them is received, in step 72 it is determined which communication command it is. The next process moves to step 74 if this communication command is CLR3D, and moves to step 75 if it is CLRPG.

ステップ74においては、通信コマンドCL R3Dが
指定するセグメントに関する情報がアドレス変換バッフ
ァTLBからクリアされる。同様に、ステップ75にお
いては、通信コマンドCLRPG通信が指定するページ
に関する情報がアドレス変換バッファTLBからクリア
される。
In step 74, information regarding the segment specified by the communication command CL R3D is cleared from the address translation buffer TLB. Similarly, in step 75, information regarding the page specified by the communication command CLRPG communication is cleared from the address translation buffer TLB.

上述のCLR3DとCLRPDコマンド処理が終了する
と、ステップ76において、履歴情報が記tαされる。
When the above-described CLR3D and CLRPD command processing is completed, history information is recorded in step 76.

次のステップ77において、履歴情報の記憶が終了した
ことが送信(!111 CP Uに報告され、次のステ
ップ78と79において、送信元から通信コマンドFR
EEの待ち合わせとこれに対する応答がなされる。
In the next step 77, the completion of storing the history information is reported to the transmission (!111 CPU), and in the next steps 78 and 79, the transmission source sends a communication command FR.
An EE is waited for and a response thereto is made.

第7図は、第4図のステップ36.第5図のステップ5
6及び第6図のステップ76で行われる履歴記↑O処理
、すなわちアドレス変換情報更新に関する履歴情報の記
憶処理を説明するフローチャートである。
FIG. 7 shows step 36 of FIG. Step 5 in Figure 5
7 is a flowchart illustrating the history record ↑O process performed in step 6 and step 76 of FIG. 6, that is, the storage process of history information regarding update of address conversion information.

最初のステップ81において、第1図に示す主メモリ1
のアドレス20Hの内容がXoに設定される。次のステ
ップ82において、上記XOの第0ビツトと第1ビツト
の配列が10″であるが否かが判定される。すなわち、
このXoの第0ビツトはトレースモード・ビットであり
、これの“l”は履歴情報の記憶を指示する。また、X
oの第1ビツトはログアウト中表示ビットであり、こレ
ノ“0”は、記憶された履歴情報のログアラ1〜が実行
中ではないことを示す。ログアウト実行中は、履歴情報
の固定のために新たな履歴情報の登録が排除される。
In a first step 81, the main memory 1 shown in FIG.
The contents of address 20H are set to Xo. In the next step 82, it is determined whether the arrangement of the 0th bit and the 1st bit of the XO is 10''. That is,
The 0th bit of this Xo is a trace mode bit, and its "l" instructs storage of history information. Also, X
The first bit of o is a logout indication bit, and "0" indicates that the log alerts 1 through 1 of the stored history information are not being executed. During logout, registration of new history information is excluded in order to fix the history information.

ステップ83において、第1図のFWスタックポインタ
4のアドレス部X(上記X0の第2ビツト以降から生成
するFWスタック領域5の先頭アドレス)に、cpu番
号(ここでばCPU#=0〜3)と214との、債が加
算され、この加算値がYとされる。すなわち、各CP 
Uについて、214バイトの主メモリエリアが割当てら
れ、上記Yは、CPU#によって指定される各CPUに
割当てられる主メモリエリアの先頭アドレスを意味する
In step 83, the CPU number (in this case, CPU#=0 to 3) is added to the address part X of the FW stack pointer 4 in FIG. and 214 are added, and this added value is set as Y. That is, each CP
For U, a 214-byte main memory area is allocated, and the above Y means the start address of the main memory area allocated to each CPU specified by CPU#.

次のステップ84において、上記のXにCPU#と“4
″との積が加算され、この加算値をアドレスとする主メ
モリの内容がZとされる。すなわち、第1図のポインタ
10において各CPUのポインタは4バイトのエリアを
有するので、上記ZはCPU#で指定される各CPUの
ポインタである。ここでZは、上記Yに対する相対アド
レスを与えることにすれば、Y+ZはCPU#によって
指定されるcpuの履歴情報の記憶開始アドレスを指定
することになる。
In the next step 84, the CPU# and "4" are added to the above X.
'' is added, and the content of the main memory with this added value as the address is set to Z. In other words, in the pointer 10 of FIG. 1, each CPU's pointer has a 4-byte area, so the above Z is This is a pointer to each CPU specified by CPU#.Here, if Z is given a relative address to Y above, Y+Z specifies the storage start address of the history information of the CPU specified by CPU#. become.

ステップ85において、記憶すべき履歴情報の命令コー
ド、命令と通信の区別(自CPUにおける処理と他CP
Uにおける処理の区別)及びこの命令の属するタスク名
を上記アドレスY+Zから始まる4バイトに格納される
In step 85, the command code of the history information to be stored, the distinction between commands and communication (processing in the own CPU and processing in other CPUs),
The processing distinction in U) and the task name to which this instruction belongs are stored in the 4 bytes starting from the above address Y+Z.

ステップ86でZに4が加算されたのち、ステップ87
で命令カウンタICの内容がアドレスY+Zから始まる
4バイトに格納される。ステップ88で上記のZに再び
4が加算されたのち、ステップ89において、汎用レジ
スタG1の内容がアドレスY+Zから始まる4ハイドの
領域に格納される。
After 4 is added to Z in step 86, step 87
The contents of the instruction counter IC are stored in 4 bytes starting from address Y+Z. After 4 is added to Z again in step 88, the contents of general-purpose register G1 are stored in the 4-hide area starting from address Y+Z in step 89.

ステップ90で上記のZに更に4が加算されたのち、ス
テップ91で汎用レジスタG1+1の内容がアドレスY
+Zから始まる4バイトの領域にに格納される。
After 4 is further added to the above Z in step 90, the contents of general-purpose register G1+1 are changed to address Y in step 91.
It is stored in a 4-byte area starting from +Z.

ステップ92でZに4が加算されたのち、ステップ93
.94及び95において、 時刻情報TODの値が続く
8バイトの領域に格納される。
After 4 is added to Z in step 92, step 93
.. At 94 and 95, the value of time information TOD is stored in the following 8-byte area.

これまでの処理動作により、第1図(B)に例示した記
憶領域一つにアドレス変換情報更新動作に関する情和と
、その時刻情?ITODとが一つの履歴情報として記憶
されたことになる。
Through the processing operations so far, information regarding the address conversion information update operation and its time information are stored in one storage area illustrated in FIG. 1(B). ITOD is stored as one piece of history information.

その後、ステップ97でZに12が加算されたのちステ
ップ97において、Zが214に達したか否かが判定さ
れる。Zが214に達していれば、そのCPU#に与え
られた主メモリエリアがな(なったと判定され、ステッ
プ9Bにおいて、Zがその初期値32にセットされる。
After that, in step 97, 12 is added to Z, and then in step 97, it is determined whether Z has reached 214 or not. If Z has reached 214, it is determined that the main memory area given to that CPU# is gone, and Z is set to its initial value of 32 in step 9B.

これにより、次の履歴情報は第1の記憶履歴#1に格納
される。
As a result, the next history information is stored in the first storage history #1.

一方、Zが214に達していなければ、処理はステップ
99に移行し、ここで、ZをCPU#が指定するCPU
のポインタとしてそのポインタの格納アドレス(X十C
PU#・4)に格納する。
On the other hand, if Z has not reached 214, the process moves to step 99, where Z is assigned to the CPU specified by CPU#.
as a pointer to the pointer's storage address (X0C
Store in PU#・4).

このようにしてアドレス変換情報更新動作に関する履歴
情報をcpuごとに区別して順次記憶することができる
In this way, history information regarding address translation information update operations can be distinguished and sequentially stored for each CPU.

以上、cpuが4台の場合を例にとって本発明の一実施
例を説明したが、一般には、m台(m≧1)とすること
ができる。
An embodiment of the present invention has been described above, taking as an example the case where there are four CPUs, but in general, the number of CPUs can be m (m≧1).

発明の効果 以上詳細に説明したように、本発明の履歴情報記憶方式
は、アドレス変換情報の更新に係わる関連情報を履歴情
報として順次記憶する構成であるから、HW、FW及び
SWが複雑に絡み合ったような障害などが発生したとき
に、これらの履歴情報を読出して上記障害などの原因究
明に有効なデータを迅速に提供できるという効果が奏さ
れる。
Effects of the Invention As explained in detail above, the history information storage method of the present invention is configured to sequentially store information related to updates of address translation information as history information, so HW, FW, and SW are complicatedly intertwined. When such a failure occurs, this historical information can be read and data useful for investigating the cause of the failure can be quickly provided.

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

第1図(A)、  (B)は本発明の一実施例が適用さ
れる情報処理システム内の主メモリの構成図。 第2図、第3図はアドレス変換情報の更新を行うソフト
ウェア命令群のそれぞれ型式と汎用レジスタ型式を説明
する概念図、第4図、第5図(A)。 (B)、  (C)、第6図、第7図(A)、  (B
)は上記実施例の動作を説明するフローチャートである
。 1・・主メモリ、2・・ポインタ領域、3・・FWワー
ク頒域、4・・FWスクノクボインク。 5・・FWスタック領域。
FIGS. 1A and 1B are configuration diagrams of a main memory in an information processing system to which an embodiment of the present invention is applied. FIGS. 2 and 3 are conceptual diagrams illustrating the types of software instruction groups and general-purpose register types for updating address conversion information, respectively, and FIGS. 4 and 5 (A). (B), (C), Figure 6, Figure 7 (A), (B
) is a flowchart explaining the operation of the above embodiment. 1... Main memory, 2... Pointer area, 3... FW work distribution area, 4... FW Sukunokubo ink. 5...FW stack area.

Claims (1)

【特許請求の範囲】 主メモリへのアクセスに際しプログラム上の論理アドレ
スから主メモリ上の絶対アドレスへの変換を行うアドレ
ス変換機構を有する情報処理システムにおいて、 前記アドレス変換用ソフトウェア命令群のそれぞれが実
行するアドレス変換情報の更新処理情報を履歴情報とし
て記憶すべきか否かの指定情報を検査し、 記憶動作を指定していると判断したときには前記履歴情
報と時刻情報とを逐次記憶することを特徴とする履歴情
報記憶方式。
[Scope of Claims] In an information processing system having an address conversion mechanism that converts a logical address on a program to an absolute address on the main memory when accessing the main memory, each of the address conversion software instructions is executed. It is characterized by checking designation information as to whether update processing information of address conversion information to be stored should be stored as history information, and sequentially storing the history information and time information when it is determined that storage operation is designated. historical information storage method.
JP60209834A 1985-09-21 1985-09-21 Storing system for history information Pending JPS6269332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60209834A JPS6269332A (en) 1985-09-21 1985-09-21 Storing system for history information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60209834A JPS6269332A (en) 1985-09-21 1985-09-21 Storing system for history information

Publications (1)

Publication Number Publication Date
JPS6269332A true JPS6269332A (en) 1987-03-30

Family

ID=16579388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60209834A Pending JPS6269332A (en) 1985-09-21 1985-09-21 Storing system for history information

Country Status (1)

Country Link
JP (1) JPS6269332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04217046A (en) * 1990-02-23 1992-08-07 Internatl Business Mach Corp <Ibm> Method for maintaining activity record in data processing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5489420A (en) * 1977-12-27 1979-07-16 Fujitsu Ltd History information storage processing system
JPS5651074A (en) * 1979-09-28 1981-05-08 Nec Corp Address trace system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5489420A (en) * 1977-12-27 1979-07-16 Fujitsu Ltd History information storage processing system
JPS5651074A (en) * 1979-09-28 1981-05-08 Nec Corp Address trace system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04217046A (en) * 1990-02-23 1992-08-07 Internatl Business Mach Corp <Ibm> Method for maintaining activity record in data processing system

Similar Documents

Publication Publication Date Title
US4080651A (en) Memory control processor
US20080077782A1 (en) Restoring a register renaming table within a processor following an exception
JPH03108042A (en) Multiple virtual space address system and computer system
US4103330A (en) Task handling in a data processing apparatus
US5819024A (en) Fault analysis system
US6738885B1 (en) Device and method for storing information in memory
JPS6269332A (en) Storing system for history information
JP3452771B2 (en) Command control system and method
JPS60159951A (en) Tracing system in information processing device
CN1030487A (en) Equipment that in vector data processing operation, from page fault, recovers and method
US6401144B1 (en) Method and apparatus for managing data transfers between peripheral devices by encoding a start code in a line of data to initiate the data transfers
JPH08286951A (en) Information processor and trace information storage method
JPS61285554A (en) History information memory device
JPH03290741A (en) Error logging method
JPH0434626A (en) Error logging method
JPS62135941A (en) History information storage device
JPS6042968B2 (en) information processing equipment
JP2594567B2 (en) Memory access control device
JPS61161557A (en) Method and device for program debugging
JPH03141444A (en) Data processor
JPH0341528A (en) Diagnostic device in computer
JPH02275541A (en) Trace information control system
JPS63118956A (en) History information memory device
JPS59180759A (en) System for controlling history memory
JPS5855529B2 (en) Error processing method of data processing equipment