JPS59231799A - Preventing device for foul writing to main memory - Google Patents

Preventing device for foul writing to main memory

Info

Publication number
JPS59231799A
JPS59231799A JP10613583A JP10613583A JPS59231799A JP S59231799 A JPS59231799 A JP S59231799A JP 10613583 A JP10613583 A JP 10613583A JP 10613583 A JP10613583 A JP 10613583A JP S59231799 A JPS59231799 A JP S59231799A
Authority
JP
Japan
Prior art keywords
address
main memory
writing
storage device
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10613583A
Other languages
Japanese (ja)
Inventor
Akira Kuwayama
桑山 昭
Tetsuo Furukawa
古川 哲夫
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10613583A priority Critical patent/JPS59231799A/en
Publication of JPS59231799A publication Critical patent/JPS59231799A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent completely the foul writing and to improve the reliability by applying an interruption to a CPU when the writing is impossible with a subject address. CONSTITUTION:When a CPU21 performs writing to a main memory 22 in accordance with an execution instruction of the memory 22, a means 26 is provided to extract and store the writable address on the memory 22. The address stored in the means 26 is compared 27 and 28 with the subject address to be written by the CPU21. Then an interruption is applied to the CPU21 by the comparison output when the address to be written exceeds the range of the memory address. Thus the writing action is inhibited.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は中央演算処理装置を備えた各種装置に使用する
主記憶装置への不正書込防止装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a device for preventing unauthorized writing to a main memory device used in various devices equipped with a central processing unit.

従来例の構成とその問題点 一般に中央演算処理装置を備えた各種装置において主記
憶装置への不正な書込みを防止する場合には第1図に示
すような不正書込防止装置を用いることが多い。第1、
図において、1は中央演算処J”1IVj置(以下CI
) Uという)、2はアドレスバス5 f ;1r+ 
(、てCPU1から伝送されたアドレス情報にもとづい
て所望のアドレスに所望のデータを記憶する主記憶装置
。3は主記憶装置2への不正書込みを禁止する番地を設
定するための書込禁止用番地設定装置、4はアドレスバ
ス5を通し、て主記憶装置2に伝送されるアドレス情報
と書込禁止用番地設定装置3かものアドレス情報とを比
較し、その結果にもとづいてC3PU1からの書込指令
信号を主記憶装置2に伝送するか、0PUIに対して割
込信号を供給するかを決定する比較回路である。なお、
6はcpuiからの書込指令信号を比較回路4に伝送す
る書込指令信号線、7はCPU1からの書込指令信号を
比較回路4を通して主記憶装置2に伝送する書込指令信
号線、8は比較回路4からの割込信号をCPU 1に伝
送するだめの割込信号線、9は書込禁止用番地設定装置
3からのアドレス情報を比較回路4に伝送するだめのア
ドレスバスである。
Conventional configurations and their problems In general, when preventing unauthorized writing to the main memory in various devices equipped with a central processing unit, an unauthorized writing prevention device as shown in Figure 1 is often used. . First,
In the figure, 1 is the central processing unit J"1IVj location (hereinafter referred to as CI
), 2 is the address bus 5 f ;1r+
, a main memory device that stores desired data at a desired address based on the address information transmitted from the CPU 1. 3 is a write-protection device for setting an address that prohibits unauthorized writing to the main memory device 2. The address setting device 4 compares the address information transmitted to the main storage device 2 through the address bus 5 with the address information of the write-protection address setting device 3, and based on the result, writes from the C3PU 1. This is a comparison circuit that determines whether to transmit an interrupt command signal to the main storage device 2 or to supply an interrupt signal to 0PUI.
6 is a write command signal line that transmits a write command signal from the CPU 1 to the comparison circuit 4; 7 is a write command signal line that transmits a write command signal from the CPU 1 to the main storage device 2 through the comparison circuit 4; 8 An interrupt signal line 9 is used to transmit an interrupt signal from the comparison circuit 4 to the CPU 1, and an address bus 9 is used to transmit address information from the write-protection address setting device 3 to the comparison circuit 4.

うに動作する。先ず、CPU1が主記憶装置2に対して
書込動作を実行しようとすると、CPU1からアドレス
バス5を通して主記憶装置2にアドレス情報が伝送され
、同時に比較回路4に対して書込指令信号線6を通して
書込指令信号が印加される。したがって、比較回路4で
はこの指令信号ヲ受ケて、アドレスバス5かものアドレ
ス情報ドアドレスバス9かものアドレス検層を比較し、
その結果にもとづいて書込指令信号線7、割込信号IV
j!8のいずれかに所要の信号を出力する。今、比較回
路4がアドレスバス5からのアドレス情報の ′方がア
ドレスバス9からのアドレス情報より大きいとき書込指
令信号線7にCPU1がらの書込指令信号を出力し、ア
ドレスバス5からのアドレス情報の方がアドレスバス9
かものアドレス情報より小さいとき割込信号線8に割込
信号を出力するように構成されていたとする。この場合
、アドレスバス5からのアドレス情報がアドレスバス9
からのアドレス情報よ、り小さい間は、書込指令信号線
7に何の、ft j7も出力されず、主記憶装置2には
何のデータも書込まれない。そして、この場合には割込
信号線8に割込信号が出力されるため、これによってC
PU1が割込みを受は内部処理を行なう。アドレスバス
5からのアドレス情報がアドレスバス9かものアドレス
情報より犬キ<ナルト書込指令信号線7に書込指令信号
が出力されるだめ、主記憶装置2が書込み可能な状態に
なシ、アドレスバス5からのアドレス情報に対応したそ
れぞれのアドレスにそれぞれ所望のデータを書込むこと
に々る。このように従来より使用されている不正書込防
止装置でも書込み禁止用の番地設定装置3によって不正
書込みを禁止する番地(アドレス)を設定することによ
り、この番地以下又はこの番地以上に不正書込みが行な
われ々いようにすることは可能である。しかしながら、
従来より使用されているこの種の不正書込防止装置はい
ずれも書込禁止用の番地設定装置3によって設定された
特定の番地以下又は番地以上において不正書込みを防止
するだけのものであり、主記憶装置2に記憶された実行
命令とは何の個係もないため、たとえ特定の番地以下又
は以上において不正書込みを防止したとしても主記憶装
置2に記憶された実行命令にもとづく番地が上記特定の
番地以上又は以下であればそこに自由に書込みを行なう
ことができるようになり、不正な書込みであればシステ
ムダウンを起こし、その信頼性を著しく低下させるとい
う問題があった。
It works just like that. First, when the CPU 1 attempts to execute a write operation to the main memory device 2, address information is transmitted from the CPU 1 to the main memory device 2 through the address bus 5, and at the same time, a write command signal line 6 is transmitted to the comparator circuit 4. A write command signal is applied through. Therefore, the comparison circuit 4 receives this command signal and compares the address information of the address bus 5 and the address log of the address bus 9,
Based on the result, write command signal line 7, interrupt signal IV
j! A required signal is output to any one of 8. Now, when the address information from the address bus 5 is larger than the address information from the address bus 9, the comparator circuit 4 outputs a write command signal from the CPU 1 to the write command signal line 7, and Address information is address bus 9
Assume that the configuration is such that an interrupt signal is output to the interrupt signal line 8 when the address information is smaller than the address information. In this case, address information from address bus 5 is transmitted to address bus 9.
ft j7 is smaller than the address information from , no data is output to the write command signal line 7, and no data is written to the main memory device 2. In this case, an interrupt signal is output to the interrupt signal line 8, so that the C
When PU1 receives an interrupt, it performs internal processing. If the address information from the address bus 5 is changed from the address information of the address bus 9, the write command signal is output to the write command signal line 7, so that the main memory device 2 is in a writable state. Desired data is written to each address corresponding to the address information from the address bus 5. In this way, even with conventionally used unauthorized write prevention devices, by setting an address (address) at which unauthorized writing is prohibited using the write-protection address setting device 3, unauthorized writing can be prevented from occurring below or above this address. It is possible to make it less common. however,
These types of unauthorized write prevention devices that have been used in the past only prevent unauthorized writing below or above a specific address set by the write-protection address setting device 3; Since there is no relationship with the execution command stored in the storage device 2, even if unauthorized writing is prevented below or above a specific address, the address based on the execution instruction stored in the main storage device 2 will not be the specified address. If the address is greater than or equal to or less than , it becomes possible to freely write to it, but if it is illegally written, the system will go down and its reliability will be significantly reduced.

発明の目的 本発明は以上のような従来の欠点を除去するものであり
、簡単な構成で信頼性の高い優れた不正7】込防止装置
6を提供することを目的とするものである。。
OBJECTS OF THE INVENTION The present invention eliminates the above-mentioned conventional drawbacks, and aims to provide an excellent fraud prevention device 6 with a simple configuration and high reliability. .

発明の構成 本発明は中央演算処理装置が主記憶装置に対して71込
み動作を行なおうとしたとき、その実行命令が主記憶装
置のどの番地から取出され、どの番地からどの番地まで
が書込可能であるかを引出し記憶する手段を設け、この
記憶手段に記憶された番地にもとついて1.実際に中央
演算処理装置が主記憶装置に対して書込みを行なおうと
している対象の番地が書込可能であるか否かを判定し、
書込不可であれば中央演算処理装置に対し直ちに割込み
をかけ不正書込みを禁止するように構成したものである
Structure of the Invention The present invention provides a method for determining when a central processing unit attempts to perform a 71 write operation on the main memory, from which address in the main memory the execution instruction is retrieved, and from which address to which address is written. A means is provided for extracting and storing whether the data is possible, and based on the address stored in the storage means, 1. Determine whether or not the address to which the central processing unit is actually attempting to write to the main memory is writable;
If writing is not possible, an interrupt is immediately issued to the central processing unit to prohibit unauthorized writing.

実施例の説明 第2図は本発明の主記憶装置への不正書込防止、装置の
一実施例の概略構成図であり、図中21はCPU122
はアドレスバス23を介してCPU21に接続された主
記憶装置、24は’OPU21が主記憶装置22に対し
て書込みを行なうように動作したとき、その実行命令の
置かれていた主記憶装置22上の値、すなわちプログラ
ムカウンタの値をアドレスバス23を通して取込み一時
的に記憶する一時記憶装置、25は0PU21が主記憶
装置22に対して書込みを行なうように動作したとき、
0PU21よシ出力される実行命令取込信号を上記一時
記憶装置24に伝送する実行命令取込信号線、26は一
時記憶装置24に記憶されたプログラムカウンタの値の
上位側桁かの値によって書込許可テーブルを得、書込禁
止データ設定線29よシ伝送されて来た書込禁止データ
にもとづいて、主記憶装置への書込可能番地の上限値、
下限値を記憶する補助記憶装置、27.28はそれぞれ
上記記憶装置26に記憶されだ書込許可テーブルの上限
値、下限値と後述する書込番地の一時記憶装置30の出
力とを比較し1、上記記憶装置30の出力が上記上限値
、下限値の範囲内であれば何もせず、上記範囲を越える
場合には割込線32を介して0PU21に割込信号を印
加する上限比較回路及び下限比較回路、30はCPU2
1による主記憶装置22への書込みが行なわれるとき、
その書込対象となる主記憶装置22上の番地をアドレス
バス23を通して書込み一時記憶する一時記憶装置、3
1は0PU21による主記憶装置22への1゛込みが行
ガわれるとき、上記一時記憶装置30に書込信号を伝送
する書込信号線である0 」:、 Mj、、+実施例において、0PU21が主記
憶装置22に記憶された実哲命令に従って、主記憶装置
22に対し書込みを行なうように動作すると、これによ
って0PU21から実行命令取込信号が出力され、これ
がプログラムカウンタ一時記憶装置24に入力される。
DESCRIPTION OF EMBODIMENTS FIG. 2 is a schematic configuration diagram of an embodiment of a device for preventing unauthorized writing to a main storage device of the present invention, and 21 in the figure is a CPU 122.
24 is the main memory connected to the CPU 21 via the address bus 23, and 24 is the main memory 22 where the execution instruction is placed when the OPU 21 operates to write to the main memory 22. 25 is a temporary storage device that takes in and temporarily stores the value of the program counter through the address bus 23, when the 0PU 21 operates to write to the main storage device 22.
An execution instruction acquisition signal line 26 transmits an execution instruction acquisition signal output from the 0PU 21 to the temporary storage device 24, and the execution instruction acquisition signal line 26 is written in accordance with the value of the upper digit of the program counter value stored in the temporary storage device 24. Obtain the write permission table and set the upper limit of the writable address to the main storage device based on the write prohibition data transmitted through the write prohibition data setting line 29;
The auxiliary storage devices 27 and 28 that store the lower limit values compare the upper limit value and lower limit value of the write permission table stored in the storage device 26 with the output of the temporary storage device 30 of the write address to be described later. , an upper limit comparison circuit that does nothing if the output of the storage device 30 is within the range of the upper and lower limits, and applies an interrupt signal to the 0PU 21 via the interrupt line 32 when it exceeds the range; Lower limit comparison circuit, 30 is CPU2
When writing to the main storage device 22 by 1 is performed,
Temporary storage device 3 that writes and temporarily stores the address on the main storage device 22 to be written through the address bus 23;
1 is a write signal line that transmits a write signal to the temporary storage device 30 when 0PU21 writes 1 to the main storage device 22. When the 0PU 21 operates to write to the main memory 22 according to the actual instruction stored in the main memory 22, an execution instruction capture signal is output from the 0PU 21, and this is input to the program counter temporary memory 24. be done.

したがって、この状態でプログラムカウンタ一時記憶装
置24が記憶動作可能な状態になり、実行命令の書かれ
ていた主記憶装置22上の値(すなわち、プログラムカ
ウンタの値)がアドレスバス23を介してプログラムカ
ウンタ一時記憶装置24に記憶される。プログラムカウ
ンタ一時記憶装置24は記憶されたプログラムカウンタ
の値の上位側桁かを出力するように構成されておシ、た
とえば記憶されたプログラムカウンタの値が23AO番
地であったとすると、その上位1桁の“2”の値を出力
する。そして、その値パ2”が補助記憶装置26に印加
され、 CPU21からの書込禁止データにもとづいて
主記憶装置22への書込可能番地の上限値、下限値が上
記補助記憶装置26に記憶される。今、主記憶装置21
のプログラムカウンタの値が23AO番地のところに0
000番地から0FFF番地までの範囲内に各種データ
を1込むことが可能であると記憶されていたとすると、
23AO番地の上位1桁の“′2”によって補助記憶装
置が自らの書込許可テーブルを得、ここに主記憶装置2
2への書込可能番地の上限値cooo、下限値01” 
F Fを記憶する。
Therefore, in this state, the program counter temporary storage device 24 becomes ready for storage operation, and the value (that is, the value of the program counter) in the main storage device 22 in which the execution instruction was written is transferred to the program counter via the address bus 23. It is stored in the counter temporary storage device 24. The program counter temporary storage device 24 is configured to output the upper digit of the stored program counter value. For example, if the stored program counter value is address 23AO, the upper 1 digit of the stored program counter value is output. Outputs the value of “2”. Then, the value P2'' is applied to the auxiliary storage device 26, and the upper and lower limits of the writable address to the main storage device 22 are stored in the auxiliary storage device 26 based on the write-inhibited data from the CPU 21. Now, the main memory 21
The program counter value is 0 at address 23AO.
Assuming that it is stored that various data can be stored within the range from address 000 to address 0FFF,
The auxiliary storage device obtains its own write permission table based on the high-order digit “'2” of address 23AO, and the main storage device 2
Upper limit value cooo, lower limit value 01 of addresses that can be written to 2.
Remember FF.

一方、CPU21による主記憶装置22への実際の書込
み動作が開始すると、これによってCPU2]より書込
信号31が出力され、これが書込信号線3]を介して書
込信号一時記憶装置30に印加される。したがって、こ
の状態で書込信号一時記憶装置30が記憶動作可能な状
態になり、書込対象となる主記憶装置22上の番地がア
ドレスバス23を介して上記書込信号一時記憶装置30
地は上限比較回路27、下限比較回路28によって先に
補助記憶装置26に記憶されだ書込可能番地の上限値、
下限値と比較され、上記書込対象となる番地が上記上限
値、下限値の範囲内にあるが否か判定される。」二記書
込対象となる番地が上記上限値、下限値の範囲内にあれ
ば比較回路27.28は何の信号も出力せず、したがっ
て0PU21は上記書込対象となる主記憶装置22上の
番地に所望のデータを岩込む。上記書込対象となる番地
が上記上限値、下限値を越えたものであれば6、比較回
路27.28のいずれか一方から割込信号が出力され、
これが割込信号線32を介してCPU21に印加される
。したがって、この場合にはC!PU21による主記憶
装置22への書込動作が阻止され、いわゆる不正書込み
を禁止することになる。
On the other hand, when the actual write operation to the main memory device 22 by the CPU 21 starts, a write signal 31 is outputted from the CPU 2, and this is applied to the write signal temporary storage device 30 via the write signal line 3. be done. Therefore, in this state, the write signal temporary storage device 30 becomes ready for storage operation, and the address on the main storage device 22 to be written is transferred to the write signal temporary storage device 30 via the address bus 23.
The address is the upper limit value of the writable address that has been previously stored in the auxiliary storage device 26 by the upper limit comparison circuit 27 and the lower limit comparison circuit 28,
It is compared with the lower limit value, and it is determined whether the address to be written is within the range of the upper limit value and the lower limit value. ” If the address to be written is within the range of the above upper limit value and lower limit value, the comparison circuits 27 and 28 will not output any signals, and therefore 0PU21 is the address on the main memory device 22 to be written to. Enter the desired data into the address. If the address to be written exceeds the upper limit value or lower limit value, an interrupt signal is output from one of the comparator circuits 27 and 28,
This is applied to the CPU 21 via the interrupt signal line 32. Therefore, in this case C! The write operation by the PU 21 to the main storage device 22 is blocked, and so-called unauthorized writing is prohibited.

このように、上記実施例によればCPU’21が主記憶
装置22に記憶された実行命令に従って主記憶装置22
に対し書込みを行なうとき、それによって予めその実行
命令の書かれた主記憶装置22上の位置がどこであり、
どの番地からどの番地までが主記憶装置22上に書込可
能であるかを引出し記憶する手段を設け、この記憶手段
に記憶された上記番地と実際に0PU2 ]に」:つて
主記憶装置22に書込もうとする対象の番地を比較しそ
の出力によって、上記書込対象とする番地が上記記憶さ
れた番地の範囲を越えたときC!PU ]に対し書込み
をかけ書込み動作を行なわないように構成したものであ
り、主記憶装置22に対する書込可能な番地が主記憶装
置22に記憶された実行命令に完全に一致し、実行命令
がいくつかある場合でも正確に対応させることができる
という利点を有する。
In this way, according to the above embodiment, the CPU'21 executes the instructions stored in the main memory 22 in accordance with the execution instructions stored in the main memory 22.
When writing to , the location on the main storage device 22 where the execution instruction is written is determined in advance.
A means is provided for extracting and storing information from which address to which address is writable on the main storage device 22, and the above address stored in this storage means and actually 0PU2] are stored in the main storage device 22. When the address to be written is compared and the output indicates that the address to be written exceeds the range of the stored address, C! PU] is configured so that no write operation is performed, and the writable address to the main storage device 22 completely matches the execution instruction stored in the main storage device 22, and the execution instruction is executed. It has the advantage that even if there are several cases, it can be made to correspond accurately.

発明の効果 本発明は上記実施例より明らかなように、中央演算処理
装置が主記憶装置に記憶された実行命令を受け、その実
行命令に従って主記憶装置への書込みを行なおうとした
とき、これにもとづいて予めその実行命令が上記主記憶
装置のどの番地に記憶され、どの番地からどの番地まで
に書込可能であると記憶されているかを引出し記憶する
第1の手段と、上記中火演算処理装置が実際に上記実行
自令に従って上記主記憶装置への書込みを開始したとき
、その1■込み対象となる上記主記憶装置上の番地を引
出し、記憶する第2の記憶手段と、これらの第1、第2
記憶手段に記憶された番地を比較し、上記第2の記憶手
段に記憶された番地が上記第1の記憶手段に記憶された
番地の範囲外にあるときに上記中央演算処理装置に割込
みをかけ、」二記J、E Ff12憶装置への書込みを
阻止する比較回路を設け/こものであシ、主記憶装置に
記憶された実行命令に従って完全に不正書込みを防止す
ることができ、従来のように独立に不正書込禁止番号を
設定するものに比し、システム全すの信頼性を著しく向
上させることができるという利点を有する。
Effects of the Invention As is clear from the embodiments described above, when a central processing unit receives an execution instruction stored in the main memory and attempts to write to the main memory according to the execution instruction, a first means for extracting and storing in advance at which address in the main storage device the execution command is stored and from which address to which address it is stored as writable, based on the above-mentioned medium-heat calculation; When the processing device actually starts writing to the main storage device according to the execution self-instruction, 1) a second storage means for extracting and storing an address on the main storage device to be written; 1st, 2nd
Comparing the addresses stored in the storage means, and interrupting the central processing unit when the address stored in the second storage means is outside the range of the address stored in the first storage means. , 2 J, E Ff12 A comparator circuit is provided to prevent writing to the storage device, and it is possible to completely prevent unauthorized writing according to the execution instructions stored in the main storage device, unlike the conventional method. This method has the advantage that the reliability of the entire system can be significantly improved compared to a system in which unauthorized write-protection numbers are set independently.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の不正書込防止装置の概略構成図第2図は
本発明の主記憶装置への不正書込防止装置における一実
施例の概略構成図である。 21・中央演算処理装置、22・・主記憶装置、23・
・アドレスバス、24・プログラムカウンタ一時記憶装
置、25・・実行命令取込信号線、26・・・補助記憶
装置、27・・上限比較回路、28・・・下限比較回路
、29・・、書込禁止データ伝送線、3゜・・・州込番
地一時記憶装置、31・・書込信号線、32・・・割込
信号線。
FIG. 1 is a schematic diagram of a conventional unauthorized write prevention device. FIG. 2 is a schematic diagram of an embodiment of an unauthorized write prevention device for a main storage device according to the present invention. 21. Central processing unit, 22. Main storage device, 23.
・Address bus, 24. Program counter temporary storage device, 25.. Execution instruction capture signal line, 26.. Auxiliary storage device, 27.. Upper limit comparison circuit, 28.. Lower limit comparison circuit, 29.., writing. 3.. Temporary address storage device, 31.. Write signal line, 32.. Interrupt signal line.

Claims (1)

【特許請求の範囲】[Claims] 中央演算処理装置が主記憶装置に記憶された実行命令を
受け、その実行命令に従って主記憶装置への書込みを行
なおうとしだとき、これにもとづいて予めその実行命令
が上記主記憶装置のどの番地に記憶され、どの番地から
どの番地1でに書込可能であると記憶されているかを引
出し、記憶する第1の手段と上記中央演算処理装置が実
際に上記実行命令に従って上記主記憶装置への書込みを
開始したとき、その書込み対象となる上記主記憶装置上
の番地を引出し記憶する第2の記憶手段とこれらの第1
、第ソ船憶手段に記憶された番地を比較し、上記第2の
記憶手段に記憶された番地が上記第1の記憶手段に記憶
された番地の範囲外にあるときに上記中央演算処理装置
に割込みをかけ ゛上記主記憶装置への書込みを阻止す
る比較回路を設けた主記憶装置への不正書込防止装置。
When the central processing unit receives an execution instruction stored in the main memory and is about to write to the main memory according to the execution instruction, it determines in advance at which address in the main memory the execution instruction is written based on this. and a first means for extracting and storing from which address to which address 1 it is stored as writable, and the central processing unit actually writes data into the main storage device according to the execution command. a second storage means for extracting and storing an address on the main storage device to be written when writing is started;
, the addresses stored in the second storage means are compared, and when the address stored in the second storage means is outside the range of the address stored in the first storage means, the central processing unit A device for preventing unauthorized writing to a main memory device, which is provided with a comparison circuit that interrupts writing to the main memory device and prevents writing to the main memory device.
JP10613583A 1983-06-14 1983-06-14 Preventing device for foul writing to main memory Pending JPS59231799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10613583A JPS59231799A (en) 1983-06-14 1983-06-14 Preventing device for foul writing to main memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10613583A JPS59231799A (en) 1983-06-14 1983-06-14 Preventing device for foul writing to main memory

Publications (1)

Publication Number Publication Date
JPS59231799A true JPS59231799A (en) 1984-12-26

Family

ID=14425944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10613583A Pending JPS59231799A (en) 1983-06-14 1983-06-14 Preventing device for foul writing to main memory

Country Status (1)

Country Link
JP (1) JPS59231799A (en)

Similar Documents

Publication Publication Date Title
US5396609A (en) Method of protecting programs and data in a computer against unauthorized access and modification by monitoring address regions
JP3529800B2 (en) Data protection microprocessor circuit for portable data carrier
US5991858A (en) Multi-user data processing system with storage protection
US6282644B1 (en) Apparatus and method for storing BIOS data of computer system
JPS59130000A (en) Method of protecting virtual memory device
JPS58139400A (en) Data withdrawal prevention control mechanism
US4093987A (en) Hardware control storage area protection method and means
US5564036A (en) Memory protective circuit
JPS59231799A (en) Preventing device for foul writing to main memory
JPS62160554A (en) Device for preventing wrong access to memory
JPS59231800A (en) Preventing device for foul writing to main memory
JPH1078919A (en) Device for preventing illegal access
JPS6074059A (en) Access control system for storage device
JPS63250753A (en) Memory access checking system
JPS6250863B2 (en)
JPS6225214B2 (en)
JPH01123342A (en) Writing protecting circuit for memory
JPS59116866A (en) Storage device of computer system
JPS6329859A (en) Memory protection circuit
JPH02238536A (en) Storage protecting circuit
JPH06309236A (en) Illegal write detecting circuit for memory
JPS6073761A (en) Memory protective device
JPH0822419A (en) Miswriting prevention system
JP2000207235A (en) Information processor
JPS58203700A (en) Privacy protecting device for information in memory