Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4525188B2 - Multiprocessor system - Google Patents
[go: Go Back, main page]

JP4525188B2 - Multiprocessor system - Google Patents

Multiprocessor system Download PDF

Info

Publication number
JP4525188B2
JP4525188B2 JP2004171623A JP2004171623A JP4525188B2 JP 4525188 B2 JP4525188 B2 JP 4525188B2 JP 2004171623 A JP2004171623 A JP 2004171623A JP 2004171623 A JP2004171623 A JP 2004171623A JP 4525188 B2 JP4525188 B2 JP 4525188B2
Authority
JP
Japan
Prior art keywords
processor
boot
multiprocessor system
information
processors
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 - Fee Related
Application number
JP2004171623A
Other languages
Japanese (ja)
Other versions
JP2005352677A (en
Inventor
ファジャル エコー
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004171623A priority Critical patent/JP4525188B2/en
Publication of JP2005352677A publication Critical patent/JP2005352677A/en
Application granted granted Critical
Publication of JP4525188B2 publication Critical patent/JP4525188B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Description

本発明は、複数のプロセッサで構成したマルチプロセッサシステムに関するものである。   The present invention relates to a multiprocessor system composed of a plurality of processors.

近年の電子機器の小型・高速・高性能化の要求に伴って、複数のプロセッサを同時に駆動することによって大量のデータを短時間で処理できるようしたマルチプロセッサシステムが開発されている。   With the recent demand for smaller, faster, and higher performance electronic devices, multiprocessor systems have been developed that can process a large amount of data in a short time by simultaneously driving a plurality of processors.

このマルチプロセッサシステムは、共有するバスに複数のプロセッサを接続するとともに、各プロセッサにI/Oやメモリやセンサーなどの各種周辺機器を直接的に或いはバスを介して間接的に接続している。   In this multiprocessor system, a plurality of processors are connected to a shared bus, and various peripheral devices such as an I / O, a memory, and a sensor are directly or indirectly connected to each processor via a bus.

そして、マルチプロセッサシステムでは、各プロセッサに固有のプロセッサID(プロセッサ識別因子)を割り当て、このプロセッサIDに基づく優先順位で各プロセッサを作動させて各種の制御を行うようにしている。   In the multiprocessor system, a unique processor ID (processor identification factor) is assigned to each processor, and various controls are performed by operating each processor in the priority order based on the processor ID.

このように各プロセッサに固有のプロセッサIDを割り当てるには、各プロセッサが実行するブートプログラム中に予め特定のプロセッサIDを設定しておくことによって各プロセッサのプロセッサIDを固定してしまう場合と、ブートする毎に各プロセッサに対してプロセッサIDを設定することによってプロセッサIDをブート時ごとに可変できるようにする場合とがある。   Thus, in order to assign a unique processor ID to each processor, a specific processor ID is set in advance in a boot program executed by each processor, and the processor ID of each processor is fixed. In some cases, a processor ID is set for each processor so that the processor ID can be varied at each boot time.

これらのうち、プロセッサIDをブート時ごとに可変できるようにした場合には、複数のプロセッサの組合せが自由になり、また、マルチプロセッサシステムで実行する制御に応じて最適なプロセッサIDを割り当てることができるなど汎用性が増大する。
そのため、近年のマルチプロセッサシステムでは、プロセッサIDをブート時ごとに可変できるようにしており、具体的には、複数のプロセッサにブートコントローラを接続して、このブートコントローラからブート時に各プロセッサに対して個々のプロセッサIDを送信することによって、各プロセッサが自己のプロセッサIDを認識できるようにしている。
特開平9−269896号公報
Among these, when the processor ID can be changed at every boot time, a combination of a plurality of processors becomes free, and an optimum processor ID can be assigned according to the control executed in the multiprocessor system. The versatility increases.
Therefore, in recent multiprocessor systems, the processor ID can be changed at each boot time. Specifically, a boot controller is connected to a plurality of processors, and each processor is booted from the boot controller to each processor. By transmitting individual processor IDs, each processor can recognize its own processor ID.
JP-A-9-269896

このように、上記従来のマルチプロセッサシステムでは、各プロセッサに自己のプロセッサIDを認識させるために、プロセッサにプロセッサコントローラを接続しておかなければならなかった。   Thus, in the conventional multiprocessor system, a processor controller must be connected to each processor in order to make each processor recognize its own processor ID.

そのため、従来のマルチプロセッサシステムでは、プロセッサコントローラの分だけ構成部品点数が増大して、マルチプロセッサシステムが大型化してしまうとともに、製造コストが増大してしまうおそれがあった。   For this reason, in the conventional multiprocessor system, the number of components increases by the amount of the processor controller, which increases the size of the multiprocessor system and increases the manufacturing cost.

そこで、請求項1に係る本発明では、周辺機器の接続状況が異なる複数のプロセッサで構成したマルチプロセッサシステムにおいて、各プロセッサは、ブート時に各プロセッサに専用バスを介して直接接続されている周辺機器を判別し、前記周辺機器の接続状況とプロセッサIDとを対応させた対応表に基づいて、自己のプロセッサIDがマスターであるかスレーブであるかを認識するようにした。 Therefore, in the present invention according to claim 1, in a multiprocessor system composed of a plurality of processors having different connection statuses of peripheral devices, each processor is directly connected to each processor through a dedicated bus at the time of booting. Based on the correspondence table in which the connection status of the peripheral device and the processor ID are associated with each other, it is recognized whether the processor ID of the device is a master or a slave .

また、請求項2に係る本発明では、前記請求項1に係る本発明において、前記各プロセッサは、ブート時に夫々独自のブートプログラムを実行し、前記周辺機器の初期化を行い、その後前記専用バスを介して直接接続される周辺機器の接続状況を判別するようにした。 Also, in the present invention according to claim 2, in the present invention according to claim 1, each of the processors executes a unique boot program at the time of booting, initializes the peripheral device, and then performs the dedicated bus. The connection status of peripheral devices that are directly connected via the network is determined .

また、請求項3に係る本発明では、共有メモリを接続した複数のプロセッサで構成したマルチプロセッサシステムにおいて、各プロセッサは、予め設定された順番でブートされ、ブート時に前記共有メモリのブート情報領域のうち自己のプロセッサのブート情報を書き込む領域にブート情報を書き込むとともに、前記ブート情報領域のうち他のプロセッサのブート情報を書き込む領域から情報を読み出し、当該読み出した情報が前記他のプロセッサから書き込まれたブート情報でない場合、自己のプロセッサIDをマスターであると認識し、前記読出した情報が前記他のプロセッサから書き込まれたブート情報である場合は、自己のプロセッサIDをスレーブであると認識するようにした。 According to the third aspect of the present invention, in a multiprocessor system including a plurality of processors connected to a shared memory, the processors are booted in a preset order, and the boot information area of the shared memory is booted at the time of booting . of the area for writing the boot information of its own processor writes the boot information, before reading out the information from the area for writing the boot information of the other processors among Kivu over preparative information area, the read information from the other processor If written not boot information, recognizes the processor ID of the self as a master, if the read out information is boot information written from the other processor, slave self processor ID It was made to recognize that.

そして、本発明では、以下に記載する効果を奏する。   And in this invention, there exists an effect described below.

そこで、請求項1に係る本発明では、周辺機器の接続状況が異なる複数のプロセッサで構成したマルチプロセッサシステムにおいて、各プロセッサは、ブート時に各プロセッサに専用バスを介して直接接続されている周辺機器を判別し、前記周辺機器の接続状況とプロセッサIDとを対応させた対応表に基づいて、自己のプロセッサIDがマスターであるかスレーブであるかを認識するようにしているため、ブートコントローラを別途用意する必要がなくなり、マルチプロセッサシステムを構成する部品点数を削減することができ、マルチプロセッサシステムの小型化を図ることができるとともに、マルチプロセッサシステムの低廉化を図ることができる。 Therefore, in the present invention according to claim 1, in a multiprocessor system composed of a plurality of processors having different connection statuses of peripheral devices, each processor is directly connected to each processor through a dedicated bus at the time of booting. And determining whether the processor ID of the peripheral device is a master or a slave based on the correspondence table in which the connection status of the peripheral device and the processor ID are associated with each other. This eliminates the need for preparation, reduces the number of parts constituting the multiprocessor system, reduces the size of the multiprocessor system, and reduces the cost of the multiprocessor system.

しかも、プロセッサと周辺機器との接続状況に応じて最適なプロセッサIDを各プロセッサに割り当てることができ、マルチプロセッサシステムの最適化を容易に図ることができる。   In addition, an optimal processor ID can be assigned to each processor according to the connection status between the processor and peripheral devices, and the multiprocessor system can be easily optimized.

また前記各プロセッサが、直接接続されている周辺機器を判別し、前記周辺機器の接続状況とプロセッサIDとを対応させた対応表に基づいて自己のプロセッサIDを認識するようにしているため、この対応表を適宜変更するだけで、各プロセッサに割り当てるプロセッサIDを容易に変更することができる。 In addition , each processor determines the peripheral device directly connected, and recognizes its own processor ID based on a correspondence table in which the connection status of the peripheral device is associated with the processor ID. The processor ID assigned to each processor can be easily changed by simply changing the correspondence table.

また、請求項3に係る本発明では、共有メモリを接続した複数のプロセッサで構成したマルチプロセッサシステムにおいて、各プロセッサは、予め設定された順番でブートされ、ブート時に前記共有メモリのブート情報領域のうち自己のプロセッサのブート情報を書き込む領域にブート情報を書き込むとともに、前記ブート情報領域のうち他のプロセッサのブート情報を書き込む領域から情報を読み出し、当該読み出した情報が前記他のプロセッサから書き込まれたブート情報でない場合、自己のプロセッサIDをマスターであると認識し、前記読出した情報が前記他のプロセッサから書き込まれたブート情報である場合は、自己のプロセッサIDをスレーブであると認識するようにしているため、ブートコントローラを別途用意する必要がなくなり、マルチプロセッサシステムを構成する部品点数を削減することができ、マルチプロセッサシステムの小型化を図ることができるとともに、マルチプロセッサシステムの低廉化を図ることができる。しかも、ブートの順番を適宜変更するだけで、各プロセッサに割り当てるプロセッサIDを容易に変更することができる。 According to the third aspect of the present invention, in a multiprocessor system including a plurality of processors connected to a shared memory, the processors are booted in a preset order, and the boot information area of the shared memory is set at the time of booting . of the area for writing the boot information of its own processor writes the boot information, before reading out the information from the area for writing the boot information of the other processors among Kivu over preparative information area, the read information from the other processor If written not boot information, recognizes the processor ID of the self as a master, if the read out information is boot information written from the other processor, slave self processor ID Therefore, it is necessary to prepare a boot controller separately. No longer, it is possible to reduce the number of parts constituting a multiprocessor system, it is possible to reduce the size of the multi-processor system, thereby reducing the size of the structure of a multiprocessor system. In addition, the processor ID assigned to each processor can be easily changed by simply changing the boot order.

しかも、全てのプロセッサと周辺機器との接続状況が同一の構造となっているマルチプロセッサシステムであっても、各プロセッサが自己のプロセッサIDを確実に認識することができる。   Moreover, even in a multiprocessor system in which all processors and peripheral devices have the same connection status, each processor can surely recognize its own processor ID.

本発明に係るマルチプロセッサシステムは、共有するバスに複数のプロセッサを接続するとともに、各プロセッサにI/Oやメモリやセンサーなどの各種周辺機器を直接的に或いはバスを介して間接的に接続したものである。なお、本発明に係るマルチプロセッサシステムは、同一基板上に複数のプロセッサを実装したマルチプロセッサモジュールであってもよく、また、複数の基板上に各プロセッサを実装するとともに複数のプロセッサを相互に接続したものであってもよい。   In the multiprocessor system according to the present invention, a plurality of processors are connected to a shared bus, and various peripheral devices such as I / O, memory, and sensors are directly or indirectly connected to each processor via the bus. Is. The multiprocessor system according to the present invention may be a multiprocessor module in which a plurality of processors are mounted on the same board, and each processor is mounted on a plurality of boards and the plurality of processors are connected to each other. It may be what you did.

そして、本発明に係るマルチプロセッサシステムは、従来のようにブートコントローラによって各プロセッサにプロセッサIDを割り当てるのではなく、各プロセッサが自ら自己のプロセッサIDを認識するようにしたものであり、これにより、ブートコントローラを別途用意する必要がなくなり、マルチプロセッサシステムを構成する部品点数を削減することができ、マルチプロセッサシステムの小型化を図ることができるとともに、マルチプロセッサシステムの低廉化を図ることができるものである。   In the multiprocessor system according to the present invention, instead of assigning a processor ID to each processor by a boot controller as in the prior art, each processor recognizes its own processor ID. There is no need to prepare a separate boot controller, the number of parts constituting the multiprocessor system can be reduced, the multiprocessor system can be reduced in size, and the multiprocessor system can be reduced in cost. It is.

そのための方法としては、マルチプロセッサシステムにおけるプロセッサと周辺機器との接続形態によって異なる。   The method for this differs depending on the connection form between the processor and the peripheral device in the multiprocessor system.

すなわち、周辺機器の接続状況が異なる複数のプロセッサで構成したマルチプロセッサシステムの場合には、各プロセッサがブート時に各プロセッサに直接接続されている周辺機器に基づいて自己のプロセッサIDを認識するようにしている。この場合には、プロセッサと周辺機器との接続状況に応じて最適なプロセッサIDを各プロセッサに割り当てることができ、マルチプロセッサシステムの最適化を容易に図ることができる。   That is, in the case of a multiprocessor system composed of a plurality of processors having different connection statuses of peripheral devices, each processor recognizes its own processor ID based on the peripheral device directly connected to each processor at the time of booting. ing. In this case, an optimal processor ID can be assigned to each processor in accordance with the connection status between the processor and peripheral devices, and the multiprocessor system can be easily optimized.

より具体的には、各プロセッサが直接接続されている周辺機器を判別し、周辺機器の接続状況とプロセッサIDとを対応させた対応表に基づいて自己のプロセッサIDを認識するようにしている。この場合には、対応表を適宜変更するだけで、各プロセッサに割り当てるプロセッサIDを容易に変更することができる。   More specifically, a peripheral device to which each processor is directly connected is determined, and its own processor ID is recognized based on a correspondence table in which the connection status of the peripheral device and the processor ID are associated with each other. In this case, the processor ID assigned to each processor can be easily changed by simply changing the correspondence table.

また、周辺機器の接続状況が同一である複数のプロセッサで構成したマルチプロセッサシステムであって、共有メモリを接続した複数のプロセッサで構成したマルチプロセッサシステムの場合には、各プロセッサがブート時に共有メモリに記憶されたデータに基づいて自己のプロセッサIDを認識するようにしている。この場合には、全てのプロセッサと周辺機器との接続状況が同一の構造となっているマルチプロセッサシステムであっても、各プロセッサが自己のプロセッサIDを確実に認識することができる。   In addition, in the case of a multiprocessor system composed of a plurality of processors having the same peripheral device connection status and composed of a plurality of processors connected to a shared memory, each processor is set to a shared memory at the time of booting. The processor ID is recognized based on the data stored in. In this case, each processor can surely recognize its own processor ID even in a multiprocessor system in which all processors and peripheral devices have the same connection status.

より具体的には、各プロセッサが予め設定された順番でブートされ、ブート時に共有メモリのブート情報領域に固有のブート情報を書込むとともに、共有メモリのブート情報領域から他のプロセッサによって書込まれるブート情報を読出し、この読出したブート情報に基づいて自己のプロセッサIDを認識するようにしている。この場合には、ブートの順番を適宜変更するだけで、各プロセッサに割り当てるプロセッサIDを容易に変更することができる。   More specifically, each processor is booted in a preset order, and boot information specific to the boot information area of the shared memory is written at the time of booting, and is written by another processor from the boot information area of the shared memory. The boot information is read, and its own processor ID is recognized based on the read boot information. In this case, the processor ID assigned to each processor can be easily changed simply by changing the boot order as appropriate.

なお、本発明におけるブートには、電源投入直後のブートに限られず、リセット信号によるリブートも含まれる。   Note that the boot in the present invention is not limited to booting immediately after power-on, and includes rebooting by a reset signal.

以下に、本発明に係るマルチプロセッサシステムの具体的な構成について図面を参照しながら説明する。なお、以下の説明中の周辺機器とは、I/Oやメモリやセンサーなどの各種周辺機器を指している。   A specific configuration of the multiprocessor system according to the present invention will be described below with reference to the drawings. In the following description, peripheral devices refer to various peripheral devices such as I / O, memory, and sensors.

まず、周辺機器の接続状況が異なる複数のプロセッサで構成したマルチプロセッサシステムの場合について説明する。   First, a case of a multiprocessor system constituted by a plurality of processors having different connection statuses of peripheral devices will be described.

マルチプロセッサシステム1は、図1に示すように、第1のプロセッサ2と第2のプロセッサ3を共有バス4を介して接続している。   As shown in FIG. 1, the multiprocessor system 1 connects a first processor 2 and a second processor 3 via a shared bus 4.

そして、第1のプロセッサ2には、第1の周辺機器5が専用バス6を介して接続されており、一方、第2のプロセッサ3には、第2の周辺機器7が専用バス8を介して接続されている。   A first peripheral device 5 is connected to the first processor 2 via a dedicated bus 6, while a second peripheral device 7 is connected to the second processor 3 via a dedicated bus 8. Connected.

また、マルチプロセッサシステム1は、第1及び第2のプロセッサ2,3に周辺機器9,10,11を共有バス4を介して接続している。   In the multiprocessor system 1, peripheral devices 9, 10, and 11 are connected to the first and second processors 2 and 3 via the shared bus 4.

このマルチプロセッサシステム1では、第1及び第2のプロセッサ2,3がそれぞれ独自のブートプログラムを同時に実行する。   In the multiprocessor system 1, the first and second processors 2 and 3 execute their own boot programs simultaneously.

そして、各プロセッサ2,3は、ブートプログラムの実行時に周辺機器5,7,9,10,11の初期化を行い、その後、各プロセッサ2,3に専用バス6,8を介して周辺機器5,7から得られた情報に基づいて各プロセッサ2,3に専用バス6,8を介して直接接続された周辺機器5,7の有無を判別する。   The processors 2 and 3 initialize the peripheral devices 5, 7, 9, 10, and 11 when the boot program is executed, and then the peripheral devices 5 are connected to the processors 2 and 3 via the dedicated buses 6 and 8, respectively. , 7 is used to determine whether or not there are peripheral devices 5, 7 directly connected to the processors 2, 3 via dedicated buses 6, 8.

その判別の結果、各プロセッサ2,3は、図2の周辺機器接続状況とプロセッサIDとの対応表に基づいて自己のプロセッサIDを認識する。   As a result of the determination, each processor 2, 3 recognizes its own processor ID based on the correspondence table between the peripheral device connection status and the processor ID in FIG.

たとえば、本実施例では、第1のプロセッサ2の場合には、周辺機器5が直接接続されていると判別されるとともに、周辺機器7が直接接続されていないと判別され、その場合には、図2の対応表に基づいて自己のプロセッサIDが「マスターA」であると認識し、一方、第2のプロセッサ3の場合には、周辺機器5が直接接続されていないと判別されるとともに、周辺機器7が直接接続されていると判別され、その場合には、図2の対応表に基づいて自己のプロセッサIDが「スレーブA」であると認識する。   For example, in the present embodiment, in the case of the first processor 2, it is determined that the peripheral device 5 is directly connected, and it is determined that the peripheral device 7 is not directly connected. Based on the correspondence table of FIG. 2, the processor ID is recognized as “master A”. On the other hand, in the case of the second processor 3, it is determined that the peripheral device 5 is not directly connected, It is determined that the peripheral device 7 is directly connected, and in this case, it is recognized that its own processor ID is “slave A” based on the correspondence table of FIG.

なお、周辺機器5が直接接続されていると判別されるとともに、周辺機器7も直接接続されていると判別された場合には、自己のプロセッサIDが「マスターB」であると認識し、また、周辺機器5が直接接続されていないと判別されるとともに、周辺機器7も直接接続されていないと判別された場合には、自己のプロセッサIDが「スレーブB」であると認識する。   If it is determined that the peripheral device 5 is directly connected and the peripheral device 7 is also directly connected, it recognizes that its own processor ID is “master B”, and If it is determined that the peripheral device 5 is not directly connected and the peripheral device 7 is also not directly connected, it recognizes that its own processor ID is “slave B”.

以上に説明したようにして、各プロセッサ2,3がブートコントローラを用いずに自己のプロセッサIDを自ら認識することができる。   As described above, the processors 2 and 3 can recognize their own processor IDs without using the boot controller.

次に、周辺機器の接続状況が同一である複数のプロセッサで構成したマルチプロセッサシステムであって、共有メモリを接続した複数のプロセッサで構成したマルチプロセッサシステムの場合について説明する。   Next, a description will be given of the case of a multiprocessor system configured by a plurality of processors having the same connection status of peripheral devices and configured by a plurality of processors connected to a shared memory.

マルチプロセッサシステム21は、図3に示すように、第1のプロセッサ22と第2のプロセッサ23を共有バス24を介して接続している。   As shown in FIG. 3, the multiprocessor system 21 connects a first processor 22 and a second processor 23 via a shared bus 24.

そして、第1及び第2のプロセッサ22,23には、共有メモリ25が専用バス26,27を介してそれぞれ接続されている。   A shared memory 25 is connected to the first and second processors 22 and 23 via dedicated buses 26 and 27, respectively.

また、マルチプロセッサシステム21は、第1及び第2のプロセッサ22,23に周辺機器30,31,32を共有バス24を介して接続している。   In the multiprocessor system 21, peripheral devices 30, 31, and 32 are connected to the first and second processors 22 and 23 via a shared bus 24.

このマルチプロセッサシステム21は、第1のプロセッサ22を第1のブート信号28でブートする一方、第2のプロセッサ23を第2のブート信号29でブートするようにしており、この第1及び第2のブート信号28,29は、異なるタイミングで各プロセッサ22,23をブートするようにしている。   The multiprocessor system 21 boots the first processor 22 with the first boot signal 28, while booting the second processor 23 with the second boot signal 29. The boot signals 28 and 29 are used to boot the processors 22 and 23 at different timings.

そして、このマルチプロセッサシステム21では、第1及び第2のブート信号28,29に応じて第1及び第2のプロセッサ22,23が独自のブートプログラムをそれぞれ実行する。   In the multiprocessor system 21, the first and second processors 22 and 23 execute their own boot programs in response to the first and second boot signals 28 and 29, respectively.

各プロセッサ22,23は、図4に示すブートプログラムを実行し、まず、ブートプログラムの実行直後に周辺機器30,31,32の初期化を行う(ステップS1)。   The processors 22 and 23 execute the boot program shown in FIG. 4, and first, initialize the peripheral devices 30, 31, and 32 immediately after the boot program is executed (step S1).

次に、各プロセッサ22,23は、共有メモリ25のうちのブート情報領域の自己のブート情報を書込むアドレスに自己のブート情報を書込む(ステップS2)。   Next, each of the processors 22 and 23 writes its own boot information at an address in which its own boot information is written in the boot information area of the shared memory 25 (step S2).

次に、各プロセッサ22,23は、共有メモリ25のうちのブート情報領域の他のプロセッサ22,23のブート情報を書込むアドレスからブート情報を読出す(ステップS3)。   Next, each of the processors 22 and 23 reads the boot information from the address in which the boot information of the other processors 22 and 23 in the boot information area of the shared memory 25 is written (step S3).

そして、各プロセッサ22,23は、共有メモリ25のうちのブート情報領域の他のプロセッサ22,23のブート情報を書込むアドレスから読出したブート情報に基づいて自己のプロセッサIDを認識する(ステップS4)。   Then, each processor 22, 23 recognizes its own processor ID based on the boot information read from the address for writing the boot information of the other processors 22, 23 in the boot information area of the shared memory 25 (step S4). ).

具体的に説明すると、図5に示すように、第1のプロセッサ22を最初にブートし、次に第2のプロセッサ23をブートするようにし、まず、第1のプロセッサ22がブートプログラムに従ってブートを開始し、第1のプロセッサ22が周辺機器30,31,32の初期化を行った後に、共有メモリ25のうちのブート情報領域の第1のプロセッサ22のブート情報を書込むアドレス(#1)に第1のプロセッサ22のブート情報(「RDY」)を書込む。   More specifically, as shown in FIG. 5, the first processor 22 is booted first and then the second processor 23 is booted. First, the first processor 22 boots according to the boot program. After the first processor 22 initializes the peripheral devices 30, 31, and 32, the address (# 1) to which the boot information of the first processor 22 in the boot information area of the shared memory 25 is written The boot information (“RDY”) of the first processor 22 is written in

次に、第2のプロセッサ23がブートプログラムに従ってブートを開始する。   Next, the second processor 23 starts booting according to the boot program.

次に、第1のプロセッサ22は、共有メモリ25のうちのブート情報領域の第2のプロセッサ23のブート情報を書込むアドレス(#2)からブート情報(ここでは、初期値「INT」)を読出す。   Next, the first processor 22 receives the boot information (here, the initial value “INT”) from the address (# 2) where the boot information of the second processor 23 in the boot information area of the shared memory 25 is written. Read.

次に、第2のプロセッサ23が共有メモリ25のうちのブート情報領域の第2のプロセッサ23のブート情報を書込むアドレス(#2)に第2のプロセッサ23のブート情報(「RDY」)を書込む。   Next, the boot information (“RDY”) of the second processor 23 is stored in the address (# 2) where the second processor 23 writes the boot information of the second processor 23 in the boot information area of the shared memory 25. Write.

次に、第1のプロセッサ22が共有メモリ25のうちのブート情報領域の第2のプロセッサ23のブート情報を書込むアドレス(#2)から読出したブート情報(ここでは、初期値「INT」)に基づいて自己のプロセッサIDを認識する。ここでは、読出したブート情報が「INT」の場合には、プロセッサIDとして「マスター」を認識し、一方、読出したブート情報が「RDY」の場合には、プロセッサIDとして「スレーブ」を認識するようにしておき、これによって、第1のプロセッサ22は、読出したブート情報が「INT」であるためにプロセッサIDとして「マスター」を認識する。   Next, the boot information read from the address (# 2) where the first processor 22 writes the boot information of the second processor 23 in the boot information area of the shared memory 25 (here, the initial value “INT”) To recognize its own processor ID. Here, when the read boot information is “INT”, “master” is recognized as the processor ID, and when the read boot information is “RDY”, “slave” is recognized as the processor ID. As a result, the first processor 22 recognizes “master” as the processor ID because the boot information read is “INT”.

次に、第2のプロセッサ23は、共有メモリ25のうちのブート情報領域の第1のプロセッサ22のブート情報を書込むアドレス(#1)からブート情報(ここでは、初期値「RDY」)を読出す。   Next, the second processor 23 obtains boot information (here, the initial value “RDY”) from the address (# 1) to which the boot information of the first processor 22 in the boot information area of the shared memory 25 is written. Read.

次に、第2のプロセッサ23が共有メモリ25のうちのブート情報領域の第1のプロセッサ22のブート情報を書込むアドレス(#1)から読出したブート情報(ここでは、初期値「RDY」)に基づいて自己のプロセッサIDを認識する。ここでは、読出したブート情報が「INT」の場合には、プロセッサIDとして「マスター」を認識し、一方、読出したブート情報が「RDY」の場合には、プロセッサIDとして「スレーブ」を認識するようにしておき、これによって、第2のプロセッサ23は、読出したブート情報が「RDY」であるためにプロセッサIDとして「スレーブ」を認識する。   Next, the boot information read from the address (# 1) where the second processor 23 writes the boot information of the first processor 22 in the boot information area of the shared memory 25 (here, initial value “RDY”) To recognize its own processor ID. Here, when the read boot information is “INT”, “master” is recognized as the processor ID, and when the read boot information is “RDY”, “slave” is recognized as the processor ID. Thus, the second processor 23 recognizes “slave” as the processor ID because the boot information read out is “RDY”.

以上に説明したようにして、各プロセッサ22,23がブートコントローラを用いずに自己のプロセッサIDを自ら認識することができる。   As described above, the processors 22 and 23 can recognize their own processor IDs without using the boot controller.

本発明に係るマルチプロセッサシステムを示すブロック図1 is a block diagram showing a multiprocessor system according to the present invention. 周辺機器の接続状況とプロセッサIDとの関係を示す対応表。The correspondence table showing the relationship between the connection status of peripheral devices and the processor ID. 他のマルチプロセッサシステムを示すブロック図。The block diagram which shows another multiprocessor system. ブートプログラムを示すフローチャート。The flowchart which shows a boot program. マルチプロセッサシステムのブート時の動作を示す説明図。Explanatory drawing which shows operation | movement at the time of booting of a multiprocessor system.

符号の説明Explanation of symbols

1,21 マルチプロセッサシステム
2,22 第1のプロセッサ
3,23 第2のプロセッサ
4,24 共有バス
5,7,9,10,11,30,31,32 周辺機器
6,8,26,27 専用バス
25 共有メモリ
1,21 Multiprocessor system
2,22 1st processor
3,23 second processor
4,24 shared bus
5,7,9,10,11,30,31,32 Peripheral devices
6,8,26,27 Private bus
25 shared memory

Claims (3)

周辺機器の接続状況が異なる複数のプロセッサで構成したマルチプロセッサシステムにおいて、
各プロセッサは、ブート時に各プロセッサに専用バスを介して直接接続されている周辺機器を判別し、前記周辺機器の接続状況とプロセッサIDとを対応させた対応表に基づいて、自己のプロセッサIDがマスターであるかスレーブであるかを認識するようにしたことを特徴とするマルチプロセッサシステム。
In a multiprocessor system consisting of multiple processors with different connection status of peripheral devices,
Each processor determines a peripheral device directly connected to each processor through a dedicated bus at the time of booting, and based on a correspondence table in which the connection status of the peripheral device is associated with the processor ID, A multiprocessor system characterized by recognizing whether it is a master or a slave.
前記各プロセッサは、ブート時に夫々独自のブートプログラムを実行し、前記周辺機器の初期化を行い、その後前記専用バスを介して直接接続される周辺機器の接続状況を判別することを特徴とする請求項1に記載のマルチプロセッサシステム。   Each of the processors executes a unique boot program at the time of booting, initializes the peripheral device, and then determines a connection status of the peripheral device directly connected via the dedicated bus. Item 4. The multiprocessor system according to Item 1. 共有メモリを接続した複数のプロセッサで構成したマルチプロセッサシステムにおいて、
各プロセッサは、予め設定された順番でブートされ、ブート時に前記共有メモリのブート情報領域のうち自己のプロセッサのブート情報を書き込む領域にブート情報を書き込むとともに、前記ブート情報領域のうち他のプロセッサのブート情報を書き込む領域から情報を読み出し、当該読み出した情報が前記他のプロセッサから書き込まれたブート情報でない場合、自己のプロセッサIDをマスターであると認識し、前記読出した情報が前記他のプロセッサから書き込まれたブート情報である場合は、自己のプロセッサIDをスレーブであると認識することを特徴とするマルチプロセッサシステム。
In a multiprocessor system consisting of multiple processors connected to a shared memory,
Each processor is booted in a preset order, the area for writing the boot information of its own processor of the boot information region of the shared memory at boot writes the boot information, another of the pre-Kivu over preparative information area reads the information from the area for writing the boot information processor, when the read information is not booted information written from the other processor, to recognize the processor ID of itself and the master, the read-out information is the If a boot information written by other processors, features and to luma multiprocessor system to recognize and the self processor ID is the slave.
JP2004171623A 2004-06-09 2004-06-09 Multiprocessor system Expired - Fee Related JP4525188B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004171623A JP4525188B2 (en) 2004-06-09 2004-06-09 Multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004171623A JP4525188B2 (en) 2004-06-09 2004-06-09 Multiprocessor system

Publications (2)

Publication Number Publication Date
JP2005352677A JP2005352677A (en) 2005-12-22
JP4525188B2 true JP4525188B2 (en) 2010-08-18

Family

ID=35587129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004171623A Expired - Fee Related JP4525188B2 (en) 2004-06-09 2004-06-09 Multiprocessor system

Country Status (1)

Country Link
JP (1) JP4525188B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63182768A (en) * 1987-01-24 1988-07-28 Nec Corp Identifying system for rising method of processor
JPH04128961A (en) * 1990-09-20 1992-04-30 Nec Corp Multi-processor control system
JP2760363B2 (en) * 1990-11-14 1998-05-28 株式会社ピーエフユー Initialization processing device
JP3040045B2 (en) * 1993-07-01 2000-05-08 シャープ株式会社 Remote control unit receiving unit
JPH086914A (en) * 1994-06-17 1996-01-12 Toshiba Corp Main memory initialization method in multiprocessor system
JPH08263455A (en) * 1995-03-24 1996-10-11 Nec Corp Degrading method for fault processor in multiprocessor system
JPH09219913A (en) * 1996-02-09 1997-08-19 Hokuriku Kasen Kogyo Kk Come along
JPH09245002A (en) * 1996-03-07 1997-09-19 Hitachi Ltd Operation control method for electronic computer system
JPH09244910A (en) * 1996-03-11 1997-09-19 Nippon Steel Corp Backup method for distributed control system
JP3541335B2 (en) * 1996-06-28 2004-07-07 富士通株式会社 Information processing apparatus and distributed processing control method
JP3365282B2 (en) * 1997-11-14 2003-01-08 日本電気株式会社 CPU degrading method of cluster connection multi CPU system

Also Published As

Publication number Publication date
JP2005352677A (en) 2005-12-22

Similar Documents

Publication Publication Date Title
US8082470B2 (en) Share resources and increase reliability in a server environment
US11494221B2 (en) Hardware control core controlling operation of hardware devices by executing device drivers within the hardware control core used by virtual machine cores via shared memory having an uplink and downlink memory
EP0263886B1 (en) Interrupt control method in a multiprocessor system
KR101173539B1 (en) Multi-processor System and Method of initializing thereof
JP2010282617A (en) Connection bus, electronic device and system
US6748478B1 (en) System function configurable computing platform
US7711941B2 (en) Method and apparatus for booting independent operating systems in a multi-processor core integrated circuit
EP0104545A2 (en) Input and output port control unit
JP4525188B2 (en) Multiprocessor system
JP3673015B2 (en) Peripheral device identification method in semiconductor device
US6795915B2 (en) Computer system and method for setting up information on an operating system thereof
JP3126006B2 (en) Programmable controller
CN100557585C (en) System controller, data processor, and input/output request control method
JP2006127407A (en) Semiconductor integrated circuit
JP4791792B2 (en) Digital signal processor system and boot method thereof.
JP2006178704A (en) A device having a plurality of functions, and a host device connectable to the device
JP2008158991A (en) NAND flash memory control system
JP7525368B2 (en) Information processing terminal and sensing system
JP2009223455A (en) Multiprocessor system
JP3076155B2 (en) Initial setting method of multiprocessor system
JP2008204104A (en) Memory card control device and electronic device
JPH0756847A (en) Portable computer
JP2962431B2 (en) Programmable controller
JPH0887481A (en) Multiprocessor board startup method
JP2007157060A (en) Multiprocessor system, initiating method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100414

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100511

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100524

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130611

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130611

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees