JPH0259948A - Initial program loading system - Google Patents

Initial program loading system

Info

Publication number
JPH0259948A
JPH0259948A JP21062688A JP21062688A JPH0259948A JP H0259948 A JPH0259948 A JP H0259948A JP 21062688 A JP21062688 A JP 21062688A JP 21062688 A JP21062688 A JP 21062688A JP H0259948 A JPH0259948 A JP H0259948A
Authority
JP
Japan
Prior art keywords
storage device
processor
stored
program
startup
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
JP21062688A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Suzuki
鈴木 弘佳
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21062688A priority Critical patent/JPH0259948A/en
Publication of JPH0259948A publication Critical patent/JPH0259948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To shorten time required for the rerise of a system and to improve the reliability of the system by reading out data necessary for system rise from an external storage and storing the data in a main storage and an auxiliary storage of a processor. CONSTITUTION:In the case of raising the processor system including a CPU 1, data such as a system table and a system program read out of the external storage device 3 and required for system rise are loaded to the main storage device 2 and stored also in the auxiliary storage device 4. In the case of reraising the system, the data such as the system table and the system program stored in the device 4 are loaded to the device 2 to raise the system. Consequently, access time to the external storage device 3 storing data necessary for the rerise of the system can be shortened, so that the time required for system rerise can be shortened and the reliability of the system can be improved.

Description

【発明の詳細な説明】 〔ヰ既  要〕 連続稼働するプロセッサシステムなどにシステムダウン
が発生したとき自動的に再立上げを行うためのイニシャ
ルプログラムローディング方式に関し、 このようなプロセッサシステムの再立上げに要する時間
を短縮してシステムの信頼性を向上することを目的とし
、 プロセッサシステムの立上げ時にイニシャルプログラム
ローディングプログラムを実行することによって磁気デ
ィスク装置などの外部記憶装置からシステムテーブノペ
システムプログラムなど立上げに必要なデータを読出し
てプロセッサの主記憶装置および補助記憶装置にそれぞ
れ格納し、あるいは、このプロセッサの立上げ時におけ
る所要のレジスタの状態をさらに上記補助記憶装置に格
納シ、このプロセッサシステムの再立上げ時には上記補
助記憶装置に格納されているシステムテーブル、システ
ムプログラムなどの立上げに必要なデータ、あるいはさ
らに、このプロセッサの立上げ時における所要のレジス
タの状態を用いて立上げを行うように構成する。
[Detailed Description of the Invention] [Required] Regarding an initial program loading method for automatically restarting a continuously operating processor system when the system goes down, there is a method for restarting such a processor system. The purpose of this system is to shorten the time required for processing and improve system reliability, and by executing an initial program loading program when starting up the processor system, the system program, etc. The processor system can be read out and stored in the main memory and auxiliary storage of the processor, respectively, or further store the state of required registers in the auxiliary storage at the time of startup of the processor. When the processor is restarted, the data necessary for startup such as the system table and system program stored in the auxiliary storage device, or the state of required registers at the time of startup of this processor is used for startup. Configure it as follows.

〔産業上の利用分野〕[Industrial application field]

本発明は、例えば連続稼働するプロセッサシステムなど
にシステムダウンが発生したとき、自動的に再立上げを
行うためのイニシャルプログラムローディング方式に関
する。
The present invention relates to an initial program loading method for automatically restarting a continuously operating processor system when the system goes down, for example.

〔従来の技術〕[Conventional technology]

パケット交換を行う通信制御装置などの常時オンライン
稼働するプロセッサシステムにおいては、ソフトウェア
のバグなどによってシステムダウンが発生した場合、磁
気ディスク記憶装置などの外部記憶装置に格納されてい
るイニシャルプログラムをローディングして自動的に再
立上げを行う必要がある。
In a processor system that is always online, such as a communication control device that performs packet switching, if the system goes down due to a software bug, etc., the initial program stored in an external storage device such as a magnetic disk storage device must be loaded. It is necessary to restart automatically.

この再立上げは、イニシャルプログラムローディングプ
ログラムを先ずプロセッサシステムの主記憶装置にロー
ドし、続いてこのイニシャルプログラムローディングプ
ログラムを実行することによって磁気ディスク装置など
の外部記憶装置からシステムテーブル、システムプログ
ラムなどを個別にプロセッサシステムの主記憶装置に順
次読込むことによって行われる。
This restart involves first loading an initial program loading program into the main memory of the processor system, and then executing this initial program loading program to retrieve system tables, system programs, etc. from an external storage device such as a magnetic disk drive. This is done by sequentially reading the data individually into the main memory of the processor system.

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

上記のように、外部記憶装置に格納されているシステム
テーブル、システムプログラムなどのそれぞれがこの外
部記憶装置の記録媒体の連続したセクタに格納されてい
るとしても、複数のプログラムあるいはテーブルをリン
クして読出す場合には、これらのリンクすべきプログラ
ムあるいはテーブルのすべてが連続するセクタに格納さ
れていることは実際上有り得ないので読出しに要する時
間は大きく、大きなシステムにおいてはその立上げに1
0分ないし数10分の時間を要することがある。
As mentioned above, even if the system tables, system programs, etc. stored in an external storage device are each stored in consecutive sectors of the recording medium of this external storage device, multiple programs or tables cannot be linked. When reading, it is practically impossible for all of these programs or tables to be linked to be stored in consecutive sectors, so it takes a long time to read, and in a large system, it takes about 1 hour to start up the system.
It may take 0 to several tens of minutes.

特に、外部記憶装置の連続したセクタに格納されていた
プログラムあるいはテーブルがプログラムの変更、ある
いはテーブルの書換えなどによって更新されると、この
更新によって変更された部分がオペレーティングシステ
ムによって磁気ディスクの離れたセクタに書込まれてし
まうことがあり、この際に記録媒体の異なるシリンダに
属するセクタに書込まれたりすると続出ヘッドのシーク
が必要になって読出すための時間が著しく長くなり、し
たがって再立上げに要する時間が長くなるという問題が
あった。
In particular, when a program or table stored in consecutive sectors of an external storage device is updated by changing the program or rewriting the table, the operating system transfers the changed part to a distant sector of the magnetic disk. In this case, if the data is written to a sector belonging to a different cylinder of the recording medium, successive head seeks are required, which significantly increases the time it takes to read the data. There was a problem in that it took a long time.

本発明は、このようなプロセッサシステムの再立上げに
要する時間を短縮してシステムの信頼性を向上すること
を目的とする。
An object of the present invention is to shorten the time required to restart such a processor system and improve the reliability of the system.

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

第1図は本発明の原理を示す図であって、中央処理装置
lを含むプロセッサシステムを立上げる時に、磁気ディ
スク装置などの外部記憶装置3から読出したシステムテ
ーブル、システムプログラムなどの立上げに必要なデー
タを中央処理装置1の主記憶装置2にロードするととも
に補助記憶装置4にも格納し、このプロセッサシステム
を再立上げする時にはこの補助記憶装置4に格納されて
いるシステムテーブル、システムプログラムなどのデー
タを主記憶装置にロードして立上げを行うようにした。
FIG. 1 is a diagram showing the principle of the present invention. When starting up a processor system including a central processing unit 1, the system table, system program, etc. read from an external storage device 3 such as a magnetic disk device are Necessary data is loaded into the main memory 2 of the central processing unit 1 and also stored in the auxiliary memory 4, and when the processor system is restarted, the system tables and system programs stored in the auxiliary memory 4 are loaded. Startup is now performed by loading data such as into the main memory.

なお、この原理図では主記憶装置2にシステムテーブル
、システムプログラムなどのデータを外部記憶装置3あ
るいは補助記憶装置4から選択的にロードするための手
段として、中央処理装置1によって切換えられるセレク
タ5を例示したが、この切換えはソフトウェアによって
行なうように構成し得ることはいうまでもない。
In this principle diagram, a selector 5 switched by the central processing unit 1 is used as a means for selectively loading data such as system tables and system programs into the main memory 2 from the external storage 3 or the auxiliary storage 4. Although an example has been shown, it goes without saying that this switching can be configured to be performed by software.

また、プロセッサシステムの立上げ時には、上記のよう
に外部記憶装置3から読出したシステムテーブル、シス
テムプログラムなどに加えて中央処理装置1のレジスタ
中の立上げに関連するレジスタの立上げ時の内容をも補
助記憶装置4に格納し、このプロセッサシステムの再立
上げ時にはこの補助記憶装置4に格納されているシステ
ムテープル、システムプログラムなどを主記憶装置ロー
ドするのに加えて、この補助記憶装置4に格納されてい
るレジスタの内容を中央処理装置1のレジスタにセット
して立上げを行うようにした。
Furthermore, when starting up the processor system, in addition to the system table, system program, etc. read from the external storage device 3 as described above, the contents of the registers related to the start-up in the registers of the central processing unit 1 are also read. are also stored in the auxiliary storage device 4, and when the processor system is restarted, the system table, system program, etc. stored in the auxiliary storage device 4 are loaded into the main storage device, and also loaded into the auxiliary storage device 4. The contents of the stored registers are set in the registers of the central processing unit 1 for startup.

