JP2007148773A - Bios loaded computer and bios loading program - Google Patents

Bios loaded computer and bios loading program Download PDF

Info

Publication number
JP2007148773A
JP2007148773A JP2005342193A JP2005342193A JP2007148773A JP 2007148773 A JP2007148773 A JP 2007148773A JP 2005342193 A JP2005342193 A JP 2005342193A JP 2005342193 A JP2005342193 A JP 2005342193A JP 2007148773 A JP2007148773 A JP 2007148773A
Authority
JP
Japan
Prior art keywords
bios
loading
expansion
size
individual
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.)
Withdrawn
Application number
JP2005342193A
Other languages
Japanese (ja)
Inventor
Takayoshi Suzuki
貴善 鈴木
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 JP2005342193A priority Critical patent/JP2007148773A/en
Publication of JP2007148773A publication Critical patent/JP2007148773A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically determine the sequence of copying of a plurality of loaded device BIOSs in much more system RAM regions for BIOS loading in a computer on which the BIOSs are loaded. <P>SOLUTION: This BIOS loaded computer is provided with an individual loading repetition part 41 for successively repeating the execution of the BIOS individual loading of each of extension BIOS9-1 to 9-n only in a system RAM region 51, when a power is supplied; a CMOS43 for storing the original size of each extension BISO and the reduced size; a size acquisition part 42 for acquiring the original size and the reduced size, and for storing those sizes in a CMOS43 each time the BIOS individual loading is executed by an individual loading repetition part 41; a priority order determination part 44 for determining the loading priority order, based on the original size information and the reduced size information from the CMOS43; and a loading successive execution part 45 for successively executing each BIOS individual loading according to the loading priority order. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、BIOSが搭載されたコンピュータに関し、特にBIOS−ROM内のBIOSをコンピュータのシステムRAM領域にコピーする技術に関する。   The present invention relates to a computer equipped with a BIOS, and more particularly to a technique for copying a BIOS in a BIOS-ROM to a system RAM area of the computer.

一般にパーソナルコンピュータやサーバコンピュータなどのコンピュータには、ハードディスクやキーボードなどの各種デバイスの基本的な入出力を行うプログラムであるBIOS(Basic Input/Output System)を格納したROM(以下、BIOS−ROMと称す)が搭載されている。   Generally, a computer such as a personal computer or a server computer has a ROM (hereinafter referred to as BIOS-ROM) that stores a basic input / output system (BIOS) that is a program for performing basic input / output of various devices such as a hard disk and a keyboard. ) Is installed.

BIOSには通常、システムBIOSとデバイスBIOSとがあり、一般にシステムBIOSはコンピュータのマザーボード(基本基板)上に実装されたBIOS−ROMに格納されており、一方、デバイスBIOSはコンピュータのPCIスロット等の拡張スロットに挿入される拡張カード上に実装されたBIOS−ROMに格納されている。一部のデバイスBIOSにおいてはその様な形態ではなく、マザーボード上のBIOS−ROMに格納されているものもある。なお、デバイスBIOSが搭載された拡張カードとしては、例えばSCSI(Small Computer System Interface)カードやLAN(Local Area Net-work)カード、RAID(Redundant Arrays of Independent Disks)カードなどがある。   The BIOS usually includes a system BIOS and a device BIOS. Generally, the system BIOS is stored in a BIOS-ROM mounted on the motherboard (basic board) of the computer, while the device BIOS is a PCI slot of the computer. It is stored in a BIOS-ROM mounted on an expansion card inserted into the expansion slot. Some device BIOSes are not in such a form and may be stored in a BIOS-ROM on the motherboard. Examples of the expansion card on which the device BIOS is mounted include a SCSI (Small Computer System Interface) card, a LAN (Local Area Net-work) card, and a RAID (Redundant Array of Independent Disks) card.

各BIOS−ROMに格納されたBIOSは、コンピュータの電源投入などによるコンピュータ起動時に、その1つがコンピュータ内の所定のRAM領域(以下、システムRAM領域と称す)にコピーされ、コピーされたBIOSによりそのBIOS制御下のデバイスに対して所定の初期化を行い、その初期化の完了にて不要となった一部プログラムを切り捨てて再配置し直すことでBIOSのプログラムサイズを縮小化させ、その縮小化されたBIOSで常駐させるとする一連の動作(以下、BIOS個別ローディングと称す)を各BIOSそれぞれに対して順次に繰り返えすことにより、システムRAM領域への全BIOSのBIOSローディングが行われる。   One of the BIOS stored in each BIOS-ROM is copied to a predetermined RAM area in the computer (hereinafter referred to as a system RAM area) when the computer is started by turning on the computer, and the copied BIOS stores the BIOS. Performs predetermined initialization for devices under BIOS control, cuts down some programs that are no longer needed upon completion of the initialization, and rearranges them, thereby reducing the size of the BIOS program and reducing the size. The BIOS loading of all BIOS to the system RAM area is performed by sequentially repeating a series of operations (hereinafter referred to as BIOS individual loading) to be resident in the BIOS, for each BIOS.

その際のBIOSプログラムサイズの縮小化はPlug-and-Playの規格に則って行われることが知られており、システムRAM領域に常駐されるサイズ縮小化後のBIOSサイズ(以下、BIOS縮小化後サイズと称す)は、コピー時点のBIOSサイズ(以下、BIOSオリジナルサイズと称す)に比べて所定のサイズだけ小さくなっているが、そのBIOS縮小化後サイズをコンピュータユーザが容易に知ることはできない。   It is known that the BIOS program size at that time is reduced in accordance with the Plug-and-Play standard, and the size of the BIOS resident in the system RAM area after the size reduction (hereinafter referred to as BIOS reduction). The size is smaller than the BIOS size at the time of copying (hereinafter referred to as the BIOS original size) by a predetermined size, but the computer user cannot easily know the size after BIOS reduction.

また、デバイスBIOS(以下、拡張BIOSと称す)がコピーされるシステムRAM領域は、PC/AT互換機では例えばアドレス"D0000h"〜"EFFFFh"(16進表示)領域の128Kバイトが一般的であり、小容量である。このことから、BIOS−ROMそれぞれのためのBIOS個別ローディングが、拡張カードを挿入する拡張スロット番号、あるいは拡張カードに一意的に設定されたデバイス番号などによる固定的な番号順によって行われる場合においては、各BIOS−ROMからコピーされる拡張BIOSのプログラム蓄積総量がシステムRAM領域の総容量を超える場合、その時点以降の拡張BIOSはシステムRAM領域にコピーできなくなることから、コンピュータユーザが所望する拡張カード利用可能形態とは異なったシステム構成になる場合がある。   The system RAM area to which the device BIOS (hereinafter referred to as expansion BIOS) is copied is generally 128 Kbytes in the address “D0000h” to “EFFFFh” (hexadecimal display) area in a PC / AT compatible machine, for example. , Small capacity. Therefore, when the individual BIOS loading for each BIOS-ROM is performed in a fixed number order such as an expansion slot number into which an expansion card is inserted or a device number uniquely set in the expansion card. When the total amount of program stored in the expansion BIOS copied from each BIOS-ROM exceeds the total capacity of the system RAM area, the expansion BIOS after that point cannot be copied to the system RAM area. The system configuration may be different from the usable form.

その場合の一例を、図を用いて説明する。図4は拡張スロット番号の昇順によるシステムRAM領域へのBIOSローディングを示す図、また図5は拡張スロット番号の降順によるシステムRAM領域へのBIOSローディングを示す図である。なお、ここでは、拡張スロット番号#1番と#3番との2スロットだけに拡張カードが挿入され、#1番に挿入された拡張カード上には拡張BIOS#1(80KB)、また#3番に挿入された拡張カード上には拡張BIOS#3(70KB)が実装されているものとする。   An example of that case will be described with reference to the drawings. FIG. 4 is a diagram showing BIOS loading into the system RAM area in ascending order of expansion slot numbers, and FIG. 5 is a diagram showing BIOS loading into the system RAM area in descending order of expansion slot numbers. Here, an expansion card is inserted into only two slots of expansion slot numbers # 1 and # 3, and the expansion BIOS # 1 (80 KB) and # 3 are inserted on the expansion card inserted in # 1. It is assumed that the expansion BIOS # 3 (70 KB) is mounted on the expansion card inserted in the number.

