JPH02270024A - System load processing system - Google Patents

System load processing system

Info

Publication number
JPH02270024A
JPH02270024A JP9259889A JP9259889A JPH02270024A JP H02270024 A JPH02270024 A JP H02270024A JP 9259889 A JP9259889 A JP 9259889A JP 9259889 A JP9259889 A JP 9259889A JP H02270024 A JPH02270024 A JP H02270024A
Authority
JP
Japan
Prior art keywords
program
storage device
architecture
operating system
external storage
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
JP9259889A
Other languages
Japanese (ja)
Inventor
Katsuji Asami
浅見 可津治
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9259889A priority Critical patent/JPH02270024A/en
Publication of JPH02270024A publication Critical patent/JPH02270024A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the failure of system load processing when an architecture is changed by selecting the nucleus program of an operating system corresponding to a selected architecture out of plural operating systems and loading the selected program into a main storage. CONSTITUTION:When the start of a system load process is instructed from a system console 1, a 1st program 6a is loaded into an area 5a of a main storage 5 from an external storage 6. Then the architecture of a computer is decided when the program 6a is carried out. Thus a nucleus program 6b or 6c of an operating system is selected and loaded into an area 5b of the storage 5 in accordance with the decided architecture. Thus it is possible to prevent the failure of the system load processing due to the discordance despite the change of the architecture.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、マイクロプログラムの変更によって複数の
アーキテクチャで動作する計算機システムにおけろオペ
レーティングシステムのロード処理方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a loading processing method for an operating system in a computer system that operates on a plurality of architectures by changing microprograms.

[従来の技術] 第3図は従来のシステムロード処理方式を示すブロック
図である。第3図は、従来のマイクロプログラムの変更
によって複数のアーキテクチャの選択が可能な計算機シ
ステムにおけるシステムロード処理方式を示している。
[Prior Art] FIG. 3 is a block diagram showing a conventional system load processing method. FIG. 3 shows a conventional system load processing method in a computer system in which a plurality of architectures can be selected by changing the microprogram.

図において、lはシステムコンソール、2はシステム制
御装置、3は中央処理装置、3aは中央処理装置3内の
制御記憶部、4はマイクロプログラムを格納する外部記
憶装置、5は主記憶装置、5a、5bは主記憶装置5の
領域、6,7は外部記憶装置、6a、7aは第1のプロ
グラム、6b、7bはオペレーティングシステムの中核
プログラムである。
In the figure, l is a system console, 2 is a system control device, 3 is a central processing unit, 3a is a control storage unit in the central processing unit 3, 4 is an external storage device that stores microprograms, 5 is a main storage device, 5a , 5b are areas of the main storage device 5, 6 and 7 are external storage devices, 6a and 7a are first programs, and 6b and 7b are core programs of the operating system.

次に、上記従来のシステムロード処理方式の動作につい
て説明する。システムコンソール1への入力によりアー
キテクチャを選択すると、システム制御装置2を通して
中央処理装置3内の制御記憶部3aに、外部記憶装置4
より選択されたアーキテクチャに対応するマイクロプロ
グラムをロードする。一般に、アーキテクチャの異なる
計算機を動作させるためには、各々アーキテクチャに対
応するオペレーティングシステムを用意する必要がある
。そのために、この従来例ではアーキテクチャに対応す
るオペレーティングシステムを別々の外部記憶装置6,
7に格納するようにしている。
Next, the operation of the conventional system load processing method described above will be explained. When an architecture is selected through input to the system console 1, the external storage device 4 is stored in the control storage section 3a in the central processing unit 3 through the system control device 2.
Load the microprogram corresponding to the selected architecture. Generally, in order to operate computers with different architectures, it is necessary to prepare operating systems corresponding to each architecture. Therefore, in this conventional example, the operating system corresponding to the architecture is stored in separate external storage devices 6,
I am trying to store it in 7.

システムをロードする場合は、システムコンソール1よ
り選択されたアーキテクチャに対応するオペレーティン
グシステムの存在する外部記憶装置6を選択して処理を
開始させる必要がある。
When loading the system, it is necessary to select from the system console 1 the external storage device 6 containing the operating system corresponding to the selected architecture and start processing.

第4図は第3図のシステムロード処理方式における動作
を示すフローチャートである。図において、8,9は処
理過程を示すステップである。例えば、外部記憶装置6
が選択された場合に、この外部記憶装置6より第1のプ
ログラム6aが主記憶装置5の領域5aにロードされる
(ステップ8)。次に、第1のプログラム6aの実行に
よって、外部記憶装置6よりオペレーティングシステム
の中核プログラム6bが主記憶装置5の領域5bにロー
ドされる(ステップ9)。
FIG. 4 is a flowchart showing the operation in the system load processing method of FIG. In the figure, 8 and 9 are steps showing the processing process. For example, external storage device 6
is selected, the first program 6a is loaded from the external storage device 6 into the area 5a of the main storage device 5 (step 8). Next, by executing the first program 6a, the core program 6b of the operating system is loaded from the external storage device 6 into the area 5b of the main storage device 5 (step 9).

さて、複数のオペレーティングシステムを選択してロー
ドする方式には幾つかの先行例がある。
Now, there are several precedents for selecting and loading multiple operating systems.

特に、特開昭62−295154号公報には、複数のオ
ペレーティングシステムをスイッチで選択してロードす
る方式についての開示がなされている。また、特開昭6
3−196963号公報には、最初にロードするプログ
ラムを示すロードテーブルを選択し、次に該当するロー
ドテーブルに従ってプログラム群をロードする方式につ
いての開示がなされている。
In particular, Japanese Patent Application Laid-Open No. 62-295154 discloses a method of selecting and loading a plurality of operating systems using a switch. Also, Unexamined Japanese Patent Publication No. 6
No. 3-196963 discloses a method in which a load table indicating a program to be loaded is first selected, and then a group of programs is loaded in accordance with the corresponding load table.

上記の各先行列においては、いずれもオペレーティング
システムの選択手段として、スイッチ等の人力手段を必
要としている。また、ロードされたプログラムが、いず
れも処理装置上で動作可能であることを前提としている
Each of the above preceding matrices requires manual means such as a switch as a means for selecting an operating system. Further, it is assumed that all loaded programs can be operated on the processing device.

一方、処理装置の動作モードが複数である場合に、各々
の動作モードに対応するオペレーティングシステムをロ
ードするという方式は、特公昭62−278657号公
報に開示されている。
On the other hand, when a processing device has a plurality of operating modes, a method of loading an operating system corresponding to each operating mode is disclosed in Japanese Patent Publication No. 62-278657.

[発明が解決しようとする課題] 上記のような従来のシステムロード処理方式では、マイ
クロプログラムの変更によって計算機のアーキテクチャ
が変更になった場合に、複数のオペレーティングシステ
ムのために複数の外部記憶装置6,7が必要であり、し
かも主記憶装置5にロードするオペレーティングシステ
ムを外部記憶装置6,7より選択しなければならないと
いう問題点があった。
[Problems to be Solved by the Invention] In the conventional system load processing method as described above, when the architecture of a computer is changed due to a change in a microprogram, multiple external storage devices 6 are required for multiple operating systems. , 7 are required, and the operating system to be loaded into the main storage device 5 must be selected from the external storage devices 6 and 7.

また、上記各先行列(特開昭62−295154号公報
、特開昭63−196963号公報)においては、計算
機のアーキテクチャが変更された時、ロードされるオペ
レーティングシステムやプログラムが動作不可能である
場合の考慮がなされていないという問題点があった。
Furthermore, in each of the preceding matrices (Japanese Unexamined Patent Publications No. 62-295154 and No. 63-196963), when the architecture of the computer is changed, the operating system or program to be loaded becomes inoperable. The problem was that the situation was not taken into account.

さらに、上記他の先行列(特公昭62−278657号
公報)においては、選択されたオペレーティングシステ
ムに対応した処理装置が選択される方式であり、そのた
めに、処理装置の動作モードに応じたオペレーティング
システムを自動的に選択することを主眼としているもの
ではない。また、処理装置の選択情報を外部媒体に格納
して、それを読み出す手段や、処理装置を切り換える手
段が必要であるなとの問題点があった。
Furthermore, in the other preceding matrix (Japanese Patent Publication No. 62-278657), a processing device corresponding to the selected operating system is selected. It is not intended to automatically select. Another problem is that it requires means for storing processing device selection information in an external medium and reading it out, as well as means for switching between processing devices.

