JP2005275841A - メモリ保護装置 - Google Patents
メモリ保護装置 Download PDFInfo
- Publication number
- JP2005275841A JP2005275841A JP2004088489A JP2004088489A JP2005275841A JP 2005275841 A JP2005275841 A JP 2005275841A JP 2004088489 A JP2004088489 A JP 2004088489A JP 2004088489 A JP2004088489 A JP 2004088489A JP 2005275841 A JP2005275841 A JP 2005275841A
- Authority
- JP
- Japan
- Prior art keywords
- group number
- memory
- interrupt
- memory area
- processor
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/14—Protection against unauthorised use of memory or access to memory
- G06F12/1416—Protection 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/1425—Protection 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
Abstract
【解決手段】 メモリ領域情報レジスタ132(1)〜(m)は、それぞれ、対応するグループ番号の割り込みに対応する処理でアクセス可能なメモリ領域を指定する情報を保持する。選択回路133は、グループ番号レジスタ131が保持するグループ番号に応じて、メモリ領域情報レジスタ132(1)〜(m)の何れかを選択し、選択したメモリ領域情報レジスタ132が保持するメモリ領域を指定する情報を出力する。アドレスバス監視部106は、選択回路133が出力するメモリ領域を指定する情報に基づいて、プロセッサによる不正メモリアクセスの発生の有無を監視する。
【選択図】 図1
Description
101:グループ番号生成回路
102:セレクタ
103:メモリ情報生成回路
104:履歴管理バッファ
105:制御部
106:アドレスバス監視部
111:グループ番号設定レジスタ
131:グループ番号レジスタ
132:メモリ領域設定レジスタ
133:選択回路
141:履歴記憶部
142:ライトポインタ
143:リードポインタ
Claims (6)
- 割り込みに対応する処理を実行するプロセッサによるメモリアクセスを制限してメモリを保護するメモリ保護装置であって、
プロセッサが実行する処理に対応してアクセス可能なメモリ領域を指定するメモリ領域情報を生成して出力するメモリ情報生成回路と、
プロセッサによるメモリアクセスを監視し、メモリ情報生成回路が生成したメモリ領域情報で示されるメモリ領域外のメモリアクセスを検知すると、不正メモリアクセスが発生した旨の信号を出力するメモリアクセス監視回路とを備えることを特徴とするメモリ保護装置。 - 前記割り込みのそれぞれには、グループ番号が設定されており、
前記メモリ情報生成回路は、前記グループ番号に対応して前記メモリ領域情報を記憶するメモリ領域情報記憶部と、プロセッサが実行中の処理に対応する割り込みのグループ番号を記憶するグループ番号レジスタと、該グループ番号レジスタが記憶する情報に基づいて、前記メモリ領域情報記憶部から前記メモリ領域情報を読み出すメモリ領域情報選択部とを備える、請求項1に記載のメモリ保護装置。 - 発生した割り込みに対応するグループ番号を生成するグループ番号生成回路を更に備え、前記グループ番号保持レジスタは、プロセッサが割り込みを受け付けると、前記グループ番号生成回路が出力するグループ番号によって更新される、請求項2に記載のメモリ保護装置。
- プロセッサが受け付けた割り込みのグループ番号の履歴を記憶する履歴管理部を更に備え、該履歴管理部は、前記グループ番号レジスタのグループ番号の更新に先立って、前記グループ番号レジスタに記憶されたグループ番号を記憶する、請求項3に記載のメモリ保護装置。
- 前記履歴管理部は、複数のグループ番号を記憶するスタック領域を備える、請求項4に記載のメモリ保護装置。
- 前記グループ番号保持レジスタは、プロセッサが復帰命令を発生すると、前記履歴管理部が記憶するグループ番号によって更新される、請求項4又は5に記載のメモリ保護装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004088489A JP4563707B2 (ja) | 2004-03-25 | 2004-03-25 | メモリ保護装置 |
US11/086,762 US7325113B2 (en) | 2004-03-25 | 2005-03-23 | Memory protection apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004088489A JP4563707B2 (ja) | 2004-03-25 | 2004-03-25 | メモリ保護装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005275841A true JP2005275841A (ja) | 2005-10-06 |
JP4563707B2 JP4563707B2 (ja) | 2010-10-13 |
Family
ID=34991525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004088489A Expired - Fee Related JP4563707B2 (ja) | 2004-03-25 | 2004-03-25 | メモリ保護装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US7325113B2 (ja) |
JP (1) | JP4563707B2 (ja) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008197707A (ja) * | 2007-02-08 | 2008-08-28 | Denso Corp | マイクロコンピュータ |
JP2014174758A (ja) * | 2013-03-08 | 2014-09-22 | Denso Corp | 処理装置 |
US10521233B2 (en) | 2014-03-14 | 2019-12-31 | Denso Corporation | Electronic control unit |
JP2021507361A (ja) * | 2017-12-15 | 2021-02-22 | シー−スカイ マイクロシステムズ カンパニー,リミテッド | 間接アクセスメモリコントローラ用のメモリ保護装置 |
JP2021507362A (ja) * | 2017-12-15 | 2021-02-22 | シー−スカイ マイクロシステムズ カンパニー,リミテッド | 間接アクセスメモリコントローラ向けの保護機能を追加するための機器 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7844783B2 (en) * | 2006-10-23 | 2010-11-30 | International Business Machines Corporation | Method for automatically detecting an attempted invalid access to a memory address by a software application in a mainframe computer |
GB2513727B (en) * | 2012-06-27 | 2015-06-24 | Nordic Semiconductor Asa | Memory protection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000163309A (ja) * | 1998-11-24 | 2000-06-16 | Nec Corp | メモリ管理方法およびメモリ管理装置、並びに記録媒体 |
JP2001325150A (ja) * | 2000-03-10 | 2001-11-22 | Fujitsu Ltd | アクセス監視装置及びアクセス監視方法 |
JP2003036206A (ja) * | 2001-05-14 | 2003-02-07 | Matsushita Electric Ind Co Ltd | 不正アクセス監視装置、icカード、不正アクセス監視方法 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1258807A3 (en) * | 2001-05-14 | 2005-11-02 | Matsushita Electric Industrial Co., Ltd. | Illegal access monitoring device, ic card, and illegal access monitoring method |
-
2004
- 2004-03-25 JP JP2004088489A patent/JP4563707B2/ja not_active Expired - Fee Related
-
2005
- 2005-03-23 US US11/086,762 patent/US7325113B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000163309A (ja) * | 1998-11-24 | 2000-06-16 | Nec Corp | メモリ管理方法およびメモリ管理装置、並びに記録媒体 |
JP2001325150A (ja) * | 2000-03-10 | 2001-11-22 | Fujitsu Ltd | アクセス監視装置及びアクセス監視方法 |
JP2003036206A (ja) * | 2001-05-14 | 2003-02-07 | Matsushita Electric Ind Co Ltd | 不正アクセス監視装置、icカード、不正アクセス監視方法 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008197707A (ja) * | 2007-02-08 | 2008-08-28 | Denso Corp | マイクロコンピュータ |
JP2014174758A (ja) * | 2013-03-08 | 2014-09-22 | Denso Corp | 処理装置 |
US10521233B2 (en) | 2014-03-14 | 2019-12-31 | Denso Corporation | Electronic control unit |
JP2021507361A (ja) * | 2017-12-15 | 2021-02-22 | シー−スカイ マイクロシステムズ カンパニー,リミテッド | 間接アクセスメモリコントローラ用のメモリ保護装置 |
JP2021507362A (ja) * | 2017-12-15 | 2021-02-22 | シー−スカイ マイクロシステムズ カンパニー,リミテッド | 間接アクセスメモリコントローラ向けの保護機能を追加するための機器 |
JP7201686B2 (ja) | 2017-12-15 | 2023-01-10 | シー-スカイ マイクロシステムズ カンパニー,リミテッド | 間接アクセスメモリコントローラ向けの保護機能を追加するための機器 |
JP7213879B2 (ja) | 2017-12-15 | 2023-01-27 | シー-スカイ マイクロシステムズ カンパニー,リミテッド | 間接アクセスメモリコントローラ用のメモリ保護装置 |
US11726675B2 (en) | 2017-12-15 | 2023-08-15 | C-Sky Microsystems Co., Ltd. | Memory protective apparatus for indirect access memory controller |
Also Published As
Publication number | Publication date |
---|---|
JP4563707B2 (ja) | 2010-10-13 |
US7325113B2 (en) | 2008-01-29 |
US20050216686A1 (en) | 2005-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7444668B2 (en) | Method and apparatus for determining access permission | |
JP4911022B2 (ja) | カウンタ制御回路、動的再構成回路およびループ処理制御方法 | |
JP5044387B2 (ja) | 情報処理装置及びそのスタックポインタ更新方法 | |
JP6615726B2 (ja) | 情報処理装置、情報処理方法及びプログラム | |
JP2013250980A (ja) | プロセッサ資源および実行保護の方法および装置 | |
KR20090065531A (ko) | 메모리 액세스 보안 관리 | |
WO2014188160A1 (en) | A method and apparatus for interrupt handling | |
KR20130137591A (ko) | 불법 모드 변경처리 | |
US10229077B2 (en) | Method for data transfer between real-time tasks using a DMA memory controller | |
US7325113B2 (en) | Memory protection apparatus | |
JP6838223B2 (ja) | 車両制御装置 | |
JP2016531363A (ja) | 時間のかかる命令の取り扱い | |
JP2004280801A (ja) | プロセッサおよびこのプロセッサ用のプログラムを生成するコンパイラ装置 | |
JP2005084721A (ja) | マイクロコンピュータ | |
JP4115576B2 (ja) | マルチプロセッサシステム | |
CN109358903B (zh) | 数据访问设备和访问错误通知方法 | |
US11914715B2 (en) | Device unit suitable for operation in a protected and/or open operating state and associated method | |
WO2010058525A1 (ja) | 半導体集積回路及びレジスタアドレス制御装置 | |
US11681527B2 (en) | Electronic device and multiplexing method of spatial | |
JP2006085868A (ja) | 書換え制限方法及び半導体装置 | |
JP2011150457A (ja) | 情報処理装置およびメモリアクセス制御方法 | |
JP2005284760A (ja) | 割り込み制御回路 | |
JP2005209178A (ja) | メモリ保護装置、メモリ保護方法及びメモリ保護プログラム | |
JP2005025340A (ja) | メモリデータ保護装置 | |
JP2019179282A (ja) | 制御プログラム、及び制御システム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070206 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20100217 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100222 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100422 |
|
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: 20100727 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100729 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130806 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |