JP2902503B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP2902503B2
JP2902503B2 JP3168105A JP16810591A JP2902503B2 JP 2902503 B2 JP2902503 B2 JP 2902503B2 JP 3168105 A JP3168105 A JP 3168105A JP 16810591 A JP16810591 A JP 16810591A JP 2902503 B2 JP2902503 B2 JP 2902503B2
Authority
JP
Japan
Prior art keywords
interrupt
instruction
mask
timer
interrupt request
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.)
Expired - Fee Related
Application number
JP3168105A
Other languages
Japanese (ja)
Other versions
JPH0520097A (en
Inventor
昌弘 池田
信義 佐藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3168105A priority Critical patent/JP2902503B2/en
Publication of JPH0520097A publication Critical patent/JPH0520097A/en
Application granted granted Critical
Publication of JP2902503B2 publication Critical patent/JP2902503B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサを擁
する情報処理装置がマルチタスク機能を実現するために
必要なインターバルタイマに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interval timer required for an information processing apparatus having a plurality of processors to realize a multitasking function.

【0002】マルチタスク機能を有する情報処理装置で
は、一つのタスクがプロセッサを専有することがないよ
うに、プロセッサがあるタスクの処理を開始してから一
定の時間が経過した後に、予め定められたタスクの優先
順位に従って次に実行すべきタスクを選択し、プロセッ
サの制御をあるタスクから次のタスクへ切替えている。
切替えは、インターバルタイマが割込みを発生させるこ
とによって行なっている。
2. Description of the Related Art In an information processing apparatus having a multitasking function, a predetermined time elapses after a processor starts processing a certain task so that one task does not occupy the processor. The task to be executed next is selected according to the task priority, and control of the processor is switched from one task to the next task.
Switching is performed by generating an interrupt by an interval timer.

【0003】[0003]

【従来の技術】従来の情報処理装置は、インターバルタ
イマ(以下単に「タイマ」という。)を一つだけ持って
いる。図6は、従来例について説明する図である。図6
において、システムプロセッサ(以下「SPU」とい
う。)は、外部記憶装置37〜39や表示装置40と接
続されている。
2. Description of the Related Art A conventional information processing apparatus has only one interval timer (hereinafter simply referred to as "timer"). FIG. 6 is a diagram illustrating a conventional example. FIG.
, A system processor (hereinafter referred to as “SPU”) is connected to the external storage devices 37 to 39 and the display device 40.

【0004】同時に、バスによって命令実行プロセッサ
(以下「IPU」という。)31〜33および主記憶3
5と接続されている。主記憶35には、マルチタスク機
能を実現するために必要な情報を格納するシステム領域
36がある。図6に示すように、従来は、唯一つのタイ
マ34を持っている。
At the same time, an instruction execution processor (hereinafter referred to as “IPU”) 31 to 33 and a main memory 3 are connected by a bus.
5 is connected. The main memory 35 has a system area 36 for storing information necessary for realizing the multitask function. As shown in FIG. 6, conventionally, only one timer 34 is provided.

【0005】タイマ34は、SPU30に割込み要求を
発行するように一定時間ごとに通知する。SPU30は
各IPU31〜33へ割込み要求を順次発行する。この
とき、SPU30は対応する割込みマスク(以下単に
「マスク」という。)を調べる。その結果マスクが開い
ていればIPU31〜33がその割込み要求を受け付け
るまでSPU30は割込み要求を上げる。マスクが閉じ
ていれば割込み要求を保留する。
[0005] The timer 34 notifies the SPU 30 at regular intervals to issue an interrupt request. The SPU 30 sequentially issues an interrupt request to each of the IPUs 31 to 33. At this time, the SPU 30 checks a corresponding interrupt mask (hereinafter, simply referred to as “mask”). As a result, if the mask is open, the SPU 30 raises the interrupt request until the IPUs 31 to 33 accept the interrupt request. If the mask is closed, suspend the interrupt request.

【0006】各IPU31〜33では、同時に複数の割
込み要求があった場合に、一つの割込み要求のみを受け
付けるので、他の受け付けられない割込み要求について
はこれを保留する。IPU31〜33は、機械割込みを
受け付けると、所定の情報をSPU30へ通知し、次の
タスクを実行する。
Each of the IPUs 31 to 33 accepts only one interrupt request when there are a plurality of interrupt requests at the same time, and holds the other unacceptable interrupt requests. When receiving the machine interrupt, the IPUs 31 to 33 notify the SPU 30 of predetermined information and execute the next task.

【0007】図7〜図10は、マルチタスク機能に関連
するIPUにおける処理を示すフローチャートの図であ
る。図7〜図10において、英大文字Sで始まる番号
は、処理番号を示す。図7に示す処理番号S74の内部
割込み処理の詳細は図8に示してある。図7に示す処理
番号S76の保留した割込みの処理の詳細は図9に示し
てある。また、図8に示す処理番号S84の機械割込み
処理の詳細は図10に示してある。以下、フローチャー
トに示す各処理の説明の後に処理番号を括弧付きで示
す。
FIGS. 7 to 10 are flowcharts showing the processing in the IPU related to the multitask function. 7 to 10, numbers starting with a capital letter S indicate processing numbers. Details of the internal interrupt processing of the processing number S74 shown in FIG. 7 are shown in FIG. FIG. 9 shows details of the processing of the suspended interrupt of the processing number S76 shown in FIG. FIG. 10 shows details of the machine interrupt processing of the processing number S84 shown in FIG. Hereinafter, the process numbers are shown in parentheses after the description of each process shown in the flowchart.

【0008】図7において、IPUは、主記憶にある命
令の取り出し(S70)、取り出した命令の解釈(S7
1)、解釈した命令の実行を行なう(S72)。続い
て、SPU30からの内部割込み要求があるかないかを
調べる(S73)。その結果、内部割込みがあった場合
には、内部割込み処理を行なう(S74)。SPU30
からIPUに内部割込みがなかった場合には、先に行な
った命令の実行(S72)によってマスクが開いたかど
うかを調べる(S75)。もしも、マスクが開いていた
ならば、保留した割込みの処理(S76)に入る。
In FIG. 7, the IPU fetches an instruction from the main memory (S70) and interprets the fetched instruction (S7).
1) The interpreted instruction is executed (S72). Subsequently, it is checked whether or not there is an internal interrupt request from the SPU 30 (S73). As a result, if there is an internal interrupt, an internal interrupt process is performed (S74). SPU30
If there is no internal interrupt in the IPU, it is checked whether the mask has been opened by the execution of the previously executed instruction (S72) (S75). If the mask is open, the process proceeds to the suspended interrupt processing (S76).

【0009】図8において、IPUは、内部割込みがタ
イマによるタイマ割込みであるかを調べる(S80)。
その結果、タイマ割込みではなかった場合には、マルチ
タスク機能とは直接関係のない他の割込み処理(S8
6)を行なう。タイマ割込みであった場合には、マスク
が開いているか否かを調べる(S81)。そして、マス
クが開いていれば、SPUからの割込み要求を解除して
(S82)、機械割込み処理(S84)を行なう。マス
クが閉じていれば、タイマ割込みを保留して、タイマ保
留フラグをオンにする(S85)。
In FIG. 8, the IPU checks whether the internal interrupt is a timer interrupt by a timer (S80).
As a result, if it is not a timer interrupt, other interrupt processing not directly related to the multitask function (S8)
Perform 6). If it is a timer interrupt, it is checked whether the mask is open (S81). If the mask is open, the interrupt request from the SPU is released (S82), and a machine interrupt process (S84) is performed. If the mask is closed, the timer interrupt is suspended and the timer suspension flag is turned on (S85).

【0010】図9において、IPUは、まずタイマ保留
フラグを読む(S90)。そして、このタイマ保留フラ
グがオンになっていないかを調べる(S91)。もし
も、タイマ保留フラグがオンになっていたならば、SP
Uからの割込み要求を解除し(S92)、オンになって
いるタイマ保留フラグをオフにして(S93)機械割込
み処理(S94)を行なう。
In FIG. 9, the IPU first reads a timer hold flag (S90). Then, it is checked whether or not the timer hold flag is turned on (S91). If the timer hold flag is on, SP
The interrupt request from U is released (S92), and the turned-on timer hold flag is turned off (S93), and a machine interrupt process (S94) is performed.

【0011】図10において、IPUは、まずマスクを
閉じて(S100)他の割込みを受け付けないようにす
る。次に、タスクのスケジューリング処理を行なう(S
101)。ここで、次に実行するタスクを選択して、そ
のタスクを実行する環境を整える。続いて、タイマに初
期値を設定する(S102)。タイマは次のタイマ割込
みを発生させるために再び決められた時間を計測し始め
る。最後に、機械割込みから復帰して(S103)、次
のタスクの実行に入る。
In FIG. 10, the IPU first closes the mask (S100) so as not to accept another interrupt. Next, task scheduling processing is performed (S
101). Here, a task to be executed next is selected, and an environment for executing the task is prepared. Subsequently, an initial value is set in the timer (S102). The timer starts measuring the predetermined time again to generate the next timer interrupt. Finally, the process returns from the machine interrupt (S103) and the execution of the next task is started.

【0012】[0012]

【発明が解決しようとする課題】以上説明したような情
報処理装置において、SPUは、各IPUに対して順番
に割込み要求を発行していかなければならない。また、
タスクを切替えるために各IPUを一度停止させ、再起
動させる必要がある。そのため、IPUの数が多くなる
につれて、割込みのためにかかる負荷が大きくなりシス
テム効率が悪くなるという問題点があった。
In the information processing apparatus as described above, the SPU must issue an interrupt request to each IPU in order. Also,
In order to switch tasks, it is necessary to stop each IPU once and restart it. Therefore, there is a problem that as the number of IPUs increases, the load for interruption increases and system efficiency deteriorates.

【0013】また、IPUが実行する命令は、全てがマ
スクを変化させるわけではない。中には、マスクを変化
させないものもある。しかし、従来において、SPUは
IPUがどのような命令を実行したのかがわからないの
で、全ての命令について、その命令実行後にマスクが変
化したかどうかを調べていた。すなわち、不必要な処理
を行なっているという問題点があった。
Further, not all instructions executed by the IPU change the mask. Some do not change the mask. However, conventionally, since the SPU does not know what instruction the IPU has executed, it has checked whether or not the mask has changed for all the instructions after executing the instruction. That is, there is a problem that unnecessary processing is performed.

【0014】本発明は、このような従来の問題点に鑑
み、マルチタスク機能を具備するマルチプロセッサシス
テムにおいて、タイマ割込みを円滑に処理することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to smoothly process a timer interrupt in a multiprocessor system having a multitasking function.

【0015】[0015]

【課題を解決するための手段】本発明によれば、上述の
目的は前記特許請求の範囲に記載した手段により達成さ
れる。すなわち、本発明は、システムプロセッサと複数
の命令実行プロセッサとを有し内部割込みによってタ
スクを切り替えるマルチタスク機能を具備する情報処理
装置であって前記複数の命令実行プロセッサは、内部
割込み要求によって割込みを実行する割込み実行手段
と、所定の時間ごとに内部割込みを要求するインターバ
ルタイマと、実行した命令が割込みマスクの開閉状態を
変化させる命令か否かを判断する命令判断手段と、命令
判断手段が、前記命令実行プロセッサが実行した命令が
マスクを変化させるものであると判断した場合にのみ、
割込み要求に対応する割込みマスクの開閉状態を判断す
る開閉判断手段と、開閉判断手段によって、割込み要求
に対応する割込みマスクが閉じていると判断された場合
には、前記割込み要求を保留する保留手段と、を各々に
具備してなり、前記割込み実行手段は、保留手段に割込
み要求が保留され、かつ開閉判断手段によって前記割込
み要求に対応するマスクが開いていると判断された場合
には、前記保留手段に保留されている前記割込み要求に
よる割込みを実行する情報処理装置である。
According to the present invention, the above objects are achieved by the means as set forth in the appended claims. That is, the present invention has a system processor and a plurality of instruction execution processors, data by an internal interrupt
The information processing apparatus having a multi-tasking function to switch the disk, the plurality of instruction execution processors, internal
Interrupt execution means for executing an interrupt in response to an interrupt request
And an interrupt requesting an internal interrupt every predetermined time
Timer and the executed instruction determine the open / closed state of the interrupt mask.
Command determining means for determining whether the command is a command to be changed, and a command
The determining means determines that the instruction executed by the instruction execution processor is
Only when it is determined that the mask is changed,
Judge the open / close state of the interrupt mask corresponding to the interrupt request
Interrupt request by the open / close determining means
When it is determined that the interrupt mask corresponding to is closed
Means for suspending the interrupt request, and
The interrupt execution means interrupts the holding means.
Request is suspended and the interrupt
If the mask corresponding to the request is determined to be open
The interrupt request held by the holding means
This is an information processing device that executes an interruption by the user .

【0016】[0016]

【作用】図1は、本発明の原理説明図である。図1にお
いて、SPU1は、外部記憶装置11〜13や表示装置
14と接続されている。同時に、バスによってIPU2
〜4および主記憶9と接続されている。主記憶9には、
マルチタスク機能を実現するために必要な情報を格納す
るシステム領域10がある。そして、各プロセッサ1〜
4はタイマ5〜8を持っている。
FIG. 1 is a diagram illustrating the principle of the present invention. 1, the SPU 1 is connected to external storage devices 11 to 13 and a display device 14. At the same time, IPU2
To 4 and the main memory 9. In the main memory 9,
There is a system area 10 for storing information necessary for realizing the multitask function. And each processor 1 to
4 has timers 5-8.

【0017】IPUは、自己が持つタイマが発行する割
込み要求に従ってタスクを切替えてマルチタスク機能を
実現する。IPUは、タイマからの割込み要求を検出す
ると、マスクの開閉を調べる手段、割込み要求を保留す
る手段、割込み要求の保留を解除する手段、実行した命
令がマスクを変化させるものかを調べる手段、保留した
割込み要求の有無を調べる手段、割込み要求を解除する
手段、必要に応じて機械割込みを行なう手段、タイマに
所定の時間を設定する手段を用いて、割込み制御を行な
う。
The IPU implements a multitasking function by switching tasks according to an interrupt request issued by its own timer. Upon detecting an interrupt request from the timer, the IPU checks opening / closing of the mask, means for holding the interrupt request, means for releasing the hold of the interrupt request, means for checking whether the executed instruction changes the mask, Interrupt control is performed by using a means for checking the presence or absence of the interrupt request, a means for canceling the interrupt request, a means for performing a machine interrupt if necessary, and a means for setting a predetermined time in a timer.

【0018】[0018]

【実施例】図2は、タイマの構成例を示す図である。図
2において、IPU15はタイマ16に所定の時間を設
定する。タイマ16は、所定の時間が経過したときにI
PU15へ割込み要求信号を出力する。タイマカウンタ
17には、レシーバ回路24を通してIPU15が出力
する所定の時間が設定される。この設定時間は、セレク
タ18およびドライバ回路25を通してIPU15で読
むことができる。タイマカウンタ17の設定時間は、A
ND回路20の出力であるカウントダウン信号に従って
減少していく。
FIG. 2 is a diagram showing a configuration example of a timer. 2, the IPU 15 sets a predetermined time in a timer 16. The timer 16 sets the value of I when a predetermined time has elapsed.
An interrupt request signal is output to PU15. A predetermined time output from the IPU 15 through the receiver circuit 24 is set in the timer counter 17. This set time can be read by the IPU 15 through the selector 18 and the driver circuit 25. The set time of the timer counter 17 is A
It decreases according to the countdown signal output from the ND circuit 20.

【0019】設定時間が減り、ある値になるとチェック
回路19がその値を検出してチェック信号を出力する。
ここでは、その値をゼロとする。このチェック信号によ
ってAND回路21の出力がオンとなってフリップフロ
ップ(以下、「FF」という。)回路22がセット状態
となる。
When the set time is reduced and reaches a certain value, the check circuit 19 detects the value and outputs a check signal.
Here, the value is set to zero. The output of the AND circuit 21 is turned on by this check signal, and the flip-flop (hereinafter referred to as “FF”) circuit 22 is set.

【0020】FF回路22の出力は、ドライバ回路26
を通して割込み要求信号となってIPU15へ出力され
る。FF回路22は、タイマカウンタ17に所定の時間
を設定するためのタイマ値セット信号若しくは割込み要
求を解除するための割込み要求解除信号によってOR回
路23の出力がオンになるとリセット状態になる。な
お、上述したカウントダウン信号は、タイマ有効信号が
オンの間はタイマ用クロック信号と等しくなり、タイマ
有効信号がオフの間は無効な信号となる。
The output of the FF circuit 22 is supplied to a driver circuit 26
And is output to the IPU 15 as an interrupt request signal. The FF circuit 22 is reset when the output of the OR circuit 23 is turned on by a timer value set signal for setting a predetermined time in the timer counter 17 or an interrupt request release signal for releasing an interrupt request. The countdown signal described above is equal to the timer clock signal while the timer valid signal is on, and is invalid while the timer valid signal is off.

【0021】図3は、図2に示すタイマの動作を説明す
るタイミングチャートの図である。図3において、タイ
マカウント値は、タイマカウンタ17に設定されている
時間を示す。J端子入力は、AND回路21の出力であ
りFF回路22のJ端子に入力される信号を示す。K端
子入力は、OR回路23の出力であり、FF回路23の
K端子に入力される信号を示す。なお、図3において、
タイマ有効信号はオンであるとする。
FIG. 3 is a timing chart for explaining the operation of the timer shown in FIG. In FIG. 3, the timer count value indicates a time set in the timer counter 17. The J terminal input indicates a signal that is an output of the AND circuit 21 and is input to the J terminal of the FF circuit 22. The K terminal input is an output of the OR circuit 23 and indicates a signal input to the K terminal of the FF circuit 23. In FIG. 3,
It is assumed that the timer valid signal is on.

【0022】タイマ有効信号がオンなので、カウントダ
ウン信号はタイマ用クロック信号と等しくなる。タイマ
カウント値は、カウントダウン信号のパルスを受けるた
びに減少している。クロック信号は、タイマカウンタ1
7およびFF回路22の動作タイミングを指示する。英
字符Taが示すクロック信号のパルスによって、タイマ
カウンタ17の出力する値が“1”から“0”に変化す
る。チェック信号は、この“0”によってオンになる。
Since the timer valid signal is ON, the countdown signal becomes equal to the timer clock signal. The timer count value decreases each time a pulse of the countdown signal is received. The clock signal is the timer counter 1
7 and the operation timing of the FF circuit 22. The value output from the timer counter 17 changes from “1” to “0” by the pulse of the clock signal indicated by the letter Ta. The check signal is turned on by this “0”.

【0023】K端子入力は、カウントダウン信号とチェ
ック信号との論理積であり、両方の信号がオンの時にオ
ンになる。英字符Tbが示すクロック信号のパルスによ
ってFF回路22が動作し、J端子入力のオンによって
セット状態となる。そのため、割込み要求信号がオンに
なる。
The K terminal input is the logical product of the countdown signal and the check signal, and turns on when both signals are on. The FF circuit 22 operates according to the pulse of the clock signal indicated by the alphabetical character Tb, and is set when the J terminal input is turned on. Therefore, the interrupt request signal turns on.

【0024】その後、英字符Tcが示すクロック信号の
パルスによってFF回路22が動作し、この時タイマ値
セット信号がオンであると、K端子入力のオンによって
FF回路22はリセット状態となる。そのため、割込み
要求信号がオフとなり、タイマカウンタ17には所定の
カウントダウン値が設定される。
Thereafter, the FF circuit 22 is operated by the pulse of the clock signal indicated by the alphabetic character Tc. At this time, if the timer value set signal is on, the FF circuit 22 is reset by turning on the K terminal input. Therefore, the interrupt request signal is turned off, and the timer counter 17 is set to a predetermined countdown value.

【0025】図4は、IPUのファームウエア制御を示
すフローチャートの図である。図4に示す処理番号S4
2の各命令の処理の詳細は、図5に示してある。また、
処理番号S44の内部割込み処理の詳細は図8に示して
あり、その説明は上述したとおりである。図5は、各命
令の処理を示すフローチャートの図であり、ここに示す
処理番号S53の保留した割込みの処理の詳細は図9に
示してあり、その説明は上述したとおりである。但し、
本発明において、割込み要求を発行するのは、そのIP
Uが持つタイマであるので、解除する割込み要求は、そ
のタイマからのものである。
FIG. 4 is a flowchart showing the firmware control of the IPU. Processing number S4 shown in FIG.
Details of the processing of each instruction of No. 2 are shown in FIG. Also,
The details of the internal interrupt processing of the processing number S44 are shown in FIG. 8, and the description is as described above. FIG. 5 is a flowchart showing the processing of each instruction. The details of the processing of the interrupt interrupted with the processing number S53 shown here are shown in FIG. 9, and the description thereof is as described above. However,
In the present invention, the issue of an interrupt request is based on the IP
Since U is a timer, the interrupt request to be released is from that timer.

【0026】図4において、IPUは、主記憶にある命
令の取り出し(S40)、取り出した命令の解釈(S4
1)、解釈した各命令の処理(S42)を行なう。続い
て、内部割込みがあるかないかを調べる(S43)。そ
の結果、内部割込みがあった場合には、内部割込み処理
を行ない(S44)、それから次の命令を取り出す(S
40)。内部割込みがなかった場合には、そのまま次の
命令を取り出す(S40)。
In FIG. 4, the IPU retrieves an instruction from the main memory (S40) and interprets the retrieved instruction (S4).
1) Perform processing of each interpreted instruction (S42). Subsequently, it is checked whether or not there is an internal interrupt (S43). As a result, if there is an internal interrupt, an internal interrupt process is performed (S44), and then the next instruction is fetched (S44).
40). If there is no internal interrupt, the next instruction is taken out as it is (S40).

【0027】図5において、IPUは、解釈した命令を
実行する(S50)。そして、実行した命令がマスクを
変化させる命令であるかをみる(S51)。マスクを変
化させる命令であった場合には、先に行なった命令の実
行(S50)によってマスクが開いたかどうかを調べる
(S52)。その結果、マスクが開いていれば保留した
割込みの処理(S53)に入る。
In FIG. 5, the IPU executes the interpreted command (S50). Then, it is determined whether the executed instruction is an instruction for changing the mask (S51). If the instruction is to change the mask, it is checked whether or not the mask has been opened by the execution of the previously executed instruction (S50) (S52). As a result, if the mask is open, the interrupted interrupt processing (S53) is entered.

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
それぞれのIPUにタイマを持たせているので割込みの
ためにかかる負荷を分散させることができる。また、マ
スクを変化させない命令の実行後はマスクの開閉を調べ
ないので、不必要な処理を行なわなくても済む。よっ
て、本発明には、システム効率を著しく良化させるとい
う利点がある。
As described above, according to the present invention,
Since each IPU has a timer, it is possible to distribute the load for interruption. Further, since the opening / closing of the mask is not checked after the execution of the instruction which does not change the mask, unnecessary processing is not required. Thus, the present invention has the advantage of significantly improving system efficiency.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】タイマの構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of a timer.

【図3】図2に示すタイマの動作を示すタイミングチャ
ートの図である。
FIG. 3 is a timing chart showing the operation of the timer shown in FIG. 2;

【図4】IPUのファームウエア制御を示すフローチャ
ートの図である。
FIG. 4 is a flowchart illustrating firmware control of an IPU.

【図5】各命令の処理を示すフローチャートの図であ
る。
FIG. 5 is a flowchart showing the processing of each instruction.

【図6】従来例について説明する図である。FIG. 6 is a diagram illustrating a conventional example.

【図7】従来のファームウエア制御を示すフローチャー
トの図である。
FIG. 7 is a flowchart showing a conventional firmware control.

【図8】内部割込み処理を示すフローチャートの図であ
る。
FIG. 8 is a flowchart showing an internal interrupt process.

【図9】保留した割込みの処理を示すフローチャートの
図である。
FIG. 9 is a flowchart showing the processing of a suspended interrupt.

【図10】機械割込み処理を示すフローチャートの図で
ある。
FIG. 10 is a flowchart showing a machine interrupt process.

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

1,30 SPU 2〜4,15,31〜33 IPU 5〜8,16,34 タイマ 9,35 主記憶 10,36 システム領域 11〜13,37〜39 外部記憶装置 14,40 表示装置 17 タイマカウンタ 18 セレクタ 19 チェック回路 20,21 AND回路 22 FF回路 23 OR回路 24 レシーバ回路 25,26 ドライバ回路 1,30 SPU 2-4,15,31-33 IPU 5-8,16,34 Timer 9,35 Main memory 10,36 System area 11-13,37-39 External storage device 14,40 Display device 17 Timer counter Reference Signs List 18 selector 19 check circuit 20, 21 AND circuit 22 FF circuit 23 OR circuit 24 receiver circuit 25, 26 driver circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 9/46 G06F 15/163 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 9/46 G06F 15/163

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 システムプロセッサと複数の命令実行プ
ロセッサとを有し内部割込みによってタスクを切り替
えるマルチタスク機能を具備する情報処理装置であっ
前記複数の命令実行プロセッサは、内部割込み要求によ
って割込みを実行する割込み実行手段と、 所定の時間ごとに内部割込みを要求するインターバルタ
イマと、 実行した命令が割込みマスクの開閉状態を変化させる命
令か否かを判断する命令判断手段と、 当該命令判断手段が、前記命令実行プロセッサが実行し
た命令がマスクを変化させるものであると判断した場合
にのみ、割込み要求に対応する割込みマスクの開閉状態
を判断する開閉判断手段と、 当該開閉判断手段によって、割込み要求に対応する割込
みマスクが閉じていると判断された場合には、前記割込
み要求を保留する保留手段と、を各々に具備してなり、 前記割込み実行手段は、当該保留手段に割込み要求が保
留され、かつ開閉判断手段によって前記割込み要求に対
応するマスクが開いていると判断された場合、前記保留
手段に保留されている前記割込み要求による割込みを実
行する ことを特徴とする情報処理装置。
1. A system having a system processor and a plurality of instruction execution processors, wherein a task is switched by an internal interrupt.
Met the information processing apparatus including a multitask function to obtain
Thus , the plurality of instruction execution processors are configured to respond to an internal interrupt request.
An interrupt executing means for executing an interrupt by an interrupter, and an interval timer for requesting an internal interrupt at predetermined time intervals.
And the instruction that the executed instruction changes the open / close state of the interrupt mask.
Instruction determining means for determining whether the instruction is executed or not, and the instruction determining means
When it is determined that the instruction that has changed changes the mask
Only when the interrupt mask corresponding to the interrupt request is open or closed
Opening / closing determining means for determining whether an interrupt request
If it is determined that the mask is closed,
And an interrupt executing means for holding the interrupt request in the interrupting means.
In response to the interrupt request by the open / close determination means.
If it is determined that the corresponding mask is open,
Execute the interrupt due to the interrupt request
The information processing apparatus characterized by rows.
JP3168105A 1991-07-09 1991-07-09 Information processing device Expired - Fee Related JP2902503B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3168105A JP2902503B2 (en) 1991-07-09 1991-07-09 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3168105A JP2902503B2 (en) 1991-07-09 1991-07-09 Information processing device

Publications (2)

Publication Number Publication Date
JPH0520097A JPH0520097A (en) 1993-01-29
JP2902503B2 true JP2902503B2 (en) 1999-06-07

Family

ID=15861940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3168105A Expired - Fee Related JP2902503B2 (en) 1991-07-09 1991-07-09 Information processing device

Country Status (1)

Country Link
JP (1) JP2902503B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022600A (en) 1999-07-06 2001-01-26 Matsushita Electric Ind Co Ltd Digital signal processor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0266632A (en) * 1988-09-01 1990-03-06 Agency Of Ind Science & Technol Interruption control system
JPH0317722A (en) * 1989-06-15 1991-01-25 Nec Corp Reference time interruption method

Also Published As

Publication number Publication date
JPH0520097A (en) 1993-01-29

Similar Documents

Publication Publication Date Title
KR870000115B1 (en) Data processing system
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
JPH11219302A (en) Method and device affecting subsequent instruction processing in data processor
JPH0376496B2 (en)
JPH02144630A (en) Data processor
TW200414055A (en) System, method and software for reducing interrupt latency while polling in system management mode
JP4609113B2 (en) Processor
JP3970609B2 (en) Processor system
JP2902503B2 (en) Information processing device
US5928348A (en) Method of processing interrupt requests and information processing apparatus using the method
JPH0916409A (en) Microcomputer
JP2712730B2 (en) Evaluation chip
JPH05204867A (en) Timer interruption control system in symmetric multiprocessor system
JP3071210B2 (en) Task management control method
JP2508026B2 (en) Timer control method
JPH03257665A (en) Information processor
JPS61208127A (en) Microprogram controller
JPS5938828A (en) Data processing system
JP2584528Y2 (en) Information processing device
JP2665173B2 (en) Processor trap circuit
JP2004118412A (en) Interruption management device, interruption management method, program development support device, and program development support method
JPH0330022A (en) Information processor
JPH02133833A (en) Controller for in-circuit emulator
JP2001084142A (en) Microprocessor
JPH1196007A (en) Method for controlling reading of return address in processor and the processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990309

LAPS Cancellation because of no payment of annual fees