JPS6375869A - Initialization system for processor - Google Patents

Initialization system for processor

Info

Publication number
JPS6375869A
JPS6375869A JP61220406A JP22040686A JPS6375869A JP S6375869 A JPS6375869 A JP S6375869A JP 61220406 A JP61220406 A JP 61220406A JP 22040686 A JP22040686 A JP 22040686A JP S6375869 A JPS6375869 A JP S6375869A
Authority
JP
Japan
Prior art keywords
cpu
initial startup
slave
address
startup 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.)
Pending
Application number
JP61220406A
Other languages
Japanese (ja)
Inventor
Yasushi Tanzawa
丹澤 靖
Shigeru Hashimoto
繁 橋本
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 JP61220406A priority Critical patent/JPS6375869A/en
Publication of JPS6375869A publication Critical patent/JPS6375869A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/177Initialisation or configuration control

Abstract

PURPOSE:To reduce cost and deal with the modification of system flexible by reducing firmware for initialization, and starting an initialization program on a common memory. CONSTITUTION:A master CPU 0 loads the initialization program 60 for a slave CPU 1 on the common memory 5 from a file 6, and informs the slave CPU 1 of it. The slave CPU 1, in accordance with this information, read a head address from an address specifying part 11, and executes the initialization program. In case, for instance, a processor provided with a vector for reset- processing is employed as the slave CPU 1, by releasing the resetting of it by means of the information from the master CPU 0, the content of the vector allocated to the reset-processing is set in the program counter of the slave CPU 1, and the slave CPU 1 runs from this address.

Description

【発明の詳細な説明】 〔概要〕 マスタプロセッサ(以下マスタCPU)よりスレーブC
PUを初期起動する方式で、 スレーブCPUの初期起動プログラムをマスクCPUが
外部ファイルより共有メモリにロードしてスレーブCP
Uに通知し、スレーブCPUでは初期起動プログラムの
先頭アドレスをアドレス指定部より読み込んで実行する
方式で、共有メモリ上で初期起動プログラムを実行する
ため、初期起動のためのファームウェアを削減すること
ができる。
[Detailed Description of the Invention] [Summary] The master processor (hereinafter referred to as master CPU)
In this method, the initial startup program of the slave CPU is loaded into the shared memory from an external file by the mask CPU, and then the initial startup program of the slave CPU is loaded into the shared memory.
The slave CPU reads the start address of the initial startup program from the address specification section and executes it.Since the initial startup program is executed on the shared memory, the amount of firmware required for initial startup can be reduced. .

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

本発明はマルチプロセッサシステムにおけるスレープC
PUの初期起動方式の改良に関する。
The present invention provides a slave C system in a multiprocessor system.
This article relates to improving the initial startup method of PU.

それぞれのCPUが専用にアクセスする固有メモリと、
各CPUが共通にアクセスする共有メモリとを備えた疎
結合マルチプロセッサシステムでは、システムの立ち上
げは、まずマスクCPUを立ち上げ、続いてマスタCP
UによってスレーブCPUを立ち上げる。
A unique memory accessed exclusively by each CPU;
In a loosely coupled multiprocessor system equipped with a shared memory that is commonly accessed by each CPU, the system starts up by first starting up the mask CPU, then starting up the master CPU.
Start up the slave CPU with U.

このため、マスタCPUは外部ファイル等よりスレーブ
CPUの初期起動プログラムを共有メモリにロードし、
スレーブCPUは自己の固有メモリに格納してその初期
起動プログラムを実行している。
For this reason, the master CPU loads the slave CPU's initial startup program from an external file etc. into the shared memory,
The slave CPU stores the program in its own unique memory and executes its initial startup program.

スレーブCPUを初期設定するとか上記初期起動プログ
ラムをロードするためには、ROMに格納したファーム
ウェアが必要であり、プロセッサ間通信を行うハードウ
ェアとともにシステムが高価になるという問題点があっ
た。
In order to initialize the slave CPU or load the initial startup program, firmware stored in the ROM is required, which poses a problem in that the system becomes expensive along with hardware for inter-processor communication.

このため、スレーブCPUの初期起動を筒易化し、上記
ハードウェアを削減する初期起動方式が求められている
Therefore, there is a need for an initial startup method that facilitates the initial startup of the slave CPU and reduces the amount of hardware described above.

〔従来の技術〕[Conventional technology]

第3 図(a)はマルチプロセッサシステム構成図、第
3図(b)は従来の初期起動方式説明図である。
FIG. 3(a) is a multiprocessor system configuration diagram, and FIG. 3(b) is an explanatory diagram of a conventional initial startup method.

第3図(alにおいて、CPU0はマスタCPU、CP
TJI、CPIJnはスレーブCPUであって、それぞ
れ固有メモリ2.3.4を備えるとともに、共有メモリ
5を共通にアクセスする。
Figure 3 (in al, CPU0 is the master CPU, CPU
TJI and CPIJn are slave CPUs, each having its own memory 2.3.4 and accessing the shared memory 5 in common.

このため、各CPUは、第3図(blに示すように、個
別領域20と共通領域21とが割付けられている。
For this reason, each CPU is allocated with an individual area 20 and a common area 21, as shown in FIG. 3 (bl).

上記システムでスレーブCPUIを立ち上げる場合、初
期起動プログラムをファイル6より読み込み実行して立
ち上ったマスタcpuoは、■スレーブCPUIの初期
起動プログラム50をファイル6より読み込み、自己の
固有メモリ2に格納するとともに、■共有メモリ5に転
送し、CPU間通信によりスレーブCPUIに、その先
頭アドレスを通知する。
When starting up the slave CPUI in the above system, the master cpuo that starts up by reading and executing the initial startup program from file 6 reads the initial startup program 50 of the slave CPUI from file 6, stores it in its own specific memory 2, and , (2) Transfer to the shared memory 5, and notify the slave CPU of the start address through inter-CPU communication.

スレーブCPUIは初期設定および初期起動プログラム
50を固有メモリ3にロードするためのファームウェア
51を図示省略したROMに備え、■各部を初期設定し
た後前記CPU間通信により固有メモリ3に初期起動プ
ログラム50をロードしこれを実行して立ち上がる。
The slave CPU is equipped with firmware 51 in a ROM (not shown) for initial settings and loading the initial startup program 50 into the specific memory 3, and after initializing each part, the initial startup program 50 is loaded into the specific memory 3 through the inter-CPU communication. Load it and run it to start up.

なお、CPU間通信としては、例えばそれぞれのCPU
にレジスタを設け、他のCPUにより書込みされると割
込みがあがる方法等がある。
Note that for inter-CPU communication, for example, each CPU
There is a method in which a register is provided in the CPU and an interrupt is raised when it is written by another CPU.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の方法は、スレーブCPUIに初期設定。 The conventional method is to initialize the slave CPUI.

初期起動プログラムをロードするためのファームウェア
(ROM)51とともに、CPU間通信を行うハードウ
ェアが必要であった。
In addition to firmware (ROM) 51 for loading the initial startup program, hardware for communicating between CPUs was required.

本発明は、上記問題点に鑑み、初期起動のための上記ハ
ードウェアを削減した簡易な初期起動方式を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide a simple initial startup method that reduces the above-mentioned hardware for initial startup.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的のため、本発明のプロセッサの初期起動方式は
、第1図本発明の原理説明図に示すようにスレーブプロ
セッサ(CPU1)を初期起動する初期起動プログラム
(60)を該共通メモリ (5)にロードし、該初期起
動プログラム(60)の実行を該スレーブプロセッサ(
CPU1)に指示する初期起動制御部(13)を該マス
タプロセッサ(CPU0)に設け、 ロードされた該初期起動プログラム(60)の先頭アド
レスを指定するアドレス指定部(11)と、前記通知に
基づき該アドレス指定部(11)より該先頭アドレスを
読み込み、該初期起動プログラム(60)を実行する実
行手段(工4)とを該スレーブプロセッサ(CPLIL
)に設けたものである。
For the above purpose, the initial startup method of the processor of the present invention, as shown in FIG. and executes the initial startup program (60) on the slave processor (
An initial startup control section (13) for instructing the CPU 1) is provided in the master processor (CPU0), an address specifying section (11) for specifying the start address of the loaded initial startup program (60), and an address specifying section (11) for specifying the start address of the loaded initial startup program (60); An execution means (step 4) for reading the start address from the address specifying section (11) and executing the initial startup program (60) is connected to the slave processor (CPLIL).
).

〔作用〕[Effect]

マスタCPU0がスレーブCPUIの初期起動プログラ
ム60をファイル6より共有メモリ5にロードし、スレ
ーブCPUIに通知する。
The master CPU0 loads the initial startup program 60 of the slave CPUI from the file 6 into the shared memory 5, and notifies the slave CPUI of the initial startup program 60.

スレーブCPUIはこの通知により、アドレス指定部1
1よりその先頭アドレスを読み込み実行する。
With this notification, the slave CPUI
The first address is read from 1 and executed.

スレーブCPUIとして、例えばリセット処理のための
ベクタを備えるプロセッサを使用すると、マスタCPU
0の通知によりリセットを解除することにより、リセッ
ト処理に割り当てられたベクタ(アドレス指定部11)
の内容がスレーブCPU1のプログラムカウンタPCに
セットされ、スレーブCPUIはそのアドレス(初期起
動プログラム60の先頭アドレス)より走行する。
For example, if a processor equipped with a vector for reset processing is used as the slave CPUI, the master CPU
By canceling the reset with the notification of 0, the vector (address specification section 11) assigned to the reset process
The contents of is set in the program counter PC of the slave CPU 1, and the slave CPU runs from that address (the start address of the initial startup program 60).

以上により、初期起動プログラム60をスレーブCPU
Iの固有メモリ3に転送することなく共有メモリ5上で
初期起動処理を行うことができ、ファームウェアを削減
することができる。
With the above, the initial startup program 60 is transferred to the slave CPU.
Initial startup processing can be performed on the shared memory 5 without being transferred to the specific memory 3 of I, and the amount of firmware can be reduced.

なお、本方式の初期起動プログラム60は、従来ファー
ムウェアが行っていた初期設定を含むものである。
Note that the initial startup program 60 of this method includes initial settings that were conventionally performed by firmware.

〔実施例〕〔Example〕

本発明の実施例を第2図を参照しつつ説明する。 An embodiment of the present invention will be described with reference to FIG.

本実施例は、スレーブCPUIとして、リセット処理の
ためのベクタを備えるプロセッサを用いた例を示す。
This embodiment shows an example in which a processor equipped with a vector for reset processing is used as the slave CPUI.

第2図(a)は実施例のマルチプロセッサシステムブロ
ック図、第2図fb)は動作説明図、第2図fc)は動
作フローチャート図である。
FIG. 2(a) is a block diagram of the multiprocessor system of the embodiment, FIG. 2(fb) is an operation explanatory diagram, and FIG. 2(fc) is an operational flowchart.

なお、本実施例においてもマスタCPUをCPU0.ス
レーブCPUをCPUI〜nとし、スL’−ブCPUI
の初期起動を説明する。
In this embodiment as well, the master CPU is CPU0. Let slave CPU be CPUI~n, slave L'-sub CPUI
Explain the initial startup of.

第2図(a)において、 10はリセット部であり、電源投入またはリセットキー
押下によりリセット信号53を送出してスレーブCPU
Iの各部をリセットするとともに、通知信号52により
リセット信号53の送出を停止するもの、 11はアドレス指定部であり、スレーブCPU1の有す
るリセット処理用のベクタ23のアドレスが割り付けら
れたもので、共有メモリ5に格納される初期起動プログ
ラム60の先頭アドレス54がセットされたもの、 通知信号52はマスクCPU0が共有メモリ5に初期起
動プログラム60を転送した後、スレーブCPUIに出
力するもの、 であり、その他企図を通じて同一符号は同一対象物を表
す。
In FIG. 2(a), 10 is a reset unit, which sends out a reset signal 53 when the power is turned on or when the reset key is pressed to reset the slave CPU.
11 is an address designation part to which the address of the vector 23 for reset processing of the slave CPU 1 is assigned, and is shared. The start address 54 of the initial startup program 60 stored in the memory 5 is set. The notification signal 52 is output to the slave CPUI after the mask CPU 0 transfers the initial startup program 60 to the shared memory 5. The same reference numerals represent the same objects throughout the design.

なお、実行手段14は、リセット部10およびCPUI
のプロセッサに対応する。
Note that the execution means 14 includes the reset unit 10 and the CPU
Compatible with processors.

以下動作を説明する。The operation will be explained below.

(1)マスタCPU0はファイル6より初期起動プログ
ラム60を固有メモリ2に格納し、共有メモI75の指
定領域に転送し、スレーブCPUIに通知信号52を出
力する。
(1) The master CPU 0 stores the initial startup program 60 from the file 6 in the private memory 2, transfers it to the specified area of the shared memory I 75, and outputs the notification signal 52 to the slave CPU I.

(2)  リセット部10は、第2図(b)に示すよう
に、電源投入またはリセットキー押下によりリセット信
号53を保持(“L”レベル)しているが、通知信号5
2により解除する(H”レベル)。
(2) As shown in FIG. 2(b), the reset unit 10 holds the reset signal 53 (“L” level) when the power is turned on or the reset key is pressed, but the notification signal 5
2 to cancel (H” level).

これによりスレーブCPUIは、リセット処理に割り当
てられたベクタ23をフェッチし、図示省略したプログ
ラムカウンタPCにセットする。
As a result, the slave CPUI fetches the vector 23 assigned to the reset process and sets it in the program counter PC (not shown).

アドレス指定部11は、そのベクタアドレスが割り付け
られ且つ初期起動プログラム60の共有メモリ5上の先
頭アドレス54がセントされているものであるから、こ
の先頭アドレス54がスレーブcputのプログラムカ
ウンタPCにセントされ、初期起動プログラム60が実
行される。
Since the address specifying unit 11 is assigned the vector address and the starting address 54 on the shared memory 5 of the initial startup program 60 is sent, this starting address 54 is sent to the program counter PC of the slave cput. , the initial startup program 60 is executed.

なお、初期起動プログラム60は、従来ファームウェア
51に格納されていた初期設定のためのプログラムの他
9診断プログラム、O8等より構成されるものである。
The initial startup program 60 is composed of a program for initial settings conventionally stored in the firmware 51, nine diagnostic programs, O8, and the like.

上記実施例ではアドレス設定部11は固定、即ち初期起
動プログラム60の先頭アドレス54を固定としたが、
これをレジスタ等で構成してマスクCPU0より先頭ア
ドレス54をセットするように構成してもよい。
In the above embodiment, the address setting unit 11 is fixed, that is, the start address 54 of the initial startup program 60 is fixed.
This may be configured with a register or the like so that the start address 54 is set by the mask CPU0.

以上のごとく、ファームウェアを個別に持つことなく共
有メモリ上で初期起動プログラムを実行させることがで
き、ファームウェアを削減するとともに、システム構成
上柔軟に対応することができる。
As described above, the initial startup program can be executed on the shared memory without having separate firmware, which reduces the amount of firmware and allows for flexible system configuration.

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

本発明は、初期起動のためのファームウェアを削減し、
共有メモリ」二で初期起動プログラムを起動するように
構成したものであるから、コストの低減とどもにシステ
ムの変更に柔軟に対応できる効果は極めて多大である。
The present invention reduces firmware for initial startup,
Since the system is configured so that the initial startup program is started using the "shared memory", the effects of reducing costs and being able to flexibly respond to changes in the system are extremely large.

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

第1図は本発明の原理説明図、 第2図(a)は実施例のマルチプロセラサシステJ・ブ
ロック図−9 第2図(b)は動作説明図、 図・ 第3図(blは従来の初期起動方式説明図、である。図
中、 2〜4は固有メモリ、  5は共存メモリ、6はファイ
ル、     10はリセット部、11はアドレス指定
部、13は初期起動制御部、14は実行手段、    
20は個別領域、21は共通領域、 23はリセット処理用のベクタ、 50.60は初期起動プログラム、 51はファームウェア、52は通知信号、53はリセッ
ト信号、  54は先頭アドレス、100はバス線、 CPU01.’!、マスタプロセッサ(マスクCP U
)、CPUI、CPUnはスレーブプロセッサ(スl/
−ブCPU)、 である。 第1図 動作フローチャー1・図 第2図(C1 第2図+al 第2図IQ)1
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 (a) is a block diagram of the multi-processor system system J of the embodiment - 9 Fig. 2 (b) is an explanatory diagram of the operation, Fig. This is an explanatory diagram of a conventional initial startup method. In the diagram, 2 to 4 are specific memories, 5 is a coexisting memory, 6 is a file, 10 is a reset section, 11 is an address specification section, 13 is an initial startup control section, and 14 is a execution means,
20 is an individual area, 21 is a common area, 23 is a vector for reset processing, 50, 60 is an initial startup program, 51 is firmware, 52 is a notification signal, 53 is a reset signal, 54 is a start address, 100 is a bus line, CPU01. '! , master processor (mask CPU
), CPUI, and CPUn are slave processors (slave processors/
- CPU), is. Figure 1 Operation flowchart 1/Figure 2 (C1 Figure 2 + al Figure 2 IQ) 1

Claims (1)

