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

JP3844197B2 - Information processing device - Google Patents

Information processing device Download PDF

Info

Publication number
JP3844197B2
JP3844197B2 JP2001313241A JP2001313241A JP3844197B2 JP 3844197 B2 JP3844197 B2 JP 3844197B2 JP 2001313241 A JP2001313241 A JP 2001313241A JP 2001313241 A JP2001313241 A JP 2001313241A JP 3844197 B2 JP3844197 B2 JP 3844197B2
Authority
JP
Japan
Prior art keywords
signal
cpu
control unit
siogp
nmi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001313241A
Other languages
Japanese (ja)
Other versions
JP2003122583A (en
Inventor
国誠 長弓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2001313241A priority Critical patent/JP3844197B2/en
Publication of JP2003122583A publication Critical patent/JP2003122583A/en
Application granted granted Critical
Publication of JP3844197B2 publication Critical patent/JP3844197B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、マスク不可能な割込信号であるNMI(Non-Maskable Interrupt)信号及びNMI信号より割り込み優先度が高いマスク不可能な割込信号であるSMI信号(System Management Interrupt)によって割り込み可能で、各種の演算処理やプログラム等を実行するCPU(Central Processing Unit)を備えた情報処理装置に関する。
【0002】
【従来の技術】
現在、ファイル管理やメモリ管理等を行う基本ソフトウェアであるOS(Operating system)として、マイクロソフト社のWindowsシリーズ(以下、Windows系OSとする)は、様々な分野に普及している。そして、このWindows系OSは、各種の演算処理やプログラム等を実行するCPUを搭載した情報処理装置、例えば、パーソナルコンピュータや商品の売上処理を実行する商品販売データ処理装置であるPOS(Point of Sales:販売時点管理)端末等にも採用されている。そして、このような情報処理装置に搭載されるCPUとしては、インテル社のX86系CPUが広く普及している。
【0003】
このX86系CPU(以下、CPUとする)は、マスク不可能な割込信号であるNMI信号やSMI信号等によって割り込み可能に構成されている。NMI信号は、すぐに対処しなければならない致命的な問題であるシステムエラー発生時等にCPUに入力されるものである。そして、SMI信号は、NMI信号より割り込み優先度が高く、CPU等の発熱部分における温度異常時や内蔵された各部を外部から守るカバーの開放時等にCPUに入力されるものである。このSMI信号は、周辺装置の電力カット等を行うシステム管理モードへの移行を指示する信号としても使用される。
【0004】
ここで、このようなCPUについて従来のPOS端末を一例として、図9に基づいて説明する。図9は、従来のPOS端末100に備えられた各部の電気的接続を示すブロック図である。
【0005】
図9に示すように、CPU101には、バスライン102を介して、CPU及びメモリを制御するCPU/メモリ制御部103が接続されている。このCPU/メモリ制御部103には、バスライン102を介して、周辺装置とのバス接続を制御する周辺バス制御部104、処理対象となるプログラムや各種データ等を格納するRAM(Random Access Memory)であるメインメモリ105、周辺装置の初期化や各種設定を行い、周辺装置を制御するプログラムであるBIOS(Basic I/O System)を格納する不揮発性メモリ106が接続されている。この不揮発性メモリ106は、バックアップ電源が不要で書き換え可能なROMであるフラッシュメモリで構成されている。
【0006】
周辺バス制御部104には、バスライン102を介して、入力装置であるキーボード107、表示装置であるディスプレイ108、レシートに印字するレシートプリンタ109、金銭を収納するドロワ110、表面に磁性層を形成したディスクに磁気的にデータを読み書きするハードディスクドライブ(以下、HDDとする)111等が周辺装置として接続されている。そして、このHDD111には、Windows系OSや商品の売上処理を実行させるプログラム等が記録されている。
【0007】
CPU101には、NMI信号及びSMI信号が割込信号として周辺バス制御部104から入力される。さらに、CPU101には、初期状態から再起動させるリセット信号の/RESET信号(信号名の前に付された記号/は、ロウアクティブの信号であることを示し、以下、同様とする)がCPU/メモリ制御部103から入力される。
【0008】
ここで、POS端末による商品の売上処理中に、つまり、Windows系OSの起動中に、CPU等の発熱部分における温度異常が発生した場合には、SMI信号が周辺バス制御部104からCPU101に入力され、CPU101の処理に割り込みをかける。この時、システム制御権は、Windows系OSからBIOSに移り、CPU101はBIOSに基づいて所定のエラー処理を行う。
【0009】
また、Windows系OSの起動中に、システムエラーが発生した場合には、NMI信号が周辺バス制御部104からCPU101に入力され、CPU101の処理に割り込みをかける。この時、システム制御権はWindows系OSのままで、CPU101はWindows系OS基づいて所定のエラー処理を行う。
【0010】
【発明が解決しようとする課題】
このように、システムエラー発生時には、Windows系OSに基づいて所定のエラー処理が行われるが、Windows系OSが普及する前には、各社が自社開発したOS、例えば、TPOS、FlexOS等に基づいた各社独自のエラー処理が行われていた。そして、各社独自のエラー処理を改良して、情報処理装置の故障に対する事前予防及び事後対策を行うことによって、情報処理装置の信頼性を向上させ、付加価値の追及が行われていた。
【0011】
しかし、Windows系OSを採用した情報処理装置においては、システムエラー発生時のエラー処理がWindows系OSによって決められているので、自社開発したOSに基づいて行われていた各社独自のエラー処理を実行することができない。したがって、情報処理装置の信頼性を向上させることや付加価値の追及がほぼ不可能になっている。
【0012】
そこで、これを可能にするためには、システムエラーが発生した場合に、システム制御権をWindows系OSから各社独自のエラー処理を実行するプログラムに移す必要がある。このプログラムとしては、自社で開発することが可能なBIOSが適している。つまり、システムエラーが発生した場合に、システム制御権をWindows系OSからBIOSに移すことによって、情報処理装置の信頼性を向上させることや付加価値の追及ができる。
【0013】
本発明の目的は、Windows系OSを採用した情報処理装置において、各社独自のエラー処理を実行でき、情報処理装置の信頼性を向上させることや付加価値の追及をできるようにすることである。
【0014】
【課題を解決するための手段】
請求項1記載の情報処理装置の発明は、マスク不可能な割込信号であるNMI信号又はNMI信号より割り込み優先度が高いマスク不可能な割込信号であるSMI信号によって割り込み可能で、各種の演算処理やプログラムを実行するCPUと、各種プログラム及びデータを記憶するメモリと、CPU及びメモリを制御するCPU/メモリ制御部と、周辺装置のバス接続を制御する周辺バス制御部と、システムエラーが発生した場合にCPUに入力されるNMI信号をSMI信号に切り替える切替回路とを備える。
【0015】
したがって、システムエラーが発生した場合にCPUに入力される信号をNMI信号からSMI信号に切り替えることによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移すことが可能になり、各社独自のBIOSを開発することで、Windows系OSを採用した情報処理装置においても、各社独自のエラー処理を実行して、装置故障に対する事前予防及び事後対策を行うことが可能となる。
【0016】
請求項2記載の発明は、請求項1記載の情報処理装置において、周辺バス制御部が、NMI信号、第一SIOGP信号、第二SIOGP信号及び第三SIOGP信号を切替回路に出力し、SMI信号をCPUに出力して、切替回路が、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて、周辺バス制御部にSMI信号を出力させる/EXTSMI信号を周辺バス制御部の入力信号として生成して、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて、CPUNMI信号をCPUへの割込信号として生成する。
【0017】
したがって、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて切替回路により/EXTSMI信号を生成して、この/EXTSMI信号に基づいて周辺バス制御部からCPUにSMI信号を入力することによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移したり戻したりすることが可能になり、システムエラーを解除できずにシステム制御権をBIOSからWindows系OSに戻した場合に、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて切替回路により生成されるCPUNMI信号をCPUに入力することによって、Windows系OSにシステムエラーの発生を知らせることが可能になる。
【0018】
請求項3記載の発明は、請求項1記載の情報処理装置において、周辺バス制御部が、NMI信号、SMI信号、第一SIOGP信号、第二SIOGP信号及び第三SIOGP信号を切替回路に出力して、切替回路が、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて、CPUSMI信号をCPUへの割込信号として生成して、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて、CPUNMI信号をCPUへの割込信号として生成する。
【0019】
したがって、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて切替回路によりCPUSMI信号を生成して、このCPUSMI信号を切替回路からCPUに入力することによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移したり戻したりすることが可能になり、システムエラーを解除できずにシステム制御権をBIOSからWindows系OSに戻した場合に、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて切替回路により生成されるCPUNMI信号をCPUに入力することによって、Windows系OSにシステムエラーの発生を知らせることが可能になる。
【0020】
【発明の実施の形態】
本発明の第一の実施の形態の情報処理装置について説明する。本実施の形態の情報処理装置の一例として、商品の売上げ処理を実行する商品販売データ処理装置であるPOS端末について図1ないし図5に基づいて説明する。
【0021】
図1は、本実施の形態のPOS端末1を概略的に示す外観斜視図である。図1に示すように、POS端末1は、ドロワ2上に載置されており、このドロワ2の引出3の開閉を制御する。このPOS端末1の筐体4には、各種のキーが集合するキーボード5、図示しない鍵によって業務モードを切り替えるモードキー6、印字されたレシートを発行するレシート発行口7が設けられている。また、POS端末1の右側上方には、オペレータ側の表示手段として機能するディスプレイ8aが配置され、このディスプレイ8aの近傍には例えば商品の売価や合計金額等のみ表示する補助表示手段として機能する客側ディスプレイ8bが立設されている。
【0022】
図2は、本実施の形態のPOS端末1に備えられた各部の電気的接続を示すブロック図である。図2に示すように、CPU9には、バスライン10を介して、CPU及びメモリを制御するCPU/メモリ制御部11が接続されている。このCPU/メモリ制御部11には、バスライン10を介して、周辺装置とのバス接続を制御する周辺バス制御部12、処理対象となるプログラムや各種データ等を格納するRAMであるメインメモリ13、周辺装置の初期化や各種設定を行い、周辺装置を制御するプログラムであるBIOS等を格納する不揮発性メモリ14が接続されている。
【0023】
この不揮発性メモリ14は、バックアップ電源が不要で書き換え可能なROMであるフラッシュメモリで構成されている。これにより、BIOSの書き換えが可能になっている。このBIOSには、SMIモジュールソフトとしてシステムエラーを調査/記録するプログラムが組み込まれている。
【0024】
周辺バス制御部12には、システムエラーが発生した場合にCPU9に入力されるNMI信号をSMI信号に切り替える切替回路15が接続され、さらに、バスライン10を介して、入力装置であるキーボード5、表示装置であるディスプレイ8、レシートに印字するレシートプリンタ16、金銭を収納するドロワ2、表面に磁性層を形成したディスクに磁気的にデータを読み書きするHDD17等が周辺装置として接続されている。そして、このハードディスクには、Windows系OSやPOS端末1に商品の売上処理を実行させる商品売上処理プログラムや各種のアプリケーションが記録されている。
【0025】
切替回路15には、初期状態から再起動させるリセット信号の/RESETD信号がCPU/メモリ制御部11から入力されて、さらに、NMI信号、第一SIOGP(Super I/O IC's General Pins)信号であるSIOGP10信号、第二SIOGP信号であるSIOGP11信号、第三SIOGP信号であるSIOGP12信号が周辺バス制御部12から入力される。
【0026】
周辺バス制御部12には、/EXTSMI信号(EXTernal System Management Interrupt)が切替回路15からNMI信号及びSIOGP10信号に基づいて入力される。
【0027】
CPU9には、SMI信号が割込信号として周辺バス制御部12から/EXTSMI信号に基づいて入力される。そして、CPU9には、CPUNMI(Central Processing Unit Non-Maskable Interrupt)信号が切替回路15からSIOGP11信号及びSIOGP12信号に基づいて入力される。ここで、CPUNMI信号は、NMI信号と同様にマスク不可能な割込信号である。さらに、CPU9には、リセット信号の/RESET信号がCPU/メモリ制御部11から入力される。
【0028】
図3は、本実施の形態のPOS端末1に内蔵されている切替回路15を示す概略回路図である。図3に示すように、切替回路15は、2個のフリップフロップ18(18a、18b)、3個のANDゲート19(19a、19b、19c)、3個のトライステートバッファ20(20a、20b、20c)、2個のバッファ21(21a、12b)から構成されている。
【0029】
まず、NMI信号及びSIOGP10信号に基づいて/EXTSMI信号を生成する回路について説明する。
【0030】
フリップフロップ18aでは、PR端子及びD端子に電圧VCC(3.3V)が入力されて、PR端子及びD端子がHighレベル(以下、Hレベルとする)に固定されていて、CK端子にNMI信号が、CLR端子にANDゲート19aからの出力信号が入力される。そして、これらの信号に基づいて、フリップフロップ18aの/Q端子から出力信号が、/EXTSMI信号としてバッファ21aを介して出力される。
【0031】
ANDゲート19aには、SIOGP10信号及びANDゲート19bからの出力信号が入力される。このANDゲート19bでは、一方の入力端子に電圧VCCが入力されてHレベルに固定されていて、他方の入力端子に/RESETD信号が入力される。
【0032】
ここで、トライステートバッファ20aには、NMI信号が入力され、/RESETD信号が入力されるANDゲート19bからの出力信号が状態選択信号として入力される。つまり、トライステートバッファ20aは、ANDゲート19bからの出力信号におけるHレベルとLowレベル(以下、Lレベルとする)との状態に基づいて、断線状態あるいは導通状態に変化する。
【0033】
これにより、/RESETD信号がHレベルになっている場合には、ANDゲート19bからの出力信号がHレベルになり、トライステートバッファ20aが断線状態になり、NMI信号がHレベルになってもCPUNMI信号がHレベルにならないように構成されている。また、/RESETD信号がLレベルになっている場合には、つまり、CPU9の初期設定動作中には、ANDゲート19bからの出力信号がLレベルになり、トライステートバッファ20aが導通状態になる。これにより、NMI信号がHレベルになると、CPUNMI信号がHレベルになるので、初期設定時の動作確認が問題なく実行される。
【0034】
次に、SIOGP12信号及びSIOGP13信号に基づいてCPUNMI信号を生成する回路について説明する。
【0035】
フリップフロップ18bでは、CK端子及びD端子に電圧VCCが入力されて、CK端子及びD端子がHレベルに固定されていて、PR端子にSIOGP11信号が、CLR端子にANDゲート19cからの出力信号が入力される。これらの信号に基づいて、フリップフロップ18bのQ端子から信号が出力される。
【0036】
ANDゲート19cには、/RESETD信号が入力されるANDゲート19bからの出力信号及びSIOGP12信号が入力される。
【0037】
ここで、トライステートバッファ20bには、フリップフロップ18bのQ端子からの出力信号が入力され、トライステートバッファ20cからの出力信号が状態選択信号として入力される。このトライステートバッファ20cには、電圧VCCが入力されて(Hレベルに固定)、/RESETD信号が状態選択信号として入力される。
【0038】
トライステートバッファ20cは、/RESETD信号におけるHレベルとLレベルとの状態に基づいて、断線状態あるいは導通状態に変化する。同様に、トライステートバッファ20bは、トライステートバッファ20cからの出力信号におけるHレベルとLレベルとの状態に基づいて、断線状態あるいは導通状態に変化する。
【0039】
/RESETD信号がHレベルになると、トライステートバッファ20cが断線状態になり、トライステートバッファ20cの出力信号がLレベルになる。これにより、トライステートバッファ20bは導通状態になり、フリップフロップ18bのQ端子からの出力信号が、CPUNMI信号としてバッファ21bを介して出力される。
【0040】
逆に、/RESETD信号がLレベルになると、トライステートバッファ20cが導通状態になり、トライステートバッファ20cの出力信号がHレベルになる。これにより、トライステートバッファ20bが断線状態になり、フリップフロップ18bのQ端子からの出力信号が遮断される。
【0041】
このような構成において、POS端末1の電源が投入されて電源電圧が所定の電圧に達すると、CPU/メモリ制御部11から入力される/RESET信号によって、CPU9は、動作可能な状態になり、初期設定動作が開始される。最初に、CPU9は、ROM14に記録されているBIOSを読み込んで、周辺装置の初期化や各種設定を実行する。そして、CPU9は、ハードディスクに記録されたWindows系OSを読み込み、それをメインメモリ13に書き込んで実行する。その後、HDD17に記録された商品売上処理プログラムが読み出され、POS端末1が商品の売上処理を実行可能な状態になる。
【0042】
図4は、各種信号のタイムチャートである。POS端末1が商品の売上処理を実行可能な状態である通常時には、図4に示すように、/RESET信号、/RESETD信号、SIOGP10信号、SIOGP11信号、SIOGP12信号が、Hレベルで保持されている。また、/EXTSMI信号もHレベルを保持している。
【0043】
ここで、切替回路15では、/RESETD信号がHレベルなので、ANDゲート19bの出力信号がHレベルになり、SIOGP10信号がHレベルなので、ANDゲート19aの出力信号がHレベルになる。これにより、フリップフロップ18aのCLR端子がHレベルに保たれている。
【0044】
また、SIOGP11信号がHレベルなので、フリップフロップ18bのPR端子もHレベルになる。そして、SIOGP12信号とANDゲート19bの出力信号とがHレベルなので、ANDゲート19cの出力信号がHレベルになる。これにより、フリップフロップ18bのCLR端子がHレベルに保たれている。
【0045】
このような回路状態で、POS端末1による商品の売上処理中に、つまり、Windows系OSの起動中に、システムエラーとしてメモリエラーが発生した場合について説明する。
【0046】
ここで、メモリエラーとは、メインメモリ13から読み出すデータが書き込み時と比較して異なる状態になることである。このメモリエラーは、本来のデータとは別に付加したコードであるECC(Error-Correcting Code)を用いて検出される。
【0047】
システムエラーとしてメモリエラーが発生した場合、CPU/メモリ制御部11は、周辺バス制御部12にメモリエラーの発生を知らせる。このメモリエラーの発生により、NMI信号がHレベルになる。
【0048】
切替回路15では、NMI信号がHレベルになるので、フリップフロップ18aのCK端子がHレベルになる。これにより、フリップフロップ18aの/Q端子からの出力信号である/EXTSMI信号は、Lレベルになる。
【0049】
この/EXTSMI信号がLレベルになることによって、周辺バス制御部12からCPU9にSMI信号が入力される。このSMI信号の入力によって、CPU9のシステム制御権はWindows系OSからBIOSに移る。これにより、BIOSに組み込まれたSMIモジュールソフトが実行中のアプリケーションやOSに依存せずに起動する。
【0050】
図5は、SMIモジュールソフトによる処理の流れを示すフローチャートである。図5に示すように、SMIモジュールソフトは、CPU9の関連レジスタステータスを確認し、システムエラーの原因(メモリエラー)を調査/記録して、さらに、原因に対する処理も行う(ステップS1)。
【0051】
メモリエラーが1ビットエラーである場合には、ECCによって1ビットエラーが修復される。しかし、メモリエラーが2ビット以上のエラーである場合には、ECCによるメモリエラーの修復はできないので、メモリエラーが修復されない。
【0052】
エラー処理が終了した後、周辺バス制御部12から切替回路15に入力されるSIOGP10信号をLレベルにすると、切替回路15では、ANDゲート19aの出力信号が、Lレベルになるので、フリップフロップ18aのCLR端子がLレベルになる。これにより、フリップフロップ18aの/Q端子からの出力信号がHレベルになる。
【0053】
したがって、/EXTSMI信号が再びHレベルに保持されるので、SMI信号が周辺バス制御部12からCPU9に入力されなくなり、システム制御権はBIOSからWindows系OSに戻される(S2)。
【0054】
そして、CPUNMI信号をCPU9に入力する必要があるか否かの判断がされる(S3)。この時、メモリエラーが1ビットエラーである場合には、メモリエラーが修復されているので、CPUNMI信号をCPU9に入力する必要は無く(S3のN)、プログラムは終了する。そして、Windows系OSは、何事もなかったようにCPU9に各種処理を実行させる。
【0055】
ここで、メモリエラーが2ビット以上のエラーである場合には、ECCによってメモリエラーが修復されていないので、システムを初期化し再起動させるために、CPUNMI信号をCPU9に入力する必要がある(S3のY)。
【0056】
このために、CPU9は、SMIモジュールソフトに基づいて、周辺バス制御部12から切替回路15に入力されるSIOGP11信号を一定時間Lレベルにする。すると、切替回路15では、フリップフロップ18bのPR端子がLレベルになる。加えて、フリップフロップ18aのCLR端子がHレベルに保たれているので、フリップフロップ18bのQ端子からの出力信号がHレベルになる。
【0057】
そして、/RESETD信号がHレベルで、トライステートバッファ20bが導通状態なので、フリップフロップ18bのQ端子からの出力信号がCPUNMI信号になり、CPUNMI信号がHレベルに保たれる。
【0058】
次に、周辺バス制御部12から切替回路15に入力されるSIOGP12信号をLレベルにする。すると、切替回路15では、ANDゲート19cの出力信号がHレベルになる。これにより、フリップフロップ18bのCLR端子がHレベルになる。加えて、フリップフロップ18aのPR端子がHレベルに保たれているので、フリップフロップ18bのQ端子からの出力信号がLレベルになる。
【0059】
そして、/RESETD信号がHレベルで、トライステートバッファ20bが導通状態なので、フリップフロップ18bのQ端子の出力信号がCPUNMI信号になり、CPUNMI信号がHレベルからLレベルになる。
【0060】
このようにして、切替回路15により生成されたCPUNMI信号がCPU9に入力され(S4)、プログラムは終了する。
【0061】
CPU9は、システムエラーの発生を知り、Windows系OSによる所定のエラー処理を行う。2ビット以上のメモリエラーは修復されていないので、システムを初期化し再起動させるため、CPU/メモリ制御部11から/RESET信号をCPU9に入力して、CPU9を再起動させる。再び、CPU9は、初期設定動作を行い、Windows系OSを読み込んで実行し、HDD17に記録された商品売上処理プログラムを読み出し、POS端末1を商品の売上処理が実行可能な状態にする。
【0062】
本実施の形態のPOS端末1においては、システムエラーが発生した場合にCPU9に入力される信号をNMI信号からSMI信号に切り替えることによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移すことができるので、各社独自のBIOSを開発することで、Windows系OSを採用した情報処理装置においても、各社独自のエラー処理を実行することができ、装置故障に対する事前予防及び事後対策を行うことで、情報処理装置の信頼性を向上させることや付加価値の追及ができるようになる。
【0063】
さらに、システムエラーが発生した場合に周辺バス制御部12から入力されるNMI信号及びSIOGP10信号に基づいて切替回路15により/EXTSMI信号を生成して、この/EXTSMI信号に基づいて周辺バス制御部12からCPU9にSMI信号を入力することによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移したり戻したりすることができ、システムエラーを解除できずにシステム制御権をBIOSからWindows系OSに戻した場合に、周辺バス制御部12から入力されるSIOGP11信号及びSIOGP12信号に基づいて切替回路15により生成されるCPUNMI信号をCPU9に入力することによって、Windows系OSにシステムエラーの発生を知らせることができる。
【0064】
本発明の第二の実施の形態の情報処理装置について説明する。本実施の形態の情報処理装置の一例として、商品の売上げ処理を実行する商品販売データ処理装置であるPOS端末について図6ないし図8に基づいて説明する。なお、第一の実施の形態において説明した部分と同一部分は同一符号で示し、説明も省略する。本実施の形態の基本的構成は、第一の実施の形態とほぼ同じである。
【0065】
図6は、本実施の形態のPOS端末1に備えられた各部の電気的接続を示すブロック図である。本実施の形態における第一の実施の形態との相違点としては、図6に示すように、切替回路15から周辺バス制御部12に/EXTSMI信号が入力されず(図2参照)、周辺バス制御部12から切替回路15にSMI信号が入力され、切替回路15からCPU9にCPUSMI(Central Processing Unit System Management Interrupt)信号がNMI信号及びSIOGP10信号に基づいて入力されている点である。ここで、CPUSMI信号は、SMI信号と同様にNMI信号及びCPUNMI信号より割り込み優先度が高いマスク不可能な割込信号である。
【0066】
図7は、本実施の形態のPOS端末1に内蔵されている切替回路15を示す概略回路図である。図7に示すように、本実施の形態の回路構成は、第一の実施の形態とほぼ同じであり、第一の実施の形態との相違点としては、SMI信号がCPUSMI信号となるように接続され、フリップフロップ18aの/Q端子からの出力信号がCPUSMI信号としてインバータ22を介して出力されている点である。これが、NMI信号及びSIOGP10信号に基づいてCPUSMI信号を生成する回路である。
【0067】
このような構成において、POS端末1におけるCPU9の処理動作は、第一の実施の形態とほぼ同じであり、第一の実施の形態との相違点としては、/EXTSMI信号が生成されず、CPUSMI信号が生成される点である。
【0068】
図8は、各種信号のタイムチャートである。詳述すると、図7及び図8に示すように、メモリエラーが発生して、NMI信号がHレベルになると、切替回路15では、フリップフロップ18aのCK端子がHレベルになる。これにより、フリップフロップ18aの/Q端子からの出力信号がLレベルになり、インバータ22を介してHレベルになる。したがって、CPUSMI信号はHレベルになる。
【0069】
CPUSMI信号がHレベルになることによって、CPU9のシステム制御権はWindows系OSからBIOSに移る。これにより、BIOSに組み込まれたSMIモジュールソフトが、実行中のアプリケーションやOSに依存せずに起動する。
【0070】
SMIモジュールソフトによる処理の流れは、第一の実施の形態とほぼ同じである(図5参照)。ただし、ステップS2において、周辺バス制御部12から切替回路15に入力されるSIOGP10信号をLレベルにすると、切替回路15では、ANDゲート19aの出力信号が、Lレベルになるので、フリップフロップ18aのCLR端子がLレベルになる。これにより、フリップフロップ18aの/Q端子からの出力信号がHレベルになり、インバータ22を介してLレベルなる。したがって、CPUSMI信号がLレベルに保持されるので、システム制御権はBIOSからWindows系OSに戻される。この後の処理は、第一の実施の形態と全く同じである。
【0071】
本実施の形態のPOS端末1においては、システムエラーが発生した場合にCPU9に入力される信号をNMI信号からSMI信号に切り替えることによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移すことができるので、各社独自のBIOSを開発することで、Windows系OSを採用した情報処理装置においても、各社独自のエラー処理を実行することができ、装置故障に対する事前予防及び事後対策を行うことで、情報処理装置の信頼性を向上させることや付加価値の追及ができるようになる。
【0072】
さらに、システムエラーが発生した場合に周辺バス制御部12から入力されるNMI信号及びSIOGP10信号に基づいて切替回路15によりCPUSMI信号を生成して、このCPUSMI信号を切替回路15からCPU9に入力することによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移したり戻したりすることができ、システムエラーを解除できずにシステム制御権をBIOSからWindows系OSに戻した場合に、周辺バス制御部12から入力されるSIOGP11信号及びSIOGP12信号に基づいて切替回路15により生成されるCPUNMI信号をCPU9に入力することによって、Windows系OSにシステムエラーの発生を知らせることができる。
【0073】
【発明の効果】
請求項1記載の情報処理装置の発明によれば、マスク不可能な割込信号であるNMI信号又はNMI信号より割り込み優先度が高いマスク不可能な割込信号であるSMI信号によって割り込み可能で、各種の演算処理やプログラムを実行するCPUと、各種プログラム及びデータを記憶するメモリと、CPU及びメモリを制御するCPU/メモリ制御部と、周辺装置のバス接続を制御する周辺バス制御部と、システムエラーが発生した場合にCPUに入力されるNMI信号をSMI信号に切り替える切替回路とを備えることから、システムエラーが発生した場合にCPUに入力される信号をNMI信号からSMI信号に切り替えることによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移すことができるので、各社独自のBIOSを開発することで、Windows系OSを採用した情報処理装置においても、各社独自のエラー処理を実行することができ、装置故障に対する事前予防及び事後対策を行うことで、情報処理装置の信頼性を向上させることや付加価値の追及ができるようになる。
【0074】
請求項2記載の発明によれば、請求項1記載の情報処理装置において、周辺バス制御部が、NMI信号、第一SIOGP信号、第二SIOGP信号及び第三SIOGP信号を切替回路に出力し、SMI信号をCPUに出力して、切替回路が、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて、周辺バス制御部にSMI信号を出力させる/EXTSMI信号を周辺バス制御部の入力信号として生成して、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて、CPUNMI信号をCPUへの割込信号として生成することから、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて切替回路により/EXTSMI信号を生成して、この/EXTSMI信号に基づいて周辺バス制御部からCPUにSMI信号を入力することによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移したり戻したりすることができ、システムエラーを解除できずにシステム制御権をBIOSからWindows系OSに戻した場合に、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて切替回路により生成されるCPUNMI信号をCPUに入力することによって、Windows系OSにシステムエラーの発生を知らせることができる。
【0075】
請求項3記載の発明によれば、請求項1記載の情報処理装置において、周辺バス制御部が、NMI信号、SMI信号、第一SIOGP信号、第二SIOGP信号及び第三SIOGP信号を切替回路に出力して、切替回路が、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて、CPUSMI信号をCPUへの割込信号として生成して、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて、CPUNMI信号をCPUへの割込信号として生成することから、システムエラーが発生した場合に周辺バス制御部から入力されるNMI信号及び第一SIOGP信号に基づいて切替回路によりCPUSMI信号を生成して、このCPUSMI信号を切替回路からCPUに入力することによって、システムエラー発生時のシステム制御権をWindows系OSからBIOSに移したり戻したりすることができ、システムエラーを解除できずにシステム制御権をBIOSからWindows系OSに戻した場合に、周辺バス制御部から入力される第二SIOGP信号及び第三SIOGP信号に基づいて切替回路により生成されるCPUNMI信号をCPUに入力することによって、Windows系OSにシステムエラーの発生を知らせることができる。
【図面の簡単な説明】
【図1】本発明の第一の実施の形態のPOS端末を概略的に示す外観斜視図である。
【図2】POS端末に備えられた各部の電気的接続を示すブロック図である。
【図3】POS端末に内蔵されている切替回路を示す概略回路図である。
【図4】各種信号のタイムチャートである。
【図5】SMIモジュールソフトによる処理の流れを示すフローチャートである。
【図6】本発明の第二の実施の形態のPOS端末に備えられた各部の電気的接続を示すブロック図である。
【図7】POS端末に内蔵されている切替回路を示す概略回路図である。
【図8】各種信号のタイムチャートである。
【図9】従来のPOS端末に備えられた各部の電気的接続を示すブロック図である。
【符号の説明】
9 CPU
13、14 メモリ
11 CPU/メモリ制御部
12 周辺バス制御部
15 切替回路
[0001]
BACKGROUND OF THE INVENTION
The present invention can be interrupted by an NMI (Non-Maskable Interrupt) signal that is an unmaskable interrupt signal and an SMI signal (System Management Interrupt) that is an unmaskable interrupt signal having a higher interrupt priority than the NMI signal. The present invention relates to an information processing apparatus including a CPU (Central Processing Unit) that executes various arithmetic processes and programs.
[0002]
[Prior art]
At present, Microsoft's Windows series (hereinafter referred to as Windows-based OS) is widely used in various fields as an OS (Operating System) which is basic software for performing file management, memory management, and the like. This Windows OS is an information processing apparatus equipped with a CPU for executing various arithmetic processes, programs, etc., for example, a personal computer or a POS (Point of Sales) which is a merchandise sales data processing apparatus for executing merchandise sales processing. : Point-of-sale management) It is also used in terminals. As a CPU mounted on such an information processing apparatus, an Intel X86 CPU is widely used.
[0003]
This X86 CPU (hereinafter referred to as CPU) is configured to be interruptible by an NMI signal, an SMI signal, or the like, which is an interrupt signal that cannot be masked. The NMI signal is input to the CPU when a system error, which is a fatal problem that must be dealt with immediately, occurs. The SMI signal has a higher interrupt priority than the NMI signal, and is input to the CPU when the temperature of the heat generating part such as the CPU is abnormal or when the cover that protects each of the built-in parts from the outside is opened. This SMI signal is also used as a signal for instructing a shift to a system management mode for cutting off the power of peripheral devices.
[0004]
Here, such a CPU will be described with reference to FIG. 9, taking a conventional POS terminal as an example. FIG. 9 is a block diagram showing the electrical connection of each unit provided in the conventional POS terminal 100.
[0005]
As shown in FIG. 9, a CPU / memory control unit 103 that controls the CPU and memory is connected to the CPU 101 via a bus line 102. The CPU / memory control unit 103 includes a peripheral bus control unit 104 that controls bus connection with peripheral devices via a bus line 102, and a RAM (Random Access Memory) that stores programs to be processed, various data, and the like. The main memory 105 is connected to a nonvolatile memory 106 that stores a basic I / O system (BIOS) that is a program for performing initialization and various settings of the peripheral device and controlling the peripheral device. The nonvolatile memory 106 is configured by a flash memory that is a rewritable ROM that does not require a backup power source.
[0006]
The peripheral bus control unit 104 is formed with a keyboard 107 as an input device, a display 108 as a display device, a receipt printer 109 for printing a receipt, a drawer 110 for storing money, and a magnetic layer on the surface via a bus line 102. A hard disk drive (hereinafter referred to as HDD) 111 that reads / writes data magnetically from / to the read disk is connected as a peripheral device. The HDD 111 is recorded with a Windows OS, a program for executing sales processing of products, and the like.
[0007]
The CPU 101 receives an NMI signal and an SMI signal from the peripheral bus control unit 104 as interrupt signals. Further, the CPU 101 receives a reset signal / RESET signal (the symbol / attached to the front of the signal name indicates that it is a low active signal, the same shall apply hereinafter) to be restarted from the initial state. Input from the memory control unit 103.
[0008]
Here, when a temperature abnormality occurs in a heat generation part such as a CPU during the sales process of the product by the POS terminal, that is, during the startup of the Windows OS, an SMI signal is input from the peripheral bus control unit 104 to the CPU 101. The CPU 101 interrupts the processing of the CPU 101. At this time, the system control right is transferred from the Windows OS to the BIOS, and the CPU 101 performs predetermined error processing based on the BIOS.
[0009]
If a system error occurs while the Windows OS is running, an NMI signal is input from the peripheral bus control unit 104 to the CPU 101 to interrupt the processing of the CPU 101. At this time, the system control right remains the Windows OS, and the CPU 101 performs predetermined error processing based on the Windows OS.
[0010]
[Problems to be solved by the invention]
As described above, when a system error occurs, predetermined error processing is performed based on the Windows OS, but before the Windows OS spreads, it is based on an OS developed by each company, such as TPOS, FlexOS, etc. Each company had its own error handling. Further, by improving the error processing unique to each company and performing pre-prevention and subsequent measures against failure of the information processing apparatus, the reliability of the information processing apparatus is improved, and added value is pursued.
[0011]
However, in an information processing apparatus that uses a Windows OS, the error processing when a system error occurs is determined by the Windows OS, so that each company's own error processing that has been performed based on the OS developed in-house is executed. Can not do it. Therefore, it is almost impossible to improve the reliability of the information processing apparatus and to pursue added value.
[0012]
Therefore, in order to make this possible, when a system error occurs, it is necessary to transfer the system control right from the Windows OS to a program that executes error processing unique to each company. A BIOS that can be developed in-house is suitable as this program. That is, when a system error occurs, the reliability of the information processing apparatus can be improved and the added value can be pursued by transferring the system control right from the Windows OS to the BIOS.
[0013]
An object of the present invention is to make it possible to execute error processing unique to each company in an information processing apparatus employing a Windows OS, thereby improving the reliability of the information processing apparatus and pursuing added value.
[0014]
[Means for Solving the Problems]
The invention of the information processing device according to claim 1 can be interrupted by an NMI signal that is an unmaskable interrupt signal or an SMI signal that is an unmaskable interrupt signal having a higher interrupt priority than the NMI signal. A CPU that executes arithmetic processing and programs, a memory that stores various programs and data, a CPU / memory control unit that controls the CPU and the memory, a peripheral bus control unit that controls bus connections of peripheral devices, and a system error And a switching circuit that switches an NMI signal input to the CPU to an SMI signal when it occurs.
[0015]
Therefore, by switching the signal that is input to the CPU from the NMI signal to the SMI signal when a system error occurs, the system control right at the time of the system error can be transferred from the Windows OS to the BIOS. By developing this BIOS, even in an information processing apparatus adopting a Windows OS, it becomes possible to perform error prevention unique to each company and perform pre-prevention and subsequent countermeasures against apparatus failure.
[0016]
According to a second aspect of the present invention, in the information processing apparatus according to the first aspect, the peripheral bus control unit outputs the NMI signal, the first SIOGP signal, the second SIOGP signal, and the third SIOGP signal to the switching circuit, and the SMI signal / EXTTSMI signal to output the SMI signal to the peripheral bus control unit based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit when a system error occurs. Is generated as an input signal of the peripheral bus control unit, and the CPUNMI signal is generated as an interrupt signal to the CPU based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit.
[0017]
Therefore, when a system error occurs, the switch circuit generates an / EXTSMI signal based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit, and the peripheral bus control unit generates the / EXTSMI signal based on the / EXTSMI signal. By inputting the SMI signal to the CPU, it becomes possible to transfer the system control right when the system error occurs from the Windows OS to the BIOS, and to transfer the system control right from the BIOS without releasing the system error. When the system OS is returned to the system OS, a CPU NMI signal generated by the switching circuit based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit is input to the CPU, thereby causing a system error in the Windows OS. It becomes possible to notify the occurrence of .
[0018]
According to a third aspect of the present invention, in the information processing device according to the first aspect, the peripheral bus control unit outputs the NMI signal, the SMI signal, the first SIOGP signal, the second SIOGP signal, and the third SIOGP signal to the switching circuit. The switching circuit generates a CPU SMI signal as an interrupt signal to the CPU based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit when a system error occurs, and the peripheral bus control unit The CPUNMI signal is generated as an interrupt signal to the CPU based on the second SIOGP signal and the third SIOGP signal input from.
[0019]
Therefore, when a system error occurs, a CPU SMI signal is generated by the switching circuit based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit, and this CPU SMI signal is input from the switching circuit to the CPU. When the system error occurs, the system control right can be transferred from the Windows OS to the BIOS or returned to the BIOS, and when the system control right is returned from the BIOS to the Windows OS without being able to cancel the system error, By inputting the CPUNMI signal generated by the switching circuit based on the second SIOGP signal and the third SIOGP signal input from the bus control unit to the CPU, it becomes possible to notify the Windows OS of the occurrence of the system error. .
[0020]
DETAILED DESCRIPTION OF THE INVENTION
The information processing apparatus according to the first embodiment of the present invention will be described. As an example of the information processing apparatus of the present embodiment, a POS terminal that is a merchandise sales data processing apparatus that executes merchandise sales processing will be described with reference to FIGS.
[0021]
FIG. 1 is an external perspective view schematically showing a POS terminal 1 according to the present embodiment. As shown in FIG. 1, the POS terminal 1 is placed on a drawer 2 and controls the opening and closing of the drawer 3 of the drawer 2. The casing 4 of the POS terminal 1 is provided with a keyboard 5 in which various keys are gathered, a mode key 6 for switching a business mode with a key (not shown), and a receipt issuing port 7 for issuing a printed receipt. Further, a display 8a that functions as a display means on the operator side is arranged on the upper right side of the POS terminal 1, and a customer that functions as an auxiliary display means that displays, for example, only the selling price or total amount of goods, for example, is provided in the vicinity of the display 8a. A side display 8b is erected.
[0022]
FIG. 2 is a block diagram showing an electrical connection of each unit provided in the POS terminal 1 of the present embodiment. As shown in FIG. 2, a CPU / memory control unit 11 that controls the CPU and memory is connected to the CPU 9 via a bus line 10. The CPU / memory control unit 11 includes a peripheral bus control unit 12 that controls bus connection with peripheral devices via the bus line 10, and a main memory 13 that is a RAM that stores programs to be processed, various data, and the like. A non-volatile memory 14 is connected to store a BIOS or the like, which is a program for performing initialization and various settings of the peripheral device and controlling the peripheral device.
[0023]
The nonvolatile memory 14 is constituted by a flash memory that is a rewritable ROM that does not require a backup power source. As a result, the BIOS can be rewritten. The BIOS incorporates a program for investigating / recording system errors as SMI module software.
[0024]
The peripheral bus control unit 12 is connected to a switching circuit 15 that switches an NMI signal input to the CPU 9 to an SMI signal when a system error occurs, and further, via the bus line 10, a keyboard 5 that is an input device, A peripheral device is connected to the display 8, which is a display device, a receipt printer 16 that prints on receipts, a drawer 2 that stores money, an HDD 17 that magnetically reads and writes data on a disk having a magnetic layer formed on the surface, and the like. The hard disk stores a merchandise sales processing program for causing the Windows OS and the POS terminal 1 to execute merchandise sales processing and various applications.
[0025]
A reset signal / RESETD signal to be restarted from the initial state is input to the switching circuit 15 from the CPU / memory control unit 11, and further, an NMI signal and a first SIOGP (Super I / O IC's General Pins) signal. The SIOGP10 signal, the SIOGP11 signal that is the second SIOGP signal, and the SIOGP12 signal that is the third SIOGP signal are input from the peripheral bus control unit 12.
[0026]
The peripheral bus control unit 12 receives an / EXTSMI signal (EXTernal System Management Interrupt) from the switching circuit 15 based on the NMI signal and the SIOGP10 signal.
[0027]
The CPU 9 receives the SMI signal as an interrupt signal from the peripheral bus control unit 12 based on the / EXTSMI signal. The CPU 9 receives a CPU NMI (Central Processing Unit Non-Maskable Interrupt) signal from the switching circuit 15 based on the SIOGP11 signal and the SIOGP12 signal. Here, the CPUNMI signal is an interrupt signal that cannot be masked, like the NMI signal. Further, a reset signal / RESET signal is input to the CPU 9 from the CPU / memory control unit 11.
[0028]
FIG. 3 is a schematic circuit diagram showing the switching circuit 15 built in the POS terminal 1 of the present embodiment. As shown in FIG. 3, the switching circuit 15 includes two flip-flops 18 (18a, 18b), three AND gates 19 (19a, 19b, 19c), and three tristate buffers 20 (20a, 20b, 20c) It is composed of two buffers 21 (21a, 12b).
[0029]
First, a circuit that generates the / EXTSMI signal based on the NMI signal and the SIOGP10 signal will be described.
[0030]
In the flip-flop 18a, the voltage V is applied to the PR terminal and the D terminal. CC (3.3V) is input, the PR terminal and the D terminal are fixed to a high level (hereinafter referred to as H level), the NMI signal is input to the CK terminal, and the output signal from the AND gate 19a is input to the CLR terminal. Entered. Based on these signals, an output signal is output from the / Q terminal of the flip-flop 18a through the buffer 21a as the / EXTSMI signal.
[0031]
The AND gate 19a receives the SIOGP10 signal and the output signal from the AND gate 19b. In the AND gate 19b, the voltage V is applied to one input terminal. CC Is fixed at the H level, and the / RESETD signal is input to the other input terminal.
[0032]
Here, the NMI signal is input to the tri-state buffer 20a, and the output signal from the AND gate 19b to which the / RESETD signal is input is input as a state selection signal. That is, the tri-state buffer 20a changes to a disconnected state or a conductive state based on the state of the H level and the Low level (hereinafter referred to as L level) in the output signal from the AND gate 19b.
[0033]
As a result, when the / RESETD signal is at the H level, the output signal from the AND gate 19b becomes the H level, the tri-state buffer 20a is disconnected, and the CPU NMI even when the NMI signal becomes the H level. The signal is configured not to become H level. When the / RESETD signal is at L level, that is, during the initial setting operation of the CPU 9, the output signal from the AND gate 19b is at L level, and the tri-state buffer 20a becomes conductive. Thus, when the NMI signal becomes H level, the CPU NMI signal becomes H level, so that the operation check at the initial setting is executed without any problem.
[0034]
Next, a circuit that generates a CPUNMI signal based on the SIOGP12 signal and the SIOGP13 signal will be described.
[0035]
In the flip-flop 18b, the voltage V is applied to the CK terminal and the D terminal. CC , The CK terminal and the D terminal are fixed to the H level, the SIOGP11 signal is input to the PR terminal, and the output signal from the AND gate 19c is input to the CLR terminal. Based on these signals, signals are output from the Q terminal of the flip-flop 18b.
[0036]
An output signal from the AND gate 19b to which the / RESETD signal is input and the SIOGP12 signal are input to the AND gate 19c.
[0037]
Here, the output signal from the Q terminal of the flip-flop 18b is input to the tristate buffer 20b, and the output signal from the tristate buffer 20c is input as a state selection signal. The tristate buffer 20c has a voltage V CC Is input (fixed to the H level), and the / RESETD signal is input as the state selection signal.
[0038]
The tri-state buffer 20c changes to a disconnected state or a conductive state based on the state of the H level and the L level in the / RESETD signal. Similarly, the tri-state buffer 20b changes to a disconnected state or a conductive state based on the H level and L level states in the output signal from the tri-state buffer 20c.
[0039]
When the / RESETD signal becomes H level, the tri-state buffer 20c is disconnected, and the output signal of the tri-state buffer 20c becomes L level. As a result, the tri-state buffer 20b becomes conductive, and an output signal from the Q terminal of the flip-flop 18b is output as a CPUNMI signal via the buffer 21b.
[0040]
Conversely, when the / RESETD signal becomes L level, the tristate buffer 20c becomes conductive, and the output signal of the tristate buffer 20c becomes H level. As a result, the tri-state buffer 20b is disconnected, and the output signal from the Q terminal of the flip-flop 18b is cut off.
[0041]
In such a configuration, when the power of the POS terminal 1 is turned on and the power supply voltage reaches a predetermined voltage, the CPU 9 becomes operable by the / RESET signal input from the CPU / memory control unit 11. Initial setting operation is started. First, the CPU 9 reads the BIOS recorded in the ROM 14 and executes initialization and various settings of the peripheral device. The CPU 9 reads the Windows OS recorded on the hard disk, writes it in the main memory 13 and executes it. Thereafter, the merchandise sales processing program recorded in the HDD 17 is read, and the POS terminal 1 becomes ready to execute merchandise sales processing.
[0042]
FIG. 4 is a time chart of various signals. In the normal state in which the POS terminal 1 can execute the sales process of the product, the / RESET signal, the / RESETD signal, the SIOGP10 signal, the SIOGP11 signal, and the SIOGP12 signal are held at the H level as shown in FIG. . In addition, the / EXTSMI signal also holds the H level.
[0043]
Here, in the switching circuit 15, since the / RESETD signal is at the H level, the output signal of the AND gate 19b is at the H level, and since the SIOGP10 signal is at the H level, the output signal of the AND gate 19a is at the H level. As a result, the CLR terminal of the flip-flop 18a is kept at the H level.
[0044]
Since the SIOGP11 signal is at the H level, the PR terminal of the flip-flop 18b is also at the H level. Since the SIOGP12 signal and the output signal of the AND gate 19b are at the H level, the output signal of the AND gate 19c is at the H level. As a result, the CLR terminal of the flip-flop 18b is kept at the H level.
[0045]
A case where a memory error occurs as a system error in the circuit state during the sales process of the product by the POS terminal 1, that is, during the startup of the Windows OS will be described.
[0046]
Here, the memory error means that the data read from the main memory 13 is in a different state compared to the time of writing. This memory error is detected using ECC (Error-Correcting Code) which is a code added separately from the original data.
[0047]
When a memory error occurs as a system error, the CPU / memory control unit 11 notifies the peripheral bus control unit 12 of the occurrence of the memory error. Due to the occurrence of this memory error, the NMI signal becomes H level.
[0048]
In the switching circuit 15, since the NMI signal becomes H level, the CK terminal of the flip-flop 18a becomes H level. As a result, the / EXTSMI signal, which is an output signal from the / Q terminal of the flip-flop 18a, becomes L level.
[0049]
When the / EXTSMI signal becomes L level, the SMI signal is input from the peripheral bus control unit 12 to the CPU 9. With this SMI signal input, the system control right of the CPU 9 is transferred from the Windows OS to the BIOS. As a result, the SMI module software incorporated in the BIOS is activated without depending on the application or OS being executed.
[0050]
FIG. 5 is a flowchart showing the flow of processing by the SMI module software. As shown in FIG. 5, the SMI module software confirms the related register status of the CPU 9, investigates / records the cause of the system error (memory error), and further performs processing for the cause (step S1).
[0051]
If the memory error is a 1-bit error, the 1-bit error is repaired by ECC. However, when the memory error is an error of 2 bits or more, the memory error cannot be repaired by the ECC, and the memory error is not repaired.
[0052]
After the error processing is completed, when the SIOGP10 signal input to the switching circuit 15 from the peripheral bus control unit 12 is set to the L level, the output signal of the AND gate 19a is set to the L level in the switching circuit 15, so that the flip-flop 18a The CLR terminal becomes L level. As a result, the output signal from the / Q terminal of the flip-flop 18a becomes H level.
[0053]
Therefore, since the / EXTSMI signal is held at the H level again, the SMI signal is not input from the peripheral bus control unit 12 to the CPU 9, and the system control right is returned from the BIOS to the Windows OS (S2).
[0054]
Then, it is determined whether or not it is necessary to input the CPUNMI signal to the CPU 9 (S3). At this time, if the memory error is a 1-bit error, it is not necessary to input the CPUNMI signal to the CPU 9 because the memory error has been repaired (N in S3), and the program ends. Then, the Windows OS causes the CPU 9 to execute various processes as if nothing happened.
[0055]
Here, when the memory error is an error of 2 bits or more, since the memory error is not repaired by the ECC, it is necessary to input the CPUNMI signal to the CPU 9 in order to initialize and restart the system (S3). Y).
[0056]
For this purpose, the CPU 9 keeps the SIOGP11 signal input from the peripheral bus control unit 12 to the switching circuit 15 at the L level for a predetermined time based on the SMI module software. Then, in the switching circuit 15, the PR terminal of the flip-flop 18b becomes L level. In addition, since the CLR terminal of the flip-flop 18a is kept at the H level, the output signal from the Q terminal of the flip-flop 18b becomes the H level.
[0057]
Since the / RESETD signal is at the H level and the tristate buffer 20b is in the conductive state, the output signal from the Q terminal of the flip-flop 18b becomes the CPUNMI signal, and the CPUNMI signal is kept at the H level.
[0058]
Next, the SIOGP12 signal input from the peripheral bus control unit 12 to the switching circuit 15 is set to the L level. Then, in the switching circuit 15, the output signal of the AND gate 19c becomes H level. As a result, the CLR terminal of the flip-flop 18b becomes H level. In addition, since the PR terminal of the flip-flop 18a is kept at the H level, the output signal from the Q terminal of the flip-flop 18b becomes the L level.
[0059]
Since the / RESETD signal is at the H level and the tristate buffer 20b is in the conductive state, the output signal at the Q terminal of the flip-flop 18b becomes the CPUNMI signal, and the CPUNMI signal changes from the H level to the L level.
[0060]
Thus, the CPUNMI signal generated by the switching circuit 15 is input to the CPU 9 (S4), and the program ends.
[0061]
The CPU 9 knows that a system error has occurred and performs predetermined error processing by the Windows OS. Since the memory error of 2 bits or more has not been repaired, in order to initialize and restart the system, the CPU / memory control unit 11 inputs a / RESET signal to the CPU 9 to restart the CPU 9. Again, the CPU 9 performs an initial setting operation, reads and executes the Windows OS, reads the merchandise sales processing program recorded in the HDD 17, and sets the POS terminal 1 in a state in which the merchandise sales processing can be executed.
[0062]
In the POS terminal 1 of the present embodiment, when a system error occurs, the signal input to the CPU 9 is switched from the NMI signal to the SMI signal, so that the system control right when the system error occurs is changed from the Windows OS to the BIOS. Since each company can develop its own BIOS, it is possible to execute error handling that is unique to each company even in information processing devices that employ Windows-based OSs. As a result, the reliability of the information processing apparatus can be improved and the added value can be pursued.
[0063]
Further, when a system error occurs, the switching circuit 15 generates an / EXTSMI signal based on the NMI signal and the SIOGP10 signal input from the peripheral bus control unit 12, and the peripheral bus control unit 12 based on the / EXTSMI signal. By inputting the SMI signal to the CPU 9, the system control right when the system error occurs can be transferred from the Windows OS to the BIOS or returned to the BIOS, and the system control right can be transferred from the BIOS to the BIOS system without releasing the system error. When the OS is returned to the OS, the CPU NMI signal generated by the switching circuit 15 based on the SIOGP11 signal and the SIOGP12 signal input from the peripheral bus control unit 12 is input to the CPU 9, thereby causing the Windows OS to generate a system error. Inform Door can be.
[0064]
An information processing apparatus according to the second embodiment of the present invention will be described. As an example of the information processing apparatus according to the present embodiment, a POS terminal that is a merchandise sales data processing apparatus that executes merchandise sales processing will be described with reference to FIGS. In addition, the same part as the part demonstrated in 1st embodiment is shown with the same code | symbol, and description is also abbreviate | omitted. The basic configuration of this embodiment is almost the same as that of the first embodiment.
[0065]
FIG. 6 is a block diagram showing an electrical connection of each unit provided in the POS terminal 1 of the present embodiment. The difference between the present embodiment and the first embodiment is that, as shown in FIG. 6, the / EXTSMI signal is not input from the switching circuit 15 to the peripheral bus control unit 12 (see FIG. 2). An SMI signal is input from the control unit 12 to the switching circuit 15, and a CPU SMI (Central Processing Unit System Management Interrupt) signal is input from the switching circuit 15 to the CPU 9 based on the NMI signal and the SIOGP10 signal. Here, the CPUSMI signal is a non-maskable interrupt signal having a higher interrupt priority than the NMI signal and the CPUNMI signal, like the SMI signal.
[0066]
FIG. 7 is a schematic circuit diagram showing the switching circuit 15 built in the POS terminal 1 of the present embodiment. As shown in FIG. 7, the circuit configuration of the present embodiment is almost the same as that of the first embodiment. The difference from the first embodiment is that the SMI signal becomes a CPU SMI signal. The output signal from the / Q terminal of the flip-flop 18a is connected and output as the CPUSMI signal via the inverter 22. This is a circuit that generates a CPU SMI signal based on the NMI signal and the SIOGP10 signal.
[0067]
In such a configuration, the processing operation of the CPU 9 in the POS terminal 1 is almost the same as that of the first embodiment. The difference from the first embodiment is that the / EXTSMI signal is not generated and the CPUSMI is not generated. This is where the signal is generated.
[0068]
FIG. 8 is a time chart of various signals. More specifically, as shown in FIGS. 7 and 8, when a memory error occurs and the NMI signal becomes H level, in the switching circuit 15, the CK terminal of the flip-flop 18a becomes H level. As a result, the output signal from the / Q terminal of the flip-flop 18 a becomes L level and becomes H level via the inverter 22. Therefore, the CPUSMI signal becomes H level.
[0069]
When the CPUSMI signal becomes H level, the system control right of the CPU 9 is transferred from the Windows OS to the BIOS. As a result, the SMI module software incorporated in the BIOS is activated without depending on the application or OS being executed.
[0070]
The flow of processing by the SMI module software is almost the same as in the first embodiment (see FIG. 5). However, when the SIOGP10 signal input from the peripheral bus control unit 12 to the switching circuit 15 is set to L level in step S2, the output signal of the AND gate 19a is set to L level in the switching circuit 15, so that the flip-flop 18a The CLR terminal becomes L level. As a result, the output signal from the / Q terminal of the flip-flop 18 a becomes H level and becomes L level via the inverter 22. Therefore, since the CPUSMI signal is held at the L level, the system control right is returned from the BIOS to the Windows OS. The subsequent processing is exactly the same as in the first embodiment.
[0071]
In the POS terminal 1 of the present embodiment, when a system error occurs, the signal input to the CPU 9 is switched from the NMI signal to the SMI signal, so that the system control right when the system error occurs is changed from the Windows OS to the BIOS. Since each company can develop its own BIOS, it is possible to execute error handling that is unique to each company even in information processing devices that employ Windows-based OSs. As a result, the reliability of the information processing apparatus can be improved and the added value can be pursued.
[0072]
Further, when a system error occurs, a CPU SMI signal is generated by the switching circuit 15 based on the NMI signal and SIOGP10 signal input from the peripheral bus control unit 12, and this CPU SMI signal is input from the switching circuit 15 to the CPU 9. The system control right when a system error occurs can be transferred from the Windows OS to the BIOS or returned to the BIOS. When the system control right is returned from the BIOS to the Windows OS without being able to cancel the system error, the peripheral bus By inputting the SIOGP11 signal input from the control unit 12 and the CPUNMI signal generated by the switching circuit 15 based on the SIOGP12 signal to the CPU 9, it is possible to notify the Windows OS of the occurrence of a system error.
[0073]
【The invention's effect】
According to the information processing apparatus of the first aspect of the present invention, the NMI signal that is an unmaskable interrupt signal or the SMI signal that is an unmaskable interrupt signal having a higher interrupt priority than the NMI signal can be interrupted. CPU for executing various arithmetic processes and programs, memory for storing various programs and data, CPU / memory control unit for controlling CPU and memory, peripheral bus control unit for controlling bus connection of peripheral devices, and system A switching circuit that switches an NMI signal input to the CPU to an SMI signal when an error occurs, so that by switching the signal input to the CPU from an NMI signal to an SMI signal when a system error occurs, System control right when a system error occurs can be transferred from Windows OS to BIOS Therefore, by developing a BIOS unique to each company, even an information processing device adopting a Windows OS can execute error processing unique to each company. It becomes possible to improve the reliability of the processing apparatus and pursue added value.
[0074]
According to the second aspect of the present invention, in the information processing device according to the first aspect, the peripheral bus control unit outputs the NMI signal, the first SIOGP signal, the second SIOGP signal, and the third SIOGP signal to the switching circuit, The SMI signal is output to the CPU, and the switching circuit causes the peripheral bus control unit to output the SMI signal based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit when a system error occurs / Since the EXTMI signal is generated as an input signal of the peripheral bus control unit, and the CPUNMI signal is generated as an interrupt signal to the CPU based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit. When the system error occurs, the switching circuit is based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit. The system control right when a system error occurs is transferred from the Windows OS to the BIOS or returned by inputting the SMI signal from the peripheral bus control unit to the CPU based on the / EXTSMI signal. When the system control right is returned from the BIOS to the Windows OS without being able to cancel the system error, the switching circuit based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit By inputting the generated CPUNMI signal to the CPU, it is possible to notify the Windows OS of the occurrence of a system error.
[0075]
According to a third aspect of the present invention, in the information processing apparatus according to the first aspect, the peripheral bus control unit uses the NMI signal, the SMI signal, the first SIOGP signal, the second SIOGP signal, and the third SIOGP signal as a switching circuit. The switching circuit generates a CPU SMI signal as an interrupt signal to the CPU based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit when a system error occurs, and generates a peripheral bus Since the CPUNMI signal is generated as an interrupt signal to the CPU based on the second SIOGP signal and the third SIOGP signal input from the control unit, the NMI input from the peripheral bus control unit when a system error occurs. A CPU SMI signal is generated by the switching circuit based on the signal and the first SIOGP signal, and the CPU SMI signal is converted into the switching circuit. The system control right when a system error occurs can be transferred to the BIOS from the Windows OS to the BIOS, and the system control right can be returned from the BIOS to the Windows OS without releasing the system error. In this case, a CPU NMI signal generated by the switching circuit based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit is input to the CPU, thereby informing the Windows OS that a system error has occurred. be able to.
[Brief description of the drawings]
FIG. 1 is an external perspective view schematically showing a POS terminal according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing an electrical connection of each unit provided in the POS terminal.
FIG. 3 is a schematic circuit diagram showing a switching circuit built in the POS terminal.
FIG. 4 is a time chart of various signals.
FIG. 5 is a flowchart showing a flow of processing by SMI module software.
FIG. 6 is a block diagram showing an electrical connection of each unit provided in the POS terminal according to the second embodiment of this invention.
FIG. 7 is a schematic circuit diagram showing a switching circuit built in the POS terminal.
FIG. 8 is a time chart of various signals.
FIG. 9 is a block diagram showing electrical connection of each unit provided in a conventional POS terminal.
[Explanation of symbols]
9 CPU
13, 14 memory
11 CPU / memory control unit
12 Peripheral bus control unit
15 switching circuit

Claims (3)

マスク不可能な割込信号であるNMI(Non-Maskable Interrupt)信号又は前記NMI信号より割り込み優先度が高いマスク不可能な割込信号であるSMI(System Management Interrupt)信号によって割り込み可能で、各種の演算処理やプログラムを実行するCPU(Central Processing Unit)と、
各種プログラム及びデータを記憶するメモリと、
前記CPU及び前記メモリを制御するCPU/メモリ制御部と、
周辺装置のバス接続を制御する周辺バス制御部と、
システムエラーが発生した場合に前記CPUに入力される前記NMI信号を前記SMI信号に切り替える切替回路と、
を備える情報処理装置。
It can be interrupted by an NMI (Non-Maskable Interrupt) signal that is an unmaskable interrupt signal or an SMI (System Management Interrupt) signal that is an unmaskable interrupt signal having a higher interrupt priority than the NMI signal. CPU (Central Processing Unit) that executes arithmetic processing and programs,
A memory for storing various programs and data;
A CPU / memory control unit for controlling the CPU and the memory;
A peripheral bus control unit for controlling the peripheral device bus connection;
A switching circuit that switches the NMI signal input to the CPU to the SMI signal when a system error occurs;
An information processing apparatus comprising:
前記周辺バス制御部は、前記NMI信号、第一SIOGP(Super I/O IC's General Pins)信号、第二SIOGP信号及び第三SIOGP信号を前記切替回路に出力し、前記SMI信号を前記CPUに出力して、
前記切替回路は、システムエラーが発生した場合に前記周辺バス制御部から入力される前記NMI信号及び前記第一SIOGP信号に基づいて、前記周辺バス制御部に前記SMI信号を出力させる/EXTSMI(EXTernal System Management Interrupt)信号を前記周辺バス制御部の入力信号として生成して、前記周辺バス制御部から入力される前記第二SIOGP信号及び前記第三SIOGP信号に基づいて、CPUNMI(Central Processing Unit System Management Interrupt)信号を前記CPUへの割込信号として生成する請求項1記載の情報処理装置。
The peripheral bus control unit outputs the NMI signal, a first SIOGP (Super I / O IC's General Pins) signal, a second SIOGP signal, and a third SIOGP signal to the switching circuit, and outputs the SMI signal to the CPU. do it,
The switching circuit causes the peripheral bus control unit to output the SMI signal based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit when a system error occurs / EXTSMI (EXTernal System Management Interrupt) signal is generated as an input signal of the peripheral bus control unit, and based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit, a CPU NMI (Central Processing Unit System Management) The information processing apparatus according to claim 1, wherein an interrupt signal is generated as an interrupt signal to the CPU.
前記周辺バス制御部は、前記NMI信号、前記SMI信号、第一SIOGP信号、第二SIOGP信号及び第三SIOGP信号を前記切替回路に出力して、
前記切替回路は、システムエラーが発生した場合に前記周辺バス制御部から入力される前記NMI信号及び前記第一SIOGP信号に基づいて、CPUSMI(Central Processing Unit Non-Maskable Interrupt)信号を前記CPUへの割込信号として生成して、
前記周辺バス制御部から入力される前記第二SIOGP信号及び前記第三SIOGP信号に基づいて、CPUNMI(Central Processing Unit System Management Interrupt)信号を前記CPUへの割込信号として生成する請求項1記載の情報処理装置。
The peripheral bus control unit outputs the NMI signal, the SMI signal, the first SIOGP signal, the second SIOGP signal, and the third SIOGP signal to the switching circuit,
The switching circuit sends a CPU SMI (Central Processing Unit Non-Maskable Interrupt) signal to the CPU based on the NMI signal and the first SIOGP signal input from the peripheral bus control unit when a system error occurs. Generate as interrupt signal,
The CPU NMI (Central Processing Unit System Management Interrupt) signal is generated as an interrupt signal to the CPU based on the second SIOGP signal and the third SIOGP signal input from the peripheral bus control unit. Information processing device.
JP2001313241A 2001-10-10 2001-10-10 Information processing device Expired - Fee Related JP3844197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001313241A JP3844197B2 (en) 2001-10-10 2001-10-10 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001313241A JP3844197B2 (en) 2001-10-10 2001-10-10 Information processing device

Publications (2)

Publication Number Publication Date
JP2003122583A JP2003122583A (en) 2003-04-25
JP3844197B2 true JP3844197B2 (en) 2006-11-08

Family

ID=19131752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001313241A Expired - Fee Related JP3844197B2 (en) 2001-10-10 2001-10-10 Information processing device

Country Status (1)

Country Link
JP (1) JP3844197B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4585249B2 (en) 2004-07-28 2010-11-24 株式会社東芝 Information processing device

Also Published As

Publication number Publication date
JP2003122583A (en) 2003-04-25

Similar Documents

Publication Publication Date Title
US7929706B2 (en) Encryption key restoring method, information processing apparatus, and encryption key restoring program
JP6949843B2 (en) Hardware integrity check
US7174549B2 (en) Computer system and method for storing product keys thereof
TW201937366A (en) Computer system and method with credible verification and fault tolerant transfer of boot-up
US8375198B2 (en) Boot system and method having a BIOS that reads an operating system from first storage device via an input/output chip based on detecting a temperature of a second storage device
JP3844197B2 (en) Information processing device
US11106797B2 (en) Data processing apparatus, image processing apparatus and method for verifying and restoring operating system in activation mode
US11113386B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JPH0319582B2 (en)
JP2000235483A (en) Information processor
CN114816552A (en) Server startup blocking optimization method, system, terminal and storage medium
CN119918063B (en) Operating system startup security verification method, device, system and related equipment
JP7322233B2 (en) Information processing device and tampering detection method for detecting tampering of software executed at startup
US11836048B2 (en) Information processing apparatus
JP2014115803A (en) Information processor, control method of information processor, and program
TWI726436B (en) Method for repairing basic input/output system bios and a computer system using the same
JP2889038B2 (en) POS system
JP3060376U (en) Memory device
JP2009506416A (en) Processor hardware and software
JPH04134592A (en) data processing equipment
JPH06215259A (en) Commodity sales data processor
CN121412992A (en) Trusted boot method and system for embedded systems based on trusted boot circuit
JP2022067721A (en) Ic card, logging information processing method of ic card, and program
JP2570944B2 (en) Electronic balance device and unauthorized copy prevention device such as control program for electronic balance device
JP3415381B2 (en) Microcomputer and electronic control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040322

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060712

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: 20060809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060810

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090825

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100825

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110825

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120825

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120825

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130825

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees