JP3715631B2 - Information processing apparatus, CPU frequency control method, and program - Google Patents
Information processing apparatus, CPU frequency control method, and program Download PDFInfo
- Publication number
- JP3715631B2 JP3715631B2 JP2003092635A JP2003092635A JP3715631B2 JP 3715631 B2 JP3715631 B2 JP 3715631B2 JP 2003092635 A JP2003092635 A JP 2003092635A JP 2003092635 A JP2003092635 A JP 2003092635A JP 3715631 B2 JP3715631 B2 JP 3715631B2
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- information
- frequency
- predetermined
- predetermined information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、CPUを実装した各種の電子機器を含む情報処理装置、CPUの周波数制御方法、およびプログラムに関する。
【0002】
【従来の技術】
コンピュータシステムに於けるCPUの周波数切り替えはBIOS(基本入出力システム)の制御により行われる。
【0003】
CPUの周波数を2段階に制御するコンピュータシステムでは、BIOSが周波数を制御する際に、切り替え可能な周波数の値を、CPUの内部レジスタから取得したデータをもとに計算により求めることができ、また電圧値についてもCPUから判断することができた。この周波数切り替えを従来では外部回路を用いて行っていた。また、この周波数切り替えを外部回路に代わりBIOSを入れ替えて若しくは書き換えて対処することでハードウェアの簡素化を図った技術も存在する(例えば、特許文献1参照)。
【0004】
しかし、CPUの切り替え可能な周波数が3段階以上の多段階になると、切り替え可能な周波数の値と電圧値のすべてをCPUの内部レジスタから取得することはできない。
【0005】
【特許文献1】
特開平10−289031号公報
【0006】
【発明が解決しようとする課題】
上述したように従来では、周波数を多段階に切り替えることのできるCPUを実装するシステムに於いては、CPUから周波数の値と電圧値を自動的に求めることができないことから、CPUの種類の数だけBIOSが必要になり、切り替え可能な周波数の選択肢を変更したい場合はBIOSの書換えが必要になるなどの問題があった。
【0007】
本発明は上記実情に鑑みなされたもので、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOS(基本入出力システム)を用意することなく、またBIOSの書き換え、変更等を伴わずに、しかも外部回路を不要にして簡単かつ容易にCPUの周波数を多段階に切り替え制御できる情報処理装置、CPUの周波数制御方法およびプログラムを提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明は、周波数を多段階に切り替えることのできるCPUを実装するシステムに於いて、BIOSに、所定記憶領域に置かれたテーブルを用いて、CPUに周波数および電圧値を設定する処理手段、および外部より読み込んだテーブルのデータファイルを前記所定記憶領域に書き込むことで前記テーブルの内容を更新する処理手段を設けた構成として、例えばフロッピィディスクドライブ等の外部記憶装置から提供したデータファイルにより、動作周波数を異にする複数種のCPUに対して、実装CPUに適合した周波数および電圧値を設定できるようにしたことを特徴とする。これにより、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOSを用意することなく、またBIOSの書き換え、変更等を伴わずに、しかも外部回路を不要にして簡単かつ容易にCPUの周波数を多段階に切り替え制御できる。
【0009】
即ち、本発明は、実装するCPUの動作用周波数を外部より設定可能にした情報処理装置であって、前記CPUに設定する動作周波数を含んだ所定の情報が記憶される不揮発性メモリと、前記不揮発性メモリに記憶される所定の情報を外部記憶装置から読み出す読出手段と、前記読出手段で読み出された所定の情報が前記CPUに適合した情報であるか否かを判定する判定手段と、前記読出手段で読み出された前記所定の情報が前記判定手段で前記CPUに適合した情報であると判定された際に、当該所定の情報を前記不揮発性メモリに書き込む書込み手段と、前記読出手段で読み出された所定の情報が前記CPUに適合した情報でないと判定された際に、前記CPUに予め設定されているブート周波数でシステムを起動する起動手段とを具備したことを特徴とする。
【0010】
実施形態に従えば、本発明は、実装するCPUの動作用周波数を外部より設定可能にした情報処理装置であって、前記CPUに設定する周波数および電圧値を含んだ所定の情報をもつテーブルの保存領域を割り当てた不揮発性メモリと、前記テーブルのデータファイルを外部より読み込む読込手段と、前記読込手段で読み込んだテーブルのデータファイルに含まれる特定の情報から当該データファイルが前記CPUに適合したファイルであるか否かを判定するチェック手段と、前記読込手段で読み込んだテーブルのデータファイルが前記チェック手段で前記CPUに適合したファイルであると判定された際に、当該テーブルのデータファイルを前記不揮発性メモリの前記テーブル保存領域に書き込み、前記不揮発性メモリに保存されるテーブルの内容を更新するテーブル更新手段とを具備し、前記各手段をBIOSにより実現することで、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOSを用意することなく、またBIOSの書き換え、変更等を伴わずに、実装CPUに設定する周波数および電圧値を外部から供給されるテーブルのデータファイルにより容易にアップデートできるようにしたことを特徴とする。
【0011】
また、本発明は、前記情報処理装置に於いて、システム電源の投入に伴い前記不揮発性メモリの前記テーブル保存領域に保存されたテーブルの内容が前記CPUに適合するか否かを判定するテーブルチェック手段と、前記テーブルチェック手段で前記テーブル保存領域に保存されたテーブルの内容が前記CPUに適合すると判定された際に、前記テーブル保存領域に保存されたテーブルの内容に従う周波数および電圧値を前記CPUに設定する設定手段と、前記設定手段の設定内容に従い前記CPUの周波数を制御しシステムを起動する起動手段とをさらに具備し、前記外部から読み込んだテーブルのデータファイルの内容に従いシステムを起動できる構成として、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOSを用意することなく、またBIOSの書き換え、変更等を伴わずに、実装CPUに設定する周波数および電圧値を外部から供給されるテーブルのデータファイルによりアップデートできるようにしたことを特徴とする。
【0012】
更に、前記情報処理装置に於いて、前記テーブル更新手段により前記テーブル保存領域に保存されるテーブルの内容が更新された際に、システムを再起動するシステム制御手段をさらに具備することで、テーブルの内容更新に伴う再起動操作を不要にし簡素化できるとともに、更新されたテーブルの内容を反映したシステムの再起動処理機能を実現できる。
【0013】
また、本発明は、CPUの周波数制御方法に於いて、システム起動時の処理に、前記CPUに適合する周波数を含んだ所定の情報が予め定められた不揮発性メモリ領域に存在するか否かを判断し、前記CPUに適合する周波数を含んだ所定の情報が前記不揮発性メモリ領域に存在するとき、前記CPUに前記所定の情報に基づく周波数を設定するCPUへの周波数設定ステップを含み、システム起動後の処理に、前記不揮発性メモリ領域に書き込む所定の情報が外部より読み込まれた際、当該所定の情報が前記CPUに適合した情報であるか否かを判断し、CPUに適合した情報であると判断した際に、前記外部より読み込まれた所定の情報を前記不揮発性メモリ領域に書き込む書込ステップを含むことを特徴とする。
【0014】
実施形態に従えば、本発明は、BIOSによるCPUの周波数制御方法に於いて、システム起動時の処理に、前記CPUに適合する周波数および電圧値を含んだテーブルが所定の不揮発性メモリ領域に存在するか否かを判断し、前記CPUに適合する周波数および電圧値を含んだテーブルが前記不揮発性メモリ領域に存在するとき、当該テーブルを用いて前記CPUに周波数および電圧値を設定するCPUへの周波数設定ステップを含み、システム起動後の処理に、前記不揮発性メモリ領域に保存するテーブルのデータファイルが外部より読み込まれた際、当該データファイルが前記CPUに適合するテーブルのデータファイルであるか否かを判断し、CPUに適合するテーブルのデータファイルであることが確認された際に、当該データファイルを前記不揮発性メモリ領域に書き込んで前記不揮発性メモリ領域のテーブル内容を更新するステップを含むことを特徴とする。このようなCPUの周波数制御方法を用いることにより、周波数を多段階に切り替えることのできるCPUを実装するシステムに於いて、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOSを用意することなく、またBIOSの書き換え、変更等を伴わずに、CPU周波数のアップデートをに行うことができる。
【0015】
また、本発明は、CPUの周波数制御装置としてコンピュータを機能させるためのプログラムであって、システム起動時の処理に於いて、前記CPUに適合した周波数を含んだ所定の情報が所定の不揮発性メモリ領域に存在するか否かを判断する機能と、前記CPUに適合した周波数を含んだ所定の情報が前記所定の不揮発性メモリ領域に存在する際に、当該所定の情報に基づく周波数を前記CPUに設定する機能とをコンピュータに実現させ、システム起動後の処理に於いて、前記CPUに設定する周波数含んだ所定の情報が外部より読み込まれた際に、当該情報に含まれる特定情報から当該所定の情報が前記CPUに適合した情報であるか否かを判定する機能と、前記外部より読み込まれた所定の情報が前記CPUに適合した情報であると判定された際に、当該所定の情報を前記不揮発性メモリの所定の保存領域に書き込む機能とをコンピュータに実現させるプログラム構成としたことを特徴とする。
【0016】
実施形態に従えば、本発明は、CPUの周波数制御装置としてコンピュータを機能させるためのプログラムであって、システム起動時の処理に於いて、前記CPUに適合する周波数および電圧値を含んだテーブルが所定の不揮発性メモリ領域に存在するか否かを判断する機能と、前記CPUに適合する周波数および電圧値を含んだテーブルが所定の不揮発性メモリ領域に存在する際に、当該テーブルを用いて前記CPUに周波数および電圧値を設定する機能とをコンピュータに実現させ、システム起動後の処理に於いて、前記CPUに設定する周波数および電圧値を含んだ所定の情報をもつテーブルのデータファイルが外部より読み込まれた際に、当該テーブルのデータファイルに含まれる特定の情報から当該データファイルが前記CPUに適合したファイルであるか否かを判定する機能と、前記テーブルのデータファイルが前記CPUに適合したファイルであると判定された際に、当該テーブルのデータファイルを前記不揮発性メモリの所定のテーブル保存領域に書き込み、前記テーブル保存領域に保存されるテーブルの内容を更新する機能とをコンピュータに実現させるプログラム構成としたことを特徴とする。このようなプログラム機能をBIOSにもたせることで、CPUの周波数制御方法を用いることにより、周波数を多段階に切り替えることのできるCPUを実装するシステムに於いて、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOSを用意することなく、またBIOSの書き換え、変更等を伴わずに、CPU周波数のアップデートを行うことができる。
【0017】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態を説明する。
【0018】
本発明の実施形態に於ける情報処理装置は、図1に示すように、CPU11、BIOS−ROM12、フラッシュメモリ13、RAM14、フロッピィディスクドライブ(FDD)15等を有して構成される。
【0019】
CPU11は、装置内のマザーボードに実装され、上記BIOS−ROM12に格納されたBIOSのプログラム処理、およびRAM14に格納された、OS(オペレーティングシステム)、各種アプリケーションプログラム等に従う処理を実行する。この実施形態では、図3乃至図5に示すようなBIOS内のプログラム処理を実行する。この処理については後述する。
【0020】
BIOS−ROM12、およびフラッシュメモリ13は、それぞれ不揮発性のメモリにより構成されるもので、ここでは本発明を分かり易く説明するために別々のハードウェア構成のように示しているが、実際の構成では同一の不揮発性メモリにより実現される構成であってよい。BIOS−ROM12にはBIOS(基本入出力システム)が格納される。ここでは、図3乃至図5に示すような処理手順によるCPUの周波数制御処理ルーチンを含んだBIOSが格納される。
【0021】
フラッシュメモリ13は、実装CPU11の周波数設定を行う際に用いられるテーブル(TBL)の保存領域となるもので、上記RAM14に置かれたテーブル(TBL)のデータファイルが実装CPU11に適合したファイルであるか否かを判定するチェックに於いて、実装CPU11に適合したファイルであると判定されたとき、そのデータファイルが書き込まれ、当該メモリ上で保存対象にあるテーブル(TBL)が更新される。
【0022】
RAM14は、CPU11が実行する、OS、および各種アプリケーションプログラム等の各種プログラムの格納領域として用いられるとともに、CPU11の処理に供される作業領域として用いられる。ここではユーティリティプログラムの制御でフロッピィディスクドライブ(FDD)15から読み込まれたCPUの周波数設定に用いられるテーブル(TBL)のデータファイルが記憶される。このテーブル(TBL)の構成については図2を参照して後述する。
【0023】
フロッピィディスクドライブ(FDD)15は外部記憶装置として各種データの入出力に供されるもので、ここではフロッピィディスクに記録したテーブル(TBL)のデータファイルが、テーブルをアップデートする際にユーティリティプログラムの制御でリードアクセスされ、RAM14上に書き込まれる。
【0024】
図2は上記フラッシュメモリ13に保存される、CPUの周波数設定に用いられるテーブル(TBL)の構成例を示したもので、上記RAM14上に読み込まれるテーブル(TBL)のデータファイルについても同様のデータ構造である。この図2に示すデータ構造は、データファイルのヘッダー情報(1バイト、例=“G”)、サイズ情報(1バイト)、チェックサム(1バイト)、CPUのID情報(2バイト)、最高周波数を示す情報(1バイト)、最高電圧値を示す情報(1バイト)等のチェック用の情報と、CPUがサポートしている周波数および電圧値のサポートステート数を示す情報(1バイト)と、当該各サポートステート数に従う各ステート毎の周波数および電圧値と消費電力(パワー)値示すCPU設定情報(各5バイト)とが記述される。CPUのID情報(CPU ID)と、最高周波数と、最高電圧値とは実装CPU11の内部レジスタから取得可能である。
【0025】
図3乃至図5はそれぞれ上記BIOS−ROM12に格納されたBIOSにより実行される上記CPUの周波数制御処理ルーチンを示すフローチャートである。このうち、図3はシステム電源オンに伴うシステム起動時の処理に含まれるCPUの処理手順、図4は図3のステップS18の処理手順、図5はシステム起動後の処理に含まれる処理手順を示している。尚、図5に示すステップS21の処理についてはユーティリティプログラムの処理により実行される。
【0026】
ここで上記各図を参照して本発明の実施形態に於ける動作を説明する。
【0027】
システム電源が投入されると、CPU11はBIOS−ROM12に格納されたBIOSのプログラムを実行する。この処理に於いて、CPU11は、フラッシュメモリ13に格納されたテーブル(TBL)からヘッダー情報とチェックサムを読み込み(図3ステップS11)、そのヘッダー情報(“G”)とチェックサムを用いてフラッシュメモリ13に正規のテーブルが保存されているか否かをチェックする(図3ステップS12)。
【0028】
ここで、少なくともヘッダー情報若しくはチェックサムの一致がとれず、正規のテーブルが保存されている確認がとれない際は(図3ステップS13 No)、CPU11に予め設定されているブート周波数でシステムを起動する(図3ステップS19)。
【0029】
また、ヘッダー情報およびチェックサムの一致により正規のテーブルが保存されている確認がとれたならば(図3ステップS13 Yes)、次にフラッシュメモリ13から、CPU ID、最高周波数(f max)、最高電圧値(V max)を読み込み(図3ステップS14)、CPU11の内部レジスタより読んだCPU ID、最高周波数、最高電圧値と比較する(図3ステップS15,S16)。
【0030】
ここで、CPU ID、最高周波数、最高電圧値の少なくともいずれかが一致しなかった場合は(図3ステップS17 No)、CPU11に予め設定されているブート周波数でシステムを起動する(図3ステップS19)。
【0031】
また、CPU ID、最高周波数、最高電圧値のすべてが一致し、フラッシュメモリ13に正規のテーブル(TBL)が存在されていることを確認した際は(図3ステップS17 Yes)、当該テーブル(TBL)に記憶されている周波数情報をもとに、CPU11の周波数を設定してシステムを起動する(図3ステップS19)。
【0032】
この際は、例えばセットアップ画面等で設定されたセットアップ情報から、使用するCPU周波数のステート番号情報を取得し(図4ステップS181)、そのステート番号に対応した周波数、および電圧値をフラッシュメモリ13から取得して(図4ステップS182)、CPU11に設定(CPU11の内部レジスタに書き込んで当該内部レジスタの内容を更新)した後(図4ステップS183)、その設定周波数でCPU11を動作させシステムを起動する(図4ステップS184)。
【0033】
その後、OS上でユーティリティが実行され、フロッピィディスクドライブ(FDD)15から、テーブル(TBL)のデータファイルが読み込まれると(図5ステップS21)、BIOSはユーティリティからの通知を受けて、上記フロッピィディスクドライブ(FDD)15から読み込んだテーブル(TBL)のデータファイルをRAM14に格納する。この際は、CPU11のBIOS処理に於いて、RAM14に格納されたテーブル(TBL)のデータファイルがもつヘッダー情報とチェックサムを確認する(図5ステップS22)。この際の処理は上記したシステム起動の際の確認処理と同様に、そのヘッダー情報とチェックサムを用いてRAM14のデータファイルが正規のテーブル(TBL)のデータファイルであるか否かをチェックすることにより行われる。
【0034】
ここで、少なくともヘッダー情報若しくはチェックサムの一致がとれず、正規のテーブルのデータファイルでないと判定した際は(図5ステップS22 No)、上記フロッピィディスクドライブ(FDD)15から読み込んだRAM14上のデータファイルを破棄する(図5ステップS25)。
【0035】
また、ヘッダー情報およびチェックサムの一致によりRAM14上のデータファイルが正規のテーブル(TBL)のデータファイルであると判定した際は(図5ステップS22 Yes)、次にRAM14上の上記データファイルに記述された、CPU ID、最高周波数、最高電圧値が実装CPU11に適合したものであるか否かをチェックする(図5ステップS23)。この際の処理は上記したシステム起動の際の確認処理と同様に、RAM14から読み込んだ、CPU ID、最高周波数、最高電圧値と、CPU11の内部レジスタより読んだCPU ID、最高周波数、最高電圧値とを比較することによって行われる。
【0036】
ここで、CPU ID、最高周波数、最高電圧値の少なくともいずれかが一致しない際は(図5ステップS23 No)、上記フロッピィディスクドライブ(FDD)15から読み込んだRAM14上のデータファイルを破棄する(図5ステップS25)。
【0037】
また、CPU ID、最高周波数、最高電圧値のすべてが一致した際は、上記RAM14上のテーブル(TBL)のデータファイルをフラッシュメモリ13に書き込み、フラッシュメモリ13上のテーブル(TBL)のデータファイルを更新(アップデート)する(図5ステップS24)。これにより、以後、システム電源が投入されると、上述した図3に示すBIOS処理により、上記アップデートされたテーブル(TBL)に従う設定周波数でCPU11が動作しシステムを起動する
また、上記したアップデート処理に於いて、テーブル(TBL)のデータファイルをアップデートした後、BIOS上で再起動のトリガをかけることにより、ユーザの再立上げ操作を介在することなく、上記した図3に示す処理が実行され、フラッシュメモリ13上の更新されたテーブル(TBL)に基づく設定周波数でCPU11が動作してシステムを起動する。
【0038】
このように、外部記憶装置から供給されたCPUの周波数と電圧値を定義したテーブルを不揮発性メモリに更新するBIOSの処理機能と、不揮発性メモリに格納されたテーブルのデータファイルをCPUに設定しCPUの周波数を制御するBIOSの処理機能とを具備することにより、外部記憶装置から供給するCPUの周波数と電圧値を定義したテーブルを変更するだけで、動作周波数を異にするすべてのCPUを対象に所望の周波数設定を行うことができる。
【0039】
【発明の効果】
以上詳記したように本発明によれば、動作周波数を異にする複数種のCPUに対して、それぞれの種類に応じたBIOSを用意することなく、またBIOSの書き換え、変更等を伴わずに、しかも外部回路を不要にして簡単かつ容易にCPUの周波数を多段階に切り替え制御することができる。
【図面の簡単な説明】
【図1】本発明の実施形態に於ける情報処理装置の構成を示すブロック図。
【図2】上記実施形態に於けるテーブルの構造を示す図。
【図3】上記実施形態の処理手順を示すフローチャート。
【図4】上記実施形態の処理手順を示すフローチャート。
【図5】上記実施形態の処理手順を示すフローチャート。
【符号の説明】
11…CPU、12…BIOS、13…フラッシュメモリ、14…RAM、15…フロッピィディスクドライブ(FDD)、TBL…テーブル。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus including various electronic devices on which a CPU is mounted, a CPU frequency control method, and a program.
[0002]
[Prior art]
CPU frequency switching in the computer system is performed by control of a BIOS (basic input / output system).
[0003]
In a computer system that controls the CPU frequency in two stages, when the BIOS controls the frequency, the switchable frequency value can be obtained by calculation based on data acquired from the CPU internal register. The voltage value could also be determined from the CPU. This frequency switching has been conventionally performed using an external circuit. In addition, there is a technique that simplifies hardware by dealing with this frequency switching by replacing or rewriting BIOS instead of an external circuit (see, for example, Patent Document 1).
[0004]
However, if the frequency at which the CPU can be switched becomes more than three stages, it is not possible to obtain all of the switchable frequency value and voltage value from the internal register of the CPU.
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 10-289031
[Problems to be solved by the invention]
As described above, in a conventional system in which a CPU capable of switching the frequency in multiple stages is used, the frequency value and the voltage value cannot be automatically obtained from the CPU. However, there is a problem that the BIOS needs to be rewritten when it is necessary to change the switchable frequency option.
[0007]
The present invention has been made in view of the above circumstances. For a plurality of types of CPUs having different operating frequencies, it is possible to rewrite the BIOS without preparing a BIOS (basic input / output system) corresponding to each type. It is an object of the present invention to provide an information processing apparatus, a CPU frequency control method, and a program that can easily and easily switch and control a CPU frequency in multiple stages without requiring an external circuit and without an external circuit.
[0008]
[Means for Solving the Problems]
The present invention provides a processing unit for setting a frequency and a voltage value in a CPU using a table placed in a predetermined storage area in a BIOS in a system that implements a CPU capable of switching frequencies in multiple stages, and As a configuration provided with processing means for updating the contents of the table by writing a data file of the table read from the outside into the predetermined storage area, the operating frequency is determined by the data file provided from an external storage device such as a floppy disk drive. It is possible to set a frequency and a voltage value suitable for the mounted CPU for a plurality of types of CPUs having different values. As a result, for a plurality of types of CPUs having different operating frequencies, there is no need to prepare a BIOS corresponding to each type, and there is no need to rewrite or change the BIOS, and an external circuit is not required and can be simplified. In addition, the CPU frequency can be switched and controlled in multiple stages.
[0009]
That is, the present invention is an information processing apparatus in which an operating frequency of a CPU to be mounted can be set from the outside, and a non-volatile memory in which predetermined information including an operating frequency set in the CPU is stored; Reading means for reading predetermined information stored in the non-volatile memory from an external storage device; determination means for determining whether the predetermined information read by the reading means is information suitable for the CPU; Writing means for writing the predetermined information in the nonvolatile memory when the predetermined information read by the reading means is determined to be information suitable for the CPU by the determining means; and the reading means ingredients and starting means for starting the system in when the predetermined information read is determined not to be the information that conforms to the CPU, the boot frequency which is preset in the CPU Characterized in that it was.
[0010]
According to the embodiment, the present invention is an information processing apparatus in which an operating frequency of a CPU to be mounted can be set from the outside, and a table having predetermined information including a frequency and a voltage value set in the CPU. A nonvolatile memory to which a storage area is allocated, a reading unit for reading the data file of the table from the outside, and a file in which the data file is adapted to the CPU from specific information included in the data file of the table read by the reading unit Check means for determining whether or not the data file of the table read by the reading means is determined to be a file suitable for the CPU by the check means, the data file of the table is stored in the nonvolatile memory The table stored in the non-volatile memory is written to the table storage area of the non-volatile memory. Table updating means for updating the contents of the above, and by realizing each means by means of BIOS, it is possible to prepare a BIOS corresponding to each type for a plurality of types of CPUs having different operating frequencies. Further, the present invention is characterized in that the frequency and voltage value set in the mounting CPU can be easily updated by a data file of a table supplied from the outside without rewriting or changing the BIOS.
[0011]
Further, the present invention provides a table check for determining whether or not the contents of a table stored in the table storage area of the nonvolatile memory are compatible with the CPU when the system power is turned on in the information processing apparatus. And a frequency and voltage value in accordance with the contents of the table stored in the table storage area when the table check means determines that the contents of the table stored in the table storage area are compatible with the CPU. And setting means for setting to the above and a starting means for starting the system by controlling the frequency of the CPU according to the setting contents of the setting means, and the system can be started according to the contents of the data file of the table read from the outside For a plurality of types of CPUs having different operating frequencies, B corresponding to each type Without preparing OS, also rewriting BIOS, without changes or the like, characterized in that to be able to update the data file of the table to be supplied to the frequency and voltage value is set to implement CPU from the outside.
[0012]
Furthermore, the information processing apparatus further comprises system control means for restarting the system when the contents of the table stored in the table storage area are updated by the table update means, A restart operation associated with the content update can be eliminated and simplified, and a system restart processing function reflecting the updated table contents can be realized.
[0013]
Further, according to the present invention, in the CPU frequency control method, whether or not the predetermined information including the frequency suitable for the CPU exists in the predetermined nonvolatile memory area in the process at the time of starting the system. Determining and setting a frequency based on the predetermined information in the CPU when predetermined information including a frequency suitable for the CPU exists in the nonvolatile memory area, and starting the system In a later process, when predetermined information to be written into the nonvolatile memory area is read from the outside, it is determined whether or not the predetermined information is information suitable for the CPU. A write step of writing predetermined information read from the outside into the non-volatile memory area.
[0014]
According to the embodiment, the present invention provides a CPU frequency control method using a BIOS in which a table including a frequency and a voltage value suitable for the CPU is present in a predetermined nonvolatile memory area for processing at system startup. When the table including the frequency and voltage value suitable for the CPU exists in the nonvolatile memory area, the CPU sets the frequency and voltage value to the CPU using the table. When a table data file to be stored in the non-volatile memory area is read from the outside in a process after starting the system, including a frequency setting step, whether or not the data file is a table data file suitable for the CPU When it is confirmed that the data file is a table data file compatible with the CPU, the data file Writing yl in the nonvolatile memory region, characterized in that it comprises a step of updating the table contents of the nonvolatile memory area. In a system in which a CPU capable of switching the frequency in multiple stages by using such a CPU frequency control method is used, a plurality of types of CPUs having different operating frequencies can be selected according to each type. The CPU frequency can be updated without preparing the BIOS and without rewriting or changing the BIOS.
[0015]
Further, the present invention is a program for causing a computer to function as a CPU frequency control device, wherein predetermined information including a frequency suitable for the CPU is stored in a predetermined non-volatile memory during processing at system startup. A function for determining whether or not the data exists in the area, and when predetermined information including a frequency suitable for the CPU exists in the predetermined nonvolatile memory area, a frequency based on the predetermined information is transmitted to the CPU. When the predetermined information including the frequency to be set in the CPU is read from the outside in the processing after starting the system, the predetermined function is set from the specific information included in the information. A function for determining whether information is information suitable for the CPU, and predetermined information read from the outside is information suitable for the CPU. When it is determined, characterized in that the predetermined information and a program configured to realize a function of writing in a predetermined storage area of the nonvolatile memory in the computer.
[0016]
According to the embodiment, the present invention is a program for causing a computer to function as a CPU frequency control device, and a table including frequencies and voltage values suitable for the CPU in processing at system startup. A function for determining whether or not a predetermined non-volatile memory area exists and a table including a frequency and a voltage value suitable for the CPU exist in the predetermined non-volatile memory area. A function for setting a frequency and a voltage value in a CPU is realized in a computer, and a data file of a table having predetermined information including a frequency and a voltage value to be set in the CPU is processed from the outside in the processing after system startup. When read, the data file is sent to the CPU from the specific information contained in the data file of the table. A function for determining whether or not the data file is a combined file, and when it is determined that the data file of the table is a file suitable for the CPU, the data file of the table is stored in a predetermined table of the nonvolatile memory. It is characterized by a program configuration that allows a computer to realize a function of writing to an area and updating the contents of a table stored in the table storage area. By providing such a program function to the BIOS, by using a CPU frequency control method, a system in which a CPU capable of switching the frequency in multiple stages is mounted. On the other hand, the CPU frequency can be updated without preparing a BIOS corresponding to each type and without rewriting or changing the BIOS.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0018]
As shown in FIG. 1, the information processing apparatus according to the embodiment of the present invention includes a
[0019]
The
[0020]
The BIOS-
[0021]
The
[0022]
The
[0023]
The floppy disk drive (FDD) 15 is used as an external storage device for input / output of various data. Here, the data file of the table (TBL) recorded on the floppy disk controls the utility program when the table is updated. Is read-accessed and written on the
[0024]
FIG. 2 shows an example of the configuration of a table (TBL) stored in the
[0025]
FIGS. 3 to 5 are flowcharts showing the CPU frequency control processing routine executed by the BIOS stored in the BIOS-
[0026]
Here, the operation in the embodiment of the present invention will be described with reference to the respective drawings.
[0027]
When the system power is turned on, the
[0028]
If at least the header information or checksum does not match and it is not possible to confirm that the regular table is stored (No in step S13 in FIG. 3), the system is started at the boot frequency preset in the
[0029]
Also, if it is confirmed that the regular table is saved by matching the header information and the checksum (step S13 Yes in FIG. 3), the CPU ID, the highest frequency (f max), the highest The voltage value (Vmax) is read (step S14 in FIG. 3) and compared with the CPU ID, maximum frequency, and maximum voltage value read from the internal register of the CPU 11 (steps S15 and S16 in FIG. 3).
[0030]
If at least one of the CPU ID, the highest frequency, and the highest voltage value does not match (No in step S17 in FIG. 3), the system is started at the boot frequency preset in the CPU 11 (step S19 in FIG. 3). ).
[0031]
When it is confirmed that the CPU ID, the highest frequency, and the highest voltage value all match and that the regular table (TBL) exists in the flash memory 13 (Yes in step S17 in FIG. 3), the table (
[0032]
In this case, for example, state number information of the CPU frequency to be used is acquired from the setup information set on the setup screen or the like (step S181 in FIG. 4), and the frequency and voltage value corresponding to the state number are obtained from the
[0033]
After that, when the utility is executed on the OS and the data file of the table (TBL) is read from the floppy disk drive (FDD) 15 (step S21 in FIG. 5), the BIOS receives the notification from the utility, and the floppy disk The data file of the table (TBL) read from the drive (FDD) 15 is stored in the
[0034]
If it is determined that at least the header information or the checksum does not match and the data file is not a regular table (No in step S22 in FIG. 5), the data on the
[0035]
When it is determined that the data file on the
[0036]
If at least one of the CPU ID, the highest frequency, and the highest voltage value does not match (No in step S23 in FIG. 5), the data file on the
[0037]
When the CPU ID, maximum frequency, and maximum voltage value all match, the data file of the table (TBL) on the
[0038]
As described above, the BIOS processing function for updating the table defining the frequency and voltage value of the CPU supplied from the external storage device to the nonvolatile memory and the data file of the table stored in the nonvolatile memory are set in the CPU. By having a BIOS processing function that controls the CPU frequency, it is possible to target all CPUs with different operating frequencies simply by changing the table that defines the CPU frequency and voltage value supplied from the external storage device. A desired frequency can be set.
[0039]
【The invention's effect】
As described above in detail, according to the present invention, for a plurality of types of CPUs having different operating frequencies, a BIOS corresponding to each type is not prepared, and the BIOS is not rewritten or changed. In addition, the CPU frequency can be switched and controlled in multiple stages simply and easily without the need for an external circuit.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention.
FIG. 2 is a view showing a structure of a table in the embodiment.
FIG. 3 is a flowchart showing a processing procedure of the embodiment.
FIG. 4 is a flowchart showing a processing procedure of the embodiment.
FIG. 5 is a flowchart showing a processing procedure of the embodiment.
[Explanation of symbols]
DESCRIPTION OF
Claims (16)
前記CPUに設定する動作周波数を含んだ所定の情報が記憶される不揮発性メモリと、
前記不揮発性メモリに記憶される所定の情報を外部記憶装置から読み出す読出手段と、
前記読出手段で読み出された所定の情報が前記CPUに適合した情報であるか否かを判定する判定手段と、
前記読出手段で読み出された前記所定の情報が前記判定手段で前記CPUに適合した情報であると判定された際に、当該所定の情報を前記不揮発性メモリに書き込む書込み手段と、
前記読出手段で読み出された所定の情報が前記CPUに適合した情報でないと判定された際に、前記CPUに予め設定されているブート周波数でシステムを起動する起動手段と
を具備したことを特徴とする情報処理装置。CPU,
A non-volatile memory in which predetermined information including an operating frequency set in the CPU is stored;
Reading means for reading predetermined information stored in the nonvolatile memory from an external storage device;
Determining means for determining whether or not the predetermined information read by the reading means is information suitable for the CPU;
Writing means for writing the predetermined information into the nonvolatile memory when the predetermined information read by the reading means is determined to be information suitable for the CPU by the determination means ;
Starting means for starting a system at a boot frequency preset in the CPU when it is determined that the predetermined information read by the reading means is not information suitable for the CPU; An information processing apparatus characterized by that.
前記第2の判定手段で前記所定の情報が前記CPUに適合した情報であると判定された際に、前記所定の情報に基づく周波数を前記CPUに設定する設定手段と、
前記設定手段の設定内容に従い前記CPUの周波数を制御しシステムを起動する起動手段と
をさらに具備する請求項1記載の情報処理装置。Second determination means for determining whether the predetermined information stored in the non-volatile memory is information suitable for the CPU when a system power is turned on;
Setting means for setting a frequency based on the predetermined information in the CPU when the second determining means determines that the predetermined information is information suitable for the CPU;
The information processing apparatus according to claim 1, further comprising an activation unit that activates a system by controlling a frequency of the CPU according to a setting content of the setting unit.
システム起動時の処理に、前記CPUに適合する周波数を含んだ所定の情報が予め定められた不揮発性メモリ領域に存在するか否かを判断し、前記CPUに適合する周波数を含んだ所定の情報が前記不揮発性メモリ領域に存在するとき、前記CPUに前記所定の情報に基づく周波数を設定するCPUへの周波数設定ステップを含み、
システム起動後の処理に、前記不揮発性メモリ領域に書き込む所定の情報が外部より読み込まれた際、当該所定の情報が前記CPUに適合した情報であるか否かを判断し、CPUに適合した情報であると判断した際に、前記外部より読み込まれた所定の情報を前記不揮発性メモリ領域に書き込む書込ステップを含むことを特徴とするCPUの周波数制御方法。In the CPU frequency control method,
It is determined whether or not predetermined information including a frequency suitable for the CPU exists in a predetermined non-volatile memory area in processing at the time of starting the system, and the predetermined information including the frequency suitable for the CPU Including a frequency setting step to the CPU that sets a frequency based on the predetermined information to the CPU when is present in the nonvolatile memory area,
When predetermined information to be written into the non-volatile memory area is read from outside for processing after system startup, it is determined whether the predetermined information is information suitable for the CPU. A CPU frequency control method comprising a writing step of writing predetermined information read from the outside into the nonvolatile memory area when it is determined that
前記CPUに設定する周波数を含んだ所定の情報が外部より読み込まれた際に、当該所定の情報に含まれる特定情報から当該所定の情報が前記CPUに適合した情報であるか否かを判定する機能と、
前記外部より読み込まれた所定の情報が前記CPUに適合した情報であると判定された際に、当該所定の情報を不揮発性メモリの所定の保存領域に書き込む機能と、
前記CPUに適合した周波数を含んだ所定の情報が前記不揮発性メモリの所定の保存領域に存在するか否かを判断する機能と、
前記CPUに適合した周波数を含んだ所定の情報が前記不揮発性メモリ領域の所定の保存領域に存在する際に、当該所定の情報に基づく周波数を前記CPUに設定する機能と
を実現させるためのプログラムを記録した機械読み取り可能な記録媒体。A computer-readable recording medium for realizing a frequency control function of a CPU,
When predetermined information including a frequency set in the CPU is read from the outside, it is determined whether or not the predetermined information is information suitable for the CPU from specific information included in the predetermined information. Function and
A function of writing the predetermined information in a predetermined storage area of the nonvolatile memory when it is determined that the predetermined information read from the outside is information suitable for the CPU;
A function of determining whether or not predetermined information including a frequency suitable for the CPU exists in a predetermined storage area of the nonvolatile memory;
A program for realizing a function of setting a frequency based on the predetermined information in the CPU when predetermined information including a frequency suitable for the CPU exists in a predetermined storage area of the nonvolatile memory area A machine-readable recording medium on which is recorded.
システム起動時の処理に於いて、
前記CPUに適合した周波数を含んだ所定の情報が所定の不揮発性メモリ領域に存在するか否かを判断する機能と、
前記CPUに適合した周波数を含んだ所定の情報が前記所定の不揮発性メモリ領域に存在する際に、当該所定の情報に基づく周波数を前記CPUに設定する機能とをコンピュータに実現させ、
システム起動後の処理に於いて、
前記CPUに設定する周波数含んだ所定の情報が外部より読み込まれた際に、当該情報に含まれる特定情報から当該所定の情報が前記CPUに適合した情報であるか否かを判定する機能と、
前記外部より読み込まれた所定の情報が前記CPUに適合した情報であると判定された際に、当該所定の情報を前記不揮発性メモリの所定の保存領域に書き込む機能とをコンピュータに実現させるためのプログラム。A program for causing a computer to function as a CPU frequency control device,
In the system startup process,
A function for determining whether or not predetermined information including a frequency suitable for the CPU exists in a predetermined nonvolatile memory area;
When predetermined information including a frequency suitable for the CPU is present in the predetermined nonvolatile memory area, the computer has a function of setting a frequency based on the predetermined information in the CPU,
In processing after system startup,
A function for determining whether or not the predetermined information is information suitable for the CPU from specific information included in the information when the predetermined information including the frequency set in the CPU is read from the outside;
A function for causing a computer to realize a function of writing the predetermined information in a predetermined storage area of the nonvolatile memory when it is determined that the predetermined information read from the outside is information suitable for the CPU. program.
前記所定の保存領域に保存された所定の情報に含まれる、前記CPUがサポートしている、周波数並びに電圧値をそれぞれ異にする複数のステートから、一つのステートを選択する機能と、
前記所定の保存領域に保存された所定の情報から、前記選択されたステートに従う周波数および電圧値を取得する機能と、
前記取得した周波数および電圧値を前記CPUの内部レジスタに設定する機能とが含まれる請求項14記載のプログラム。In the function of setting the frequency based on the predetermined information in the CPU,
A function of selecting one state from a plurality of states with different frequencies and voltage values supported by the CPU included in the predetermined information stored in the predetermined storage area;
A function of acquiring a frequency and a voltage value according to the selected state from predetermined information stored in the predetermined storage area;
The program according to claim 14, further comprising a function of setting the acquired frequency and voltage value in an internal register of the CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003092635A JP3715631B2 (en) | 2003-03-28 | 2003-03-28 | Information processing apparatus, CPU frequency control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003092635A JP3715631B2 (en) | 2003-03-28 | 2003-03-28 | Information processing apparatus, CPU frequency control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004302679A JP2004302679A (en) | 2004-10-28 |
JP3715631B2 true JP3715631B2 (en) | 2005-11-09 |
Family
ID=33405667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003092635A Expired - Fee Related JP3715631B2 (en) | 2003-03-28 | 2003-03-28 | Information processing apparatus, CPU frequency control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3715631B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4817760B2 (en) * | 2005-08-26 | 2011-11-16 | キヤノン株式会社 | Information processing apparatus and system clock frequency setting method thereof |
JP4747898B2 (en) * | 2006-03-23 | 2011-08-17 | 日本電気株式会社 | Information processing apparatus, processor operation clock frequency verification method, and processor operation clock frequency verification program |
US7830690B2 (en) | 2006-10-30 | 2010-11-09 | Intel Corporation | Memory module thermal management |
-
2003
- 2003-03-28 JP JP2003092635A patent/JP3715631B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004302679A (en) | 2004-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070094489A1 (en) | Embedded system that boots from USB flash drive | |
US20070055854A1 (en) | Method for loading configuration data onto a non-volatile memory and a device using the same | |
JP2003345730A (en) | Interface device, method for updating firmware in interface device and program therefor | |
US8214425B2 (en) | System and method for storing a program using partial compression | |
US6687815B1 (en) | Method and apparatus for storing non-volatile configuration information | |
JP2003323301A (en) | Information processor for downloading softward, download method, and download program | |
US7047283B1 (en) | Apparatus and method of upgrading program of firmware board | |
JP3715631B2 (en) | Information processing apparatus, CPU frequency control method, and program | |
WO2019207729A1 (en) | Industrial computer, industrial computer system, operating system update method, and program | |
JP3768967B2 (en) | Disk control device and disk device control program update method | |
US20020078339A1 (en) | Booting system and booting method for an assistant operation system | |
JPH11306007A (en) | Method and system for bios rewriting | |
JP2845839B2 (en) | Radio selective call receiver | |
JP2004320591A (en) | Portable communication terminal | |
JPH08305561A (en) | Method and device for down-loading firmware | |
JPH07281986A (en) | Extended board, information processor using the same and control method for peripheral device | |
JP2013532859A (en) | Method for executing utility program, computer system and computer program product | |
JP4066406B2 (en) | File system management method, management method, management program, and storage medium | |
JP4723913B2 (en) | How to run a new video BIOS | |
JPH08305652A (en) | Board containing driver software | |
JPH09224107A (en) | Program processor in copying machine | |
JP2000305768A (en) | Method for re-writing system software | |
JPH04169929A (en) | Boot priority changing device | |
JPH10171645A (en) | Information processor | |
JP2001084145A (en) | Image pickup device and method for receiving its control program and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050310 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050322 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050518 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050823 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050825 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 3715631 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080902 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090902 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090902 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100902 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110902 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110902 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120902 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120902 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130902 Year of fee payment: 8 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313121 Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |