JP2014170271A - Information processing device, initialization method, preprocessing method, and program - Google Patents

Information processing device, initialization method, preprocessing method, and program Download PDF

Info

Publication number
JP2014170271A
JP2014170271A JP2013040399A JP2013040399A JP2014170271A JP 2014170271 A JP2014170271 A JP 2014170271A JP 2013040399 A JP2013040399 A JP 2013040399A JP 2013040399 A JP2013040399 A JP 2013040399A JP 2014170271 A JP2014170271 A JP 2014170271A
Authority
JP
Japan
Prior art keywords
boot path
expansion card
unit
information processing
boot
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
JP2013040399A
Other languages
Japanese (ja)
Inventor
Takahito Sekimoto
崇人 関本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2013040399A priority Critical patent/JP2014170271A/en
Publication of JP2014170271A publication Critical patent/JP2014170271A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To accelerate startup irrespective of a configuration of an information processing device.SOLUTION: An information processing device 100 comprises: a boot path acquisition unit that, from a boot path storage unit storing a boot path indicating a location of an expansion card used for starting an operating system, acquires the boot path of the operating system to be automatically started; and an initialization unit that initializes the expansion card indicated by the boot path acquired by the boot path acquisition unit.

Description

本発明は、情報処理装置、当該情報処理装置の拡張カードの初期化方法、当該拡張カードの初期化の前処理方法、及びプログラムに関する。   The present invention relates to an information processing apparatus, an expansion card initialization method for the information processing apparatus, a preprocessing method for initialization of the expansion card, and a program.

コンピュータにおいて、立ち上げ処理を可能な限り高速化することが望まれている。コンピュータには、PCI(Peripheral Component Interconnect)カードなどの拡張カードを搭載するものがあり、このようなコンピュータにおいては、立ち上げ処理時に当該拡張カードの初期化を行う必要がある。拡張カードの初期化処理は、立ち上げ処理を遅延させる1つの要因となっている。   In a computer, it is desired to speed up the startup process as much as possible. Some computers include an expansion card such as a PCI (Peripheral Component Interconnect) card. In such a computer, it is necessary to initialize the expansion card during start-up processing. Expansion card initialization processing is one factor that delays startup processing.

特許文献1には、Peer−To−Peerで接続されるIOH(Input/Output Hub)にのみアクセス可能となるようにルーティングを行い、当該IOH配下に存在する拡張カードのみを初期化することで、立ち上げを高速化する技術が開示されている。   In Patent Document 1, routing is performed so that only an IOH (Input / Output Hub) connected by Peer-To-Peer can be accessed, and only an expansion card existing under the IOH is initialized. A technique for speeding up startup is disclosed.

特開2010−182225号公報JP 2010-182225 A

しかしながら、特許文献1に開示された発明は、マルチプロセッサかつマルチセグメントの構成を有する装置においては、立ち上げを高速化することができるが、このような構成を有しない装置においては、立ち上げを高速化することができない。
本発明の目的は、上述した課題を解決する情報処理装置、初期化方法、前処理方法、及びプログラムを提供することにある。
However, the invention disclosed in Patent Document 1 can speed up startup in an apparatus having a multi-processor and multi-segment configuration. However, in an apparatus that does not have such a configuration, startup is possible. It cannot be accelerated.
The objective of this invention is providing the information processing apparatus, the initialization method, the pre-processing method, and program which solve the subject mentioned above.

本発明は上記の課題を解決するためになされたものであり、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部と、前記ブートパス取得部が取得したブートパスが示す拡張カードを初期化する初期化部とを備えることを特徴とする情報処理装置である。   The present invention has been made to solve the above-described problem, and obtains a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used for starting the operating system. An information processing apparatus comprising: an acquisition unit; and an initialization unit that initializes an expansion card indicated by a boot path acquired by the boot path acquisition unit.

また、本発明は、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部と、前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断する切断部とを備えることを特徴とする情報処理装置である。   In addition, the present invention provides a boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used for starting an operating system, and the boot path acquisition unit acquires An information processing apparatus comprising: a disconnecting unit that logically disconnects an expansion card other than the expansion card indicated by the boot path.

また、本発明は、情報処理装置による拡張カードの初期化方法であって、前記情報処理装置が、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するステップと、前記情報処理装置が、前記取得したブートパスが示す拡張カードを初期化するステップとを有することを特徴とする。   The present invention is also a method for initializing an expansion card by an information processing apparatus, wherein the information processing apparatus performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used for starting an operating system. The step of acquiring a boot path of an operating system to be performed and the information processing apparatus include a step of initializing an expansion card indicated by the acquired boot path.

また、本発明は、コンピュータを、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部、前記ブートパス取得部が取得したブートパスが示す拡張カードを初期化する初期化部として機能させるためのプログラムである。   Further, the present invention provides a boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used for starting an operating system. It is a program for functioning as an initialization unit that initializes the expansion card indicated by the acquired boot path.

また、本発明は、情報処理装置による拡張カードの初期化の前処理方法であって、前記情報処理装置が、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するステップと、前記情報処理装置が、前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断するステップとを有することを特徴とする。   Further, the present invention is a preprocessing method for initializing an expansion card by an information processing apparatus, wherein the information processing apparatus stores a boot path indicating a location of an expansion card used for starting an operating system, from a boot path storage unit Acquiring a boot path of an operating system that performs automatic startup, and logically disconnecting the information processing apparatus from an expansion card other than the expansion card indicated by the boot path acquired by the boot path acquisition unit. It is characterized by.

また、本発明は、コンピュータを、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部、前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断する切断部として機能させるためのプログラムである。   Further, the present invention provides a boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used for starting an operating system. This is a program for functioning as a disconnection unit that logically disconnects an expansion card other than the expansion card indicated by the acquired boot path.

本発明によれば、情報処理装置の構成に関わらず、立ち上げを高速化することができる。   According to the present invention, startup can be speeded up regardless of the configuration of the information processing apparatus.

本発明の一実施形態による情報処理装置のハードウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the hardware constitutions of the information processing apparatus by one Embodiment of this invention. BIOSを実行したときのCPUのソフトウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the software structure of CPU when BIOS is performed. 情報処理装置の起動方法を示すフローチャートである。It is a flowchart which shows the starting method of information processing apparatus. OSを実行したときのCPUのソフトウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the software structure of CPU when OS is executed. 本発明に係る情報処理装置の第1の基本構成を示す概略ブロック図である。It is a schematic block diagram which shows the 1st basic composition of the information processing apparatus which concerns on this invention. 本発明に係る情報処理装置の第2の基本構成を示す概略ブロック図である。It is a schematic block diagram which shows the 2nd basic composition of the information processing apparatus which concerns on this invention.

以下、図面を参照しながら本発明の実施形態について詳しく説明する。
図1は、本発明の一実施形態による情報処理装置100のハードウェア構成を示す概略ブロック図である。
本実施形態に係る情報処理装置100は、不揮発メモリ110、CPU120、メモリ130、ルートポート140、複数の拡張カード150−1〜150−N(以降、拡張カード150−1〜150−Nを総称する場合、拡張カード150という)を備える。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic block diagram showing a hardware configuration of an information processing apparatus 100 according to an embodiment of the present invention.
The information processing apparatus 100 according to the present embodiment includes a nonvolatile memory 110, a CPU 120, a memory 130, a root port 140, and a plurality of expansion cards 150-1 to 150-N (hereinafter, expansion cards 150-1 to 150-N are collectively referred to). In this case, the expansion card 150 is provided.

不揮発メモリ110は、情報処理装置100のBIOS(Basic Input/Output System)(プログラム)、自動起動を行うOS(Operating System:オペレーティングシステム)を示す自動起動情報、及びOSごとのブートパスを記憶する。つまり、不揮発メモリ110は、ブートパスを記憶するブートパス記憶部の一例である。なお、ブートパスとは、OSの起動に用いる拡張カード150の所在を示す情報である。つまり、OSは、拡張カード150に接続された外部記憶媒体(ストレージやディスク)に格納される。
CPU120は、不揮発メモリ110が記憶するBIOSを実行し、拡張カード150を初期化してOSを起動する。
メモリ130は、CPU120が実行する処理の用に供する情報を記憶する。
ルートポート140は、複数の拡張カード150とCPU120との接続を仲介し、配下の拡張カード150とCPU120とを論理的に接続する(Enable)か、切断する(Disable)かを拡張カード150ごとに記憶するリンクレジスタを備える。
拡張カード150は、情報処理装置100の機能を拡張するカードであって、自身のPOST(Power On Self Test)(初期化)に用いる初期化プログラムを記憶するオプションROM151を備える。なお、拡張カード150としては、例えばPCIカードが用いられる。
The nonvolatile memory 110 stores a BIOS (Basic Input / Output System) (program) of the information processing apparatus 100, automatic startup information indicating an OS (Operating System) that performs automatic startup, and a boot path for each OS. That is, the nonvolatile memory 110 is an example of a boot path storage unit that stores a boot path. The boot path is information indicating the location of the expansion card 150 used for starting the OS. That is, the OS is stored in an external storage medium (storage or disk) connected to the expansion card 150.
The CPU 120 executes the BIOS stored in the nonvolatile memory 110, initializes the expansion card 150, and starts the OS.
The memory 130 stores information used for processing executed by the CPU 120.
The root port 140 mediates the connection between the plurality of expansion cards 150 and the CPU 120, and determines whether the expansion card 150 and the CPU 120 under its control are logically connected (Enable) or disconnected (Disable) for each expansion card 150. A link register for storing is provided.
The expansion card 150 is a card that expands the functions of the information processing apparatus 100, and includes an option ROM 151 that stores an initialization program used for its own POST (Power On Self Test) (initialization). For example, a PCI card is used as the expansion card 150.

