JPH04145537A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH04145537A JPH04145537A JP26891090A JP26891090A JPH04145537A JP H04145537 A JPH04145537 A JP H04145537A JP 26891090 A JP26891090 A JP 26891090A JP 26891090 A JP26891090 A JP 26891090A JP H04145537 A JPH04145537 A JP H04145537A
- Authority
- JP
- Japan
- Prior art keywords
- exception
- hardware
- rom
- information processing
- bank
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 claims description 12
- 230000008859 change Effects 0.000 abstract description 4
- 230000004048 modification Effects 0.000 abstract description 3
- 238000012986 modification Methods 0.000 abstract description 3
- 238000000034 method Methods 0.000 abstract 5
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 4
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 101100524639 Toxoplasma gondii ROM3 gene Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置に関し、特にシステムエラー処理
、タスクエラー処理などの例外処理を行う情報処理装置
において、ハードウェアの変更が行われても、ハードウ
ェアの変更に対応してオベレーティングシステムの例外
処理部の修正を行う必要がない情報処理装置に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an information processing device, and particularly to an information processing device that performs exception processing such as system error processing and task error processing, even if hardware is changed. The present invention relates to an information processing apparatus that does not require modification of an exception handling section of an operating system in response to changes in hardware.
従来、情報処理装置では、システムエラー処理、タスク
エラー処理などの例外処理を行う機能については、オペ
レーティングシステム(以下、O8と略す)が読み書き
可能記憶部であるランダムアクセスメモリ(以下、RA
Mと略す)内に持っていた。Conventionally, in information processing devices, the operating system (hereinafter referred to as O8) uses a random access memory (hereinafter referred to as RA), which is a read/write storage unit, for functions that perform exception handling such as system error handling and task error handling.
(abbreviated as M).
上述した従来の情報処理装置では、O8は、例外処理の
原因となったエラー要因を除去し、その後の回復処理を
行わなければならないが、ハードウェアに関係するエラ
ー要因の場合は、ハードウェアの変更によって処理の方
法が変るので、ハードウェアの変更によってO8の例外
処理部をも変更しなければならないという問題点があっ
た。In the conventional information processing device described above, the O8 must remove the error factor that caused the exception handling and perform subsequent recovery processing, but in the case of an error factor related to hardware, Since the change changes the processing method, there is a problem in that the exception handling section of O8 must also be changed due to the hardware change.
本発明の目的は、発生した例外が、ハードウェアに依存
するところの大きい例外処理であっても、ハードウェア
の変更に対応してソフトウェアの修正を行う必要がない
情報処理装置を提供することにある。An object of the present invention is to provide an information processing device that does not require modification of software in response to changes in hardware, even if the exception that occurs is exception handling that is highly dependent on hardware. be.
〔課題を解決するための手段〕
本発明の情報処理装置は、読み書き可能記憶部と不揮発
性記憶部とを備えた情報処理装置において、
(A)通常時バンクアドレスには前記読み書き可能記憶
部を選択し、例外発生時に例外の種類に応じて前記読み
書き可能記憶部から前記不揮発性記憶部へ自動的にバン
クアドレスを切り替えるバンク切替手段、
を備え、前記不揮発性記憶部が、
(B)例外処理の開始アドレスを示すテーブルを存する
不揮発性記憶部ベクターテーブル手段、
(C)例外が発生したときに呼び出され例外の要因を解
析し、その要因を除去するとともにその要因の種類に応
じてトラップを発生させることにより、ソフトウェアに
例外の発生を伝える不揮発性記憶部例外処理ルーチン手
段、を備え、前記読み書き可能記憶部が、
(D)例外処理の開始アドレスを示すテーブルを有する
読み書き可能記憶部ベクターテーブル手段、
を備えている。[Means for Solving the Problems] An information processing device of the present invention includes a readable/writable storage unit and a nonvolatile storage unit, in which: (A) the normal bank address includes the readable/writable storage unit; (B) bank switching means for automatically switching a bank address from the read/write storage section to the nonvolatile storage section according to the type of exception when an exception occurs, the nonvolatile storage section; (C) A non-volatile storage vector table means having a table indicating the start address of the non-volatile storage; non-volatile storage exception processing routine means for notifying software of the occurrence of an exception by causing the software to receive an exception; , is equipped with.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
第1図に示す情報処理装置は、中央処理装置(以下、C
PUと略す)1、CPUIとバス5を介して接続された
RAM2、RAM2と同一のアドレスに割り付けられた
不揮発性記憶部(以下、ROMと略す)3、通常時バン
クアドレスにはRAM2を選択し、例外発生時に例外の
種類に応じてRAM2から前記ROM3へ自動的にバン
クアドレスを切り替えるバンク切替手段4から構成され
ている。The information processing device shown in FIG.
PU (abbreviated as PU) 1, RAM 2 connected to the CPU via bus 5, non-volatile memory section (hereinafter abbreviated as ROM) 3 allocated to the same address as RAM 2, RAM 2 selected as the bank address during normal operation. , bank switching means 4 which automatically switches the bank address from the RAM 2 to the ROM 3 according to the type of exception when an exception occurs.
また、ROM3は、例外処理の開始アドレスを示すテー
ブルを有するROMベクターテーブル手段31、例外が
発生したときに呼び出され例外の要因を解析し、その要
因を除去するとともにその要因の種類に応してトラップ
を発生させることにより、ソフトウェアに例外の発生を
伝えるROM例外処理ルーチン手段32から構成されて
いる。The ROM 3 also includes a ROM vector table means 31 having a table indicating the start address of exception processing, which is called when an exception occurs, analyzes the cause of the exception, removes the cause, and performs processing according to the type of the cause. It consists of a ROM exception handling routine means 32 that notifies software of the occurrence of an exception by generating a trap.
また、RAM2は、例外処理の開始アドレスを示すテー
ブルを仔するRAMベクターテーブル手段21を含んで
いる。The RAM 2 also includes a RAM vector table means 21 containing a table indicating the start address of exception handling.
次に、動作を説明する。Next, the operation will be explained.
第1図において、RAM2内にはRAMベクターテーブ
ル21があり、ROM S 内に: L! ROMベク
ターテーブル31がある。そして、例外処理が発生する
と、バンク切替手段4は、その例外がハードウェア要因
によるものか、ソフトウェア要因によるものかに応じ、
ハードウェア要因の場合にかぎり、通常はRAM2に選
択されているバンクアドレスをRAM2からROM3へ
切り替える。CPUIは、RAMベクターテーブル21
または、既に切り替えられたROMベクターテーブル3
1を参照し、その中の例外ベクトルを取り出し、例外を
例外処理に移す。RAMベクターテーブル21.ROM
ベクターテーブル31には、例外処理の先頭アドレスが
格納されている。In FIG. 1, there is a RAM vector table 21 in RAM2, and in ROMS: L! There is a ROM vector table 31. When an exception occurs, the bank switching means 4 handles the exception depending on whether the exception is caused by a hardware factor or a software factor.
Only in the case of hardware factors, the bank address normally selected for RAM2 is switched from RAM2 to ROM3. CPUI is RAM vector table 21
Or already switched ROM vector table 3
1, extract the exception vector therein, and move the exception to exception handling. RAM vector table 21. ROM
The vector table 31 stores the start address of exception processing.
CPUIがRAMベクターテーブル21を参照する場合
は、従来の技術と同じである。When the CPUI refers to the RAM vector table 21, it is the same as the conventional technology.
CPUIがROMベクターテーブル31を参照する場合
は、ROM例外処理ルーチン32実行され、ハードウェ
アに依存するところの大きい例外要因の解析及び除去を
行い、その例外要因の種類に応じて、トラップを発生す
ることにより例外処理を終了する。このトラップ発生直
後、バンク切替手段4により、バンクアドレスはROM
3からRAM2へ自動的に切り替る。When the CPU refers to the ROM vector table 31, the ROM exception handling routine 32 is executed, analyzes and removes the cause of the exception that is largely dependent on the hardware, and generates a trap depending on the type of the exception cause. This ends the exception handling. Immediately after this trap occurs, the bank switching means 4 changes the bank address to the ROM.
3 to RAM2 automatically.
なお、上記説明における不揮発性記憶部として、マスク
リードオンリメモリまたはプログラマブルリードオンリ
メモリを使用することができる。Note that a mask read-only memory or a programmable read-only memory can be used as the nonvolatile storage unit in the above description.
以上説明したように、本発明は、従来のRAMベクター
テーブルの外に、ROMベクターテーブルとバンク切替
手段とを設けることにより、発生した例外が、ハードウ
ェアに依存するところの大きい例外処理であっても、ハ
ードウェアの変更に対応してソフトウェアの修正を行う
必要がないという効果を有する。As explained above, the present invention provides a ROM vector table and bank switching means in addition to the conventional RAM vector table, so that the generated exception can be treated as an exception that is largely dependent on the hardware. This also has the advantage that there is no need to modify the software in response to changes in hardware.
第1図は本発明の一実施例のブロック図である。
1・・・・・・中央処理装置(CPU)、2・・・・・
・読み書き可能記憶部(RAM) 、3・・・・・・不
揮発性記憶部(ROM) 、4・・・・・・バンク切替
手段、5・・・・・・バス、21・・・・・・RAMベ
クターテーブル、31・・・・・・ROMベクターテー
ブル、32・・・・・・ROM例外処理ルーチン。
代理人 弁理士 内 原 晋FIG. 1 is a block diagram of one embodiment of the present invention. 1...Central processing unit (CPU), 2...
- Readable/writable memory (RAM), 3... Non-volatile memory (ROM), 4... Bank switching means, 5... Bus, 21... -RAM vector table, 31...ROM vector table, 32...ROM exception handling routine. Agent Patent Attorney Susumu Uchihara
Claims (1)
報処理装置において、 (A)通常時バンクアドレスには前記読み書き可能記憶
部を選択し、例外発生時に例外の種類に応じて前記読み
書き可能記憶部から前記不揮発性記憶部へ自動的にバン
クアドレスを切り替えるバンク切替手段、 を備え、前記不揮発性記憶部が、 (B)例外処理の開始アドレスを示すテーブルを有する
不揮発性記憶部ベクターテーブル手段、 (C)例外が発生したときに呼び出され例外の要因を解
析し、その要因を除去するとともにその要因の種類に応
じてトラップを発生させることにより、ソフトウェアに
例外の発生を伝える不揮発性記憶部例外処理ルーチン手
段、を備え、前記読み書き可能記憶部が、 (D)例外処理の開始アドレスを示すテーブルを有する
読み書き可能記憶部ベクターテーブル手段、 を備えたことを特徴とする情報処理装置。 2、請求項1記載の情報処理装置において、前記不揮発
性記憶部がマスクリードオンリメモリであることを特徴
とする情報処理装置。 3、請求項1記載の情報処理装置において、前記不揮発
性記憶部がプログラマブルリードオンリメモリであるこ
とを特徴とする情報処理装置。[Scope of Claims] 1. In an information processing device including a readable/writable storage unit and a nonvolatile storage unit, (A) the read/write storage unit is selected as the bank address in normal times, and the type of exception is selected when an exception occurs; bank switching means for automatically switching a bank address from the read/write storage section to the nonvolatile storage section in accordance with the above, wherein the nonvolatile storage section includes: (C) Called when an exception occurs, analyzes the cause of the exception, removes the cause, and generates a trap depending on the type of the cause, thereby preventing the occurrence of an exception in the software. non-volatile storage exception handling routine means for transmitting the following: (D) readable/writable storage vector table means having a table indicating a start address of exception handling; Information processing device. 2. The information processing apparatus according to claim 1, wherein the nonvolatile storage section is a mask read only memory. 3. The information processing apparatus according to claim 1, wherein the nonvolatile storage section is a programmable read-only memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26891090A JPH04145537A (en) | 1990-10-05 | 1990-10-05 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26891090A JPH04145537A (en) | 1990-10-05 | 1990-10-05 | Information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04145537A true JPH04145537A (en) | 1992-05-19 |
Family
ID=17464969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26891090A Pending JPH04145537A (en) | 1990-10-05 | 1990-10-05 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04145537A (en) |
-
1990
- 1990-10-05 JP JP26891090A patent/JPH04145537A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0441054A1 (en) | Method and apparatus for handling nested interrupts | |
CN107491373A (en) | A kind of task stack overflow monitoring method and system | |
JPS6340925A (en) | Memory initializing system | |
JPH04145537A (en) | Information processor | |
JPH09198258A (en) | Task stack overflow detecting circuit | |
JPS599937B2 (en) | information processing equipment | |
JPS6153749B2 (en) | ||
JPS59121678A (en) | Controlling method of write/read in/from stack | |
JP2845780B2 (en) | Data transfer control circuit | |
JPS59189407A (en) | Sequence control device | |
JPH03240831A (en) | Interruption processing system | |
JPS5854422B2 (en) | Control method for multiprocessing equipment | |
JP2574918B2 (en) | Interrupt return processing method | |
JPH0659973A (en) | Microcomputer system | |
JPH0442328A (en) | Interruption control system for information processor | |
JPS58155588A (en) | Processing system of logical swap out | |
JPH01216433A (en) | Interruption control system | |
JP2001134449A (en) | Data processor and its control method | |
JPH05134929A (en) | Data access control system | |
JPH07253889A (en) | One-chip microcomputer | |
JPS5857688A (en) | Controlling system for dynamic address conversion | |
JPS6134644A (en) | Storage protecting method of system work area | |
JPH05100842A (en) | Instruction processor | |
JPH056280A (en) | Interruption control system | |
JPH0883188A (en) | Multitask processing computer |