図4において、先ず、拡張スロット番号の小さい方の拡張BIOS#1(80KB)がシステムRAM領域にコピーされ(図4の(a))、コピーされた拡張BIOS#1による初期化後にサイズ縮小化されて60KBのサイズとなった拡張BIOS#1が常駐化される(図4の(b))。次に、空き領域が68KBとなったシステムRAM領域内に拡張BIOS#3(70KB)をコピーしようとするが、2KBのシステムRAM領域不足により拡張BIOS#3がコピーできない(図4の(c))。その結果、システムRAM領域内には拡張BIOS#1の1つだけしかBIOSローディングできない(図4の(d))。   In FIG. 4, first, the expansion BIOS # 1 (80 KB) having the smaller expansion slot number is copied to the system RAM area ((a) of FIG. 4), and the size is reduced after initialization by the copied expansion BIOS # 1. Then, the extended BIOS # 1 having a size of 60 KB is made resident ((b) of FIG. 4). Next, an attempt is made to copy the extended BIOS # 3 (70 KB) into the system RAM area where the free area becomes 68 KB. However, the extended BIOS # 3 cannot be copied due to a shortage of the 2 KB system RAM area ((c) in FIG. 4). ). As a result, only one expansion BIOS # 1 can be BIOS loaded in the system RAM area ((d) in FIG. 4).

一方、図5においては、先ず、拡張スロット番号の大きい方の拡張BIOS#3(70KB)がシステムRAM領域にコピーされ(図5の(a))、コピーされた拡張BIOS#3による初期化後にサイズ縮小化されて40KBのサイズとなった拡張BIOS#3が常駐化される(図5の(b))。次に、空き領域が88KBとなったシステムRAM領域に拡張BIOS#1(80KB)がコピーされ(図5の(c))、コピーされた拡張BIOS#1による初期化後にサイズ縮小化されて60KBのサイズとなった拡張BIOS#1が常駐化される(図5の(d))。その結果、システムRAM領域内には拡張BIOS#3と拡張BIOS#1が2つ共に正常にBIOSローディングできたこととなる。   On the other hand, in FIG. 5, first, the expansion BIOS # 3 (70 KB) having the larger expansion slot number is copied to the system RAM area ((a) of FIG. 5), and after initialization by the copied expansion BIOS # 3. The extended BIOS # 3 whose size is reduced to 40 KB is made resident ((b) of FIG. 5). Next, the extended BIOS # 1 (80 KB) is copied to the system RAM area where the free area becomes 88 KB ((c) in FIG. 5), and after the initialization by the copied extended BIOS # 1, the size is reduced to 60 KB. The extended BIOS # 1 having the size of 常駐 is made resident ((d) in FIG. 5). As a result, both the extended BIOS # 3 and the extended BIOS # 1 can be normally loaded in the system RAM area.

このように、実装された全ての拡張BIOS−ROMそれぞれを単なる固定的な番号順によってBIOSローディングを行うことでは、それらの各BIOSサイズによっては所望の拡張BIOSがBIOSローディングできない場合、あるいは多数の拡張BIOSをBIOSローディングできない場合など(前者図4の例)が生じることとなる。   As described above, when BIOS loading is performed on each of the mounted expansion BIOS-ROMs in a mere fixed number order, a desired expansion BIOS cannot be BIOS loaded depending on the size of each BIOS, or a large number of expansion BIOS-ROMs. In some cases, the BIOS cannot be BIOS loaded (the former example of FIG. 4).

そこで従来では、排他的に搭載される仕様の異なる複数種のデバイス(例えば複数種のLANカード)それぞれに対応する複数のBIOSモジュールがマザーボード上のBIOS−ROMに予め格納されている場合、コンピュータに実際に搭載されているデバイスの種類を検出し、検出されたデバイスの種類に対応するBIOSモジュールだけをシステムRAM領域にコピーすることによって、未搭載のデバイスのための不要なBIOSモジュールがシステムRAM領域へコピーされることを回避していた(例えば、特許文献1参照)。この技術によると、小容量のシステムRAM領域の有効利用に繋がり、より多くの種類のBIOSモジュールをシステムRAM領域にコピーすることが可能になる。   Therefore, conventionally, when a plurality of BIOS modules corresponding to a plurality of types of devices (for example, a plurality of types of LAN cards) having different specifications that are exclusively installed are stored in advance in the BIOS-ROM on the motherboard, By detecting the type of the device actually mounted and copying only the BIOS module corresponding to the detected device type to the system RAM area, unnecessary BIOS modules for the non-mounted device are stored in the system RAM area. (See, for example, Patent Document 1). According to this technology, it is possible to effectively use a small-capacity system RAM area, and it is possible to copy more types of BIOS modules to the system RAM area.

また、使用環境等による任意のシステムがコンピュータに構築可能なように、種々のBIOSやドライバプログラム、アプリケーションプログラムなどがROMに予め格納されている場合、使用環境に合わせて予め設定して格納させたシステム設定ファイル内の選別ロード情報による優先順位に従って、ROM内のBIOSや各種プログラムをシステムRAM領域に記憶させることによって、使用環境等からは本来不要とされるプログラムがシステムRAM領域に常駐されることを回避させていた(例えば、特許文献2参照)。この技術においても、小容量のシステムRAM領域の有効利用に繋がり、所望の使用環境に対応させた、より多くの種類の各種プログラムをシステムRAM領域にコピーすることが可能になる。
特開2001−175477号公報 特開平2−310653号公報
In addition, when various BIOS, driver programs, application programs, etc. are stored in advance in the ROM so that an arbitrary system depending on the usage environment can be built in the computer, they are set in advance according to the usage environment and stored. By storing the BIOS and various programs in the ROM in the system RAM area in accordance with the priority order according to the selection load information in the system setting file, programs that are originally unnecessary from the usage environment etc. are made resident in the system RAM area. (For example, refer to Patent Document 2). Also in this technology, it is possible to effectively use a small-capacity system RAM area, and it is possible to copy more types of various programs corresponding to a desired use environment to the system RAM area.
JP 2001-175477 A Japanese Patent Laid-Open No. 2-310653

しかしながら、従来の前者の技術は、コンピュータへの搭載が検出されたデバイスの種類に対応するBIOSモジュールだけをシステムRAM領域にコピーするものであるが、そのコピー順序が各BIOSの容量に基づいて順位付けされていないことから、順次にコピーされる際のBIOSのプログラム蓄積総量がシステムRAM領域の総容量を超えた場合には、その時点以降のBIOSモジュールがシステムRAM領域にコピーできないという問題がある。   However, in the former former technique, only the BIOS module corresponding to the type of device detected to be installed in the computer is copied to the system RAM area. The copy order is based on the capacity of each BIOS. If the total amount of BIOS program storage when copying sequentially exceeds the total capacity of the system RAM area, the BIOS module after that point cannot be copied to the system RAM area. .

また、従来の後者の技術は、予め設定して格納させた選別ロード情報による優先順位に従ってROM内のBIOSや各種プログラムをシステムRAM領域に記憶させるものであるが、使用環境等に合わせてシステム変更する場合にはその都度、人手を介入させて選別ロード情報を使用環境やBIOSのプログラムサイズを意識して設定し直さなければならないことから、システム変更時に設定変更操作の煩わしさを伴うという問題がある。しかも、一般に初期化後のBIOS縮小化後サイズについては公開されていないため、BIOS縮小化後サイズを意識して設定することは非常に困難という問題がある。   In the latter latter technique, the BIOS and various programs in the ROM are stored in the system RAM area in accordance with the priority order based on the selection load information set and stored in advance. In this case, it is necessary to manually set the selection load information each time in consideration of the use environment and the BIOS program size. Therefore, there is a problem that the setting change operation is troublesome when the system is changed. is there. In addition, since the size after BIOS reduction after initialization is not disclosed, there is a problem that it is very difficult to set the size after BIOS reduction.

そこで本発明は、搭載された複数のデバイスのデバイスBIOSをより多くシステムRAM領域内にコピーさせる順位を自動的に決定してBIOSローディングするBIOS搭載コンピュータおよびBIOSローディングプログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide a BIOS-equipped computer and a BIOS loading program that automatically determine the order in which more device BIOSes of a plurality of mounted devices are copied into the system RAM area and perform BIOS loading. .

