JPS5846420A - Initial program loading control system - Google Patents

Initial program loading control system

Info

Publication number
JPS5846420A
JPS5846420A JP56143415A JP14341581A JPS5846420A JP S5846420 A JPS5846420 A JP S5846420A JP 56143415 A JP56143415 A JP 56143415A JP 14341581 A JP14341581 A JP 14341581A JP S5846420 A JPS5846420 A JP S5846420A
Authority
JP
Japan
Prior art keywords
channel
ipl
input
cpu
initial program
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.)
Granted
Application number
JP56143415A
Other languages
Japanese (ja)
Other versions
JPS6116103B2 (en
Inventor
Hidehiko Serikawa
芹川 秀彦
Koji Mori
毛利 康治
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 JP56143415A priority Critical patent/JPS5846420A/en
Publication of JPS5846420A publication Critical patent/JPS5846420A/en
Publication of JPS6116103B2 publication Critical patent/JPS6116103B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Abstract

PURPOSE:To allow a channel device to require neither extra circuits nor processing time for initial program loading, by providing a CPU with simple instructions for testing a subchannel state. CONSTITUTION:A subchannel test instruction TSUB consisting of a command code, a channel device number, and an I/O device number is generated by a CPU to check the subchannel state which corresponds to a device number specified by the instruction TSUB without reference to the state of a channel. Once initial program loading IPL is indicated, an SVP6 gives an indication for the IPL to the CPU. The CPU sends an input/output starting intruction SIO to a channel device 3 and an I/O. When a specified channel and the I/O start normally, the instruction TSUB is started for the channel and I/O and a check on input/output interruption holding conditions by the completion of operation is made. When there is no fault after the completion of operation, the contents of an area of channel state words CSW saved right before an input/output test instruction TIO are reloaded to report the normal completion of the IPL to the SVP.

Description

【発明の詳細な説明】 本発明は、データ処理システムにおける初期プログラム
・ローディング(IPL)制御方式に関し、特に中央処
理装置CPUにサブチャネル状態をテストする簡単な命
令を設けたことにより、チャネル装置CHUにおいて初
期プログラム・ローディングIPLのために余分の回路
や処理時間の必要をなくしたものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an initial program loading (IPL) control scheme in a data processing system, and more particularly to providing a central processing unit (CPU) with simple instructions to test subchannel conditions. This eliminates the need for extra circuitry and processing time for initial program loading IPL.

本発明は、入出力命令あるいは入出力割込みの実行時に
C3W(チャネル状態語)その他の割シ込み情報をチャ
ネル装置CHUが主記憶装置MSUの固定領域に直接格
納し、また中央処理装置CPUあるいはチャネル制御装
置CHCは、サブチャネル・メモリの内容を直接読み出
すことができない構造の、いいかえるとCHUがCPU
に対して制御機能が比較的独立している形式のデータ処
理システムにおけるIPL制御を対象とするものである
In the present invention, when an input/output command or an input/output interrupt is executed, the channel unit CHU directly stores C3W (channel status word) and other interrupt information in a fixed area of the main storage unit MSU, and the central processing unit CPU or channel The control device CHC has a structure that does not allow direct reading of the contents of the subchannel memory; in other words, the CHU is a CPU.
The object is IPL control in a data processing system in which the control functions are relatively independent from each other.

第1図は、従来のデータ処理システムにおけるチャネル
動作の説明図である。
FIG. 1 is an explanatory diagram of channel operation in a conventional data processing system.

図において、1は中央処理装置CPU、 2は主記憶装
置MSU、 3はチャネル装置CHU、 4.5は入出
力装置I10である。
In the figure, 1 is a central processing unit CPU, 2 is a main storage unit MSU, 3 is a channel device CHU, and 4.5 is an input/output device I10.

CPU 1において入出力処理が必要となり、5IO(
入出力開始)命令が発行されたとき、MSUにある固定
のv48v番地からCAW(チャネル・アドレス語)が
読み出され、そのCAWが指示する番地からCCW(チ
ャネル・コマンド語)がとシ出される。
Input/output processing is required in CPU 1, and 5IO (
When a command (start input/output) is issued, a CAW (Channel Address Word) is read from a fixed v48v address in the MSU, and a CCW (Channel Command Word) is read from the address specified by the CAW. .

このCCWはCHU3に送られ、CHU3はCCWによ
って制御されて、MSU2と工104または5との間で
目的とする入出力処理のチャネル転送制御を行なう。
This CCW is sent to the CHU3, and the CHU3 is controlled by the CCW to perform channel transfer control for targeted input/output processing between the MSU2 and the equipment 104 or 5.

CHUはチャネル転送制御を終了すると、C3W(チャ
ネル状態語)どI RPT (割シ込み)コードと’1
M5U2の固定の140v番地以降に格納し、動作を完
了する。
When the CHU finishes channel transfer control, it sends a C3W (channel status word), an IRPT (interrupt) code, and a '1'.
It is stored after the fixed address 140v of M5U2 and the operation is completed.

一般にIPLを起動する場合には、通常のSIO命令の
起動の場合とくらべて次のような制約がある。
Generally, when starting an IPL, there are the following restrictions compared to when starting a normal SIO command.

(α)  IPLの最初のCCW(チャネル会コマンド
語)は主記憶領域の101番地に固定的に作成されてい
る( SIO命令ではまず148v番地のCAWを読み
それが指示するCCWの格納番地へゆく)。
(α) The first CCW (channel meeting command word) of IPL is fixedly created at address 101 in the main memory area (In the SIO command, first read the CAW at address 148v and go to the storage address of the CCW specified by it. ).

(A)  IPL実行中はPCI(プログラム制御割込
み)を実行してはならない。
(A) PCI (Program Control Interrupt) must not be executed during IPL execution.

(C)データ転送に係る主記憶領域以外の領域に対する
内容変更が禁止される。
(C) Content changes to areas other than the main storage area related to data transfer are prohibited.

したがって、CPU側にはIPLにおける操作上の自由
度はなく前述した構造のデータ処理システムにあっては
、通常、CHUにIPL命令を特別に発行するか、ある
いはサービス・プpセッサsvp’i用いてCHUt 
IPLモードに初期設定しておいてSIO命令を発行す
る方式がとられている。
Therefore, there is no operational freedom on the CPU side in IPL, and in data processing systems with the above-mentioned structure, the CPU usually issues an IPL command to the CHU or uses the service processor svp'i. teCHUt
A method is adopted in which the IPL mode is initially set and the SIO command is issued.

しかし、IPL命令を特別に発行する方式の場合、本来
IPLの処理シーケンスはSIO命令の処理シーケンス
と同じであるから、IPL命令のためにSIO命令とは
別のシーケンスを用意するのはノ・−ドウエア上無駄と
なる。また、S工O命令’t−IPLに共通に使用する
方式の場合では、S工0命令だけでなく入出力割込み等
の処理において常にIPL実行か否かの判断を経由する
必要が生じ、やはシ無駄な時間の浪費を伴うことになる
。SVP等からIPLモードの初期設定したとしても同
様である。
However, in the case of the method of specially issuing IPL instructions, the IPL processing sequence is originally the same as the SIO instruction processing sequence, so it is no good to prepare a separate sequence for the IPL instruction from the SIO instruction. It will be a waste of time. In addition, in the case of the method commonly used for the S-0 instruction 't-IPL, it is necessary to always go through the process of determining whether or not to execute IPL not only for the S-0 instruction but also for processing input/output interrupts, etc. This will involve unnecessary waste of time. The same applies even if the IPL mode is initialized from SVP or the like.

本発明は上述したような問題を解決するものであり、サ
ブチャネル・テス) (TSUB)命令という簡単な命
令を設けて、CPUがIPLのだめのデータ転送を行な
っている特定サブチャネルについてその転送終了を検出
できるようにし、CHUにおいてはIPLについて何ら
特別な配慮も必要としないようにしたものである。
The present invention solves the above-mentioned problem by providing a simple command called the TSUB (subchannel TSUB) command, which allows the CPU to terminate the transfer of a specific subchannel in which data is being transferred during IPL. The CHU is designed to be able to detect the IPL, and no special consideration is required for the IPL in the CHU.

本発明は、その構成として、入出力命令あるいは入出力
側シ込みの実行時にチャネル状態語およびその他の割シ
込み情報を、チャネル装置が主記憶装置に直接格納し、
中央処理装置あるいはチャネル制御装置はサブチャネル
・メモリの内容を直接読み出すことができない構造のデ
ータ処理システムにおいて、 中央処理装置あるいはチャネル制御装置は、チャネル装
置に対し、初期プログラム・ローディング指示のだめの
入出力開始命令を発行したあと、サブチャネル拳テスト
命令を発行してサブチャネルの状態を識別し、該識別し
た結果に基づいてチャネルのデータ転送に係るもの以外
の主記憶領域の内容変更タイミングを制御することによ
シ、チャネル装置が初期プログラム・ローディングとそ
の他の転送とを区別することなしに実行できるようにし
たことを特徴とするものである。
The present invention has a configuration in which a channel device directly stores a channel state word and other interrupt information in a main storage device when executing an input/output instruction or an input/output side interrupt.
In a data processing system whose structure does not allow the central processing unit or channel control unit to directly read the contents of subchannel memory, the central processing unit or channel control unit provides input/output instructions to the channel device for initial program loading instructions. After issuing the start command, issue a subchannel test command to identify the state of the subchannel, and control the timing of changing the contents of the main storage area other than those related to data transfer of the channel based on the identified result. It is particularly characterized in that the channel device is able to perform initial program loading and other transfers without distinction.

以下に、本発明について詳述する。The present invention will be explained in detail below.

はじめに本発明において使用されるTSUB命令につい
て説明する。TSUB命令は、指令コードと、チャネル
機番と、I10機番とで構成される命令で、CPUによ
シ発行される。TSUB命令は、チャネルの使用可能、
使用中、割込み保留等の状態とは無関係に、TSUB命
令で指定された機番のサブチャネルの状態をチェックし
、その状態を表わす完了コードCCで応答することによ
シ命令実行を終了する。
First, the TSUB instruction used in the present invention will be explained. The TSUB command is a command consisting of a command code, a channel machine number, and an I10 machine number, and is issued by the CPU. The TSUB instruction enables the channel,
Irrespective of whether it is in use or pending interrupt, the status of the subchannel of the machine number specified by the TSUB command is checked, and the execution of the command is ended by responding with a completion code CC representing the status.

第2図は、サブチャネルの状態と完了コードCCとの対
応を示すテーブルであり、完了コードCC(O乃至3)
はサブチャネルの使用可能、割込み保留、使用中、動作
不可能の4つの状態を表示する。TSUB命令は、入出
力テス) (Tl0)命令とは異なシ、チャネルが使用
中であってもサブチャネルの状態をチェックし、また完
了コードCCが′1″′の割込み保留状態にあっても、
C8W′(f−MS領域に格納する動作を行なわせず、
そのサブチャネルの割込み条件をクリアさせない。TS
UB命令によって応答された完了コードの分析は、条件
付き分岐命令によって行なわれる。
FIG. 2 is a table showing the correspondence between subchannel states and completion codes CC.
displays four states of the subchannel: available, interrupt pending, in use, and inoperable. The TSUB instruction, which is different from the input/output test (Tl0) instruction, checks the status of the subchannel even if the channel is in use, and also checks the status of the subchannel even if the completion code CC is '1'' and an interrupt is pending. ,
C8W' (do not perform the operation of storing in the f-MS area,
Do not clear the interrupt condition for that subchannel. T.S.
Analysis of the completion code responded to by a UB instruction is performed by a conditional branch instruction.

第3図は、上述したTSUB命令を用いる本発明のIP
L制御方式による実施例を示す。第3図においては、第
1図の要素と共通のものには同一の参照番号が用いられ
ている。6はサービスプロセッサSVPである。IPL
の起動は、SVPを介して行なわれる。IPLを制御す
るCCwはMSUの固定の1001番地に置かれる。し
たがって1481番地にあるCAWはOO番地を指示し
なければならない。
FIG. 3 shows the IP of the present invention using the above-mentioned TSUB instruction.
An example using the L control method will be shown. In FIG. 3, the same reference numerals are used for elements common to those in FIG. 6 is a service processor SVP. IPL
Activation is performed via SVP. The CCw that controls IPL is located at a fixed address 1001 of the MSU. Therefore, the CAW at address 1481 must point to address OO.

次に第4図のタイミングチャートおよび第5図のフロー
チャートを参照しながら本実施例の動作を説明する。
Next, the operation of this embodiment will be explained with reference to the timing chart of FIG. 4 and the flowchart of FIG. 5.

まずシステム操作者によ、i5 IPLが指示されると
、サービス・プロセッサSvPは、MS領域のOO番地
からIPLのCCWを作成しCPUへIPL指示する。
First, when the system operator instructs i5 IPL, the service processor SvP creates an IPL CCW from address OO in the MS area and instructs the CPU to perform IPL.

IPL指示を受けたCPUは、主記憶(M S)領域4
0乃至4B番地にあるC8WおよびCAW領域の内容を
セーブ(退避)し、またMS領域48乃至4B番地にあ
るCAW領域を00にセットしてから、S工O命令を該
CHUおよびIloに発行する。SIO命令によシ指定
された機番のチャネルおよびIloが正常に起動された
ことを知ると(CC−0)、そのチャネルおよびIlo
にTSUB命令を起動し、動作終了による入出力割込み
保留(CC=1)状態をチェックする。チャネルが使用
中(CC=2)であれば、繰り返しTSUB命令が起動
される。
Upon receiving the IPL instruction, the CPU stores main memory (MS) area 4.
Save (evacuate) the contents of the C8W and CAW areas at addresses 0 to 4B, and set the CAW area at addresses 48 to 4B in the MS area to 00, then issue the S/O command to the CHU and Ilo. . When it is learned that the channel and Ilo of the machine number specified by the SIO command have been activated normally (CC-0), that channel and Ilo are activated normally (CC-0).
The TSUB instruction is activated to check whether the input/output interrupt is pending (CC=1) due to the end of the operation. If the channel is in use (CC=2), a repeated TSUB command is activated.

TSUB命令に対してCC=1が応答されると、MS領
域40乃至47番地のC8W領域の内容をセーブし、T
工O命令を起動する。このときCC=1であるから割込
み条件はクリアされ、MS領域40乃至4B番地にC8
Wが格納される。次にC8Wの内容を調べ、異常がなけ
ればTIO命令の直前にセーブしたC8W領域の内容を
復帰させ、サービスプロセッサSvPにIPLの正常終
了を通知し、IPL動作を完了する。
When CC=1 is responded to the TSUB command, the contents of the C8W area at MS area addresses 40 to 47 are saved, and the T
Start the engineering command. At this time, since CC=1, the interrupt condition is cleared and C8 is placed in the MS area 40 to 4B address.
W is stored. Next, the contents of the C8W are checked, and if there is no abnormality, the contents of the C8W area saved immediately before the TIO command are restored, the service processor SvP is notified of the normal end of the IPL, and the IPL operation is completed.

以上、本発明について説明したが、本発明の方式により
、チャネル制御は簡潔なものとなシ、処理の効率化を図
ることができる。
The present invention has been described above. According to the method of the present invention, channel control can be simplified and processing can be made more efficient.

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

第1図は、従来のデータ処理システムにおけるチャネル
動作の説明図、第2図は本発明の実施例におけるサブチ
ャネル状態と完了コード(CC)との対応を示す図、第
3図は本発明の実施例を示すブロック図、第4図はその
タイミングチャートを示す図、第5図はその動作フロー
を示す図である。 図中、1は中央処理装置CPU、 2は主記憶装置MS
U、 3はチャネル装置CHU、 4.5は入出力装[
Iloを示す。
FIG. 1 is an explanatory diagram of channel operation in a conventional data processing system, FIG. 2 is a diagram showing the correspondence between subchannel status and completion code (CC) in an embodiment of the present invention, and FIG. FIG. 4 is a block diagram showing the embodiment, FIG. 4 is a timing chart thereof, and FIG. 5 is a diagram showing its operation flow. In the figure, 1 is the central processing unit CPU, 2 is the main memory MS
U, 3 is the channel device CHU, 4.5 is the input/output device [
Indicates Ilo.

Claims (1)

【特許請求の範囲】 入出力命令あるいは入出力割多込みの実行時にチャネル
状態語およびその他の割シ込み情報を、チャネル装置が
主記憶装置に直接格納し、中央処理装置あるいはチャネ
ル制御装置はサブチャネル・メモリの内容を直接読み出
すことができない構造のデータ処理システムにおいて、 中央処理装置あるいはチャネル制御装置は、チャネル装
置に対し、初期プログラム・ローディング指示のだめの
入出力開始命令を発行したあと、サブチャネル・テスト
命令を発行してサブチャネルの状態を識別し、該識別し
た結果に基づいてチャネルのデータ転送に係るもの以外
の主記憶領域の内容変更タイミングを制御することによ
り、チャネル装置が初期プログラム−ローディングとそ
の他の転送とを区別することなしに実行できるようにし
たことを特徴とする初期プログラム・ローディング制御
方式。
[Claims] When executing an input/output command or an input/output interrupt, the channel device stores the channel status word and other interrupt information directly in the main memory, and the central processing unit or channel control unit stores the channel state word and other interrupt information directly in the main memory. In a data processing system whose structure does not allow direct reading of the contents of channel memory, the central processing unit or channel control unit issues an I/O start command to the channel device for initial program loading, and then - By issuing a test command to identify the state of the subchannel and controlling the timing of changing the contents of the main storage area other than those related to data transfer of the channel based on the identified result, the channel device can update the initial program. An initial program loading control method characterized by being able to be executed without distinguishing between loading and other transfers.
JP56143415A 1981-09-11 1981-09-11 Initial program loading control system Granted JPS5846420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56143415A JPS5846420A (en) 1981-09-11 1981-09-11 Initial program loading control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56143415A JPS5846420A (en) 1981-09-11 1981-09-11 Initial program loading control system

Publications (2)

Publication Number Publication Date
JPS5846420A true JPS5846420A (en) 1983-03-17
JPS6116103B2 JPS6116103B2 (en) 1986-04-28

Family

ID=15338229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56143415A Granted JPS5846420A (en) 1981-09-11 1981-09-11 Initial program loading control system

Country Status (1)

Country Link
JP (1) JPS5846420A (en)

Also Published As

Publication number Publication date
JPS6116103B2 (en) 1986-04-28

Similar Documents

Publication Publication Date Title
US5003468A (en) Guest machine execution control system for virutal machine system
JPS5846420A (en) Initial program loading control system
JPS63305445A (en) Data writing system at power break
JPH06222916A (en) On-line real-time processor
JPS61260338A (en) Memory dumping system
JPH03144705A (en) Operation state monitor for programmable controller
JPS5835648A (en) Program execution controlling system
JPH06103110A (en) Breakpoint setting system
JP3075359B2 (en) Program debugging start processing method
JPS6238746B2 (en)
JPS61267137A (en) System for controlling interrupting action
JPS63104148A (en) Developing device for microcomputer device
JPH06175879A (en) Dummy fault setting system
JPS6214240A (en) Program inspecting system
JPS6279536A (en) Test conducting system for information processor
JPS62235645A (en) Operation of multiprocess computer and multiprocess computer
JPS59106060A (en) Data logging system
JPS61194531A (en) Instruction execution controller
Neumann Disk-based program swapping in 8080-based microcomputers
JPS60256858A (en) Program loading system
JPH05225112A (en) Information processor
JPH0417530B2 (en)
JPS61240333A (en) Input and output interruption processing system
JPS6148044A (en) Diagnosis system of processor
JPS61103249A (en) Operating system for test monitor program