次に、本実施形態に係るBIOSについて説明する。
図2は、BIOSを実行したときのCPU120のソフトウェア構成を示す概略ブロック図である。
CPU120は、不揮発メモリ110が記憶するBIOSを実行すると、I/O部121(Input/Output)、自動起動判定部122、ブートパス解析部123、リンクレジスタ設定部124、POST実行部125を備える。
Next, the BIOS according to the present embodiment will be described.
FIG. 2 is a schematic block diagram showing a software configuration of the CPU 120 when the BIOS is executed.
When the BIOS stored in the nonvolatile memory 110 is executed, the CPU 120 includes an I / O unit 121 (Input / Output), an automatic activation determination unit 122, a boot path analysis unit 123, a link register setting unit 124, and a POST execution unit 125.

I/O部121は、不揮発メモリ110から情報を読み出す。また、I/O部121は、不揮発メモリ110に情報を書き込む。なお、I/O部121は、不揮発メモリ110から自動起動を行うOSのブートパスを取得するブートパス取得部の一例である。
自動起動判定部122は、I/O部121が不揮発メモリ110から読み出した自動起動情報に基づいて、自動起動するOSがあるか否かを判定する。
ブートパス解析部123は、I/O部121が不揮発メモリ110から読み出したブートパスを解析し、OSの起動に用いる拡張カード150を特定する。
リンクレジスタ設定部124は、ルートポート140のリンクレジスタを書き換える。なお、リンクレジスタ設定部124は、ブートパスが示す拡張カード150以外の拡張カード150との接続を論理的に切断する切断部、及び拡張カード150の初期化後に論理的に切断された拡張カード150を論理的に接続する接続部の一例である。
POST実行部125は、ルートポート140のリンクレジスタの値がEnableを示す拡張カード150に対してPOSTを実行する。つまり、POST実行部125は、ブートパスが示す拡張カード150を初期化する初期化部の一例である。
The I / O unit 121 reads information from the nonvolatile memory 110. Further, the I / O unit 121 writes information into the nonvolatile memory 110. The I / O unit 121 is an example of a boot path acquisition unit that acquires a boot path of an OS that performs automatic startup from the nonvolatile memory 110.
The automatic startup determination unit 122 determines whether there is an OS to be automatically started based on the automatic startup information read from the nonvolatile memory 110 by the I / O unit 121.
The boot path analysis unit 123 analyzes the boot path read from the non-volatile memory 110 by the I / O unit 121, and specifies the expansion card 150 used for starting the OS.
The link register setting unit 124 rewrites the link register of the root port 140. The link register setting unit 124 includes a disconnection unit that logically disconnects the expansion card 150 other than the expansion card 150 indicated by the boot path, and an expansion card 150 that is logically disconnected after the expansion card 150 is initialized. It is an example of the connection part which connects logically.
The POST execution unit 125 executes POST on the expansion card 150 whose link register value of the root port 140 indicates “Enable”. That is, the POST execution unit 125 is an example of an initialization unit that initializes the expansion card 150 indicated by the boot path.

次に、本実施形態に係る情報処理装置100の起動方法について説明する。
図3は、情報処理装置100の起動方法を示すフローチャートである。
まず、情報処理装置100のCPU120は、不揮発メモリ110からBIOSを読み出し、バスリソースの割り当て及び拡張カード150とのリンク接続を行うことで、BIOSを立ち上げる(ステップS1)。なお、本ステップの処理は、ミリ秒オーダーで実行されるため、拡張カード150の搭載枚数による立ち上げ時間への影響は軽微である。
Next, a method for starting the information processing apparatus 100 according to the present embodiment will be described.
FIG. 3 is a flowchart illustrating a method for starting the information processing apparatus 100.
First, the CPU 120 of the information processing apparatus 100 reads the BIOS from the nonvolatile memory 110, allocates bus resources, and performs link connection with the expansion card 150, thereby starting up the BIOS (step S1). Note that the processing of this step is executed on the order of milliseconds, so the effect on the startup time due to the number of expansion cards 150 mounted is negligible.

CPU120がBIOSを立ち上げると、CPU120のI/O部121は、不揮発メモリ110から自動起動情報を読み出す(ステップS2)。次に、自動起動判定部122は、I/O部121が読み出した自動起動情報が有効な値を示すか否かを判定する(ステップS3)。   When the CPU 120 starts up the BIOS, the I / O unit 121 of the CPU 120 reads the automatic activation information from the nonvolatile memory 110 (step S2). Next, the automatic activation determination unit 122 determines whether the automatic activation information read by the I / O unit 121 indicates a valid value (step S3).

自動起動判定部122が、自動起動情報が有効な値を示すと判定した場合、すなわち自動起動情報が自動起動を行うOSの情報を示す場合(ステップS3:YES)、I/O部121は、不揮発メモリ110から自動起動情報が示すOSに関連付けられたブートパスを読み出す(ステップS4)。   When the automatic activation determination unit 122 determines that the automatic activation information indicates a valid value, that is, when the automatic activation information indicates information of an OS that performs automatic activation (step S3: YES), the I / O unit 121 The boot path associated with the OS indicated by the automatic startup information is read from the nonvolatile memory 110 (step S4).

次に、ブートパス解析部123は、I/O部121が読み出したブートパスを解析し、OSの起動に用いる拡張カード150を特定する(ステップS5)。具体的には、I/O部121が取得したブートパスは、以下に示すようなフォーマットで記載されている。   Next, the boot path analysis unit 123 analyzes the boot path read by the I / O unit 121, and specifies the expansion card 150 used for starting the OS (step S5). Specifically, the boot path acquired by the I / O unit 121 is described in the following format.

AcpiEx(PNP0A08,PNP0A03,0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/SAS(0x5000C5003AB04F4D,0x0,0x1,NoTopology,0,0,0,0x0)/HD(1,GPT,5748ED94−27A6−11E1−8000−D6217B60E588,0x40,0xF9FC0)   AcpiEx (PNP0A08, PNP0A03, 0x0) / Pci (0x1,0x0) / Pci (0x0,0x0) / SAS (0x5000C5003AB04F4D, 0x0,0x1, NoTopology, 0,0,0,94,0PT0,57PT) 27A6-11E1-8000-D6217B60E588, 0x40, 0xF9FC0)

ここで、AcpiEx(PNP0A08,PNP0A03,0x0)はUIDが0(0x0)のルートポート140(PNP0A08)を示している。また、PCI(0x1,0x0)はデバイス番号1(0x1)、ファンクション番号0(0x0)に該当するPCIカード34n(拡張カード150)を示している。   Here, ApiEx (PNP0A08, PNP0A03, 0x0) indicates the root port 140 (PNP0A08) having a UID of 0 (0x0). PCI (0x1, 0x0) indicates a PCI card 34n (expansion card 150) corresponding to device number 1 (0x1) and function number 0 (0x0).

ブートパス解析部123は、このブートパスにて示されたUIDのルートポート140配下に接続され、デバイス番号、ファンクション番号が一致する位置に搭載された拡張カード150を、OSの起動に用いる拡張カード150として特定する。   The boot path analysis unit 123 is connected to the root port 140 of the UID indicated by this boot path, and the expansion card 150 mounted at the position where the device number and the function number match is used as the expansion card 150 used for starting the OS. Identify.

ブートパス解析部123がOSの起動に用いる拡張カード150を特定すると、リンクレジスタ設定部124は、ルートポート140のリンクレジスタが記憶する、ブートパス解析部123が特定した拡張カード150以外の拡張カード150の接続情報を、すべてDisableに書き換える。つまり、リンクレジスタ設定部124は、ブートパス解析部123が特定した拡張カード150以外の拡張カード150を論理的に切断する(ステップS6)。なお、リンクレジスタ設定部124による拡張カード150の論理的切断は、例えば拡張カード150がPCIカードである場合、PCI Hot Delete等の処理を行うことで実願できる。これにより、OSの起動に用いるブートパスに該当しない拡張カード150のオプションROM151による拡張カード150の初期化処理は、行われなくなる。   When the boot path analysis unit 123 specifies the expansion card 150 used for OS startup, the link register setting unit 124 stores the expansion card 150 other than the expansion card 150 specified by the boot path analysis unit 123 and stored in the link register of the root port 140. All connection information is rewritten to Disable. That is, the link register setting unit 124 logically disconnects the expansion cards 150 other than the expansion card 150 specified by the boot path analysis unit 123 (step S6). The logical disconnection of the expansion card 150 by the link register setting unit 124 can be made by performing a process such as PCI Hot Delete when the expansion card 150 is a PCI card, for example. Thereby, the initialization process of the expansion card 150 by the option ROM 151 of the expansion card 150 that does not correspond to the boot path used for starting the OS is not performed.

次に、POST実行部125は、ルートポート140のリンクレジスタが記憶する接続情報がEnableを示す(論理的に接続されている)拡張カード150からオプションROM151を読み出し、当該オプションROM151に格納された初期化プログラムを順次実行する(ステップS7)。このとき、POST実行部125は、初期化対象の拡張カード150に接続された外部記憶媒体のスキャン処理を行う。なお、本ステップの処理は、数秒から数十秒のオーダーで実行されるため、拡張カード150の搭載枚数による立ち上げ時間への影響が大きい。   Next, the POST execution unit 125 reads the option ROM 151 from the expansion card 150 whose connection information stored in the link register of the root port 140 indicates “Enable” (logically connected), and stores the initial value stored in the option ROM 151. The program is sequentially executed (step S7). At this time, the POST execution unit 125 scans the external storage medium connected to the expansion card 150 to be initialized. Note that the processing of this step is executed on the order of several seconds to several tens of seconds, and therefore the effect on the startup time due to the number of expansion cards 150 mounted is large.