第1の発明のBIOS搭載コンピュータは、ROM(フラッシュROMを含む)に格納された拡張BIOSを電源投入時に所定のRAM領域にコピーし、コピーされた前記拡張BIOSにより該拡張BIOS制御下のデバイスを初期化した後、該初期化後の所定のBIOSサイズ縮小化が行われた該拡張BIOSを前記所定RAM領域に常駐させるBIOS個別ローディングを、複数の拡張BIOSそれぞれに行うBIOS搭載コンピュータにおいて、電源投入時に前記拡張BIOSそれぞれの前記BIOS個別ローディングを前記所定RAM領域内で唯一実行することを順次繰り返させて、前記拡張BIOSごとの前記初期化前のBIOSオリジナルサイズと前記BIOSサイズ縮小化後のBIOS縮小化後サイズとを取得し、該取得したそれぞれの両サイズ値に基づいて決定する前記BIOS個別ローディングそれぞれのローディング優先順位に従って、前記BIOS個別ローディングそれぞれを順次に実行させるBIOSローディング制御手段を備える構成とする。   The BIOS-equipped computer according to the first aspect of the present invention copies the extended BIOS stored in the ROM (including the flash ROM) to a predetermined RAM area when the power is turned on, and uses the copied extended BIOS to transfer the device under the extended BIOS control. After the initialization, power is turned on in a BIOS-equipped computer that performs BIOS individual loading for each of the plurality of expansion BIOSes so that the expansion BIOS that has undergone the predetermined BIOS size reduction after initialization is resident in the predetermined RAM area Sometimes, the BIOS individual loading of each of the expansion BIOS is sequentially executed only within the predetermined RAM area, so that the BIOS original size before initialization and the BIOS reduction after the BIOS size reduction for each expansion BIOS are repeated. To obtain the size and the obtained In accordance with the BIOS separate loading each of the loading priority determined based on both the size value respectively, a configuration including a BIOS loading control means for sequentially execute each of the BIOS individual loading.

第2の発明のBIOS搭載コンピュータは、前記第1の発明のBIOS搭載コンピュータにおいて、前記BIOSローディング制御手段は、電源投入時に前記拡張BIOSそれぞれの前記BIOS個別ローディングを前記所定RAM領域内で唯一実行することを順次繰り返させる個別ローディング繰返手段と、前記拡張BIOSそれぞれの前記BIOSオリジナルサイズと前記BIOS縮小化後サイズとを格納するBIOSデータ格納手段と、前記個別ローディング繰返手段による前記BIOS個別ローディングの実行ごとに、該実行中の拡張BIOSの前記BIOSオリジナルサイズと前記BIOS縮小化後サイズとを取得して前記BIOSデータ格納手段に格納するサイズ取得手段と、前記BIOSデータ格納手段からの前記BIOSオリジナルサイズ情報と前記BIOS縮小化後サイズ情報とに基づいて前記ローディング優先順位を決定する優先順位決定手段と、該優先順位決定手段により決定された前記ローディング優先順位に従って、前記BIOS個別ローディングそれぞれを順次に実行させるローディング順次実行手段とを備える構成とする。   The BIOS-equipped computer according to a second aspect is the BIOS-equipped computer according to the first aspect, wherein the BIOS loading control means executes only the BIOS individual loading of each expansion BIOS within the predetermined RAM area when power is turned on. Individual loading repeating means for sequentially repeating the above, BIOS data storage means for storing the original BIOS size and the BIOS reduced size of each of the extended BIOS, and the BIOS individual loading by the individual loading repeating means Each time the execution is performed, the BIOS original size and the BIOS reduced size of the extended BIOS being executed are acquired and stored in the BIOS data storage unit, and the BIOS data from the BIOS data storage unit is stored. Priority determining means for determining the loading priority based on the nominal size information and the size information after BIOS reduction, and the BIOS individual loading sequentially according to the loading priority determined by the priority determining means. Loading sequential execution means to be executed.

第3の発明のBIOS搭載コンピュータは、前記第1または第2の発明のBIOS搭載コンピュータにおいて、前記ローディング優先順位は、前記BIOS縮小化後サイズが小さいものほど高く設定し、前記BIOS縮小化後サイズが同等の場合には前記BIOSオリジナルサイズがより大きいものほど高く設定する構成とする。   The BIOS-equipped computer according to a third aspect is the BIOS-equipped computer according to the first or second aspect, wherein the loading priority is set higher as the size after the BIOS reduction is smaller, and the size after the BIOS reduction. Are equal, the higher the BIOS original size, the higher the setting.

第4の発明のBIOS搭載コンピュータは、前記第1および第2の発明のBIOS搭載コンピュータにおいて、前記BIOSデータ格納手段は、フラッシュメモリまたはバッテリバックアップされたCMOSメモリである構成とする。   A BIOS-equipped computer according to a fourth aspect is the BIOS-equipped computer according to the first and second aspects, wherein the BIOS data storage means is a flash memory or a battery-backed CMOS memory.

前記第1および第2の発明によれば、電源投入時にBIOS個別ローディングそれぞれを所定RAM領域内で唯一実行させ、各BIOS個別ローディングごとに拡張BIOSそれぞれの初期化前のBIOSオリジナルサイズとBIOSサイズ縮小化後のBIOS縮小化後サイズとを取得し、取得したそれぞれの両サイズ値に基づいて決定するBIOS個別ローディングそれぞれのローディング優先順位に従って、BIOS個別ローディングそれぞれを順次に実行させることから、拡張BIOSの初期化前後のプログラムサイズに応じた順序によりBIOSローディングが自動的に実施できる。   According to the first and second inventions, each BIOS individual loading is executed only in a predetermined RAM area when the power is turned on, and the BIOS original size and BIOS size reduction before initialization of each extended BIOS for each BIOS individual loading are reduced. The size of the BIOS after the reduction is acquired, and the BIOS individual loading is sequentially executed in accordance with the loading priority of each BIOS individual loading determined based on the acquired both size values. BIOS loading can be automatically performed in the order according to the program size before and after initialization.

また、前記第3の発明によれば、初期化後のBIOS縮小化後サイズが小さい拡張BIOSから優先してBIOS個別ローディングを行うことにより、次に続く他のBIOS個別ローディングのためのシステムRAM領域の空きスペースを最大にできることから、従来よりもより多くの拡張BIOSをシステムRAM領域へローディングすることが可能になる。   According to the third aspect of the present invention, the BIOS individual loading is performed in preference to the expanded BIOS having a small size after the BIOS reduction after the initialization, so that the system RAM area for another subsequent BIOS individual loading is performed. Therefore, it is possible to load more extended BIOS into the system RAM area than before.

更に、前記第4の発明によれば、BIOS搭載コンピュータの電源を切断しても、拡張BIOSそれぞれのBIOSオリジナルサイズとBIOS縮小化後サイズとを不揮発的に保持できることから、次の電源投入時にも前回電源投入時に取得されたBIOSオリジナルサイズとBIOS縮小化後サイズとが利用可能になり、電源投入時ごとのBIOSオリジナルサイズおよびBIOS縮小化後サイズの取得のための処理が不要となる。   Furthermore, according to the fourth aspect of the present invention, even if the BIOS-equipped computer is turned off, the BIOS original size and the size after BIOS reduction can be held in a nonvolatile manner even when the BIOS is turned off. The BIOS original size and the size after BIOS reduction acquired at the previous power-on time can be used, and the process for acquiring the BIOS original size and the size after BIOS reduction every time the power is turned on becomes unnecessary.

本発明によれば、拡張BIOSごとに個別に取得したBIOSオリジナルサイズとBIOS縮小化後サイズとに基づいて決定されるローディング優先順位に従って、BIOS個別ローディングそれぞれを順次に実行させてシステムRAM領域にBIOSローディングすることから、拡張BIOSそれぞれのプログラムサイズに応じた適切な順序により拡張BIOSのBIOSローディングが自動的に実行できる。   According to the present invention, the BIOS individual loading is sequentially executed according to the loading priority order determined based on the BIOS original size and the BIOS reduced size obtained individually for each expansion BIOS, and the BIOS is stored in the system RAM area. Since loading is performed, BIOS loading of the expansion BIOS can be automatically executed in an appropriate order according to the program size of each expansion BIOS.

また、初期化後のBIOS縮小化後サイズが小さい拡張BIOSから優先させてBIOS個別ローディングを行うことにより、次に続く他のBIOS個別ローディングのためのシステムRAM領域の空きスペースを最大限に大きくできることから、従来よりもより多く数の拡張BIOSがシステムRAM領域にローディングできる。   In addition, by performing the BIOS individual loading in preference to the expanded BIOS having a small size after the BIOS reduction after the initialization, it is possible to maximize the free space in the system RAM area for another subsequent BIOS individual loading. Therefore, a larger number of expansion BIOS can be loaded in the system RAM area than before.

したがって、コンピュータユーザが拡張BIOSのサイズを意識することなく拡張カードを拡張スロットに挿入して追加したとしても、従来よりもより多くの数の拡張カードが利用可能なBIOSローディングを自動的に実行してくれることから、拡張カード追加時の利便性が向上する。   Therefore, even if a computer user inserts an expansion card into the expansion slot without being aware of the size of the expansion BIOS, BIOS loading that can use a larger number of expansion cards than before is automatically executed. This improves convenience when adding expansion cards.

(実施例1)
以下、本発明の実施の形態について、図面を参照しながら説明する。図1は、本発明に係る一実施例のBIOS搭載コンピュータの構成を示すブロック図である。なお、図1に示すブロック図は、実際のコンピュータの構成とは異なる説明都合上の模式図であり、しかも、本発明の説明に直接関係しないコンピュータの所定の構成は省略している。
Example 1
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a BIOS-equipped computer according to an embodiment of the present invention. The block diagram shown in FIG. 1 is a schematic diagram for convenience of explanation different from the actual computer configuration, and the predetermined configuration of the computer not directly related to the description of the present invention is omitted.

図1において、BIOS搭載コンピュータ1は、BIOS搭載コンピュータ1の基本基板であるマザーボード2上にBIOS搭載コンピュータ1を制御するCPU3と、CPU3のバス線6に接続されたシステムBIOS4と主メモリ5および拡張スロット#1番7-1〜#n番7-nなどを備えるとともに、拡張スロット#1番7-1〜#n番7-nに挿入される拡張カード8-1〜8-nとを有する構成である。勿論、拡張スロット#1番7-1〜#n番7-nの全てに拡張カード8-1〜8-nが挿入されている必要はなく、システム構成の都合によってその都度挿入されれば良いことである。なお、主メモリ5は一般に、後述のCMOS43よりもリード/ライトアクセスが速いRAM(Random Access Memory)などの半導体メモリで構成される。   In FIG. 1, a BIOS-equipped computer 1 includes a CPU 3 that controls the BIOS-equipped computer 1 on a motherboard 2 that is a basic board of the BIOS-equipped computer 1, a system BIOS 4 that is connected to the bus line 6 of the CPU 3, a main memory 5, and an expansion. Slots # 1 7-1 to #n 7-n and the like and expansion cards 8-1 to 8-n inserted into expansion slots # 1 7-1 to #n 7-n It is a configuration. Of course, it is not necessary that the expansion cards 8-1 to 8-n are inserted in all the expansion slots # 1 to 7-1 to #n 7-n. That is. The main memory 5 is generally composed of a semiconductor memory such as a RAM (Random Access Memory) having a faster read / write access than a CMOS 43 described later.

拡張カード8-1〜8-n上には、拡張BIOS−ROM内に格納された拡張BIOS(デバイスROM)9-1〜9-nがそれぞれ搭載され、また主メモリ5には、システムBIOS4と拡張BIOS9-1〜9-nそれぞれとがBIOSローディングされる領域であるシステムRAM領域51を有し、またシステムBIOS−ROM内に格納されたシステムBIOS4内にはBIOSローディング制御部40を有する構成である。   Expansion BIOS (device ROM) 9-1 to 9-n stored in the expansion BIOS-ROM are mounted on the expansion cards 8-1 to 8-n, respectively, and the main memory 5 includes the system BIOS 4 and Each of the extended BIOSs 9-1 to 9-n has a system RAM area 51 that is a BIOS loaded area, and a system BIOS 4 stored in the system BIOS-ROM has a BIOS loading control unit 40. is there.

BIOSローディング制御部40は、電源投入時に拡張BIOS9-1〜9-nそれぞれのBIOS個別ローディングをシステムRAM領域51内で唯一実行することを順次繰り返させる個別ローディング繰返部41と、拡張BIOS9-1〜9-nそれぞれのBIOSオリジナルサイズとBIOS縮小化後サイズとを格納するBIOSサイズ格納部であるCMOS43とを有する。   The BIOS loading control unit 40 includes an individual loading repeating unit 41 that sequentially repeats the individual execution of the BIOS individual loading of each of the expansion BIOSs 9-1 to 9-n in the system RAM area 51 when the power is turned on, and the expansion BIOS 9-1. 9-n has a CMOS 43 as a BIOS size storage unit for storing the BIOS original size and the size after BIOS reduction.

BIOSローディング制御部40は更に、個別ローディング繰返部41によるBIOS個別ローディングの実行ごとに、その実行中の拡張BIOS9-1〜9-nのBIOSオリジナルサイズとBIOS縮小化後サイズとを取得してCMOS43に格納するサイズ取得部42と、CMOS43からのBIOSオリジナルサイズ情報とBIOS縮小化後サイズ情報とに基づいてローディング優先順位を決定する優先順位決定部44と、優先順位決定部44により決定されたローディング優先順位に従って、BIOS個別ローディングそれぞれを順次に実行させるローディング順次実行部45とを有する構成である。   The BIOS loading control unit 40 further obtains the BIOS original size and the BIOS reduced size of the expanded BIOS 9-1 to 9-n during the execution of the individual BIOS loading by the individual loading repeating unit 41. The size acquisition unit 42 stored in the CMOS 43, the priority determination unit 44 that determines the loading priority based on the BIOS original size information and the size information after BIOS reduction from the CMOS 43, and the priority determination unit 44 This configuration includes a loading sequential execution unit 45 that sequentially executes the BIOS individual loading according to the loading priority order.

なお、システムBIOS4を格納したシステムBIOS−ROM、および拡張BIOS9-1〜9-nをそれぞれ格納した拡張BIOS−ROMは、ROM(Read Only Memory)に限らず不揮発性の記憶素子(記憶媒体)であれば良く、一般にはフラッシュメモリを用いる。   The system BIOS-ROM storing the system BIOS 4 and the expansion BIOS-ROM storing the extended BIOSs 9-1 to 9-n are not limited to ROM (Read Only Memory), but are non-volatile storage elements (storage media). Generally, a flash memory is used.

また、BIOSサイズ格納部であるCMOS43については、バッテリバックアップされたCMOSメモリで構成しているが、コンピュータの電源切断時にその格納データが消去されないもの(不揮発性)であれば良いことから、格納データの保持に電力供給を必要としないフラッシュメモリなどであっても良い。更に、CMOS43は、システムBIOS4を格納しているシステムBIOS−ROMと共通にしているが、システムBIOS−ROMから分離させた別形態のROM構成であっても良い。   The CMOS 43, which is a BIOS size storage unit, is composed of a battery-backed CMOS memory. However, the stored data can be stored only if it cannot be erased (non-volatile) when the computer is turned off. It may be a flash memory or the like that does not require power supply for holding. Further, although the CMOS 43 is common to the system BIOS-ROM storing the system BIOS 4, it may have a ROM configuration of another form separated from the system BIOS-ROM.

また更に、拡張スロット#1番7-1〜#n番7-nは、コンピュータに追加させるオプションカード、つまり拡張カード8-1〜8-nが挿入されて物理的且つ電気的に結合されるスロットであり、その1つとして一般にPCI(Peripheral Component Interconnect)スロットが広く知られている。なお、拡張BIOS9-1〜9-nは、拡張カード8-1〜8-n上に実装される形態をとらず、図示していないがマザーボード2上に直接に実装され、拡張スロット#1番7-1〜#n番7-nを経由しない形態であっても構わない。   Furthermore, expansion slots # 1 7-1 to #n 7-n are physically and electrically coupled by inserting option cards to be added to the computer, that is, expansion cards 8-1 to 8-n. As one of the slots, a PCI (Peripheral Component Interconnect) slot is widely known. The expansion BIOSs 9-1 to 9-n do not take a form mounted on the expansion cards 8-1 to 8-n. 7-1 to #n No. 7-n may not be used.

次に、本発明の動作について、図面を参照しながら説明する。図2は、本発明に係るCMOSのデータ構造の一例とデータ推移を説明する図であり、また図3は、本発明のBIOS搭載コンピュータの動作を説明するフローチャートである。   Next, the operation of the present invention will be described with reference to the drawings. FIG. 2 is a diagram for explaining an example of the data structure of the CMOS and the data transition according to the present invention, and FIG. 3 is a flowchart for explaining the operation of the BIOS-equipped computer of the present invention.

なお、説明の都合上、システム構成については、システムRAM領域51は128KBとし、また、BIOSオリジナルサイズが80KB且つそのBIOS縮小化後サイズが60KBである拡張カード8-1が拡張スロット#1番7-1に搭載されるとともに、BIOSオリジナルサイズが70KB且つそのBIOS縮小化後サイズが40KBである拡張カード8-3が拡張スロット#3番7-3に搭載された構成とするが、本発明はそれらの値や拡張BIOS9-1〜9-nの数などによって制限を受けるものではない。   For convenience of explanation, regarding the system configuration, the system RAM area 51 is 128 KB, and the expansion card 8-1 whose BIOS original size is 80 KB and the size after BIOS reduction is 60 KB is expansion slot # 1-7. 1 and an expansion card 8-3 having a BIOS original size of 70 KB and a size after BIOS reduction of 40 KB is mounted in expansion slot # 3-7-3. It is not limited by those values or the number of extended BIOS 9-1 to 9-n.

図2において、表形式で表したCMOS43のデータ構造には、拡張スロット#1番7-1〜#n番7-nに挿入された拡張カード8-1〜8-n上の拡張BIOS9-1〜9-nそれぞれのBIOSオリジナルサイズおよびBIOS縮小化後サイズを取得して、BIOSローディングのためのローディング優先順位を決定させるチェック動作モードを定義したチェックモードのONまたはOFFを示すCHKMODE域を有する。   In FIG. 2, the data structure of the CMOS 43 represented in a tabular format includes an expansion BIOS 9-1 on expansion cards 8-1 to 8-n inserted in expansion slots # 1 7-1 to #n 7-n. A CHKMODE area indicating ON or OFF of the check mode is defined in which a check operation mode for determining the loading priority for BIOS loading is obtained by acquiring the BIOS original size and the size after BIOS reduction of .about.9-n.

更にCMOS43は、チェックモード時でのチェック対象全ての拡張スロット番号(昇順や降順、ランダムのいずれでも構わないが、説明の都合上、昇順とする)を示すCHKSLT域や、BIOSローディングのための拡張BIOS9-1〜9-nそれぞれのローディング優先順位(説明の都合上、拡張スロット番号で表示)を示すINIT_ODER域を有する。   Further, the CMOS 43 has a CHKSLT area indicating all the expansion slot numbers (in ascending order, descending order, or random order, but ascending order for convenience of description) in the check mode, and expansion for BIOS loading. The BIOS 9-1 to 9-n has an INIT_ODER area indicating the loading priority order (indicated by an expansion slot number for convenience of explanation).

CMOS43は更に、拡張スロット#1番7-1〜#n番7-nそれぞれに対応させてBIOSオリジナルサイズ情報を格納するSLT−1_ORG〜SLT−n_ORG域、同じくそれぞれに対応させてBIOS縮小化後サイズ情報を格納するSLT−1_INI〜SLT−n_INI域などを有する構造である。ここでは説明の都合上、SLT−1_ORG〜SLT−n_ORG域およびSLT−1_INI〜SLT−n_INI域は、拡張スロット#1番7-1〜#n番7-nの相当数を予め備えているが、拡張BIOS9-1〜9-nの実搭載数に合わせてその都度増加などさせて備えても構わない。   The CMOS 43 further stores the BIOS original size information corresponding to each of the expansion slots # 1 7-1 to #n 7-n, and also corresponds to each of the SLT-1_ORG to SLT-n_ORG areas, after BIOS reduction. This structure has SLT-1_INI to SLT-n_INI areas for storing size information. Here, for convenience of explanation, the SLT-1_ORG to SLT-n_ORG area and the SLT-1_INI to SLT-n_INI area are provided with a considerable number of expansion slots # 1 7-1 to #n 7-n in advance. The BIOS may be increased each time according to the actual number of expansion BIOS 9-1 to 9-n.

なお、CMOS43内の前記全データの初期値を表中の最左欄に示し、また、それらデータのデータ推移である状態1〜状態10については、以降の動作説明に対応させて説明する。   The initial values of all the data in the CMOS 43 are shown in the leftmost column of the table, and states 1 to 10 which are data transitions of these data will be described in correspondence with the subsequent operation description.

図3において、BIOS搭載コンピュータ1の電源投入(再起動を含む)により当コンピュータ1のシステムリセットが実行され(図3中のS1)、それに伴うシステムBIOS4での所定の機能であるPOST(Power-on Self Test)による一連の処理にての所定の方法で得られる拡張スロット#1番7-1〜#n番7-nに対する拡張カード8-1〜8-nの搭載構成を示すESCD(Extended System Configuration Data)の情報に基づき、前回の電源投入以降からの拡張スロット#1番7-1〜#n番7-nに対する拡張カード8-1〜8-nの搭載変更の有無を確認する(S2)。   In FIG. 3, when the BIOS-equipped computer 1 is turned on (including restarting), the system 1 of the computer 1 is reset (S1 in FIG. 3), and a POST (Power- on Self Test) ESCD (Extended) showing the installation configuration of expansion cards 8-1 to 8-n in expansion slots # 1 7-1 to #n 7-n obtained by a predetermined method in a series of processes Based on the information of (System Configuration Data), it is confirmed whether or not the expansion cards 8-1 to 8-n have been mounted on expansion slots # 1 7-1 to #n 7-n since the last power-on ( S2).

前記ステップS2にて拡張スロット#1番7-1〜#n番7-nへの搭載変更が有りと判定(Yes 判定)された場合、個別ローディング繰返部41は、チェックモードの開始とその実行中を表示するためにCMOS43内のCHKMODE域にONを設定(図2中の状態1)するとともに(S3)、拡張カード8-1,8-3の2枚の実搭載が認識された拡張スロット#1番7-1,#3番7-3それぞれの拡張スロット番号をCHKSLT域に昇順にて設定して格納(図2中の状態2)する(S4)。   If it is determined in step S2 that there is a mounting change in expansion slots # 1 7-1 to #n 7-n (Yes determination), the individual loading repeater 41 starts the check mode and In order to display the execution in progress, the CHKMODE area in the CMOS 43 is set to ON (state 1 in FIG. 2) (S3), and the expansion cards 8-1 and 8-3 that are actually mounted are recognized. The expansion slot numbers of slots # 1 7-1 and # 3 7-3 are set and stored in the CHKSLT area in ascending order (state 2 in FIG. 2) (S4).

