JPS6244854A - メモリ保護回路 - Google Patents

メモリ保護回路

Info

Publication number
JPS6244854A
JPS6244854A JP60183918A JP18391885A JPS6244854A JP S6244854 A JPS6244854 A JP S6244854A JP 60183918 A JP60183918 A JP 60183918A JP 18391885 A JP18391885 A JP 18391885A JP S6244854 A JPS6244854 A JP S6244854A
Authority
JP
Japan
Prior art keywords
data
bus
memory
comparator
ram1
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
JP60183918A
Other languages
English (en)
Inventor
Kazuaki Sukai
須貝 一明
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60183918A priority Critical patent/JPS6244854A/ja
Publication of JPS6244854A publication Critical patent/JPS6244854A/ja
Priority to US08/285,763 priority patent/US5564036A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1416Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights
    • G06F12/1425Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block
    • G06F12/1441Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block for a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 [技術分野] 本発明は、メモリ空間内の任意の空間に対する書込みを
禁止することができるようにしたメモリ保護回路に関す
る。
[従来技術] 従来、 RAM(ランダムアクセスメモリ)上にIRQ
(割り込み要求信号)のベクターテーブルやメモリ管理
テーブルが展開されている場合において、これら破壊が
許されない重要なデータを、暴走などに起因するデータ
破壊から保護する方法が存在せず、問題点となっていた
[目 的] そこで、本発明の目的は、上述の点に鑑み、メモリ空間
の任意の領域を書き込み禁止することができるようにし
、もって、暴走などに起因する重要データの破壊を防止
できるようにしたパーソナルコンピュータ、ワードプロ
セッサ等に使用可能なメモリ保護回路を提供することに
ある。
[実 施 例1 以下、図面を参照して本発明の詳細な説明する。
図は本発明の構成の一例を示す。
図において、lは後述のように任意のφ域の書き込みが
禁止されて保護される記憶手段としての読み書き可能な
ランダムアクセスメモリである。
2はランダムアクセスメモリlの保護範囲を、データバ
スBustを介してCPU(中央処理装置)6から書き
込むラッチメモリである。3はラッチメモリ2の格納内
容とアドレスバスBUS2上のアドレス情報ADDRと
を比較するデジタル型のコンパレータである。4はラン
ダムアクセスメモリ1への書き込み信号■を制御するゲ
ートである。5はcpueがラッチメモリ2に対して上
述のランダムアクセスメモリlの保護範囲を書き込むた
めにラッチメモリ2に制御信号を供給するデコーダであ
る。7は例えば所定のプログラムなどが格納されたり−
ド・オンリ・メモリ(ROM)である。また、CPU8
には、上述の構成要素の外にI10コントロールSI等
が接続される。
コンパレータ3には、アドレスバスBUS2上のアドレ
ス情報ADDRの全ビットでは無く上位桁ビットが入力
され、下位桁ビットは入力されない。これにより、ラン
ダムアクセスメモリlは、例えば下位桁4ビツトが入力
されていない場合には256バイト単位の保護が可能で
あり、さらに下位桁5ビツトが入力されていない場合に
は512バイト単位の保護が可能である。
次に、本発明の動作例について説明する。
CPUは、データバスBUSIを介してランダムアクセ
スメモリ1に所定のデータを書き込んだ後、引きつづき
、ランダムアクセスメモリlの保護したい空間(領域)
の上位アドレス情報をデータバスBustを介してラッ
チメモリ2に書き込む。その後、コンパレータ3は、ラ
ンダムアクセスメモリ1へのデータの書き込み時にラッ
チメモリ2の出力とアドレスバスBUS2上のアドレス
情報との比較を行う。このコンパレータ3の比較結果が
一致すると、すなわち、あらかじめ設定されてラッチメ
モリ2に格納されているランダムアクセスメモリ1の保
護範囲にかかるアドレス情報がアドレスバスBUS上に
表われたときには、コンパレータ3からは°゛H′が出
力される。そして、このコンパレータ3からの出力II
 HIIは、ゲート4からランダムアクセスメモリ1に
書き込み信号iを供給するのを阻止するとともに、CP
U8に対してノンマスカブル割込みNMIをかける。こ
のような動作により、ランダムアクセスメモリ1はあら
かじめ設定されている任意の領域への書き込みが禁止さ
れる。
ナオ、コンパレータ3に入力するアドレスのビット数を
加減することにより、ランダムアクセスメモリ1の保護
範囲を変更できる。
[効  果] 以上説明したように、本発明によれば、CPUは記憶手
段としてのランダムアクセスメモリ上の任意の空間を書
き込み禁止領域とすることができるので、これにより、
いわゆる暴走などに起因する重要データの破壊を防止す
ることができる。
【図面の簡単な説明】
図は本発明の構成の一例を示すブロック図である。 1・・・ランダムアクセスメモリ、 2・・・ラッチメモリ、 3・・・コンパレータ、 4・・・ゲート、 5・・・デコーダ、 6・・・CPU、 7・・・ROM。

Claims (1)

  1. 【特許請求の範囲】 情報を書き込み可能な記憶手段と、 該記憶手段の書き込み禁止領域を指定する指定手段と、 該指定手段により指定された書き込み禁止領域への書き
    込み指示があるときには、その書き込みを阻止する手段
    とを具備したことを特徴とするメモリ保護回路。
JP60183918A 1985-08-23 1985-08-23 メモリ保護回路 Pending JPS6244854A (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60183918A JPS6244854A (ja) 1985-08-23 1985-08-23 メモリ保護回路
US08/285,763 US5564036A (en) 1985-08-23 1994-08-03 Memory protective circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60183918A JPS6244854A (ja) 1985-08-23 1985-08-23 メモリ保護回路

Publications (1)

Publication Number Publication Date
JPS6244854A true JPS6244854A (ja) 1987-02-26

Family

ID=16144089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60183918A Pending JPS6244854A (ja) 1985-08-23 1985-08-23 メモリ保護回路

Country Status (2)

Country Link
US (1) US5564036A (ja)
JP (1) JPS6244854A (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203698A (ja) * 2011-03-25 2012-10-22 Toshiba Corp 情報処理装置およびマルチコアシステム

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330648B1 (en) * 1996-05-28 2001-12-11 Mark L. Wambach Computer memory with anti-virus and anti-overwrite protection apparatus
US6453429B1 (en) 1999-04-29 2002-09-17 International Business Machines Corporation Method and apparatus for bus hang detection and identification of errant agent for fail safe access to trapped error information
US6488581B1 (en) * 1999-06-22 2002-12-03 Igt Mass storage data protection device for a gaming machine
US6543006B1 (en) * 1999-08-31 2003-04-01 Autodesk, Inc. Method and apparatus for automatic undo support
JP4497689B2 (ja) 1999-10-01 2010-07-07 キヤノン株式会社 印刷装置、交換ユニット、及び、メモリユニット
GB2388715B (en) * 2002-05-13 2005-08-03 Splashpower Ltd Improvements relating to the transfer of electromagnetic power

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3473159A (en) * 1966-07-07 1969-10-14 Gen Electric Data processing system including means for protecting predetermined areas of memory
US3576544A (en) * 1968-10-18 1971-04-27 Ibm Storage protection system
US3573855A (en) * 1968-12-31 1971-04-06 Texas Instruments Inc Computer memory protection
DE2842548A1 (de) * 1978-09-29 1980-04-10 Siemens Ag Programmierbare speicherschutzlogik fuer mikroprozessorsysteme
US4332009A (en) * 1980-01-21 1982-05-25 Mostek Corporation Memory protection system
US4405983A (en) * 1980-12-17 1983-09-20 Bell Telephone Laboratories, Incorporated Auxiliary memory for microprocessor stack overflow
AU542447B2 (en) * 1982-02-27 1985-02-21 Fujitsu Limited System for controlling key storage unit
US4545016A (en) * 1983-01-07 1985-10-01 Tandy Corporation Memory management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203698A (ja) * 2011-03-25 2012-10-22 Toshiba Corp 情報処理装置およびマルチコアシステム

Also Published As

Publication number Publication date
US5564036A (en) 1996-10-08

Similar Documents

Publication Publication Date Title
JP3023425B2 (ja) データ処理装置
JPS6244854A (ja) メモリ保護回路
US6549953B1 (en) Object encapsulation protection apparatus
KR100327641B1 (ko) 부정한기입으로부터메모리를보호하는메모리어드레스관리회로
JPS62160554A (ja) メモリの不正アクセス防止装置
JPS6225214B2 (ja)
JPH03144751A (ja) メモリ誤書き込み防止装置
EP0350917A2 (en) Personal computer system capable of preventing contention in memory address space
JP2944080B2 (ja) メモリ内容保護回路
JPH02128266A (ja) 保護機能付レジスタ
JPH0325230Y2 (ja)
JPS61121146A (ja) メモリプロテクト方式
JPS58203700A (ja) メモリ内の情報プライバシ−保護装置
JPH01261759A (ja) コンピュータ装置
JPH02176843A (ja) Dma制御装置
JPH01180656A (ja) メモリ保護装置
JPH0520202A (ja) 複写装置のram保護装置
JPH02155057A (ja) データ処理装置
JPS63189946A (ja) メモリ書き込みプロテクト回路
JPS6074060A (ja) 記憶保護装置
JPS59231799A (ja) 主記憶装置への不正書込防止装置
JPS63282532A (ja) メモリ制御方式
JPH0344751A (ja) メモリ保護システム
JPH02138622A (ja) マイクロプロセッサ
JPS60246450A (ja) メモリプロテクト装置