Movatterモバイル変換


[0]ホーム

URL:


JPH0628268A - Microprocessor i/o access tracing system - Google Patents

Microprocessor i/o access tracing system

Info

Publication number
JPH0628268A
JPH0628268AJP4179528AJP17952892AJPH0628268AJP H0628268 AJPH0628268 AJP H0628268AJP 4179528 AJP4179528 AJP 4179528AJP 17952892 AJP17952892 AJP 17952892AJP H0628268 AJPH0628268 AJP H0628268A
Authority
JP
Japan
Prior art keywords
access
microprocessor
trace
interrupt
data
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
JP4179528A
Other languages
Japanese (ja)
Inventor
Yoshihiro Nagasaki
好浩 長崎
Takatoshi Yano
隆利 矢野
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.)
NEC Corp
NEC Software Shikoku Ltd
Original Assignee
NEC Corp
NEC Software Shikoku 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 NEC Corp, NEC Software Shikoku LtdfiledCriticalNEC Corp
Priority to JP4179528ApriorityCriticalpatent/JPH0628268A/en
Publication of JPH0628268ApublicationCriticalpatent/JPH0628268A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

PURPOSE:To easily gather the trace of I/O access by informing a microprocessor by interruption of that data are latched in an I/O access storage register. CONSTITUTION:When there is I/O access from the microprocessor 1, the I/O access is issued to a bus 2. Then, I/O access except DMA access in the I/O access is latched by an I/O access storage register 5, an I/O interruption control mechanism 6 interrupts the microprocessor 1, and an I/O access trace interruption handier which is actuated by this interruption reads the data out of the I/O access storage register 5, stores the data read out of the I/O access storage register 5 in an area defined in the trace area of a memory 3 as I/O access trace data, and ends the interruption processing. The trace of the I/O access can be gathered by this operation principle.

Description

Translated fromJapanese
【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マイクロプロセッサを
CPUとする制御装置における、マイクロプロセッサ
I/Oアクセス トレース方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor in a control device having a microprocessor as a CPU.
I / O access trace method.

【0002】[0002]

【従来の技術】従来の技術としては、制御装置コントロ
ールFW自身でメモリにI/Oアクセス トレースデー
タを格納あるいは、トレース専用HWでバスのI/Oア
クセスをトレースメモリに格納していた。
2. Description of the Related Art As a conventional technique, a controller FW itself stores I / O access trace data in a memory, or a trace dedicated HW stores bus I / O access in a trace memory.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の方式の
内FW自身でメモリにI/Oアクセストレースデータを
格納する方式では、制御装置コントロールFWの各セク
ションにI/Oアクセストレースデータ作成のFW容量
が増大し、かつ複雑となり、トレース専用HWでバスの
I/Oアクセスをトレースメモリに格納する方式では、
トレース専用HWの分HW量が増大、かつ複雑し、トレ
ースメモリの読みだし手段も必要となる欠点があった。
Among the above-mentioned conventional methods, in the method of storing the I / O access trace data in the memory by the FW itself, the FW for creating the I / O access trace data in each section of the control unit control FW. The capacity increases and becomes complicated, and in the method of storing the I / O access of the bus in the trace memory with the trace dedicated HW,
There is a drawback in that the HW amount for the trace dedicated HW increases and is complicated, and a reading means of the trace memory is also required.

【0004】[0004]

【課題を解決するための手段】本発明のトレース方式
は、DMA以外のマイクロプロセッサからのI/Oアク
セスのアドレスとデータをラッチするI/Oアクセス記
憶レジスタと、前記I/Oアクセス記憶レジスタにデー
タがラッチされたことをマイクロプロセッサに割り込み
で通知するI/O割り込み制御機構と、前記割り込みに
より起動されるI/Oアクセス トレース割り込みハン
ドラを有してる。
According to the trace method of the present invention, an I / O access storage register for latching an address and data of an I / O access from a microprocessor other than a DMA and the I / O access storage register are provided. It has an I / O interrupt control mechanism for notifying the microprocessor that the data has been latched by an interrupt, and an I / O access trace interrupt handler activated by the interrupt.

【0005】更に本発明のトレース方式は、マイクロプ
ロセッサ内部に設けたI/Oアクセス専用のアドレスと
データを記憶するI/Oアクセスレジスタと、DMA以
外のマイクロプロセッサからのI/Oアクセスがあった
ことをマイクロプロセッサに割り込みで通知するI/O
割り込み制御機構と、前記割り込みにより起動されるI
/Oアクセス トレース割り込みハンドラを有してる。
Further, in the trace method of the present invention, there are I / O access registers for storing addresses and data dedicated to I / O access provided inside the microprocessor, and I / O access from microprocessors other than DMA. I / O to notify the microprocessor by interrupt
Interrupt control mechanism and I activated by the interrupt
/ O access Has a trace interrupt handler.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例を示すHWブロッ
ク図である。図1において、マイクロプロセッサ1はバ
ス2を介してメモリ3、I/Oコントローラ4およびI
/Oアクセス記憶レジスタ5に接続されており、I/O
アクセス記憶レジスタ5はI/O割り込み制御機構6を
介してマイクロプロセッサに接続されている。
FIG. 1 is a HW block diagram showing an embodiment of the present invention. In FIG. 1, a microprocessor 1 includes a memory 3, an I / O controller 4 and an I / O controller 4 via a bus 2.
I / O connected to the I / O access storage register 5
The access storage register 5 is connected to the microprocessor via the I / O interrupt control mechanism 6.

【0008】図2は本発明の一実施例を示すFWブロッ
ク図である。図2において、10はモニタFWブロッ
ク,11は制御装置コントロールFWブロック,12は
割り込みハンドラFWブロック,13はI/Oアクセス
トレース割り込みハンドラFWをそれぞれ示してい
る。
FIG. 2 is a FW block diagram showing an embodiment of the present invention. In FIG. 2, 10 is a monitor FW block, 11 is a controller control FW block, 12 is an interrupt handler FW block, and 13 is an I / O access trace interrupt handler FW.

【0009】マイクロプロセッサ1からI/Oアクセス
が有ったとき、バス2にI/Oアクセスが発行される。
そのI/Oアクセスの内DMAアクセスを除くI/Oア
クセスをI/Oアクセス記憶レジスタ5がラッチし、I
/O割り込み制御機構6がマイクロプロセッサ1に割り
込みをかけ、この割り込みにより起動されたI/Oアク
セス トレース割り込みハンドラ13はI/Oアクセス
記憶レジスタ5からデータを読みだし、メモリ3のトレ
ースエリアに定義したエリアにI/Oアクセス記憶レジ
スタ5から読みだしたデータをI/Oアクセス トレー
スデータとして格納し、割り込み処理を終了する。この
動作原理によりI/Oアクセスのトレースが採取でき
る。
When there is an I / O access from the microprocessor 1, the I / O access is issued to the bus 2.
The I / O access storage register 5 latches the I / O accesses other than the DMA access among the I / O accesses.
The / O interrupt control mechanism 6 interrupts the microprocessor 1, and the I / O access trace interrupt handler 13 activated by this interrupt reads data from the I / O access storage register 5 and defines it in the trace area of the memory 3. The data read from the I / O access storage register 5 is stored in the designated area as I / O access trace data, and the interrupt process is terminated. A trace of I / O access can be collected by this operation principle.

【0010】次に、図3は本発明の他の実施例を表すH
Wブロック図である。図3において、マイクロプロセッ
サ31はバス32を介してメモリ33、I/Oコントロ
ーラ34およびI/O割り込み制御機構35にそれぞれ
接続されている。なおマイクロプロセッサ31にはその
内部にI/Oアクセスレジスタ36を有している。
Next, FIG. 3 shows an H of another embodiment of the present invention.
It is a W block diagram. In FIG. 3, the microprocessor 31 is connected to a memory 33, an I / O controller 34 and an I / O interrupt control mechanism 35 via a bus 32. The microprocessor 31 has an I / O access register 36 inside.

【0011】図4は本発明の他の実施例を表すFWブロ
ック図である。図4において、40はモリタFWブロッ
ク,41は制御装置コントロールFWブロック、42は
割り込みハンドラFWブロック、43はI/Oアクセス
トレース割り込みハンドラFWをそれぞれ示してる。
FIG. 4 is a FW block diagram showing another embodiment of the present invention. In FIG. 4, 40 is a Morita FW block, 41 is a controller control FW block, 42 is an interrupt handler FW block, and 43 is an I / O access trace interrupt handler FW.

【0012】マイクロプロセッサ31からI/Oアクセ
スレジスタ36を使用したI/Oアクセスが有ったと
き、バス32にI/Oアクセスが発行される。そのI/
Oアクセスの内DMAアクセスを除くI/Oアクセスの
時I/O割り込み制御機構35がマイクロプロセッサ3
1に割り込みをかけ、この割り込みにより起動されたI
/Oアクセス トレース割り込みハンドラ43はI/O
アクセスレジスタ36からデータを読みだし、メモリ3
3のトレースエリアに定義したエリアにI/Oアクセス
レジスタ36から読みだしたデータをI/Oアクセス
トレースデータとして格納し、割り込み処理を終了す
る。この動作原理によりI/Oアクセスのトレースが採
取できる。
When there is an I / O access from the microprocessor 31 using the I / O access register 36, the I / O access is issued to the bus 32. That I /
In the case of I / O access except DMA access of O access, the I / O interrupt control mechanism 35 causes the microprocessor 3 to operate.
I interrupted by 1 and I started by this interrupt
/ O access Trace interrupt handler 43 is I / O
The data is read from the access register 36 and stored in the memory 3
I / O access to the data read from the I / O access register 36 to the area defined in the trace area 3
Store as trace data and end interrupt processing. A trace of I / O access can be collected by this operation principle.

【0013】[0013]

【発明の効果】以上説明したように本発明のマイクロプ
ロセッサ I/Oアクセス トレース方式は、制御装置
コントロールFWの各セクションにI/Oアクセス ト
レースデータ作成のFWを埋め込む必要がなく、I/O
アクセス トレースを行う専用HWも必要とせず、容易
にI/Oアクセス トレースが採取できる。
As described above, according to the microprocessor I / O access trace system of the present invention, it is not necessary to embed the FW for creating the I / O access trace data in each section of the control unit control FW, and the I / O
I / O access traces can be easily collected without the need for a dedicated HW to perform access traces.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すHWブロック図であ
る。
FIG. 1 is a HW block diagram showing an embodiment of the present invention.

【図2】本発明の一実施例を示すFWブロック図であ
る。
FIG. 2 is a FW block diagram showing an embodiment of the present invention.

【図3】本発明の他の実施例を示すHWブロック図であ
る。
FIG. 3 is a HW block diagram showing another embodiment of the present invention.

【図4】本発明の他の実施例を示すFWブロック図であ
る。
FIG. 4 is a FW block diagram showing another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,31 マイクロプロセッサ 2,32 バス 3,33 メモリ 4,34 I/Oコントローラ 5 I/Oアクセス記憶レジスタ 6,35 I/O割り込み制御機構 36 I/Oアクセスレジスタ 10,40 モニタFWブロック 11,41 制御装置コントロールFWブロック 12,42 割り込みハンドラFWブロック 13,43 I/Oアクセス トレース割り込みハン
ドラ
1,31 Microprocessor 2,32 Bus 3,33 Memory 4,34 I / O Controller 5 I / O Access Storage Register 6,35 I / O Interrupt Control Mechanism 36 I / O Access Register 10,40 Monitor FW Block 11, 41 Control device control FW block 12,42 Interrupt handler FW block 13,43 I / O access Trace interrupt handler

Claims (2)

Translated fromJapanese
【特許請求の範囲】[Claims]【請求項1】 マイクロプロセッサをCPUとする制御
装置において、DMA以外のマイクロプロセッサからの
I/OアクセスのアドレスとデータをラッチするI/O
アクセス記憶レジスタと、前記I/Oアクセス記憶レジ
スタにデータがラッチされたことをマイクロプロセッサ
に割り込みで通知するI/O割り込み制御機構と、前記
割り込みにより起動されるI/Oアクセス トレース割
り込みハンドラとを具備することを特徴とするマイクロ
プロセッサ I/Oアクセストレース方式。
1. A control device using a microprocessor as a CPU, which latches addresses and data for I / O access from a microprocessor other than a DMA.
An access storage register, an I / O interrupt control mechanism for notifying the microprocessor that data has been latched in the I / O access storage register by an interrupt, and an I / O access trace interrupt handler activated by the interrupt. Microprocessor characterized by comprising: I / O access trace method.
【請求項2】 マイクロプロセッサをCPUとする制御
装置において、マイクロプロセッサ内部に設けたI/O
アクセス専用のアドレスとデータを記憶するI/Oアク
セスレジスタと、DMA以外のマイクロプロセッサから
のI/Oアクセスがあったことをマイクロプロセッサに
割り込みで通知するI/O割り込み制御機構と、前記割
り込みにより起動されるI/Oアクセス トレース割り
込みハンドラとを具備することを特徴とするマイクロプ
ロセッサ I/Oアクセス トレース方式。
2. In a control device using a microprocessor as a CPU, an I / O provided inside the microprocessor.
An I / O access register that stores an address and data dedicated to access, an I / O interrupt control mechanism that notifies the microprocessor of an I / O access other than DMA by an interrupt, and the interrupt A microprocessor I / O access trace method comprising an I / O access trace interrupt handler activated.
JP4179528A1992-07-071992-07-07Microprocessor i/o access tracing systemPendingJPH0628268A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP4179528AJPH0628268A (en)1992-07-071992-07-07Microprocessor i/o access tracing system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP4179528AJPH0628268A (en)1992-07-071992-07-07Microprocessor i/o access tracing system

Publications (1)

Publication NumberPublication Date
JPH0628268Atrue JPH0628268A (en)1994-02-04

Family

ID=16067338

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP4179528APendingJPH0628268A (en)1992-07-071992-07-07Microprocessor i/o access tracing system

Country Status (1)

CountryLink
JP (1)JPH0628268A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6769054B1 (en)*2001-02-262004-07-27Emc CorporationSystem and method for preparation of workload data for replaying in a data storage environment
US6775826B1 (en)*2001-02-262004-08-10Emc CorporationSystem and method for replaying workload data in a data storage environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPS61240352A (en)*1985-04-171986-10-25Fujitsu LtdInterface-signal reading system
JPH02284249A (en)*1989-04-261990-11-21Toshiba CorpBus tracer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPS61240352A (en)*1985-04-171986-10-25Fujitsu LtdInterface-signal reading system
JPH02284249A (en)*1989-04-261990-11-21Toshiba CorpBus tracer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6769054B1 (en)*2001-02-262004-07-27Emc CorporationSystem and method for preparation of workload data for replaying in a data storage environment
US6775826B1 (en)*2001-02-262004-08-10Emc CorporationSystem and method for replaying workload data in a data storage environment
US7213113B2 (en)*2001-02-262007-05-01Emc CorporationSystem and method for preparation of workload data for replaying in a data storage environment

Similar Documents

PublicationPublication DateTitle
JPH056901B2 (en)
JP3628373B2 (en) Power management unit, computer system, and method for accessing a plurality of configuration registers in a power management unit of a computer system
JPH0628268A (en)Microprocessor i/o access tracing system
JPH01124049A (en) microprocessor
JPH0447350A (en)Main storage read/response control
JPS59197946A (en)Memory device
JPH03137736A (en)Operation tracing system for micro processor
JPS61217834A (en)Data processor
JP2785855B2 (en) Information processing device
JP3127737B2 (en) Digital signal processor
JPH08123725A (en) Write-back cache system
KR890008681A (en) Processor control unit
JPH06301633A (en) Data transfer device
JPH02110744A (en) information processing equipment
JPH07281924A (en) Trace device and emulator equipped with the same
JPS6349942A (en)Arithmetic processing unit
JPH03256127A (en)Microprocessor system
JPH04199336A (en) microcomputer
EP0278263A3 (en)Multiple bus dma controller
JPS62239242A (en)Debugging device
JPH07311733A (en) SCSI controller
JPS58186853A (en) Initial diagnosis method
JPH03269752A (en)Information processing system and input/output controller used for the same
JPH01318128A (en)Cache error processing system
JPS58134350A (en) memory controller

Legal Events

DateCodeTitleDescription
A02Decision of refusal

Free format text:JAPANESE INTERMEDIATE CODE: A02

Effective date:19980428


[8]ページ先頭

©2009-2025 Movatter.jp