〔作 用〕[For production]

従来の立上げ時と同様に、外部記憶装置からのシステム
テーブル、システムプログラムなどの立上げに必要なデ
ータを主記憶装置2にロードして立上げを行なう例えば
最初の起動時などに、この主記憶装置2にロードしたシ
ステムテーブル、システムプログラムなどを補助記憶装
置4にも格納しておく。なお、このときの立上げが一般
に長い110間を要することは前述のとおりである。
As with conventional startup, data necessary for startup, such as system tables and system programs, from an external storage device is loaded into the main memory 2 and startup is performed.For example, at the first startup, this main The system table, system program, etc. loaded into the storage device 2 are also stored in the auxiliary storage device 4. Note that, as described above, startup at this time generally requires a long time of 110 minutes.

ソフトウェアのバグなどによってこのプロセッサシステ
ムがダウンして再立上げを行なう場合には、上記の補助
記憶装置4に格納されていたデータを中央処理装置1の
主記憶装置2にロードして再立上げを行なう。
When this processor system goes down due to a software bug and needs to be restarted, the data stored in the auxiliary storage device 4 is loaded into the main storage device 2 of the central processing unit 1 and restarted. Do this.

この補助記憶装置4に格納されていた立上げに必要なデ
ータは所要のリンクなどがすでに行なわれているデータ
であり、しかも連続したデータとして補助記憶装置4に
格納されるためにこの補助記憶装置が例え磁気ディスク
装置によって構成されている場合であっても読出しに要
する時間は従来の読出時間より著しく短かく、したがっ
てプロセッサシステムの再立上げは迅速に行なわれるか
ら、このプロセッサシステムを含む系の信頼性も著しく
向上する。
The data necessary for startup that was stored in this auxiliary storage device 4 is data that has already been linked as required, and since it is stored in the auxiliary storage device 4 as continuous data, this auxiliary storage device Even if the computer is configured with a magnetic disk device, the time required for reading is significantly shorter than the conventional reading time, and therefore the processor system can be restarted quickly. Reliability is also significantly improved.

さらに、プロセッサシステムの立上げ時に、上記のよう
に外部記憶装置3から読出したシステムテーブル、シス
テムプログラムなどに加えて中央処理装置1のレジスタ
中の立上げに関連するレジスタの立上げ時の内容をも補
助記憶装置4に格納しておき、再立上げ時にはこの補助
記憶装置4に格納されている立上げに必要なデータを主
記憶装置にロードするのに加えて、上記補助記憶装置4
に格納されている上記レジスタの内容を中央処理装置l
のレジスタにセットして立上げを行うようにすれば、そ
の立上げ時間をさらに短縮することができる。
Furthermore, when starting up the processor system, in addition to the system table, system program, etc. read from the external storage device 3 as described above, the contents of the registers related to starting up in the registers of the central processing unit 1 are read. are also stored in the auxiliary storage device 4, and at the time of restart, in addition to loading the data necessary for startup stored in this auxiliary storage device 4 into the main storage device, the auxiliary storage device 4 is
The contents of the registers stored in the central processing unit l
The startup time can be further shortened by setting this in the register.

〔実施例〕〔Example〕

第2図(a)は本発明の実施例を示すもので、主記憶装
置12が接続された中央処理装置11、この中央処理装
置11にバスを介して゛接続された磁気ディスク装置1
0、コンソール装置13およびレジスタ14とこのレジ
スタ14の特定ビット14に再立上げのモードを設定す
るためのフラグをセットするためのスイッチ15とから
なる。
FIG. 2(a) shows an embodiment of the present invention, in which a central processing unit 11 is connected to a main storage device 12, and a magnetic disk device 1 is connected to the central processing unit 11 via a bus.
0, a console device 13, a register 14, and a switch 15 for setting a flag for setting a restart mode in a specific bit 14 of this register 14.

同図ら〕は第2図(a)の磁気ディスク装置10の記憶
領域10.〜105に格納されているデータの内容を示
すものであり、記憶領域10.にはイニシャルプログラ
ムローディングを行なうための工PLプログラムが格納
されており、記憶領域102には記憶領域1(13に格
納されているシステムテーブルおよび記憶領域104に
格納されているシステムプログラムをローディングする
システムローディングプログラムがそれぞれ格納されて
いる。
] is the storage area 10 of the magnetic disk device 10 in FIG. 2(a). This shows the contents of data stored in storage areas 10. to 105. An engineering PL program for performing initial program loading is stored in the storage area 102, and a system table for loading the system table stored in the storage area 1 (13 and the system program stored in the storage area 104) is stored in the storage area 102. Loading programs are stored respectively.

そして、この磁気ディスク装置10の記憶領域10、は
本発明によって設けられた第1図の補助記憶装置4に対
応する待避ファイルであって、主記憶装置12にロード
されたシステムテーブルおよびシステムプログラムを格
納するためのものである。
The storage area 10 of this magnetic disk device 10 is a save file corresponding to the auxiliary storage device 4 of FIG. It is for storing.

この実施例の動作例を第2図を参照しながら第3図に示
すフローチャートによって説明すると、プロセッサシス
テムの最初の立上げ時には従来の立上げ方式による立上
げと同様に、例えばROMに格納されている起動プログ
ラムによって起動され、ステップ■においてイニシャル
プログラムローディングプログラムをこの磁気ディスク
装置10のIPL記憶領域101から読出して中央処理
装置11の主記憶装置12にロードし、このイニシャル
プログラムローディングプログラムを実行させる。
An example of the operation of this embodiment will be explained with reference to the flowchart shown in FIG. 3 with reference to FIG. In step (3), the initial program loading program is read from the IPL storage area 101 of the magnetic disk device 10 and loaded into the main storage device 12 of the central processing unit 11, and the initial program loading program is executed.

このイニシャルプログラムローディングプログラムを実
行することによって、次のステップ■でシステムローデ
ィングプログラムをこの外部記憶装置4の当該プログラ
ム記憶領域102から読出して中央処理装置11の主記
憶装置12にロードする。
By executing this initial program loading program, the system loading program is read from the program storage area 102 of the external storage device 4 and loaded into the main storage device 12 of the central processing unit 11 in the next step (2).

ステップ■においては、自動再立上げを行うか否かを前
記第2図のレジスタ14に自動再立上げを行うことを示
すフラグがセットされているか否かによって判断し、こ
のフラグがセットされていなければステップ■で第2図
(a)の磁気ディスク装置10のシステムテーブル記憶
領域103およびシステムプログラム記憶領域104か
らシステムテーブルおよびシステムプログラムをプロセ
ッサの上記1.!装置にロードする。
In step (2), whether or not automatic restart is to be performed is determined based on whether or not a flag indicating automatic restart is set in the register 14 shown in FIG. If not, the system table and system program are transferred from the system table storage area 103 and system program storage area 104 of the magnetic disk device 10 of FIG. 2(a) to the processor in step 2 above. ! Load into device.

最初の立上げの際あるいは前回までの立上げ時に磁気デ
ィスク装置10の退避ファイル記憶領域10、に退避し
てあったシステムテーブルおよびシステムプログラムな
どの再立上げの際に使用すべきデータが更新されていな
い場合には、退避ファイルに格納されているこの前回の
立上げデータを再立上げにそのまま使用することができ
るので再び退避する必要がないことから、ステップ■に
おいてはオペレータのセットに応じてこの退避を再び行
うか否かを選択するようにしである。
Data that should be used when restarting, such as system tables and system programs that were saved in the backup file storage area 10 of the magnetic disk device 10 at the time of initial startup or previous startup, is updated. If not, the previous startup data stored in the save file can be used as is for restarting, so there is no need to save it again. Therefore, in step You can choose whether or not to perform this evacuation again.

最初の立上げの際、および、システムテーブルあるいは
システムプログラムなどが更新されていて主記憶装置の
内容、あるいはさらにレジスタの内容を退避する必要が
ある場合にはステップ■から次のステップ■に移り、こ
のステップ■においてこれらの内容を退避ファイル10
5に退避させる。
When starting up for the first time, or if the system table or system program has been updated and it is necessary to save the contents of the main memory or the contents of the registers, move from step ■ to the next step ■. In this step ■, save these contents to file 10.
Evacuate to 5.

一方、上記ステップ■においてレジスタ14の自動IP
Lフラグがセットされていることが識別されると、ステ
ップ■において退避ファイル10、に格納されている主
記憶装置およびレジスタ類のデータがこの主記憶装置お
よびレジスタ類にロードされて短時間の内にプロセッサ
システムの自動再立上げが行われる。
On the other hand, in step (3) above, the register 14's automatic IP
When it is determined that the L flag is set, the data in the main memory and registers stored in the save file 10 is loaded into the main memory and registers in a short time. The processor system will be automatically restarted.

なお、ステップ■はプロセッサにおける初期設定処理を
示すものである。
Note that step (2) indicates initial setting processing in the processor.

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

本発明によれば、再立上げの際に必要なデータを格納し
ている外部記憶装置へのアクセス時間を著しく短縮でき
るためにプロセッサシステムの再立上げに要する時間も
短くなり、システムとしての信頼性を向上できるという
格別の効果が達成される。
According to the present invention, it is possible to significantly shorten the time required to access an external storage device storing necessary data when restarting the processor system, thereby reducing the time required to restart the processor system, thereby increasing the reliability of the system. A special effect of improving sex is achieved.

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

第1図は本発明の原理を示すブロック図、第2図は本発
明の実施例を示す図、 第3図は本発明の実施例のフローチャートである。 3・・・外部記憶装置、4・・・補助記憶装置。 原理図 第1図
FIG. 1 is a block diagram showing the principle of the invention, FIG. 2 is a diagram showing an embodiment of the invention, and FIG. 3 is a flowchart of the embodiment of the invention. 3... External storage device, 4... Auxiliary storage device. Principle diagram Figure 1

Claims (1)

【特許請求の範囲】[Claims] プロセッサシステムの立上げ時にイニシャルプログラム
ローディングプログラムを実行することによって磁気デ
ィスク装置などの外部記憶装置(3)からシステムテー
ブル、システムプログラムなど立上げに必要なデータを
読出してプロセッサの主記憶装置および補助記憶装置(
4)にそれぞれ格納し、あるいは、このプロセッサの立
上げ時における所要のレジスタの状態をさらに上記補助
記憶装置に格納し、このプロセッサシステムの再立上げ
時には上記補助記憶装置に格納されているシステムテー
ブル、システムプログラムなどの立上げに必要なデータ
、あるいはさらに、このプロセッサの立上げ時における
所要のレジスタの状態を用いて立上げを行うようにした
ことを特徴とするイニシャルプログラムローディング方
式。
By executing the initial program loading program when starting up the processor system, data necessary for starting up, such as system tables and system programs, is read from an external storage device (3) such as a magnetic disk device, and the data necessary for starting up is loaded into the main storage and auxiliary storage of the processor. Device(
4), or further store the state of the required registers in the auxiliary storage device at the time of startup of this processor, and store the system table in the auxiliary storage device when the processor system is restarted. An initial program loading method characterized in that startup is performed using data necessary for startup of a system program, etc., or further, the state of a required register at the time of startup of this processor.
JP21062688A 1988-08-26 1988-08-26 Initial program loading system Pending JPH0259948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21062688A JPH0259948A (en) 1988-08-26 1988-08-26 Initial program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21062688A JPH0259948A (en) 1988-08-26 1988-08-26 Initial program loading system

Publications (1)

Publication Number Publication Date
JPH0259948A true JPH0259948A (en) 1990-02-28

Family

ID=16592441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21062688A Pending JPH0259948A (en) 1988-08-26 1988-08-26 Initial program loading system

Country Status (1)

Country Link
JP (1) JPH0259948A (en)

Similar Documents

Publication Publication Date Title
US7107407B2 (en) Arithmetic unit with reduced startup time and method of loading data
JPH0259948A (en) Initial program loading system
JP6080492B2 (en) Information processing apparatus, activation method, and program
JP2555920B2 (en) Online real-time processor
JP3843189B2 (en) Optical disk system control chip and update method used for optical disk system
JP2004246787A (en) Information processor and method for controlling program
JPH08263219A (en) Method for starting recording and reproducing device
JPH01261758A (en) Computer system
JPH09330253A (en) Memory dump method and memory damp system applying the same
JP3022011B2 (en) Data backup system
JP2003122647A (en) Information processor
JPS6345660A (en) Starting method for personal computer using ram disk
JPH04169929A (en) Boot priority changing device
JPH03103930A (en) Os switching system
JPH04165440A (en) Device for operation mode changing by bank switching
JPS61282931A (en) Initial microprogram loading system
JPS62226250A (en) System rise system
JPS5914063A (en) Start up system of microcomputer
JPH0367349A (en) Program loading system
JPH0535357A (en) Semiconductor memory device
JPH05298119A (en) Context switch mechanism for microprocessor
JPH0844570A (en) System and method for program execution
JPH03240135A (en) Ct device
JPH0481934A (en) Information processor
JPS6212535B2 (en)