この発明は上記のような問題点を解消するためになされ
たもので、複数のオペレーティングシステムを一つの外
部記憶装置上に共存させることができると共に、現在の
計算機のアーキテクチャを判別することによって、外部
から特に主記憶装置にロードするオペレーティングシス
テムを指定することなしに、対応するオペレーティング
システムを自動的に選択してロードすることができ、ま
た既に決定されたアーキテクチャに対応するオペレーテ
ィングシステムをロードすることができるため、アーキ
テクチャとオペレーティングシステムの不適合により、
システムロード処理が失敗するような事態を防止するこ
とができるシステムロード処理方式を得ることを目的と
する。
This invention was made to solve the above-mentioned problems, and allows multiple operating systems to coexist on one external storage device. can automatically select and load the corresponding operating system without specifically specifying the operating system to be loaded into main memory, and can also load the operating system corresponding to the already determined architecture. Due to architecture and operating system incompatibility,
An object of the present invention is to obtain a system load processing method that can prevent a situation where system load processing fails.

[課題を解決するための手段] この発明に係るシステムロード処理方式は、複数のオペ
レーティングシステムを一つの外部記憶装置に共存させ
て置き、システムロード処理を、第1のプログラムのロ
ードとオペレーティングシステムの中核プログラムのロ
ードの2段階に分け、第1のプログラムの第1の実行段
階で計算機のアーキテクチャを判別し、第2の実行段階
では、その選択されたアーキテクチャに対応するオペレ
ーティングシステムの中核プログラムを選択して主記憶
装置上にロードするものである。
[Means for Solving the Problems] A system load processing method according to the present invention allows a plurality of operating systems to coexist in one external storage device, and performs system load processing by loading a first program and loading an operating system. The loading of the core program is divided into two stages, the architecture of the computer is determined in the first execution stage of the first program, and the core program of the operating system corresponding to the selected architecture is selected in the second execution stage. It is then loaded onto the main memory.

[作用コ この発明におけろシステムロード処理方式は、複数のオ
ペレーティングシステムを一つの外部記憶装置に共存さ
せて置き、第1のプログラムが計算機のアーキテクチャ
を判別することにより、その選択されたアーキテクチャ
に対応するオペレーティングシステムの中核プログラム
を、複数のオペレーティングシステムの中から選択して
主記憶装置上にロードする。
[Operations] The system load processing method in this invention involves placing multiple operating systems coexisting in one external storage device, and having the first program determine the architecture of the computer and load the selected architecture. A core program of a corresponding operating system is selected from a plurality of operating systems and loaded onto the main memory.

[実施例] 第1図はこの発明の実施例であるシステムロード処理方
式を示すブロック図である。図において、lはシステム
コンソール、2はシステム制御装置、3は中央処理装置
、3aは中央処理装置3内の制御記憶部、4はマイクロ
プログラムを格納する外部記憶装置、5は主記憶装置、
5a、5bは主記憶装置5の領域、6は外部記憶装置、
6aは第1のプログラム、6b、6cはオペレーティン
グシステムの中核プログラムである。
[Embodiment] FIG. 1 is a block diagram showing a system load processing method according to an embodiment of the present invention. In the figure, l is a system console, 2 is a system control device, 3 is a central processing unit, 3a is a control storage unit in the central processing unit 3, 4 is an external storage device that stores microprograms, 5 is a main storage device,
5a and 5b are areas of the main storage device 5; 6 is an external storage device;
6a is a first program, and 6b and 6c are core programs of the operating system.

次に、上記この発明の実施例であるシステムロード処理
方式の動作について説明する。計算機のアーキテクチャ
は、中央処理装置3の制御記憶部3aへのマイクロプロ
グラムのロードによって決定しているものとする。シス
テムコンソール1よリシステムのロード処理の開始が指
示されると、外部記憶装置6から主記憶装置5へのロー
ド処理が行われる。ここで、外部記憶装置6には、第1
のプログラム6aとオペレーティングシステムの中核プ
ログラム6b、6cが存在しており、この中核プログラ
ム6b、6cは各々異なるアーキテクチャに対応してい
るものである。
Next, the operation of the system load processing method according to the embodiment of the present invention will be explained. It is assumed that the architecture of the computer is determined by loading a microprogram into the control storage section 3a of the central processing unit 3. When the system console 1 instructs the start of resystem loading processing, the loading processing from the external storage device 6 to the main storage device 5 is performed. Here, the external storage device 6 has a first
There are a program 6a and operating system core programs 6b and 6c, each of which corresponds to a different architecture.

第2図は第1図のシステムロード処理方式における動作
を示すフローチャートである。図において、10〜13
は処理過程を示すステップである。
FIG. 2 is a flowchart showing the operation in the system load processing method of FIG. In the figure, 10 to 13
are steps showing the processing process.

システムコンソール1よりシステムのロード処理の開始
が指示されると、外部記憶装置6より第1のプログラム
6aが主記憶装置5の領域5a上にロードされる(ステ
ップ10)。次に、第1のプログラム6aが実行される
と、まず、計算機のアーキテクチャが判別される(ステ
ップ11)。次に、判別されたアーキテクチャに対応し
て、オペレーティングシステムの中核プログラム6bか
60のどちらを主記憶装置5の領域5b上にロードする
かを選択する。この選択に応じて、オペレーティングシ
ステムの中核プログラム6b及び6Cのどちらか一方が
主記憶装置5の領域5b上、にロードされる(ステップ
12.13)。
When the system console 1 instructs to start the system loading process, the first program 6a is loaded from the external storage device 6 onto the area 5a of the main storage device 5 (step 10). Next, when the first program 6a is executed, the architecture of the computer is first determined (step 11). Next, it is selected which of the core programs 6b and 60 of the operating system is to be loaded onto the area 5b of the main storage device 5 in accordance with the determined architecture. Depending on this selection, one of the core programs 6b and 6C of the operating system is loaded onto the area 5b of the main storage device 5 (step 12.13).

[発明の効果] 以上のように、この発明のシステムロード処理方式によ
れば、複数のオペレーティングシステムを一つの外部記
憶装置に共存させて置き、第1のプログラムが計算機の
アーキテクチャを判別することにより、その選択された
アーキテクチャに対応するオペレーティングシステムの
中核プログラムを、複数のオペレーティングシステムの
中から選択して主記憶装置上にロードするようにしたの
で、アーキテクチャを変更した場合に、外部から特に主
記憶装置にロードするオペレーティングシステムを指定
する必要もなく、対応するオペレーティングシステムを
自動的に選択してロードでき、また、特別の装置を備え
ることなしに、複数のオペレーティングシステムを外部
記憶装置上に共存させることができ、また、アーキテク
チャとオペレーティングシステムが不適合となってシス
テムロード処理が失敗するといった事態を防止すること
ができるなどの優れた効果を奏するものである。
[Effects of the Invention] As described above, according to the system load processing method of the present invention, multiple operating systems are coexisted in one external storage device, and the first program determines the architecture of the computer. Since the core program of the operating system corresponding to the selected architecture is selected from among multiple operating systems and loaded onto the main memory, when the architecture is changed, it is possible to load the main memory from the outside. There is no need to specify the operating system to be loaded on the device; the corresponding operating system can be automatically selected and loaded, and multiple operating systems can coexist on an external storage device without the need for special devices. Moreover, it has excellent effects such as being able to prevent a situation where the system load processing fails due to incompatibility between the architecture and the operating system.

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

第1図はこの発明の実施例であるシステムロード処理方
式を示すブロック図、第2図は第1図のシステムロード
処理方式における動作を示すフローチャート、第3図は
従来のシステムロード処理方式を示すブロック図、第4
図は第3図のシステムロード処理方式における動作を示
すフローチャートである。 図において、1・・・システムコンソール、2・・・シ
ステム制御装置、3・・・中央処理装置、3a・・・制
御記憶部、4・・・外部記憶装置、5・・・主記憶装置
、5a、5b・・・主記憶装置5の領域、6,7・・・
外部記憶装置、6a、?a・・・第1のプログラム、6
b。 6c、7b・・・中核プログラム、8〜13・・・ステ
ップ  である。 なお、図中、同一符号は同一、又は相当部分を示す。
Fig. 1 is a block diagram showing a system load processing method according to an embodiment of the present invention, Fig. 2 is a flowchart showing the operation of the system load processing method shown in Fig. 1, and Fig. 3 shows a conventional system load processing method. Block diagram, 4th
This figure is a flowchart showing the operation in the system load processing method of FIG. 3. In the figure, 1... system console, 2... system control device, 3... central processing unit, 3a... control storage unit, 4... external storage device, 5... main storage device, 5a, 5b...areas of main storage device 5, 6, 7...
External storage device, 6a,? a... first program, 6
b. 6c, 7b... Core program, 8-13... Steps. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムの変更によって複数のアーキテクチ
ャを実現し、第1のプログラムを外部記憶装置から主記
憶装置にロードし、上記第1のプログラムがオペレーテ
ィングシステムの中核プログラムを上記主記憶装置にロ
ードする計算機システムにおいて、上記外部記憶装置に
、初期のマイクロプログラムのロードによって実現され
るアーキテクチャの各々に対応する複数の上記オペレー
ティングシステムの中核プログラムを共存させて置き、
上記第1のプログラムが選択されたアーキテクチャを判
別し、その選択されたアーキテクチャに対応するオペレ
ーティングシステムの中核プログラムを選択して上記主
記憶装置上にロードすることを特徴とするシステムロー
ド処理方式。
In a computer system in which a plurality of architectures are realized by changing a microprogram, a first program is loaded from an external storage device to a main storage device, and the first program loads a core program of an operating system into the main storage device. , coexisting in the external storage device a plurality of core programs of the operating system corresponding to each of the architectures realized by loading the initial microprogram;
A system load processing method characterized in that the first program determines a selected architecture, selects a core program of an operating system corresponding to the selected architecture, and loads it onto the main storage device.
JP9259889A 1989-04-12 1989-04-12 System load processing system Pending JPH02270024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9259889A JPH02270024A (en) 1989-04-12 1989-04-12 System load processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9259889A JPH02270024A (en) 1989-04-12 1989-04-12 System load processing system

Publications (1)

Publication Number Publication Date
JPH02270024A true JPH02270024A (en) 1990-11-05

Family

ID=14058888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9259889A Pending JPH02270024A (en) 1989-04-12 1989-04-12 System load processing system

Country Status (1)

Country Link
JP (1) JPH02270024A (en)

Similar Documents

Publication Publication Date Title
JPS60136833A (en) Switching method of operating system
US20080133899A1 (en) Context switching method, medium, and system for reconfigurable processors
US5600807A (en) Programmable controller capable of updating a user program during operation by switching between user program memories
US7434222B2 (en) Task context switching RTOS
JPH02270024A (en) System load processing system
JPS62151940A (en) Register saving/return system
JP3149904B2 (en) OS switching device
JPH023828A (en) Computer network system
JP3616649B2 (en) Method and apparatus for enabling address lines to access upper memory areas
JP2000155674A (en) Program exchanging device and its exchanging method
JPH08194614A (en) Microcomputer
JPH0830466A (en) Multitask switching control method
JPH10171509A (en) Process controller
JPS59189407A (en) Sequence control device
JPH03240135A (en) Ct device
JPS5822765B2 (en) Program loading method in electronic computer system
JPH01216433A (en) Interruption control system
JPH0895781A (en) Arithmetic and logic unit of processor
JPH0581336A (en) Data base arithmetic processor
JPS60142440A (en) Memory control system
JPH01297732A (en) Interruption control system
JPH0883188A (en) Multitask processing computer
JPH0380734A (en) Communication processor
JP2000215064A (en) Fault tolerant method of high reliability file system and boot loading system of unix
JPH05134866A (en) Microprogram control system