次に、CHKSLT域の先頭部分(昇順にて格納のため、拡張スロット番号の小さいものが先頭)に格納された拡張スロット番号(この時点では#1番)を選択し、選択されたその拡張カード8-1上に拡張BIOS−ROMの搭載が有るか否かをシステムBIOS4の所定の方法により確認する(S5)。   Next, the expansion slot number (# 1 at this time) stored in the head part of the CHKSLT area (the one with the smaller expansion slot number is the head for storage in ascending order) is selected, and the selected expansion card Whether or not the extended BIOS-ROM is mounted on 8-1 is confirmed by a predetermined method of the system BIOS 4 (S5).

前記ステップS5にて拡張BIOS−ROMの搭載が有りと判定(Yes 判定)された場合、サイズ取得部42はその拡張BIOS−ROM内に格納された拡張BIOS9-1の所定領域に格納されているBIOSオリジナルサイズ情報(つまり80KB)を取得して、SLT−1_ORG域に格納(図2中の状態3)する(S6)。   If it is determined in step S5 that the expansion BIOS-ROM is installed (Yes determination), the size acquisition unit 42 is stored in a predetermined area of the expansion BIOS 9-1 stored in the expansion BIOS-ROM. BIOS original size information (that is, 80 KB) is acquired and stored in the SLT-1_ORG area (state 3 in FIG. 2) (S6).

なお、BIOSオリジナルサイズ情報は、後述するステップS7によるBIOS個別ローディングの実行直後(BIOSオリジナルサイズ情報がBIOS縮小化後サイズに書き替えられるまで)に、その実行にてコピーされたシステムRAM領域51上の拡張BIOS9-1の同様の所定領域に格納されているBIOSオリジナルサイズ情報を取得しても構わない。   Note that the BIOS original size information is stored in the system RAM area 51 that is copied immediately after execution of individual BIOS loading in step S7 described later (until the BIOS original size information is rewritten to the size after BIOS reduction). The BIOS original size information stored in the same predetermined area of the extended BIOS 9-1 may be acquired.

続いて、拡張BIOS−ROM内の拡張BIOS9-1をシステムRAM領域内の所定域にコピーし、コピーされた拡張BIOS9-1により拡張BIOS9-1制御下のデバイスに対して所定の初期化を行い、その初期化の完了にて不要となった一部プログラムを切り捨てて再配置し直すことでBIOSプログラムサイズを縮小化させ、その縮小化された拡張BIOS9-1でシステムRAM領域に常駐させるとする所定の一連動作のBIOS個別ローディングの実行を、個別ローディング繰返部41が開始させる(S7)。なお、そのBIOSサイズ縮小化の際に、BIOSオリジナルサイズが格納されている所定領域のサイズ値は、サイズ縮小化後のBIOS縮小化後サイズのサイズ値に書き替えられる。   Subsequently, the expansion BIOS 9-1 in the expansion BIOS-ROM is copied to a predetermined area in the system RAM area, and a predetermined initialization is performed on the device under the control of the expansion BIOS 9-1 by the copied expansion BIOS 9-1. It is assumed that the BIOS program size is reduced by truncating and rearranging a part of the program that is no longer necessary upon completion of the initialization, and is made resident in the system RAM area by the reduced extended BIOS 9-1. The individual loading repetition unit 41 starts execution of the BIOS individual loading of a predetermined series of operations (S7). When the BIOS size is reduced, the size value of the predetermined area in which the BIOS original size is stored is rewritten to the size value of the size after BIOS reduction after size reduction.

前記ステップS7でのBIOS個別ローディングの実行完了後、サイズ取得部42はシステムRAM領域に常駐された拡張BIOS9-1の所定領域のBIOS縮小化後サイズ情報(つまり60KB)を取得して、SLT−1_INI域に格納(図2中の状態4)する(S8)。   After the completion of the BIOS individual loading in step S7, the size acquisition unit 42 acquires the size information after BIOS reduction (that is, 60 KB) of the predetermined area of the extended BIOS 9-1 resident in the system RAM area, and the SLT- Store in the 1_INI area (state 4 in FIG. 2) (S8).

次に、個別ローディング繰返部41は、以上の処理を終えた拡張スロット番号(この時点では#1番)をCMOS43内のCHKSLT域から削除(図2中の状態5)し(S9)、その後にCHKSLT域にチェック処理対象である他の拡張スロット番号の残存(この時点では#3番)が有るか否かを確認し(S10)、もしも残存が有りと判定(Yes 判定)された場合、前記ステップS1に戻る。   Next, the individual loading repeater 41 deletes the expansion slot number (# 1 at this time) after the above processing from the CHKSLT area in the CMOS 43 (state 5 in FIG. 2) (S9), and then In the CHKSLT area, it is checked whether there is any remaining expansion slot number (# 3 at this time) to be checked (S10). If it is determined that there is a remaining (No determination), The process returns to step S1.

以降は、拡張スロット#3番7-3に挿入された2枚目の拡張カード8-3に対する同様の処理についてであり、前記ステップS1およびステップS2については前記説明したとおりである。   The subsequent processing is similar to the processing for the second expansion card 8-3 inserted into the expansion slot # 3-7-3. Steps S1 and S2 are as described above.

拡張スロット#1番7-1〜#n番7-nへの途中での搭載変更は無いことから、ESCDの以前のままの情報に基づき、前記ステップS2にては搭載変更が無しと判定(No判定)された後、個別ローディング繰返部41は、CMOS43内のCHKMODE域がONか否かを確認する(S21)。   Since there is no mounting change in the middle of expansion slots # 1 7-1 to #n 7-n, it is determined that there is no mounting change in step S2 based on the information before ESCD ( After No determination is made, the individual loading repeater 41 confirms whether or not the CHKMODE area in the CMOS 43 is ON (S21).

前記ステップS21にてCHKMODE域がONと判定(Yes 判定)された場合、上述した前記ステップS5が再度実行され、ここでの前記ステップS5にては、拡張スロット#3番7-3に挿入された拡張カード8-3に対しての処理が行われ、また次の前記ステップS6にては、サイズ取得部42は拡張カード8-3上の拡張BIOS9-3のBIOSオリジナルサイズ情報(つまり70KB)を取得し、SLT−3_ORG域に格納(図2中の状態6)する。   If it is determined in step S21 that the CHKMODE area is ON (Yes determination), the above-described step S5 is executed again. In step S5, the slot is inserted into expansion slot # 3-7-3. In the next step S6, the size acquisition unit 42 performs BIOS original size information (that is, 70 KB) of the expansion BIOS 9-3 on the expansion card 8-3. Is stored in the SLT-3_ORG area (state 6 in FIG. 2).

更に、前記ステップS7でのBIOS個別ローディングの実行完了後、前記ステップS8にては、サイズ取得部42は拡張BIOS9-3のBIOS縮小化後サイズ情報(つまり40KB)を取得して、SLT−3_INI域に格納(図2中の状態7)し、また前記ステップS9にては、個別ローディング繰返部41は、以上の処理を終えた拡張スロット番号(この時点では#3番)をCHKSLT域から削除(図2中の状態8)する。   Further, after the completion of the BIOS individual loading in the step S7, in the step S8, the size acquisition unit 42 acquires the size information after BIOS reduction (that is, 40 KB) of the extended BIOS 9-3 to obtain SLT-3_INI. 2 (state 7 in FIG. 2), and in step S9, the individual loading repeater 41 stores the expansion slot number (# 3 at this time) after the above processing from the CHKSLT area. Delete (state 8 in FIG. 2).

その後、前記ステップS10にて、CHKSLT域にチェック処理対象の他の拡張スロット番号の残存(この時点では残存無し)が有るか否かを再度確認する。   Thereafter, in step S10, it is confirmed again whether or not there remains any other expansion slot number to be checked in the CHKSLT area (no remaining at this point).

前記ステップS10にて拡張スロット番号の残存が無しと判定(No判定)された場合、優先順位決定部44は、CMOS43内のSLT−1_ORG〜SLT−n_ORG域に格納された拡張スロット#1番7-1〜#n番7-nごとのBIOSオリジナルサイズ値、およびSLT−1_INI〜SLT−n_INI域に格納されたそれぞれのBIOS縮小化後サイズ値に基づき拡張BIOS9-1〜9-nそれぞれ(ここでは拡張BIOS9-1と9-3の2つ)のローディング優先順位を決定し、その優先順位が認識可能なように例えば拡張スロット番号を順次にCMOS43内のINIT_ODER域に格納(図2中の状態9)する(S31)。   If it is determined in step S10 that there is no remaining expansion slot number (No determination), the priority determining unit 44 determines the expansion slot # 1-7 stored in the SLT-1_ORG to SLT-n_ORG area in the CMOS 43. -1 to #n No. 7-n BIOS original size value and each of the expanded BIOS 9-1 to 9-n based on the respective BIOS reduced size values stored in the SLT-1_INI to SLT-n_INI areas (here Then, the loading priority order of the expansion BIOS 9-1 and 9-3 is determined, and for example, the expansion slot number is sequentially stored in the INIT_ODER area in the CMOS 43 so that the priority order can be recognized (the state in FIG. 2). 9) (S31).

INIT_ODER域に格納されるデータは、自身の優先順位が特定できれば良いことから、例えば拡張スロットアドレスまたは、拡張BIOS−ROMの特定情報(識別番号やアドレス等)などであっても構わない。また、その格納順序は、それぞれの優先順位が認識できれば良いことから、予め取り決められていれば、昇順や降順、ランダムなどのいずれでも構わない。   Since the data stored in the INIT_ODER area only needs to be able to identify its own priority, it may be, for example, an expansion slot address or expansion BIOS-ROM identification information (such as an identification number or address). Further, the storage order may be any of ascending order, descending order, random, and the like, as long as the priority order can be recognized.

前記ステップS31でのローディング優先順位の決定は具体的には、BIOS縮小化後サイズ値(SLT−1_INI〜SLT−n_INI域の各値)が小さいものほど優先順位を高く設定し、もしもその場合にBIOS縮小化後サイズ値が同値の拡張BIOSが有った場合には、BIOSオリジナルサイズ値(SLT−1_ORG〜SLT−n_ORG域の値)がより大きいものほど高く設定する。   Specifically, the determination of the loading priority in the step S31 is performed by setting the priority higher as the size value after BIOS reduction (each value in the SLT-1_INI to SLT-n_INI area) is smaller. When there is an extended BIOS having the same size value after BIOS reduction, a larger BIOS original size value (value in the SLT-1_ORG to SLT-n_ORG area) is set higher.

したがってここでは、BIOS縮小化後サイズ値が拡張BIOS9-1(SLT−1_INI域の値=60KB)よりも小さい拡張BIOS9-3(SLT−3_INI域の値=40KB)の方が優先順位が高く設定されることとなる。なお、この場合、両者のBIOS縮小化後サイズ値が同値ではないために、両者のBIOSオリジナルサイズ値(SLT−1_ORG域の値=80KBと、SLT−3_ORG域の値=70KB)を比較する必要はない。   Therefore, in this case, the expanded BIOS 9-3 (SLT-3_INI area value = 40KB) whose size value after BIOS reduction is smaller than the expanded BIOS 9-1 (SLT-1_INI area value = 60KB) has a higher priority. Will be. In this case, since the size values after BIOS reduction of both are not the same value, it is necessary to compare both BIOS original size values (the value of SLT-1_ORG area = 80 KB and the value of SLT-3_ORG area = 70 KB). There is no.

前記ステップS31において、拡張スロット#1番7-1〜#n番7-nに実搭載された拡張カード全て(ここでは拡張カード8-1と8-3の2枚)に対する拡張BIOSのローディング優先順位が決定されたことから、個別ローディング繰返部41はCMOS43内のCHKMODE域のONをOFFに設定変更(図2中の状態10)し(S32)、前記ステップS1に再度戻る。なお、ここで再度実行される前記ステップS1およびステップS2については前記説明したとおりである。   In step S31, priority is given to the loading of the expansion BIOS for all the expansion cards actually installed in the expansion slots # 1 7-1 to #n 7-n (here, two expansion cards 8-1 and 8-3). Since the order has been determined, the individual loading repeater 41 changes the setting of the CHKMODE area in the CMOS 43 to OFF (state 10 in FIG. 2) (S32), and returns to step S1 again. The steps S1 and S2 executed again here are as described above.

拡張スロット#1番7-1〜#n番7-nへの途中での搭載変更は無いことから、ESCDの以前のままの情報に基づき、前記ステップS2にては搭載変更が無しと判定(No判定)され、次に続く前記ステップS21にては、前記ステップS32によってCHKMODE域がOFFに設定変更されたことから、CHKMODE域はONでないと判定(No判定)される。   Since there is no mounting change in the middle of expansion slots # 1 7-1 to #n 7-n, it is determined that there is no mounting change in step S2 based on the information before ESCD ( In the subsequent step S21, the CHKMODE area is set to OFF in step S32, and therefore it is determined that the CHKMODE area is not ON (No determination).

前記ステップS21でのチェックモードOFFの判定により、ローディング順次実行部45は、CMOS43内のINIT_ODER域に既に格納されているローディング優先順位(ここでは拡張BIOSは2つだけであり、拡張BIOS9-3、9-1の順)に従って、拡張BIOS9-1〜9-nそれぞれのBIOS個別ローディングを順次に実行させる(S22)ことで、拡張スロット#1番7-1〜#n番7-nに実搭載された拡張カード8-1〜8-n上の拡張BIOS9-1〜9-n(ここでは、9-1と9-3の2つ)のシステムRAM領域51へのBIOSローディングを実行させる。この場合のシステムRAM領域51へのBIOSローディングの状態は、図5で図示したシステムRAM領域へのBIOSローディングの状態と同様なものである。   By determining whether the check mode is OFF in step S21, the loading sequential execution unit 45 determines that the loading priority order already stored in the INIT_ODER area in the CMOS 43 (here, there are only two extended BIOSes, the extended BIOS 9-3, In accordance with the order of 9-1), the BIOS individual loading of each of the expansion BIOSs 9-1 to 9-n is executed sequentially (S22), so that they are actually installed in the expansion slots # 1 to 7-1 to #n # 7-n. The BIOS is loaded into the system RAM area 51 of the expansion BIOS 9-1 to 9-n (here, 9-1 and 9-3) on the expansion cards 8-1 to 8-n. In this case, the BIOS loading state to the system RAM area 51 is the same as the BIOS loading state to the system RAM area shown in FIG.

前記ステップS21でのチェックモードOFFの判定によって、次回の電源投入時において拡張スロット#1番7-1〜#n番7-nへの搭載変更が無い(前記ステップS2でのNo判定)場合、既に決定されてCMOS43内に格納されている前回のローディング優先順位にて直ちにBIOSローディングを実行させることができることから、BIOS搭載コンピュータ1の起動立上げ時間の短縮が可能となる。   When the check mode is turned off in step S21, when there is no change in the mounting to expansion slots # 1 7-1 to #n 7-n at the next power-on (No determination in step S2), Since the BIOS loading can be executed immediately in the previous loading priority order that has already been determined and stored in the CMOS 43, the startup start-up time of the BIOS-equipped computer 1 can be shortened.

なお、前記ステップS22でのBIOSローディングにおいて、決定されたローディング優先順位に従って順次にコピーされる拡張BIOS9-1〜9-nの途中のプログラム蓄積総量がシステムRAM領域の総容量(例えば128KB)を超える場合、その時点の優先順位の拡張BIOS(9-1〜9-nのいずれか)のBIOS個別ローディングは実行させず(または中止させ)、飛び越しにて次順位の拡張BIOSのBIOS個別ローディングを実行させても良い。勿論、この決定を、前記ステップS31でのローディング優先順位の決定の際に行っても構わない。   In the BIOS loading in step S22, the total program storage amount in the middle of the extended BIOSs 9-1 to 9-n sequentially copied in accordance with the determined loading priority order exceeds the total capacity of the system RAM area (for example, 128 KB). In this case, the individual BIOS loading of the extended BIOS (any one of 9-1 to 9-n) of the priority order at that time is not executed (or stopped), and the BIOS individual loading of the next-order extended BIOS is executed by skipping. You may let them. Of course, this determination may be performed when the loading priority is determined in step S31.

以上に動作説明をしたとおり、本発明のBIOS搭載コンピュータ1は、電源投入時に、拡張スロット#1番7-1〜#n番7-nに実搭載された拡張カード8-1〜8-n上の拡張BIOS9-1〜9-nそれぞれのBIOS個別ローディングをシステムRAM領域51内で唯一実行させ、各BIOS個別ローディングごとに拡張BIOS9-1〜9-nそれぞれの初期化前のBIOSオリジナルサイズとBIOSサイズ縮小化後のBIOS縮小化後サイズとを取得し、取得したそれぞれの両サイズ値に基づいて決定するBIOS個別ローディングそれぞれのローディング優先順位に従って、BIOS個別ローディングそれぞれを順次に実行させてBIOSローディングすることから、拡張BIOS9-1〜9-nの初期化前および初期化後のプログラムサイズに応じた順序によるBIOSローディングを自動的に実行させることができる。   As described above, the BIOS-equipped computer 1 of the present invention, when the power is turned on, the expansion cards 8-1 to 8-n actually installed in the expansion slots # 1-7-1 to # n7-n. The BIOS individual loading of each of the above expanded BIOSs 9-1 to 9-n is executed only in the system RAM area 51, and the BIOS original size before initialization of each of the expanded BIOSs 9-1 to 9-n is determined for each individual BIOS loading. The BIOS size after the BIOS size reduction is obtained, and the BIOS individual loading is sequentially executed in accordance with the loading priority of each BIOS individual loading determined based on the obtained both size values. Therefore, depending on the program size before and after initialization of the extended BIOS 9-1 to 9-n It can be automatically run the BIOS loading by order.

本発明に係る一実施例のBIOS搭載コンピュータの構成を示すブロック図The block diagram which shows the structure of the BIOS mounting computer of one Example which concerns on this invention. 本発明に係るCMOSのデータ構造の一例とデータ推移を説明する図The figure explaining an example of the data structure of CMOS which concerns on this invention, and data transition 本発明のBIOS搭載コンピュータの動作を説明するフローチャートThe flowchart explaining operation | movement of the BIOS mounting computer of this invention. 拡張スロット番号の昇順によるシステムRAM領域へのBIOSローディングを示す図The figure which shows BIOS loading to the system RAM area by ascending order of the expansion slot number 拡張スロット番号の降順によるシステムRAM領域へのBIOSローディングを示す図The figure which shows BIOS loading to the system RAM area by descending order of the expansion slot number

符号の説明Explanation of symbols

1 BIOS搭載コンピュータ
2 マザーボード
3 CPU
4 システムBIOS
5 主メモリ
6 バス線
7−1 拡張スロット#1番
8−1 拡張カード
9−1 拡張BIOS
40 BIOSローディング制御部
41 個別ローディング繰返部
42 サイズ取得部
43 CMOS
44 優先順位決定部
45 ローディング順次実行部
51 システムRAM領域
1 BIOS-equipped computer 2 Motherboard 3 CPU
4 System BIOS
5 Main memory 6 Bus line 7-1 Expansion slot # 1 8-1 Expansion card 9-1 Expansion BIOS
40 BIOS loading control unit 41 Individual loading repetition unit 42 Size acquisition unit 43 CMOS
44 priority determination unit 45 loading sequential execution unit 51 system RAM area

Claims (5)

ROMに格納された拡張BIOSを電源投入時に所定のRAM領域にコピーし、コピーされた前記拡張BIOSにより該拡張BIOS制御下のデバイスを初期化した後、該初期化後の所定のBIOSサイズ縮小化が行われた該拡張BIOSを前記所定RAM領域に常駐させるBIOS個別ローディングを、複数の拡張BIOSそれぞれに行うBIOS搭載コンピュータにおいて、
電源投入時に前記拡張BIOSそれぞれの前記BIOS個別ローディングを前記所定RAM領域内で唯一実行することを順次繰り返させて、前記拡張BIOSごとの前記初期化前のBIOSオリジナルサイズと前記BIOSサイズ縮小化後のBIOS縮小化後サイズとを取得し、該取得したそれぞれの両サイズ値に基づいて決定する前記BIOS個別ローディングそれぞれのローディング優先順位に従って、前記BIOS個別ローディングそれぞれを順次に実行させるBIOSローディング制御手段を
備えることを特徴とするBIOS搭載コンピュータ。
The expansion BIOS stored in the ROM is copied to a predetermined RAM area when the power is turned on. After the device under the expansion BIOS control is initialized by the copied expansion BIOS, the predetermined BIOS size is reduced after the initialization. In a BIOS-equipped computer that performs BIOS individual loading for causing each of the plurality of expansion BIOSes to make the expansion BIOS resident in the predetermined RAM area,
When the power is turned on, the BIOS individual loading of each of the expansion BIOSs is sequentially executed only within the predetermined RAM area, so that the BIOS original size before the initialization for each expansion BIOS and the BIOS size after the reduction are reduced. BIOS loading control means for acquiring the size after BIOS reduction and sequentially executing the BIOS individual loading according to the loading priority order of the BIOS individual loading determined based on the acquired both size values. A BIOS-equipped computer characterized by the above.
請求項1記載のBIOS搭載コンピュータにおいて、
前記BIOSローディング制御手段は、
電源投入時に前記拡張BIOSそれぞれの前記BIOS個別ローディングを前記所定RAM領域内で唯一実行することを順次繰り返させる個別ローディング繰返手段と、
前記拡張BIOSそれぞれの前記BIOSオリジナルサイズと前記BIOS縮小化後サイズとを格納するBIOSデータ格納手段と、
前記個別ローディング繰返手段による前記BIOS個別ローディングの実行ごとに、該実行中の拡張BIOSの前記BIOSオリジナルサイズと前記BIOS縮小化後サイズとを取得して前記BIOSデータ格納手段に格納するサイズ取得手段と、
前記BIOSデータ格納手段からの前記BIOSオリジナルサイズ情報と前記BIOS縮小化後サイズ情報とに基づいて前記ローディング優先順位を決定する優先順位決定手段と、
該優先順位決定手段により決定された前記ローディング優先順位に従って、前記BIOS個別ローディングそれぞれを順次に実行させるローディング順次実行手段と、
を有することを特徴とするBIOS搭載コンピュータ。
The BIOS-equipped computer according to claim 1,
The BIOS loading control means includes:
Individual loading repeating means for sequentially repeating the BIOS individual loading of each of the expansion BIOSs in the predetermined RAM area when power is turned on;
BIOS data storage means for storing the BIOS original size and the BIOS reduced size of each of the extended BIOS;
Each time the BIOS individual loading is executed by the individual loading repeating means, the size acquisition means for acquiring the BIOS original size and the BIOS reduced size of the extended BIOS being executed and storing them in the BIOS data storage means When,
Priority order determining means for determining the loading priority order based on the BIOS original size information from the BIOS data storage means and the BIOS reduced size information;
Loading sequential execution means for sequentially executing the BIOS individual loading according to the loading priority determined by the priority determination means;
A BIOS-equipped computer characterized by comprising:
請求項1又は請求項2記載のBIOS搭載コンピュータにおいて、
前記ローディング優先順位は、前記BIOS縮小化後サイズが小さいものほど高く設定し、前記BIOS縮小化後サイズが同等の場合には前記BIOSオリジナルサイズがより大きいものほど高く設定する
ことを特徴とするBIOS搭載コンピュータ。
The BIOS-equipped computer according to claim 1 or 2,
The loading priority is set higher as the size after BIOS reduction is smaller, and when the size after BIOS reduction is equal, the loading priority is set higher as the BIOS original size is larger. Onboard computer.
請求項2記載のBIOS搭載コンピュータにおいて、
前記BIOSデータ格納手段は、
フラッシュメモリまたはバッテリバックアップされたCMOSメモリである
ことを特徴とするBIOS搭載コンピュータ。
The BIOS-equipped computer according to claim 2,
The BIOS data storage means is
A BIOS-equipped computer characterized by being a flash memory or a battery-backed CMOS memory.
ROMに格納された拡張BIOSを電源投入時に所定のRAM領域にコピーし、コピーされた前記拡張BIOSにより該拡張BIOS制御下のデバイスを初期化した後、該初期化後の所定のBIOSサイズ縮小化が行われた該拡張BIOSを前記所定RAM領域に常駐させるBIOS個別ローディングを、複数の拡張BIOSそれぞれに行うBIOS搭載コンピュータのBIOSローディングプログラムであって、
電源投入時に前記拡張BIOSそれぞれの前記BIOS個別ローディングを前記所定RAM領域内で唯一実行することを順次繰り返させる個別ローディング繰返ステップと、
前記個別ローディング繰返ステップによる前記BIOS個別ローディングの実行ごとに、該実行中の拡張BIOSの前記初期化前のBIOSオリジナルサイズと前記BIOSサイズ縮小化後のBIOS縮小化後サイズとを取得してBIOSデータ格納手段に格納するサイズ取得ステップと、
前記BIOSデータ格納手段に格納されたBIOSオリジナルサイズ情報とBIOS縮小化後サイズ情報とに基づいてローディング優先順位を決定する優先順位決定ステップと、
該優先順位決定ステップにより決定された前記ローディング優先順位に従って、前記BIOS個別ローディングそれぞれを順次に実行させるローディング順次実行ステップと、
を有することを特徴とするBIOSローディングプログラム。
The expansion BIOS stored in the ROM is copied to a predetermined RAM area when the power is turned on. After the device under the expansion BIOS control is initialized by the copied expansion BIOS, the predetermined BIOS size is reduced after the initialization. A BIOS loading program for a BIOS-equipped computer that performs BIOS individual loading for causing the expansion BIOS to be resident in the predetermined RAM area to each of the plurality of expansion BIOSes,
An individual loading repeating step for sequentially repeating the BIOS individual loading of each of the expansion BIOSs in the predetermined RAM area when power is turned on;
Each time the BIOS individual loading in the individual loading iteration step is executed, the BIOS original size before the initialization of the extended BIOS being executed and the BIOS reduced size after the BIOS size reduction are obtained to obtain the BIOS. A size acquisition step for storing in the data storage means;
A priority order determining step of determining a loading priority order based on the BIOS original size information and the BIOS reduced size information stored in the BIOS data storage means;
A sequential loading step for sequentially executing each of the BIOS individual loadings according to the loading priority determined in the priority determination step;
A BIOS loading program characterized by comprising:
JP2005342193A 2005-11-28 2005-11-28 Bios loaded computer and bios loading program Withdrawn JP2007148773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005342193A JP2007148773A (en) 2005-11-28 2005-11-28 Bios loaded computer and bios loading program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005342193A JP2007148773A (en) 2005-11-28 2005-11-28 Bios loaded computer and bios loading program

Publications (1)

Publication Number Publication Date
JP2007148773A true JP2007148773A (en) 2007-06-14

Family

ID=38210122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005342193A Withdrawn JP2007148773A (en) 2005-11-28 2005-11-28 Bios loaded computer and bios loading program

Country Status (1)

Country Link
JP (1) JP2007148773A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8621192B2 (en) 2008-12-19 2013-12-31 Nec Corporation Computer start-up system, computer start-up method, and computer start-up program
WO2016021024A1 (en) * 2014-08-07 2016-02-11 三菱電機株式会社 Program execution system and method for launching resident programs

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8621192B2 (en) 2008-12-19 2013-12-31 Nec Corporation Computer start-up system, computer start-up method, and computer start-up program
WO2016021024A1 (en) * 2014-08-07 2016-02-11 三菱電機株式会社 Program execution system and method for launching resident programs
JP6054003B2 (en) * 2014-08-07 2016-12-27 三菱電機株式会社 Program execution system and resident program start method
CN106575234A (en) * 2014-08-07 2017-04-19 三菱电机株式会社 Program execution system and method for launching resident programs

Similar Documents

Publication Publication Date Title
JP5268363B2 (en) Switching method of computer multi-operating system
JP4534498B2 (en) Semiconductor device and its startup processing method
US20080010446A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
JPH05346900A (en) Data processing system and method for operating data processing system
CN1545654A (en) Method of rapid computer start-up
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
JP7002358B2 (en) Information processing system, information processing device, BIOS update method of information processing device, and BIOS update program of information processing device
JP5293062B2 (en) Computer apparatus, memory diagnosis method, and memory diagnosis control program
JP2005071303A (en) Program starting device
US10467018B2 (en) System and method for booting a host device from a mobile device
JP4177360B2 (en) Memory controller, flash memory system, and flash memory control method
US8291206B2 (en) Method for booting computer system
JP6599725B2 (en) Information processing apparatus, log management method, and computer program
JP2005157528A (en) Memory device
CN113190241A (en) Method and device for expanding capacity of data partition, electronic equipment and storage medium
JP2008158991A (en) Control system for nand type flash memory
JP2007148773A (en) Bios loaded computer and bios loading program
JP5970867B2 (en) Information processing apparatus, image forming apparatus, and program
US20100153633A1 (en) PC architecture using fast NV RAM in main memory
JP4235624B2 (en) Memory controller, flash memory system, and flash memory control method
JP2007133512A (en) Information processor with flash rom, and data erasing method for flash rom
US8806283B1 (en) Automatic and on-demand testing of non-volatile storage devices
US20150355914A1 (en) Information processing apparatus and program
JP2007265230A (en) Information processor and method for reading file thereof
JP2004265261A (en) Starting controller

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090203