JPH0619720B2 - Information processing equipment - Google Patents
Information processing equipmentInfo
- Publication number
- JPH0619720B2 JPH0619720B2 JP61056813A JP5681386A JPH0619720B2 JP H0619720 B2 JPH0619720 B2 JP H0619720B2 JP 61056813 A JP61056813 A JP 61056813A JP 5681386 A JP5681386 A JP 5681386A JP H0619720 B2 JPH0619720 B2 JP H0619720B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- instruction execution
- execution procedure
- hardware
- information processing
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 11
- 238000000034 method Methods 0.000 claims description 39
- 238000012545 processing Methods 0.000 claims description 35
- 230000007257 malfunction Effects 0.000 claims description 5
- 238000012546 transfer Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 150000001875 compounds Chemical class 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 101100395821 Pichia angusta HSA2 gene Proteins 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に係り、特に多重プロセッサ環境
下で主記憶装置のソフトウェア使用領域内で発生した特
定の事象をハードウェアシステム領域内に予め格納した
命令列の実行によってシミュレートする方式を採る情報
処理装置に関する。The present invention relates to an information processing apparatus, and more particularly, to a specific event occurring in a software use area of a main storage device in a hardware system area under a multiprocessor environment. The present invention relates to an information processing apparatus that adopts a method of simulating by executing a pre-stored instruction sequence.
情報処理装置における命令実行方式は、一般に固定ハー
ドウェア論理回路或いは中央処理装置内の制御記憶に格
納されているマイクロプログラムの実行により実現して
いる。ところで、命令の種類は複雑多数であり、このよ
うな命令を固定ハードウェア論理回路やマイクロプログ
ラムで実行しようとすると、論理回路が非常に複雑にな
ったり、マイクロプログラムの増大により制御記憶の容
量が膨大となる。これを解決する方法として、例えば特
公昭59−9937号公報には、主記憶装置をハードウ
ェア領域のソフトウェア領域とに分割し、ソフトウェア
領域にはオペレーティング・システムから見ることが出
来るプログラムを格納し、ハードウェア領域には特定の
複合命令を処理するための命令実行手順や特定の事象が
発生したときに行うべき処理の命令実行の手順などを格
納し、特定の複合命令又は特定の事象が検出された時、
割込によってハードウェア領域の命令実行手順を実行す
る技術が示されている。The instruction execution method in the information processing apparatus is generally realized by executing a microprogram stored in a fixed hardware logic circuit or a control memory in the central processing unit. By the way, there are many kinds of instructions, and if such an instruction is executed by a fixed hardware logic circuit or a microprogram, the logic circuit becomes very complicated and the capacity of the control memory is increased due to the increase of the microprogram. It will be huge. As a method of solving this, for example, in Japanese Patent Publication No. 59-9937, the main storage device is divided into a software area of a hardware area, and a program that can be seen from an operating system is stored in the software area. The hardware area stores an instruction execution procedure for processing a specific compound instruction or an instruction execution procedure for processing that should be performed when a specific event occurs, and a specific compound instruction or a specific event is detected. When
A technique for executing an instruction execution procedure in the hardware area by an interrupt is shown.
上記従来技術によれば、論理回路の複雑化やマイクロプ
ログラムを増大させることなく、複雑多岐な処理を必要
とする命令や使用頻度の小さい命令の実行が容易に可能
となる。しかしながら、この従来技術では、ハードウェ
ア領域による命令実行手順の実行中は、ハードウェアマ
シンチェック割込みおよびプログラム割込み以外の割込
みを禁止しており、自由度の高い割込み処理方式も必要
とする多重プロセッサ環境下での利用は配慮されていな
い。According to the above-mentioned conventional technique, it is possible to easily execute an instruction that requires complicated and diversified processing or an instruction that is rarely used, without increasing the complexity of the logic circuit and increasing the microprogram. However, in this conventional technique, interrupts other than hardware machine check interrupts and program interrupts are prohibited during execution of the instruction execution procedure in the hardware area, and a multiprocessor environment requiring a highly flexible interrupt processing method is also required. The use below is not considered.
本発明の目的は、上記の如き従来技術の問題点を除去
し、多重プロセッサ環境下において、ソフトウェア使用
領域内で発生した事象をハードウェアシステム領域内の
命令実行手順によって効率良くシミュレートすべく、自
由度の高い割込み処理方式を持たせ、かつ信頼性を向上
させた情報処理装置を提供することにある。An object of the present invention is to eliminate the above-mentioned problems of the prior art and to efficiently simulate an event occurring in a software use area by an instruction execution procedure in a hardware system area under a multiprocessor environment. An object of the present invention is to provide an information processing device that has an interrupt processing method with a high degree of freedom and has improved reliability.
本発明は、複数の中央処理装置で主記憶装置を共有する
と共に、該主記憶装置を通常のソフトウェアが使用する
ソフトウェア使用領域とハードウェアが使用するハード
ウェアシステム領域に分け、ソフトウエア使用領域内で
発生した事象により予めハードウェアシステム領域内に
格納されている命令実行手順を実行する機能を有する情
報処理装置において、ハードウェアシステム領域内の命
令実行手順の処理中すべての割込みを受付ける機能と、
予期しない割込みに対してはハードウェアの誤動作とし
て障害処理を行う機能を設ける。According to the present invention, a plurality of central processing units share a main storage device, and the main storage device is divided into a software use area used by normal software and a hardware system area used by hardware. In the information processing device having the function of executing the instruction execution procedure stored in advance in the hardware system area due to the event that occurs in the above, a function of accepting all interrupts during the processing of the instruction execution procedure in the hardware system area,
For unexpected interrupts, a function is provided to perform fault processing as a hardware malfunction.
本発明では、多重プロセッサ構成下の情報処理装置にお
いて、ソフトウェア使用領域内で発生した事象をハード
ウェアシステム領域内に予め格納されている命令実行手
順へ効率よくリンクさせ、その事象の処理を行ったり、
ハードウェアの空き時間を利用し、ハードウェア論理の
動作をテストするプログラムを実行させる事ができ、自
由な割込みが可能になる。さらに、予期しない割込みに
対してはハードウェアの誤動作として障害処理を行うこ
とにより、ハードウェア或いは命令実行手順の誤動作に
よる障害に対する信頼性を高めることができる。According to the present invention, in an information processing apparatus having a multiprocessor configuration, an event occurring in a software use area is efficiently linked to an instruction execution procedure stored in advance in a hardware system area to process the event. ,
By utilizing the free time of the hardware, it is possible to execute a program that tests the operation of the hardware logic, and free interruption is possible. Further, by performing failure processing as an erroneous operation of hardware for an unexpected interrupt, it is possible to improve reliability against an error due to erroneous operation of hardware or an instruction execution procedure.
以下、本発明の一実施例について図面より説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明に係る情報処理装置の一実施例の概略ブ
ロツク図を示す。第1図において、複数の中央処理装置
10は主記憶装置20を共有している。主記憶装置20
は、通常のソフトウェアプログラムの格納されるソフト
ウェア使用領域21(以下SUAと略す)とハードウェ
アシステム領域22(以下HSAと略す)に分割されて
いる。更に、HSA内に、命令実行手順(以下この命令
列をマクロコードと呼ぶ)が格納される領域30(以下
MCAと略す)とマイクロプログラムとマクロコードの
リンク情報及びマクロコードの作業用の領域40(以下
MPAと略す)を設ける。MCA30はSUA内で生じ
た事象単位に存在し、複数の命令処理装置10で同時に
実行可能な命令実行手順が格納されており、それぞれの
先頭アドレスはシステム立ち上がり時にHSA内に予め
設けてあるポインタによって中央処理装置内の特定のレ
ジスタ(図示せず)に格納される。MPA40は中央処
理装置単位に設置されており、その先頭アドレスは各中
央処理装置の番号を元に、各処理装置内のレジスタ11
に格納されている。FIG. 1 shows a schematic block diagram of an embodiment of an information processing apparatus according to the present invention. In FIG. 1, a plurality of central processing units 10 share a main storage device 20. Main memory 20
Is divided into a software use area 21 (hereinafter abbreviated as SUA) in which a normal software program is stored and a hardware system area 22 (hereinafter abbreviated as HSA). Further, in the HSA, an area 30 (hereinafter, abbreviated as MCA) in which an instruction execution procedure (hereinafter, this instruction string is referred to as a macro code) is stored, a link information of the microprogram and the macrocode, and an area 40 for working the macrocode. (Hereinafter abbreviated as MPA). The MCA 30 exists in units of events that occur in the SUA, and stores instruction execution procedures that can be simultaneously executed by a plurality of instruction processing devices 10. The start addresses of the MCA 30 are stored in the HSA at the time of system startup and are stored in advance in the HSA. It is stored in a specific register (not shown) in the central processing unit. The MPA 40 is installed in each central processing unit, and its head address is based on the number of each central processing unit and is set in the register 11 in each processing unit.
It is stored in.
SUA21内で特定の事象が検出された場合、HSA2
2内のその事象に対応したMCAに格納されているマク
ロコードが実行される。その際、マイクロプログラムと
マクロコードのリンケージとマクロコード実行時の作業
領域として、各中央処理装置固有のMPAが使用され、
マクロコード実行中は、各中央処理装置内に設けたフリ
ップフロップ12(以下、このフリップフロップをマク
ロモードと呼ぶ)を“1”にセットする。When a specific event is detected in SUA21, HSA2
The macro code stored in the MCA corresponding to the event in 2 is executed. At that time, the MPA peculiar to each central processing unit is used as a work area when the linkage of the microprogram and the macrocode and the macrocode is executed.
During execution of the macro code, the flip-flop 12 provided in each central processing unit (hereinafter, this flip-flop is referred to as macro mode) is set to "1".
第2図は一つの中央処理装置に対するMPA内の割込み
処理用のテーブルを示し、43ないし44はMPA内の
定められた領域であり、43は各種割込み制御フラグ、
44は各割込み用新PSW群である。FIG. 2 shows a table for interrupt processing in the MPA for one central processing unit, 43 to 44 are defined areas in the MPA, 43 is various interrupt control flags,
44 is a new PSW group for each interrupt.
第3図は割込みの処理の流れを示す図である。以下、第
2図のテーブルを参照しながら、第3図の処理の流れに
ついて説明する。FIG. 3 is a diagram showing a flow of interrupt processing. The process flow of FIG. 3 will be described below with reference to the table of FIG.
各中央処理装置10に対応して、主記憶装置20におけ
る該当MPA内の特定アドレスに割込みの種類毎に1ビ
ットの割込み制御フラグ43が設けられている。これら
の割込み制御フラグ43はMCAのマクロコードへリン
クする際に“0”に設定されている。マクロコードはあ
る種の割込みの発生を仮定している場合(処理20
1)、MPA内の特定番地44へその割込みに対する新
PSWを格納し(処理202)、割込み制御フラグ43
のその割込みに対応するビットを“1”にセットする
(処理203)。発生を予期しない割込みに対する制御
ビットは“0”のまゝ残されている。マクロコードの実
行中(処理203)、中央処理装置10内のフリップフ
ロップ12は“1”にセットされる。Corresponding to each central processing unit 10, a 1-bit interrupt control flag 43 is provided at a specific address in the corresponding MPA in the main storage device 20 for each type of interrupt. These interrupt control flags 43 are set to "0" when linking to the macro code of MCA. If the macro code assumes the occurrence of some kind of interrupt (process 20
1), the new PSW for the interrupt is stored in the specific address 44 in the MPA (process 202), and the interrupt control flag 43
The bit corresponding to the interrupt of is set to "1" (process 203). The control bit for an interrupt that is not expected to occur remains "0". During execution of the macro code (process 203), the flip-flop 12 in the central processing unit 10 is set to "1".
割込みが発生した場合、中央処理装置10では、各割込
み処理のマイクロプログラムが起動されるが、各割込み
ルーチンではマクロモードが“1”(フリップフロップ
12が“1”)である事によりマクロコード内で発生し
た割込みである事を知り(処理101)、MPA内の割
込み制御フラグ43を読出し、その割込みに対するビッ
トが“0”であるか“1”であるかをテストする(処理
102)。制御フラグが“1”である場合は、現PSW
をMPA内の特定のアドレス(図示せず)へ旧PSWと
して格納し、MPA内に格納されている新PSW44を
読出して、現PSWとし、マクロコードへ再びリンクす
る(処理103,105)。制御フラグが“0”の場合
は、マクロコードで予期していない割込みであり、マク
ロコード或はハードウェアの誤動作と考えられ、ハード
ウェア障害として処理される(処理106)。また、マ
クロコード外で発生した割込みについては通常の割込み
として処理される(処理104)。When an interrupt occurs, in the central processing unit 10, the microprogram for each interrupt process is started. However, in each interrupt routine, the macro mode is "1" (the flip-flop 12 is "1") Then, the interrupt control flag 43 in the MPA is read, and it is tested whether the bit for that interrupt is "0" or "1" (process 102). If the control flag is "1", the current PSW
Is stored as an old PSW in a specific address (not shown) in the MPA, the new PSW 44 stored in the MPA is read to be the current PSW, and the macro code is linked again (processes 103 and 105). When the control flag is "0", it is an unexpected interrupt in the macro code, which is considered to be a malfunction of the macro code or hardware, and is treated as a hardware failure (process 106). Further, an interrupt generated outside the macro code is processed as a normal interrupt (process 104).
今までマクロコードをサポートする処理としてマイクロ
プログラムの処理として述べたが、1部或いはすべてを
ハードウェア論理回路によって実現する事も可能であ
る。Up to now, the processing of the microprogram has been described as the processing for supporting the macro code, but it is also possible to realize a part or all of the processing by a hardware logic circuit.
以上の説明から明らかな様に、本発明によれば、多重プ
ロセッサ環境下において、ハードウェア論理回路を複雑
にすることなく、またマイクロプログラムを増大する事
なく、割込み発生の際の新しい処理を簡単に追加する事
ができ、主記憶装置内のソフトウェア使用領域内で発生
した事象をハードウェアシステム領域内の命令実行手順
によって効率良くシミュレートすることができる。ま
た、その際、不必要な割込み処理のために処理性能を落
とす事が防止され、ハードウェアの誤動作に対する信頼
性をも高める事ができる。As is clear from the above description, according to the present invention, a new process at the time of interrupt generation can be simplified in a multiprocessor environment without complicating a hardware logic circuit and without increasing a microprogram. And an event occurring in the software use area in the main memory can be efficiently simulated by the instruction execution procedure in the hardware system area. Further, at that time, it is possible to prevent the processing performance from being deteriorated due to unnecessary interrupt processing, and it is possible to enhance the reliability against the malfunction of the hardware.
例えば、特定命令をシミュレートする際に、命令実行手
順を実行中に処理装置にアンダーフロー(割込みとして
報告される)が発生したら、命令実行手順の中でアンダ
ーフロー発生を積極的に利用し、別の命令実行手順に制
御を移して処理を続行することを許容することができ
る。また、このようなアンダーフローに対し、これは命
令実行手順においては発生するはずがないので、バグで
あるとし、ハードウェア誤動作として、障害処理に制御
を移すようにもできる。For example, when simulating a specific instruction, if an underflow (reported as an interrupt) occurs in the processing unit during execution of the instruction execution procedure, the underflow occurrence is positively used in the instruction execution procedure, It is possible to transfer control to another instruction execution procedure and continue the processing. Further, since such underflow should not occur in the instruction execution procedure, it can be considered as a bug, and control can be transferred to failure processing as a hardware malfunction.
これにより、特定命令を命令実行手順でシミュレートす
る際に、ハードウェア領域に格納されるものでありなが
ら、命令実行手順の中で割込みを積極的に利用できるの
で、命令実行手順を作成する際の自由度が高くなるとい
う効果を有する。As a result, when simulating a specific instruction in the instruction execution procedure, the interrupt can be positively used in the instruction execution procedure even though it is stored in the hardware area. This has the effect of increasing the degree of freedom of.
第1図は本発明の情報処理システムの一実施例の概略ブ
ロック図、第2図は割込み発生時に用いる主記憶装置の
テーブル説明図、第3図は割込みが発生した際の処理の
流れ図である。 10……中央処理装置、11,12……中央処理装置内
のレジスタ、20……主記憶装置、 21……ソフトウェア使用領域、 22……ハードウェアシステム領域、 30〜44……ハードウェアシステム領域内の定められ
た領域。FIG. 1 is a schematic block diagram of an embodiment of an information processing system of the present invention, FIG. 2 is an explanatory diagram of a table of a main memory used when an interrupt occurs, and FIG. 3 is a flow chart of processing when an interrupt occurs. . 10 ... Central processing unit, 11, 12 ... Register in the central processing unit, 20 ... Main storage device, 21 ... Software use area, 22 ... Hardware system area, 30-44 ... Hardware system area A defined area within.
Claims (1)
ると共に、該主記憶装置を通常のソフトウェアが使用す
るソフトウェア使用領域とハードウェアが使用するハー
ドウェアシステム領域に分け、ソフトウェア使用領域内
で発生した事象により予めハードウェアシステム領域内
に格納されている該事象に対応した命令実行手順を実行
する機能を有する情報処理装置において、該ハードウェ
アシステム領域は、割込みに対応した命令実行手順をさ
らに記憶し、ハードウェアシステム領域内の命令実行手
順の開始に際して、該命令実行手順の実行中に発生が予
期される割込みを設定する設定手段と、該設定手段を参
照し、予期されていた割込みであれば、該割込みに対応
した命令実行手順に制御を移す手段と、予期されていな
い割込みであればハードウェアの誤動作として障害処理
に制御を移す手段とを設けたことを特徴とする情報処理
装置。1. A main storage device is shared by a plurality of central processing units, and the main storage device is divided into a software use area used by normal software and a hardware system area used by hardware. In an information processing device having a function of executing an instruction execution procedure corresponding to the event, which is stored in advance in the hardware system area according to the event occurred in step 1, the hardware system area includes an instruction execution procedure corresponding to the interrupt. Furthermore, when starting the instruction execution procedure in the hardware system area, setting means for setting an interrupt that is expected to occur during execution of the instruction execution procedure, and the expected interrupt by referring to the setting means If so, a means for transferring control to the instruction execution procedure corresponding to the interrupt, and an unexpected interrupt The information processing apparatus is characterized by providing a means to transfer control to the fault processing as malfunction of Dowea.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61056813A JPH0619720B2 (en) | 1986-03-17 | 1986-03-17 | Information processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61056813A JPH0619720B2 (en) | 1986-03-17 | 1986-03-17 | Information processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS62214445A JPS62214445A (en) | 1987-09-21 |
JPH0619720B2 true JPH0619720B2 (en) | 1994-03-16 |
Family
ID=13037814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61056813A Expired - Lifetime JPH0619720B2 (en) | 1986-03-17 | 1986-03-17 | Information processing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0619720B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3057688B2 (en) * | 1989-06-28 | 2000-07-04 | 日本電気株式会社 | Data processing device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5622139A (en) * | 1979-07-31 | 1981-03-02 | Fujitsu Ltd | Address designating device |
JPS5955565A (en) * | 1982-09-24 | 1984-03-30 | Fujitsu Ltd | Multi-firmware system |
-
1986
- 1986-03-17 JP JP61056813A patent/JPH0619720B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS62214445A (en) | 1987-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4740969A (en) | Method and apparatus for recovering from hardware faults | |
EP1015974B1 (en) | Memory allocation | |
US6728668B1 (en) | Method and apparatus for simulated error injection for processor deconfiguration design verification | |
CN1228175A (en) | System and method for testing computer system software | |
JPS58121457A (en) | Information processing device | |
WO2007071615A1 (en) | Methods, apparatus and computer programs for handling parameters associated with call statements | |
US5280606A (en) | Fault recovery processing for supercomputer | |
JPH0619720B2 (en) | Information processing equipment | |
JP2004252525A (en) | Emulator and program | |
JP4066950B2 (en) | Computer system and maintenance method thereof | |
JP2786215B2 (en) | Restart processing control method | |
JPS5855529B2 (en) | Error processing method of data processing equipment | |
JP2697230B2 (en) | Debug support device | |
JPH02122335A (en) | RAS circuit test method | |
JPH0374879B2 (en) | ||
CN118672894A (en) | Method for testing a computer program | |
JPH04365145A (en) | Memory fault processing method | |
JPS62140158A (en) | information processing equipment | |
JPS6250858B2 (en) | ||
JPH0392950A (en) | Microprogram controller | |
JPS6012656B2 (en) | Retry control method | |
JPH04291629A (en) | Instruction test method in diagnostic system | |
JPH08314753A (en) | Program debug device and debugging method | |
JPS61101845A (en) | Test system of information processor | |
JPH0283739A (en) | Interrupt processing method for information processing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |