JPH033050A - Memory protecting device - Google Patents
Memory protecting deviceInfo
- Publication number
- JPH033050A JPH033050A JP1138167A JP13816789A JPH033050A JP H033050 A JPH033050 A JP H033050A JP 1138167 A JP1138167 A JP 1138167A JP 13816789 A JP13816789 A JP 13816789A JP H033050 A JPH033050 A JP H033050A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- signal
- access
- address
- 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
- 239000000872 buffer Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 239000002131 composite material Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 101000622427 Homo sapiens Vang-like protein 1 Proteins 0.000 description 1
- 102100023517 Vang-like protein 1 Human genes 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、メモリプロテクト装置に関する。より詳細に
は、計算機のメモリに対する不正なアクセスにを防止す
るメモリプロテクト装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a memory protection device. More specifically, the present invention relates to a memory protection device that prevents unauthorized access to computer memory.
従来の技術
従来のメモリプロテクト装置具備する計算機の構成を第
5図に示す。2. Description of the Related Art FIG. 5 shows the configuration of a computer equipped with a conventional memory protection device.
第5図に示した計算機は、各種処理を行うCPU1と、
CPUIの処理に伴うデータを保持するメモリ2と、メ
モリ2のアクセスを禁止゛した番地を記憶し、メモリ2
のその番地に対して不正なアクセスが行われたときに、
BERR信号をアクティブにするプロテクト用メモリ3
と、CPUIがメモリ2に対して行うアクセスを制御す
る制御回路50とを具備する。CPUIがメモリ2をア
クセスする場合、アドレスバスにアクセスする番地を出
力し、その番地の内容をデータバスを通じて読み出した
り、またはその番地に対して書き込みを行う。同時にC
PUIは、プロテクト用メモリ3に対して、メモリ2に
対するアクセスタイプ(命令の読み込み、オペランドの
読み込み、オペランドの書き込み)および実行中のプロ
グラムの実行レベルも出力する。アドレスバスの上位数
ピント、アクセスタイプおよび実行レベルからプロテク
ト用メモリ3は不正なアクセスを検出する。The computer shown in FIG. 5 includes a CPU 1 that performs various processes,
Memory 2 stores data associated with CPUI processing, and memory 2 stores addresses where access to memory 2 is prohibited.
When unauthorized access is made to that address,
Protective memory 3 that activates the BERR signal
and a control circuit 50 that controls access made by the CPU to the memory 2. When the CPUI accesses the memory 2, it outputs the address to be accessed to the address bus, and reads the contents of the address via the data bus or writes to the address. At the same time C
The PUI also outputs the type of access to the memory 2 (instruction reading, operand reading, operand writing) and the execution level of the program being executed, to the protection memory 3. The protection memory 3 detects illegal access based on the high-order pinpoint of the address bus, the access type, and the execution level.
制御回路50は、CPUIの出力するBCYST(バス
サイクルがスタートすることを示す)信号と、R/W
(メモリを読み出すサイクルか書き込むサイクルかを示
す)信号と、プロテクト用メモU 3の出力するBER
R信号とを受けて、メモリ21;WE倍信号、CPUI
にWAIT(メモリ2への読み込みまたは書き込みが終
了するまでCPUを峙たせる信号)を出力する。制御回
路50から出力されるWE倍信号アクティブになると、
メモリ2に書き込みが行われる。The control circuit 50 receives the BCYST (indicating that a bus cycle starts) signal output from the CPUI and the R/W
Signal (indicating whether it is a cycle to read or write memory) and BER output from protect memo U3
In response to the R signal, memory 21; WE double signal, CPUI
A WAIT signal (a signal that causes the CPU to wait until reading or writing to the memory 2 is completed) is output. When the WE multiplication signal output from the control circuit 50 becomes active,
Writing is performed in memory 2.
第6図に、第5図に示した計算膜のメモリへの書き込み
時の動作タイミングを示す。アドレスバスの信号が確定
して、tPA時間(プロテクト用メモリのアクセスタイ
ム)後にBERR信号が確定する。プロテクト機能のた
めには不正な書き込みに対してWEをアクティブにして
はいけないので、WEの立ち上りはBERR信号が確定
してから、論理合成に必要な時間1.だけ遅れることに
なる。FIG. 6 shows the operation timing of the calculation film shown in FIG. 5 when writing into the memory. The address bus signal is determined, and the BERR signal is determined after a time tPA (protection memory access time). For the protection function, WE must not be activated against illegal writing, so WE rises after the BERR signal is determined and takes the time required for logic synthesis 1. You will be late.
発明が解決しようとする課題
上述した従来のメモリプロテクト装置は、データを書き
込み時に、プロテクト用メモリを読み出し、アクセスが
許可されるべきかどうかの判定が確定した後に書き込み
信号を出力する。そのため、本来の処理時間よりも、余
計な時間がかかるという欠点がある。Problems to be Solved by the Invention The conventional memory protection device described above reads the protection memory when writing data, and outputs a write signal after determining whether access should be permitted. Therefore, there is a drawback that it takes more time than the original processing time.
そこで、本発明の目的は、上記従来技術の問題点を解決
した書き込み処理を迅速に行うことが可能なメモリプロ
テクト装置を提供することにある。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a memory protection device that solves the problems of the prior art and can quickly perform write processing.
課題を解決するための手段
本発明に従うと、計算機のメモリに対する不正なアクセ
スを防止する装置において、保護するメモリのアドレス
および不正なアクセスの種類を記憶する第1の記憶手段
と、メモリへ書き込まれるデータおよ°び該データが書
き込まれるアドレスを記憶する第2の記憶手段と、要求
されたアクセスが許されるかどうかを記憶する第3の記
憶手段とを具備し、前記メモリに対する不正な書き込み
が行われた場合、前記第2の記憶手段に記憶されたデー
タが前記メモリに書き込まれないように制御する制御手
段を具備することを特徴とするメモリプロテクト装置が
提供される。Means for Solving the Problems According to the present invention, in a device for preventing unauthorized access to the memory of a computer, there is provided a first storage means for storing the address of the memory to be protected and the type of unauthorized access; A second storage means for storing data and an address to which the data is written; and a third storage means for storing whether a requested access is permitted; There is provided a memory protection device characterized by comprising a control means for controlling the data stored in the second storage means not to be written to the memory when the second storage means is executed.
作用
本発明のメモリプロテクト装置は、アクセスアドレスを
一旦専用の記憶手段に行い、その間に、プロテクト用メ
モリの読み出しを行う。従って、従来の装置のように、
プロテクト用メモリの読み出しを待つ必要がないので処
理速度が向上する。Function: The memory protection device of the present invention once performs an access address to a dedicated storage means, and during that time, reads out the protection memory. Therefore, like traditional devices,
Processing speed is improved because there is no need to wait for the protection memory to be read.
以下、本発明を実施例により、さらに詳しく説明するが
、以下の開示は本発明の単なる実施例に過ぎず、本発明
の技術的範囲をなんら制限するものではない。EXAMPLES Hereinafter, the present invention will be explained in more detail with reference to Examples, but the following disclosure is merely an example of the present invention and does not limit the technical scope of the present invention in any way.
実施例1
第1図に、本発明のメモリプロテクト装置の一実施例を
備えた計算機のブロック図を示す。Embodiment 1 FIG. 1 shows a block diagram of a computer equipped with an embodiment of the memory protection device of the present invention.
第1図に示した計算機は、各種処理を行うCPU1と、
CPUIの処理に伴うデータを保持するメモリ2と、プ
ロテクト用メモリ3、ラッチ6.7.12.13、トラ
イステートバッファ8.10.11.14、−数棟出回
路9および制御回路39から構成されるメモリプロテク
ト装置を具備する。The computer shown in FIG. 1 includes a CPU 1 that performs various processes,
Consisting of a memory 2 that holds data associated with CPUI processing, a protection memory 3, a latch 6.7.12.13, a tri-state buffer 8.10.11.14, an output circuit 9, and a control circuit 39. A memory protection device is provided.
プロテクト用メモリ3は、メモリ2のアクセスを禁止し
た番地を記憶し、メモリ2のその番地に対して不正なア
クセスが行われると、BERR信号をアクティブにする
。CPUIがメモリ2をアクセスする場合、アドレスバ
スにアクセスする番地を出力し、その番地の内容をデー
タバスを通じて読み出したり、またはその番地に対して
書き込みを行う。同時にCPU1は、プロテクト用メモ
リ3に対して、メモリ2に対するアクセスタイプおよび
実行中のプログラムの実行レベルも出力する。プロテク
ト用メモリ3は、アドレスバスの上位数ビット、アクセ
スタイプおよび実行レベルから不正なアクセスを検出す
る。The protection memory 3 stores an address in the memory 2 that is prohibited from being accessed, and activates the BERR signal when an unauthorized access is made to that address in the memory 2. When the CPUI accesses the memory 2, it outputs the address to be accessed to the address bus, and reads the contents of the address via the data bus or writes to the address. At the same time, the CPU 1 also outputs to the protection memory 3 the type of access to the memory 2 and the execution level of the program being executed. The protection memory 3 detects illegal access from the upper few bits of the address bus, the access type, and the execution level.
CPU lとメモリ2とは、制御回路39で制御される
ラッチ6.7.12.13およびトライステートバッフ
ァ8.1O111,14を介して接続されている。CPU 1 and memory 2 are connected via latch 6.7.12.13 and tristate buffer 8.1O111, 14 controlled by control circuit 39.
制御回路39は、CPU lの出力するR/W信号とV
A倍信号プロテクト用メモリ3の出力するBERR信号
、クロック4の発するCK倍信号よび比較器9の発する
信号Eを受けて、メモリ2にWE倍信号よびOE倍信号
、ラッチ6および12に5BT1信号を、ラッチ7およ
び11に5BT2信号を、トライステートバッファ8.
10.11.14にそれぞれ制御信号A、D、C,Bを
出力する。The control circuit 39 controls the R/W signal output from the CPU l and the V
In response to the BERR signal output from the A-fold signal protection memory 3, the CK-fold signal issued by the clock 4, and the signal E issued by the comparator 9, the WE-fold signal and OE-fold signal are sent to the memory 2, and the 5BT1 signal is sent to the latches 6 and 12. , 5BT2 signal to latches 7 and 11, tri-state buffer 8.
Control signals A, D, C, and B are output on 10.11.14, respectively.
R/W信号は、CPUIが読み出し動作を行うとハイレ
ベルになり、書き込み動作をするときローレベルになる
。VA倍信号、CPU1が有効な書き込みあるいは読み
出し動作を行うときにハイレベルになり、そうでないと
きにはローレベルになる。また、WE入力端子がハイレ
ベルのときに、メモリ2にデータが書き込まれ、OE入
力端子がハイレベルのときメモリ2からデータが読み出
される。The R/W signal becomes high level when the CPUI performs a read operation, and becomes low level when the CPUI performs a write operation. The VA multiplication signal goes high when the CPU 1 performs a valid write or read operation, and goes low otherwise. Further, data is written into the memory 2 when the WE input terminal is at a high level, and data is read from the memory 2 when the OE input terminal is at a high level.
第2図に、本実施例の計算機の制御回路390回路図を
示す。本実施例の制御回路39では、R/W信号は、イ
ンバータ16.18.23、ANDゲート32.33.
34に人力され、VA倍信号、インバータ15、AND
ゲート20.24.32.33.34に人力される。FIG. 2 shows a circuit diagram of a control circuit 390 of the computer of this embodiment. In the control circuit 39 of this embodiment, the R/W signal is transmitted to the inverters 16, 18, 23, AND gates 32, 33, .
34, VA double signal, inverter 15, AND
Man-powered at gate 20.24.32.33.34.
また、CK倍信号インバータ19.35、ANDゲート
21.0R−NAND腹合ゲート26.27.0R−N
OR複合ゲート28.29に人力される。BERR信号
は0R−NANDI合ゲート26に人力され、E信号は
ANDゲート30に人力される。インバータ15および
16の出力は、ORゲート17の人力となり、ORゲー
ト17の出力はANDゲート22に入力される。インバ
ータ18およびI9の出力はVA倍信号ともにANDゲ
ート20に人力され、ANDゲート20の出力はSTB
1信号となって出力される。Also, CK double signal inverter 19.35, AND gate 21.0R-NAND gate 26.27.0R-N
Human power is applied to OR complex gates 28 and 29. The BERR signal is applied to the 0R-NANDI combination gate 26, and the E signal is applied to the AND gate 30. The outputs of inverters 15 and 16 serve as the input power for OR gate 17, and the output of OR gate 17 is input to AND gate 22. The outputs of the inverter 18 and I9 are input to the AND gate 20 together with the VA multiplied signal, and the output of the AND gate 20 is STB.
It is output as one signal.
インバータ23の出力はANDゲート24に人力され、
ANDゲート24の出力は、インバータ25に人力され
るどともに0R−NANDff1合ゲート27に人力さ
れる。The output of the inverter 23 is input to the AND gate 24,
The output of the AND gate 24 is input to the inverter 25 and also to the 0R-NANDff1 sum gate 27.
0R−NAND複合ゲート26.27.0R−NOR′
DL合ゲート28.29を組み合わせた回路には、CK
倍信号BERR信号、ANDゲート24の出力およびイ
ンバータ25の出力が人力され、その出力は、ANDゲ
ート22およびANDN−ゲート30力となる。AND
ゲート22の出力は、へ信号となるとともに、ANDゲ
ート21.37、ORゲート36、インバータ38を介
して0R−NANDvi合’7’−)271:1m入力
される。0R-NAND composite gate 26.27.0R-NOR'
The circuit that combines DL gates 28 and 29 includes
The doubled signal BERR signal, the output of AND gate 24 and the output of inverter 25 are input, and the outputs become AND gate 22 and ANDN-gate 30 outputs. AND
The output of the gate 22 becomes a signal and is inputted via an AND gate 21.37, an OR gate 36, and an inverter 38.
ΔNDゲー)21からはSTB2信号が出力される。A
NDゲート30の出力はANDゲート32およびインバ
ータ31に入力され、ANDゲート32の出力はORゲ
ート36に、インバータ31の出力はANDゲート33
に出力される。ORゲート36からはB信号が、AND
ゲート33からはOE倍信号、ANDゲート34からは
C,D信号が、ANDゲート37からはWE倍信号それ
ぞれ出力される。The STB2 signal is output from the ΔND game) 21. A
The output of the ND gate 30 is input to the AND gate 32 and the inverter 31, the output of the AND gate 32 is input to the OR gate 36, and the output of the inverter 31 is input to the AND gate 33.
is output to. The B signal is output from the OR gate 36, and
The gate 33 outputs the OE multiplied signal, the AND gate 34 outputs the C and D signals, and the AND gate 37 outputs the WE multiplied signal.
以下、上記の本発明のメモリプロテクト装置を備える計
算機の動作を説明する。Hereinafter, the operation of a computer equipped with the above-mentioned memory protection device of the present invention will be explained.
まず、CPU1のバスサイクルインターフェースについ
て説明する。本実施例の計算機では、CPU1のバスサ
イクルのタイミングはクロック入力端子に入るCK倍信
号よって制御される。すなわち、CK倍信号ハイレベル
になると、それまで行われていたバスサイクルは終了し
、次のバスサイクルが始まる。CPUIの出力するアド
レス、データ、R/W信号、VA倍信号アクセスタイプ
、実行レベルは、CK倍信号立ち上がって一定時間後か
ら次にCK倍信号立ち上るまでの間有効な値であること
が保証される。First, the bus cycle interface of the CPU 1 will be explained. In the computer of this embodiment, the timing of the bus cycle of the CPU 1 is controlled by the CK multiplier signal input to the clock input terminal. That is, when the CK double signal becomes high level, the bus cycle that was being executed up to that point ends, and the next bus cycle begins. The address, data, R/W signal, VA double signal access type, and execution level output by the CPU are guaranteed to be valid values from a certain time after the CK double signal rises until the next CK double signal rises. Ru.
また、読み出し時のデータとBERR信号は、バスサイ
クルの終りのCK倍信号立ち上りで取り込まれる。Furthermore, the data and BERR signal at the time of reading are taken in at the rising edge of the CK signal at the end of the bus cycle.
以下、ライトサイクルの動作を説明する。The operation of the write cycle will be explained below.
CPU lがライトサイクルで、アドレスとデータを出
力し、R/W=O1VA=11.:すルト、CK倍信号
0のときSTB 1信号がアクティブになり、ラッチ6
.12にアドレスとデータが記憶される。同時に、プロ
テクト用メモリ3には、実行しベル、アクセスタイプ、
アドレスバスの上位数ビットが出力される。プロテクト
用メモリ3は、これらの信号と、記憶しているメモリ2
のアクセスを禁止した番地とを比較し、禁止されたアク
セスの場合にはBERR信号をハイレベルにする。CPU l outputs address and data in write cycle, R/W=O1VA=11. :STB 1 signal becomes active when SULT, CK double signal is 0, and latch 6
.. 12, addresses and data are stored. At the same time, the protection memory 3 contains the execution bell, access type,
The upper few bits of the address bus are output. The protection memory 3 stores these signals and the memory 2 that stores them.
If access is prohibited, the BERR signal is set to high level.
BERR信号がローレベルであれば、そのことが制御回
路39に記憶される。次のサイクルがリードサイクルで
あるときには、ラッチに蓄えられた書き込みデータはそ
のままにして、トライステートバッファ10.11を駆
動状態にし、メモリの読み出しが行われる。ラッチに蓄
えられたデータの書き込みは、次の書き込みサイクルに
行われる。このサイクルでは、まず、CKが1になると
、データラッチ6.12に蓄えられたデータは、データ
ラッチ7.13に移されると同時に、トライステートバ
ッファ8.14が駆動状態となり、メモリ2に入力され
る。続いてCKが0になると、CPUIの出力するアド
レスとデータは、ラッチ6.12に蓄えられ、WE倍信
号1になり、メモリ2に書き込みが行われる。If the BERR signal is at a low level, this fact is stored in the control circuit 39. When the next cycle is a read cycle, the write data stored in the latch is left as is, the tri-state buffers 10 and 11 are driven, and the memory is read. The data stored in the latch is written in the next write cycle. In this cycle, first, when CK becomes 1, the data stored in data latch 6.12 is transferred to data latch 7.13, and at the same time tri-state buffer 8.14 is activated and input to memory 2. be done. Subsequently, when CK becomes 0, the address and data output by the CPUI are stored in the latch 6.12, the WE multiplication signal becomes 1, and the data is written into the memory 2.
データラッチには書き込まれたが、メモリ2には書き込
まれていないデータをCPUIが読み出そうとした時に
は、−数構出回路9がそれを検出し、メモリ2のデータ
ではなく、データラッチのテ゛−夕をCPU lに読み
出させる。When the CPU attempts to read data that has been written to the data latch but not written to the memory 2, the -number output circuit 9 detects this and reads the data from the data latch instead of the data from the memory 2. The data is read out by the CPU 1.
BERR信号がハイレベルのときは、制御回路39は、
データラッチからメモリ2へのデータ書き込みを行わな
いように制御し、不正な書き込みによるデータの破壊を
防ぐ。When the BERR signal is at high level, the control circuit 39:
Control is performed so that data is not written from the data latch to the memory 2, and data destruction due to unauthorized writing is prevented.
以上のように、本発明の計算機のメモリ回路では、メモ
リ2に書き込むデータを一旦データラッチ6.12に蓄
えることにより、プロテクト用メモリ3のデータを読み
出す待ち時間をなくし、高速な処理を可能にしたもので
ある。As described above, in the computer memory circuit of the present invention, by temporarily storing data to be written in the memory 2 in the data latch 6.12, the waiting time for reading data in the protection memory 3 is eliminated, and high-speed processing is possible. This is what I did.
実施例2
第3図に、本発明のメモリプロテクト装置の第2の実施
例を具備する計算機のブロック図を示す。Embodiment 2 FIG. 3 shows a block diagram of a computer equipped with a second embodiment of the memory protection device of the present invention.
本実施例のメモリプロテクト装置は、データラッチ6.
7.12.13とトライステートバッファ8.14と並
列に接続されたキャッシュメモリ40を付加した構成と
なっている点が、実施例1の装置と主に異なる。The memory protection device of this embodiment includes data latches 6.
The main difference from the device of the first embodiment is that a cache memory 40 connected in parallel with 7.12.13 and tristate buffers 8.14 is added.
本実施例の装置では、データラッチ6.7.12.13
およびトライステートバッファ8.14を、キャッシュ
メモリ40のライトスルー動作にライトバッファとして
も利用できる利点がある。すなわち、CPU 1が、デ
ータをメモリ2に書き込むとき、データラッチ6.12
が、−旦、そのアドレスとデータを受は取り、メモリ2
に渡すことによって、アクセスタイムの長いメモリに対
しても、CPU1は短いライトサイクルで済ますことが
できる。In the device of this embodiment, data latch 6.7.12.13
Furthermore, there is an advantage that the tri-state buffer 8.14 can also be used as a write buffer for the write-through operation of the cache memory 40. That is, when CPU 1 writes data to memory 2, data latch 6.12
However, on the first day, it receives the address and data and stores it in memory 2.
By passing the data to memory, the CPU 1 can use a short write cycle even for memory that requires a long access time.
他の動作は、実施例1の場合と全く等しいので説明を省
略する。The other operations are completely the same as in the first embodiment, so the explanation will be omitted.
実施例3
第4図に、本発明のメモリプロテクト装置の第3の実施
例を備える計算機のブロック図を示す。Embodiment 3 FIG. 4 shows a block diagram of a computer equipped with a third embodiment of the memory protection device of the present invention.
本実施例のメモリプロテクト装置は、プロテクト用メモ
リ3、制御回路39およびコピーバック方式のキャッシ
ュメモリ41から構成される。The memory protection device of this embodiment includes a protection memory 3, a control circuit 39, and a copyback type cache memory 41.
コピーバック方式のキャッシュメモリ41は、CPUI
からデータ書き込みが行われても、すぐにはメモリ2に
書き込まない。従って、許されない書き込^が行われ、
プロテクト用メモリ3がBERR信号をハイレベルにす
ると、制御回路39はメモリ2に対して書き込みが行わ
れないようにする。The copy-back type cache memory 41 is
Even if data is written from , it is not written to memory 2 immediately. Therefore, an unauthorized write was made,
When the protect memory 3 sets the BERR signal to high level, the control circuit 39 prevents writing to the memory 2.
本実施例の装置では、キャッシュメモリと本発明のメモ
リプロテクト装置とで共用できる回路が多いので、全体
として少ない回路で構成できる利点がある。In the device of this embodiment, there are many circuits that can be shared by the cache memory and the memory protection device of the present invention, so there is an advantage that the device can be configured with fewer circuits as a whole.
発明の詳細
な説明したように、本発明のメモリプロテクト装置は、
データの書き込みを、−旦、専用の記憶手段に対し行う
。そのため、プロテクト用メモリの読み出しとデータの
書き込みとを同時に行っても、不正な書き込みは、専用
のラッチからメモリへの書き込みを中止することにより
、防ぐことができる。従って、メモリライトサイクルを
高速に行うことができる効果がある。As described in detail, the memory protection device of the present invention includes:
Data is written to the dedicated storage means. Therefore, even if the protection memory is read and data is written at the same time, unauthorized writing can be prevented by stopping writing to the memory from the dedicated latch. Therefore, there is an effect that memory write cycles can be performed at high speed.
第1図は、本発明のメモリプロテクト装置の一例を具備
する計算機のブロック図であり、第2図は、第1図の装
置の制御回路の一例のブロック図であり、
第3図は、本発明のメモリプロテクト装置の他の実施例
を具備する計算機のブロック図であり、第4図は、本発
明のメモリプロテクト装置のさらに他の実施例を具備す
る計算機のブロック図であり、
第5図は、従来のメモリプロテクト装置を具備する計算
機のブロック図であり、
第6図は、第5図の計算機の動作タイミングを示した図
である。
〔主な参照番号〕
l・・・CPU、 2・・・メモリ、3・・・プロ
テクト用メモリ、
4・・・クロック発生回路、
6.7・・・アドレスラッチ、
9・・・−数構出回路、
10、11・・・トライステートバッファ、12、13
・・・データラッチ、
14・・・トライステートバッファ、
15、16.1g、 19.23.25.27.31.
35.38・インバータ、
17、 36・ ・ ・ORゲート、
20、21.22.24.30.32.33.34.3
7ANDゲート、
26、27・・・複合ゲート(OR−NAND)、28
、29・・・複合ゲート (OR−NOR)、39、5
0・・・制御回路、
40、41・・・キャッシュメモリ。FIG. 1 is a block diagram of a computer equipped with an example of the memory protection device of the present invention, FIG. 2 is a block diagram of an example of a control circuit of the device of FIG. 1, and FIG. 4 is a block diagram of a computer equipped with another embodiment of the memory protection device of the invention; FIG. 4 is a block diagram of a computer equipped with still another embodiment of the memory protection device of the invention; FIG. 6 is a block diagram of a computer equipped with a conventional memory protection device, and FIG. 6 is a diagram showing the operation timing of the computer of FIG. 5. [Main reference numbers] 1...CPU, 2...Memory, 3...Protect memory, 4...Clock generation circuit, 6.7...Address latch, 9...-Several structures Output circuit, 10, 11... tri-state buffer, 12, 13
...Data latch, 14...Tri-state buffer, 15, 16.1g, 19.23.25.27.31.
35.38・Inverter, 17, 36・ ・OR gate, 20, 21.22.24.30.32.33.34.3
7AND gate, 26, 27... Composite gate (OR-NAND), 28
, 29... Composite gate (OR-NOR), 39, 5
0...Control circuit, 40, 41...Cache memory.
Claims (1)
において、保護するメモリのアドレスおよび不正なアク
セスの種類を記憶する第1の記憶手段と、メモリへ書き
込まれるデータおよび該データが書き込まれるアドレス
を記憶する第2の記憶手段と、要求されたアクセスが許
されるかどうかを記憶する第3の記憶手段とを具備し、
前記メモリに対する不正な書き込みが行われた場合、前
記第2の記憶手段に記憶されたデータが前記メモリに書
き込まれないように制御する制御手段を具備することを
特徴とするメモリプロテクト装置。A device for preventing unauthorized access to memory of a computer, comprising a first storage means for storing an address of the memory to be protected and a type of unauthorized access, and a first storage means for storing data written to the memory and an address at which the data is written. 2 storage means and a third storage means for storing whether the requested access is permitted;
A memory protection device comprising: control means for controlling data stored in the second storage means not to be written to the memory when unauthorized writing is performed on the memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1138167A JPH033050A (en) | 1989-05-31 | 1989-05-31 | Memory protecting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1138167A JPH033050A (en) | 1989-05-31 | 1989-05-31 | Memory protecting device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH033050A true JPH033050A (en) | 1991-01-09 |
Family
ID=15215598
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1138167A Pending JPH033050A (en) | 1989-05-31 | 1989-05-31 | Memory protecting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH033050A (en) |
-
1989
- 1989-05-31 JP JP1138167A patent/JPH033050A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2849327B2 (en) | Computer system operating method and computer system for disabling write protection state during execution of system management mode | |
| KR970011207B1 (en) | Method and apparatus for a register providing atomic access to set and clear individual bits of a shared register without a software interlock | |
| JPH0342745A (en) | Plural cash-memory-access method | |
| JPS59180767A (en) | Serializer | |
| US5619677A (en) | Data processing system with an enhanced cache memory control | |
| JPH0564813B2 (en) | ||
| US5455925A (en) | Data processing device for maintaining coherency of data stored in main memory, external cache memory and internal cache memory | |
| US5701437A (en) | Dual-memory managing apparatus and method including prioritization of backup and update operations | |
| JP2586112B2 (en) | Address conversion table access control method | |
| JP3093761B2 (en) | Circuit to reset multi-bit word | |
| JPS615348A (en) | Information processor | |
| JPS5987562A (en) | Debugging device | |
| KR970006411B1 (en) | How to Display Message of Operating System Kernel Using Shared Memory | |
| JPH0212358A (en) | Data transfer system | |
| JP2546002B2 (en) | Parity circuit | |
| JPH03147153A (en) | Cache memory device | |
| JPS6238743B2 (en) | ||
| JP3097083B2 (en) | Data processing device | |
| JPH0259495B2 (en) | ||
| JPH03276346A (en) | Memory card | |
| JPH0764856A (en) | Memory access control circuit | |
| JPH02307123A (en) | Computer | |
| JPS6135583B2 (en) | ||
| JPH05127974A (en) | Semaphore bit circuit | |
| JPH0414147A (en) | central processing unit |