【特許請求の範囲】 マスタプロセッサ(CPU0)とスレーブプロセッサ(
CPU1)とが共有メモリ(5)を共通にアクセスする
マルチプロセッサシステムにおいて、該スレーブプロセ
ッサ(CPU1)を初期起動する初期起動プログラム(
60)を該共通メモリ(5)にロードし、該初期起動プ
ログラム(60)の実行を該スレーブプロセッサ(CP
U1)に指示する初期起動制御部(13)を該マスタプ
ロセッサ(CPU0)に設け、 ロードされた該初期起動プログラム(60)の先頭アド
レスを指定するアドレス指定部(11)と、前記通知に
基づき該アドレス指定部(11)より該先頭アドレスを
読み込み、該初期起動プログラム(60)を実行する実
行手段(14)とを該スレーブプロセッサ(CPU1)
に設け、 マスタプロセッサ(CPU0)が共有メモリ(5)に初
期起動プログラム(60)をロードして該スレーブプロ
セッサ(CPU1)の初期起動を行うことを特徴とする
プロセッサの初期起動方式。
[Claims] Master processor (CPU0) and slave processor (
In a multiprocessor system in which a slave processor (CPU 1) and a CPU 1 commonly access a shared memory (5), an initial startup program (
60) into the common memory (5), and executes the initial startup program (60) on the slave processor (CP).
The master processor (CPU0) is provided with an initial startup control section (13) for instructing U1), an address specifying section (11) for specifying the start address of the loaded initial startup program (60), and The slave processor (CPU 1) includes an execution means (14) that reads the start address from the address designation section (11) and executes the initial startup program (60).
An initial startup method for a processor, characterized in that a master processor (CPU0) loads an initial startup program (60) into a shared memory (5) and performs initial startup of the slave processor (CPU1).
JP61220406A 1986-09-18 1986-09-18 Initialization system for processor Pending JPS6375869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61220406A JPS6375869A (en) 1986-09-18 1986-09-18 Initialization system for processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61220406A JPS6375869A (en) 1986-09-18 1986-09-18 Initialization system for processor

Publications (1)

Publication Number Publication Date
JPS6375869A true JPS6375869A (en) 1988-04-06

Family

ID=16750617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61220406A Pending JPS6375869A (en) 1986-09-18 1986-09-18 Initialization system for processor

Country Status (1)

Country Link
JP (1) JPS6375869A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6401197B1 (en) 1996-10-31 2002-06-04 Mitsubishi Denki Kabushiki Kaisha Microprocessor and multiprocessor system
JP2012137946A (en) * 2010-12-27 2012-07-19 Renesas Electronics Corp Semiconductor device
JP2014063510A (en) * 2013-11-19 2014-04-10 Renesas Electronics Corp Data processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6401197B1 (en) 1996-10-31 2002-06-04 Mitsubishi Denki Kabushiki Kaisha Microprocessor and multiprocessor system
JP2012137946A (en) * 2010-12-27 2012-07-19 Renesas Electronics Corp Semiconductor device
JP2014063510A (en) * 2013-11-19 2014-04-10 Renesas Electronics Corp Data processing apparatus

Similar Documents

Publication Publication Date Title
US7275028B2 (en) System and method for the logical substitution of processor control in an emulated computing environment
US8533735B2 (en) System for execution context isolation in response to invoking a BIOS kernel function during a driver execution environment (DXE) phase of boot-up of a computer
WO2020177577A1 (en) Method and apparatus for controller to load multi-core firmware, and computer device
JP2539352B2 (en) Hierarchical multi-computer system
JPH0544054B2 (en)
US20030204710A1 (en) System and method for executing a fast reset of a computer system
KR960002042A (en) Interprocess communication method and system, interprocess communication subsystem
JP5131269B2 (en) Multi-processing system
JPS6375869A (en) Initialization system for processor
WO2022022185A1 (en) Kernel restarting method
JP2010003151A (en) Data processing apparatus
JPS63310060A (en) Multiprocessor system
JPH0552535B2 (en)
US20230161600A1 (en) Kernel reboot method
JPS6041779B2 (en) I/O program controller
JPS6011935A (en) Display device for action mode
JPH04104358A (en) Micro computer device
JPH0887481A (en) Starting-up method for multiprocessor board
JP2906958B2 (en) User program loading method
JPS58176761A (en) Starting circuit of multi-processor system
JP2003196251A (en) Multi-cpu system
JPS60160443A (en) Data processor
JPS63101949A (en) Program loading system
JPH0133865B2 (en)
JPS63155254A (en) Information processor