POST実行部125が、ルートポート140のリンクレジスタが記憶する接続情報がEnableを示す拡張カード150の全てについて初期化を完了すると、リンクレジスタ設定部124は、ステップS6で接続情報をDisableに書き換えた拡張カード150の接続情報を、Enableに書き換える。つまり、リンクレジスタ設定部124は、ブートパス解析部123が特定した拡張カード150以外の拡張カード150を論理的に接続する(ステップS8)。なお、リンクレジスタ設定部124による拡張カード150の論理的接続は、例えば拡張カード150がPCIカードである場合、PCI Hot Add等の処理を行うことで実願できる。これにより、情報処理装置100の運用中に、当該拡張カード150を使用することができるようになる。そして、CPU120は、拡張カード150に接続された外部記憶媒体からOSを読み出し、当該OSを起動する(ステップS9)。   When the POST execution unit 125 completes initialization of all the expansion cards 150 whose connection information stored in the link register of the root port 140 indicates “Enable”, the link register setting unit 124 rewrites the connection information to “Disable” in step S6. The connection information of the expansion card 150 is rewritten to Enable. That is, the link register setting unit 124 logically connects the expansion cards 150 other than the expansion card 150 specified by the boot path analysis unit 123 (step S8). Note that the logical connection of the expansion card 150 by the link register setting unit 124 can be made by performing a process such as PCI Hot Add when the expansion card 150 is a PCI card, for example. As a result, the expansion card 150 can be used during the operation of the information processing apparatus 100. Then, the CPU 120 reads out the OS from the external storage medium connected to the expansion card 150, and activates the OS (step S9).

他方、ステップS3で自動起動判定部122が、自動起動情報が無効な値(例えばNULL値や、自動起動を行わないことを示す所定の値)を示すと判定した場合(ステップS3:NO)、POST実行部125は、ルートポート140のリンクレジスタが記憶する接続情報がEnableを示す(論理的に接続されている)拡張カード150からオプションROM151を読み出し、当該オプションROM151に格納された初期化プログラムを順次実行する(ステップS10)。そして、CPU120は、拡張カード150に接続された外部記憶媒体からOSを読み出し、当該OSを起動する(ステップS9)。   On the other hand, when the automatic activation determination unit 122 determines in step S3 that the automatic activation information indicates an invalid value (for example, a NULL value or a predetermined value indicating that automatic activation is not performed) (step S3: NO), The POST execution unit 125 reads the option ROM 151 from the expansion card 150 whose connection information stored in the link register of the root port 140 indicates “Enable” (logically connected), and stores the initialization program stored in the option ROM 151. Sequentially executed (step S10). Then, the CPU 120 reads out the OS from the external storage medium connected to the expansion card 150, and activates the OS (step S9).

図4は、OSを実行したときのCPU120のソフトウェア構成を示す概略ブロック図である。
なお、CPU120は、OSを起動すると、BIOSの構成に加え、ブートパス登録部126と、自動起動設定部127とを備える。
ブートパス登録部126は、当該OSを起動するために用いる拡張カード150の所在を示すブートパスを、I/O部121を介して不揮発メモリ110に登録する。
自動起動設定部127は、当該OSを自動起動させる場合に、不揮発メモリ110が記憶する自動起動情報を、当該OSの情報に書き換える。
つまり、不揮発メモリ110が記憶する自動起動情報は、CPU120がOSを起動した後に、当該OSの機能によって登録されるものである。
FIG. 4 is a schematic block diagram showing a software configuration of the CPU 120 when the OS is executed.
When the OS is activated, the CPU 120 includes a boot path registration unit 126 and an automatic activation setting unit 127 in addition to the BIOS configuration.
The boot path registration unit 126 registers a boot path indicating the location of the expansion card 150 used for starting the OS in the nonvolatile memory 110 via the I / O unit 121.
When the OS is automatically started, the automatic start setting unit 127 rewrites the automatic start information stored in the nonvolatile memory 110 with the information of the OS.
That is, the automatic start information stored in the nonvolatile memory 110 is registered by the function of the OS after the CPU 120 starts the OS.

このように、本実施形態によれば、情報処理装置100は、不揮発メモリ110から自動起動を行うOSのブートパスを取得し、当該ブートパスが示す拡張カード150を初期化する。つまり、情報処理装置100は、OSの起動に要する最小限の拡張カード150の起動を行う。具体的には、情報処理装置100は、拡張カード150の初期化の前処理として、情報処理装置100は、自動起動を行うOSの起動に用いる拡張カード150以外の拡張カード150を論理的に切断する。これにより、情報処理装置100の構成に関わらず、立ち上げを高速化することができる。   As described above, according to the present embodiment, the information processing apparatus 100 acquires the boot path of the OS that performs automatic startup from the nonvolatile memory 110 and initializes the expansion card 150 indicated by the boot path. That is, the information processing apparatus 100 starts up the minimum expansion card 150 required for starting up the OS. Specifically, as the preprocessing for initializing the expansion card 150, the information processing apparatus 100 logically disconnects the expansion cards 150 other than the expansion card 150 used for starting the OS that performs automatic startup. To do. Thereby, regardless of the configuration of the information processing apparatus 100, startup can be speeded up.

また、本実施形態によれば、情報処理装置100は、拡張カード150の初期化の前処理において論理的に切断した拡張カード150を、初期化後に論理的に接続する。これにより、情報処理装置100は、OSの起動中および起動後に、当該拡張カード150を使用することができるようになる。   Further, according to the present embodiment, the information processing apparatus 100 logically connects the expansion card 150 that has been logically disconnected in the pre-initialization process of the expansion card 150 after the initialization. As a result, the information processing apparatus 100 can use the expansion card 150 during and after the activation of the OS.

以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。
例えば、本実施形態では、情報処理装置100がルートポート140を1つ備える構成について説明したが、これに限られず、情報処理装置100は、複数のルートポート140を備えるものであっても良い。
As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to
For example, in the present embodiment, the configuration in which the information processing apparatus 100 includes one root port 140 has been described. However, the present invention is not limited to this, and the information processing apparatus 100 may include a plurality of root ports 140.

また、本実施形態では、POST実行部125が、リンクレジスタが記憶する接続情報がEnableを示す拡張カード150の初期化プログラムを順次実行する場合について説明したが、これに限られない。例えば、POST実行部125は、ある拡張カード150を初期化するときに、当該初期化プログラムを記憶する拡張カード150と同種の拡張カード150であってリンクレジスタが記憶する接続情報がEnableを示す他の拡張カード150がある場合、同じ初期化プログラムを用いて当該他の拡張カード150を初期化しても良い。これにより、同種の初期化プログラムが何度も起動されることを防ぐことができる。   In the present embodiment, the case where the POST execution unit 125 sequentially executes the initialization program of the expansion card 150 in which the connection information stored in the link register indicates “Enable” has been described, but the present invention is not limited thereto. For example, when the POST execution unit 125 initializes a certain expansion card 150, it is the same expansion card 150 that stores the initialization program, and the connection information stored in the link register indicates Enable. If there is another expansion card 150, the other expansion card 150 may be initialized using the same initialization program. Thereby, it is possible to prevent the same type of initialization program from being started many times.

また、本実施形態では、BIOSが不揮発メモリ110に記憶される場合について説明したが、BIOSが通信回線によって情報処理装置100に配信され、この配信を受けた情報処理装置100が当該BIOSを実行するようにしても良い。   Moreover, although this embodiment demonstrated the case where BIOS was memorize | stored in the non-volatile memory 110, BIOS was delivered to the information processing apparatus 100 via a communication line, and the information processing apparatus 100 which received this delivery performs the said BIOS. You may do it.

また、本実施形態では、BIOSが上述した機能を実現するためのプログラムである場合について説明したが、これに限られない。例えば、不揮発メモリ110が、上述した機能の一部(例えば、自動起動判定部122とブートパス解析部123とリンクレジスタ設定部124)を実現するためのプログラムと一般的なBIOSとを記憶しており、これらを組み合わせることによって情報処理装置100が上述した機能を実現しても良い。つまり、不揮発メモリ110は、上述した機能の一部を、いわゆる差分ファイル(差分プログラム)として記憶するものであっても良い。   Moreover, although this embodiment demonstrated the case where BIOS was a program for implement | achieving the function mentioned above, it is not restricted to this. For example, the nonvolatile memory 110 stores a program and a general BIOS for realizing some of the functions described above (for example, the automatic activation determination unit 122, the boot path analysis unit 123, and the link register setting unit 124). The information processing apparatus 100 may realize the above-described functions by combining these. That is, the nonvolatile memory 110 may store a part of the functions described above as a so-called difference file (difference program).

《第1の基本構成》
図5は、本発明に係る情報処理装置100の第1の基本構成を示す概略ブロック図である。
上述した実施形態では、本発明に係る情報処理装置100の一実施形態として図2に示す構成について説明したが、本発明に係る情報処理装置100の基本構成は、図5に示すとおりである。
すなわち、本発明による情報処理装置100は、ブートパス取得部と初期化部を基本構成とする。
<First basic configuration>
FIG. 5 is a schematic block diagram showing a first basic configuration of the information processing apparatus 100 according to the present invention.
In the above-described embodiment, the configuration illustrated in FIG. 2 has been described as an embodiment of the information processing apparatus 100 according to the present invention. However, the basic configuration of the information processing apparatus 100 according to the present invention is as illustrated in FIG.
That is, the information processing apparatus 100 according to the present invention basically includes a boot path acquisition unit and an initialization unit.

ブートパス取得部は、OSの起動に用いる拡張カード150の所在を示すブートパスを記憶するブートパス記憶部(図示せず)から、自動起動を行うOSのブートパスを取得する。なお、ブートパス記憶部は、情報処理装置100の内部に備えられるものであっても、外部に備えられるものであっても良い。また、初期化部は、ブートパス取得部が取得したブートパスが示す拡張カード150を初期化する。
これにより、情報処理装置100は、構成に関わらず、立ち上げを高速化することができる。
The boot path acquisition unit acquires the boot path of the OS that performs automatic startup from a boot path storage unit (not shown) that stores the boot path indicating the location of the expansion card 150 used for OS startup. Note that the boot path storage unit may be provided inside the information processing apparatus 100 or may be provided outside. The initialization unit initializes the expansion card 150 indicated by the boot path acquired by the boot path acquisition unit.
Thereby, the information processing apparatus 100 can speed up the start-up regardless of the configuration.

《第2の基本構成》
図6は、本発明に係る情報処理装置100の第2の基本構成を示す概略ブロック図である。
本発明に係る情報処理装置100の基本構成としては、図6に示すものも挙げられる。すなわち、本発明による情報処理装置100は、ブートパス取得部と切断部を基本構成とするものであっても良い。
<< Second basic configuration >>
FIG. 6 is a schematic block diagram showing a second basic configuration of the information processing apparatus 100 according to the present invention.
The basic configuration of the information processing apparatus 100 according to the present invention includes the one shown in FIG. That is, the information processing apparatus 100 according to the present invention may have a basic configuration of a boot path acquisition unit and a cutting unit.

切断部は、ブートパス取得部が取得したブートパスが示す拡張カード150以外の拡張カード150との接続を論理的に切断する。
これにより、情報処理装置100は、構成に関わらず立ち上げを高速化するための、初期化の前処理を行うことができる。
The disconnection unit logically disconnects the connection with the expansion card 150 other than the expansion card 150 indicated by the boot path acquired by the boot path acquisition unit.
Thereby, the information processing apparatus 100 can perform a pre-initialization process for speeding up the start-up regardless of the configuration.

100…情報処理装置 110…不揮発メモリ 120…CPU 121…I/O部 122…自動起動判定部 123…ブートパス解析部 124…リンクレジスタ設定部 125…POST実行部 126…ブートパス登録部 127…自動起動設定部 130…メモリ 140…ルートポート 150…拡張カード 151…オプションROM   DESCRIPTION OF SYMBOLS 100 ... Information processing apparatus 110 ... Non-volatile memory 120 ... CPU 121 ... I / O part 122 ... Automatic start determination part 123 ... Boot path analysis part 124 ... Link register setting part 125 ... POST execution part 126 ... Boot path registration part 127 ... Automatic start setting Part 130 ... Memory 140 ... Root port 150 ... Expansion card 151 ... Option ROM

Claims (9)

オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部と、
前記ブートパス取得部が取得したブートパスが示す拡張カードを初期化する初期化部と
を備えることを特徴とする情報処理装置。
A boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used to start the operating system;
An information processing apparatus comprising: an initialization unit that initializes an expansion card indicated by the boot path acquired by the boot path acquisition unit.
前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断する切断部を備え、
前記初期化部は、論理的に接続されている拡張カードを初期化することで、前記ブートパス取得部が取得したブートパスが示す拡張カードを初期化する
ことを特徴とする請求項1に記載の情報処理装置。
A disconnecting unit that logically disconnects an expansion card other than the expansion card indicated by the boot path acquired by the boot path acquiring unit;
The information according to claim 1, wherein the initialization unit initializes an expansion card indicated by a boot path acquired by the boot path acquisition unit by initializing an expansion card that is logically connected. Processing equipment.
前記初期化部が前記拡張カードを初期化した後に、前記切断部によって論理的に切断された拡張カードを論理的に接続する接続部
を備えることを特徴とする請求項2に記載の情報処理装置。
The information processing apparatus according to claim 2, further comprising: a connection unit that logically connects the expansion cards logically disconnected by the disconnection unit after the initialization unit initializes the expansion card. .
オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部と、
前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断する切断部と
を備えることを特徴とする情報処理装置。
A boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used to start the operating system;
An information processing apparatus comprising: a disconnecting unit that logically disconnects an expansion card other than the expansion card indicated by the boot path acquired by the boot path acquiring unit.
論理的に接続された前記拡張カードが初期化された後に、前記切断部によって論理的に切断された拡張カードを論理的に接続する接続部
を備えることを特徴とする請求項4に記載の情報処理装置。
The information according to claim 4, further comprising: a connection unit that logically connects the expansion cards logically disconnected by the disconnection unit after the logically connected expansion cards are initialized. Processing equipment.
情報処理装置による拡張カードの初期化方法であって、
前記情報処理装置が、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するステップと、
前記情報処理装置が、前記取得したブートパスが示す拡張カードを初期化するステップと
を有することを特徴とする初期化方法。
An expansion card initialization method by an information processing apparatus,
The information processing apparatus acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used to start an operating system;
The information processing apparatus includes a step of initializing an expansion card indicated by the acquired boot path.
コンピュータを、
オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部、
前記ブートパス取得部が取得したブートパスが示す拡張カードを初期化する初期化部
として機能させるためのプログラム。
Computer
A boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used to start the operating system;
A program for functioning as an initialization unit that initializes an expansion card indicated by a boot path acquired by the boot path acquisition unit.
情報処理装置による拡張カードの初期化の前処理方法であって、
前記情報処理装置が、オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するステップと、
前記情報処理装置が、前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断するステップと
を有することを特徴とする前処理方法。
A preprocessing method for initializing an expansion card by an information processing device,
The information processing apparatus acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used to start an operating system;
The information processing apparatus includes a step of logically disconnecting an expansion card other than the expansion card indicated by the boot path acquired by the boot path acquisition unit.
コンピュータを、
オペレーティングシステムの起動に用いる拡張カードの所在を示すブートパスを記憶するブートパス記憶部から、自動起動を行うオペレーティングシステムのブートパスを取得するブートパス取得部、
前記ブートパス取得部が取得したブートパスが示す拡張カード以外の拡張カードとの接続を論理的に切断する切断部
として機能させるためのプログラム。
Computer
A boot path acquisition unit that acquires a boot path of an operating system that performs automatic startup from a boot path storage unit that stores a boot path indicating the location of an expansion card used to start the operating system;
A program for functioning as a disconnection unit that logically disconnects an expansion card other than the expansion card indicated by the boot path acquired by the boot path acquisition unit.
JP2013040399A 2013-03-01 2013-03-01 Information processing device, initialization method, preprocessing method, and program Pending JP2014170271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013040399A JP2014170271A (en) 2013-03-01 2013-03-01 Information processing device, initialization method, preprocessing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013040399A JP2014170271A (en) 2013-03-01 2013-03-01 Information processing device, initialization method, preprocessing method, and program

Publications (1)

Publication Number Publication Date
JP2014170271A true JP2014170271A (en) 2014-09-18

Family

ID=51692646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013040399A Pending JP2014170271A (en) 2013-03-01 2013-03-01 Information processing device, initialization method, preprocessing method, and program

Country Status (1)

Country Link
JP (1) JP2014170271A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146694A (en) * 2016-02-16 2017-08-24 富士通株式会社 Authentication method, authentication program, and information processor
JP2017168031A (en) * 2016-03-18 2017-09-21 日本電気株式会社 Information processor, control method and program
CN109002330A (en) * 2018-07-27 2018-12-14 郑州云海信息技术有限公司 A kind of method, device and equipment identifying UEFI OS startup item

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146694A (en) * 2016-02-16 2017-08-24 富士通株式会社 Authentication method, authentication program, and information processor
JP2017168031A (en) * 2016-03-18 2017-09-21 日本電気株式会社 Information processor, control method and program
CN109002330A (en) * 2018-07-27 2018-12-14 郑州云海信息技术有限公司 A kind of method, device and equipment identifying UEFI OS startup item

Similar Documents

Publication Publication Date Title
US11847470B2 (en) Request processing method, system on chip, and public cloud management component
US9536094B2 (en) Mediated secure boot for single or multicore processors
CN106030512B (en) Initialization tracking of computing devices
US9558012B2 (en) System boot with external media
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
US10311236B2 (en) Secure system memory training
US10606677B2 (en) Method of retrieving debugging data in UEFI and computer system thereof
US8589672B2 (en) Method for securely merging multiple nodes having trusted platform modules
WO2016074127A1 (en) Computer device and memory starting method for computer device
JP2017509085A (en) User selectable operating system
WO2016119322A1 (en) Method and apparatus for determining read/write path
CN114327944A (en) Method, device, equipment and storage medium for sharing memory by multiple systems
US10491736B2 (en) Computer system and method thereof for bluetooth data sharing between UEFI firmware and OS
CN110515634A (en) Method, computer system and the medium of firmware are updated by Distal tool program
JP2009193301A (en) Information processing apparatus, device initialization method in same, and device initialization program
JP2014170271A (en) Information processing device, initialization method, preprocessing method, and program
US10467173B2 (en) Hot plugging of virtual bridges in a virtual PCI system
US9852028B2 (en) Managing a computing system crash
US9304779B2 (en) Optimizing boot time of a storage system
US9323706B2 (en) Configuration snooping bridge
TWI743480B (en) Computer system and a booting method for the same
US9778936B1 (en) Booting a computing system into a manufacturing mode
CN108255527A (en) The method and apparatus of activation system, computing device, readable storage medium storing program for executing
US11200066B2 (en) Secure device for bypassing operating system (OS) security
US10678552B2 (en) Hardware for system firmware use