JPH0391046A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0391046A
JPH0391046A JP1227347A JP22734789A JPH0391046A JP H0391046 A JPH0391046 A JP H0391046A JP 1227347 A JP1227347 A JP 1227347A JP 22734789 A JP22734789 A JP 22734789A JP H0391046 A JPH0391046 A JP H0391046A
Authority
JP
Japan
Prior art keywords
real
address
interrupt
page
interruption
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
JP1227347A
Other languages
Japanese (ja)
Inventor
Kikuo Takahashi
高橋 喜久雄
Toyohiko Kagimasa
豊彦 鍵政
Toshiaki Mori
利明 森
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1227347A priority Critical patent/JPH0391046A/en
Publication of JPH0391046A publication Critical patent/JPH0391046A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve efficiency for allocating a real memory and to improve the performance of a whole system by executing the reallocation of the real memory while limiting the position only when a program uses a real address. CONSTITUTION:A real address comparator circuit 500 is provided in an address converting circuit 5 and an interruption signal 160 is generated according to whether or not the real address as the result of address conversion satisfies the allocation position of the real memory on an address conversion table 302 when a page is fixed. According to this interruption, an interruption processing routine 303 is operated by an interruption processing routine activating circuit 600 as one kind of program interruption in a conventional data processor. Thus, the interruption processing routine is operated only when an instruction is issued to obtain the real address and further, the interruption is generated only when the real address is not suitable. Then, it is enough for an operating system to adjust the position of the real memory with the interruption as a chance, and the unnecessary allocation to a low-order real memory address area is eliminated. Thus, the efficient allocation of the real memory is realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は仮想記憶方式の計算機システムに係わり、とく
に複数のアドレッシング幅を持つ計算機システムの実記
憶割り当てに好適なデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a virtual memory computer system, and particularly to a data processing device suitable for real memory allocation in a computer system having multiple addressing widths.

〔従来の技術〕[Conventional technology]

従来方式は、”MVSの機能と構造” (近代科学社発
行(1961年))49ページから50ページに記載の
ようにGビTMALNマクロのrt、oc=3パラメー
タにより、仮想記憶位置と該仮想記憶をページ固定した
場合の実記憶位置が定められている。ページ固定とは、
仮想ページに割り当てられる実記憶の位置が固定され、
ベージイングの対象外とされた状態である。したがって
、ページ固定されていない場合は、対応する実記憶の位
置はベージング処理により不定となる為、プログラムか
らの該ページに対する実アドレスでのアクセスは保証し
なくとも良く、前記のページ固定した場合のみ実記憶の
位置が仮想記憶を確保した時のGHTMAINマクロの
新設パラメータ(LOG=)で指定する方式となってい
た。また、前記パラメータの指定のない従来からのプロ
グラムは実記憶の低位領域にページ固定されるようにな
っていた。
The conventional method uses the rt, oc=3 parameters of the G-bit TMALN macro to determine the virtual memory location and the virtual The actual storage location is determined when the storage is page-fixed. What is page pinning?
The real memory location allocated to a virtual page is fixed,
This is a state that is not subject to paging. Therefore, if a page is not fixed, the corresponding real memory location becomes undefined due to paging processing, so access from the program to the page at the real address does not need to be guaranteed, and only when the page is fixed as described above. The method used was to specify the location of the real memory using a new parameter (LOG=) of the GHTMAIN macro when the virtual memory was secured. In addition, conventional programs without the parameter specified are page-fixed to a lower area of real memory.

さらに、ページ固定は応答性が重視されるプログラムな
どではページングオーバヘッドを無くし、性能向上を目
的として使用される場合が多く、この場合はプログラム
が直接実アドレスでアクセスすることは稀である。
Furthermore, page fixing is often used in programs where responsiveness is important to eliminate paging overhead and improve performance, and in this case it is rare for a program to directly access real addresses.

〔1発明が解決しようとする課題〕 ゛上記従来技術は、実アドレスでアクセスするかどうか
に係わらずページ固定を契機に実記憶の位置が決定され
るため、不必要に実記憶の低位領域にページ固定され、
実記憶の高位領域が空いていても実記憶の低位領域に割
り当てが集中し、しいては実記憶全体の利用効率低下に
よるシステム性能への悪影響が発生すると言う問題があ
った6本発明の目的はプログラムが実際に実記憶を操作
する場合のみ実記憶の再配置を行う効率の良い実記憶割
り当てを実現するデータ処理装置を提供することにある
[1] Problems to be Solved by the Invention] [In the above-mentioned conventional technology, the location of real memory is determined when a page is fixed, regardless of whether access is made using a real address. The page is fixed,
There is a problem in that even if the high-level area of the real memory is empty, the allocation is concentrated in the low-level area of the real memory, which in turn causes a negative effect on system performance due to a decrease in the utilization efficiency of the entire real memory.6.Objective of the present invention The object of the present invention is to provide a data processing device that realizes efficient real memory allocation by reallocating real memory only when a program actually operates on real memory.

〔課題を解決するための手段〕[Means to solve the problem]

特定の実記憶アドレスを得る命令処理時に、該命令の処
理結果である実アドレスがあらかじめ定められているペ
ージ固定時の実記憶位置に適合しているか否かをチェッ
クする実アドレス比較回路を設け、不適合の場合のみ該
比較回路により割り込みを生成し、該割り込みを契機と
してオペレーティングシステムがページ固定時の実記憶
位置に適合する実記憶を再割り当てする。
Provided with a real address comparison circuit that checks whether or not the real address that is the processing result of the instruction matches a predetermined real memory location when the page is fixed, when processing an instruction to obtain a specific real memory address, Only in the case of non-compliance, the comparison circuit generates an interrupt, and the operating system uses the interrupt as a trigger to reallocate real memory that matches the real memory location at the time of page fixation.

〔作用〕[Effect]

実アドレス比較回路は、プログラムが実際に実アドレス
を操作する場合、例えば、実アドレスを得る命令(L 
RA : Load HeaIAddress)を発行
したときのみ動作し、さらに、実アドレス不適合の場合
にのみ割り込みを生成させ、オペレーティングシステム
は該割り込みを契機にしてのみ実記憶の位置を調整(実
記憶を再割り当て)すればよく前記で述べたような不必
要な低位実記憶アドレス領域への割り当てを無くせる。
When a program actually manipulates a real address, the real address comparison circuit, for example, uses an instruction to obtain a real address (L
RA: Load HeaIAddress) is issued, and furthermore, an interrupt is generated only in the case of a real address mismatch, and the operating system uses the interrupt as a trigger to adjust the location of real memory (reallocate real memory). If this is done, unnecessary allocation to the lower real storage address area as described above can be eliminated.

〔実施例〕〔Example〕

以下、本発明の一実施例を回向を参照して説明する。第
1図は本実施例の構成図を示す、第1図において、3は
処理装置、10は処理する命令を保持している命令語レ
ジスタ、4は命令を解析する命令解析回路、5は命令オ
ペランドで指定された仮想アドレスを実アドレスに変換
するアドレス変換回路、500は実アドレスの位置をチ
ェックする実アドレス比較回路、600は実アドレス比
較回路により割り込み信号160が生成されたとき動作
する割り込み処理ルーチン起動回路、300は主記憶装
置、302はアドレス変換テーブル。
Hereinafter, one embodiment of the present invention will be described with reference to the present invention. FIG. 1 shows a configuration diagram of this embodiment. In FIG. 1, 3 is a processing device, 10 is an instruction word register that holds instructions to be processed, 4 is an instruction analysis circuit that analyzes instructions, and 5 is an instruction An address conversion circuit that converts a virtual address specified by an operand into a real address, 500 a real address comparison circuit that checks the position of a real address, and 600 an interrupt process that operates when an interrupt signal 160 is generated by the real address comparison circuit. A routine starting circuit, 300 a main memory, and 302 an address conversion table.

303はオペレーティングシステムの割り込み処理ルー
チンである。
303 is an interrupt processing routine of the operating system.

本実施例はアドレス変換回路5に実アドレス比較回路5
00を設けて、アドレス変換結果である実アドレスがア
ドレス変換テーブル302上にあるページ固定時の実記
憶割り当て位置を満たしているか否かにより割り込み信
号160を生成し、該割り込みにより割り込み処理ルー
チン起#1回路600で従来データ処理装置のプログラ
ム割り込みの一種として割り込み処理ルーチン303を
動作させる所に特徴がある。
In this embodiment, the address conversion circuit 5 includes a real address comparison circuit 5.
00 is set, and an interrupt signal 160 is generated depending on whether the real address that is the address conversion result satisfies the real memory allocation position when the page is fixed on the address conversion table 302, and the interrupt processing routine is started by the interrupt. The feature is that one circuit 600 operates an interrupt processing routine 303 as a kind of program interrupt of a conventional data processing device.

以下1本発明の実施例の動作説明においては。The operation of one embodiment of the present invention will be explained below.

計算機システムのアドレシング輻は24ビツトと31ビ
ツトの2種とし、また、仮想アドレスに対応する実アド
レスを得る命令(L RA : LoadHeal A
ddress、以下LRAと記述)の処理を例に説明す
る。
There are two types of addressing in computer systems: 24 bits and 31 bits, and an instruction (LRA: LoadHeal A) to obtain a real address corresponding to a virtual address is used.
The processing of ddress (hereinafter referred to as LRA) will be explained as an example.

第1図では、命令語レジスタ10にLRA命令がフェッ
チされており、命令解析回路4でLRA命令であること
が解析されると、次にLRA命令のオペランドで指定さ
れた仮想アドレスに対応する実アドレスを得るためアド
レス変換回路が動作する1次に該アドレス変換回路の模
擬動作を第2図に示す、第2図において、1はセグメン
トデープルの実アドレスを保持する制御レジスタ1゜1
0は命令語レジスタ、50はLRA命令で指定された仮
想アドレス、80はセグメントテーブル、100はペー
ジテーブル、110はLRA命令実行により得られた実
アドレス、120はLRA命令発行時のP S W (
Program 5tatus Word)、102は
ページテーブルエントリ101上の実記憶割り当て位置
条件を示すフラッグ、500は該フラッグ102と前記
実アドレス上1oを比較する実アドレス比較回路である
0本実施例のアドレス変換回路は実アドレス比較回路5
00を設けた所に特徴があり、該回路以外の動作は従来
通りである。以ド、LRA命令の実行過程を述べ、その
後、実アドレス比較回路500の動作を説明する。
In FIG. 1, an LRA instruction is fetched into the instruction word register 10, and when the instruction analysis circuit 4 analyzes that it is an LRA instruction, the next First, the address translation circuit operates to obtain an address. The simulated operation of the address translation circuit is shown in FIG. 2. In FIG.
0 is the instruction word register, 50 is the virtual address specified by the LRA instruction, 80 is the segment table, 100 is the page table, 110 is the real address obtained by executing the LRA instruction, and 120 is the PSW (
102 is a flag indicating the real memory allocation position condition on the page table entry 101, and 500 is a real address comparison circuit that compares the flag 102 with the above real address 10. Address conversion circuit of this embodiment. is the real address comparison circuit 5
The feature is that 00 is provided, and the operation other than this circuit is the same as before. The execution process of the LRA instruction will be described below, and then the operation of the real address comparison circuit 500 will be explained.

LRA命令はrLRA Rt、Us (Xz、Bz)J
とコーディングし、計算機内部では命令語レジスタ10
に示すようにRtl 1.Xzl 2.Bzl 3゜D
214 の各フィールドに対応しており、第2オペラン
ド(Dz (Xz、 Bz))で指定された仮想アドレ
スをアドレス変換し、得られた実アドレスをレジスタR
z11.Oにセットする命令である。該命令は、まず、
フィールドXxL2とBzl3で指定されたレジスタX
z20.Hz30およびフィールドDz14  を加%
40 L、その結果である仮想アドレス50を求める。
The LRA command is rLRA Rt, Us (Xz, Bz)J
is coded as instruction word register 10 inside the computer.
As shown in Rtl 1. Xzl 2. Bzl 3゜D
214 fields, converts the virtual address specified by the second operand (Dz (Xz, Bz)), and stores the obtained real address in register R.
z11. This is an instruction to set it to O. The command is, first,
Register X specified by fields XxL2 and Bzl3
z20. Hz30 and field Dz14%
40 L, and the resulting virtual address 50 is obtained.

このとき、加算40では1’511120のアドレッシ
ングモード121に従ってレジスタXs 20 t H
x 30の有効長を決める。該仮想アドレス50のアド
レス変換は従来と同様に実施され、仮想アドレス50の
第1−11ビツトがシフト60により4倍(セグメント
テーブルのエントリ長)され、制御レジスタlと加算7
0されセグメントテーブル80上のセグメントエントリ
81が求められる0次に、該エントリ81上のページテ
ーブルの先頭実アドレスと前記仮想アドレス50の第1
2〜19ビツトが(シフト90により4倍、すなわちペ
ージテーブルのエントリ長倍)加#91されページテー
ブルエントリ101のが求められる。該エントリ上の実
ページアドレス103をレジスタRIIIOのビット1
〜19にセットし、ビット20〜31に仮想アドレス5
0の下位12ビツトをセットして従来のLRA命令の実
行は終了する6本発明では、さらにレジスタRzllO
上の実アドレスを実アドレス比較回路500により比較
する。該回路500では、まず、セレクタ530におい
て、ビットパターン510゜520のいずれかが、ペー
ジテーブルエントリ1.01上の前記割り当て位置条件
を示すフラッグ102により選択される1次に、M選択
ビットパターン(510もしくは520)と、前記レジ
スタRzllO上の実アドレスのビット1〜7がAND
540され信号150となる0次に、デコーダ550に
より命令コードから0.もしくは1の信号155が生成
され、AND560により信号150と155のAND
がとられ2割り込み信号160となる。
At this time, in the addition 40, according to the addressing mode 121 of 1'511120, the register Xs 20 t H
Determine the effective length of x30. The address conversion of the virtual address 50 is performed in the same manner as before, and the 1st to 11th bits of the virtual address 50 are multiplied by 4 (segment table entry length) by shift 60, and added to control register l by 7.
0 and the segment entry 81 on the segment table 80 is found. Next, the first real address of the page table on the entry 81 and the first virtual address 50 are
Bits 2 to 19 are added (4 times by shift 90, ie, multiplied by the page table entry length) #91 to obtain the page table entry 101. The real page address 103 on the entry is set to bit 1 of register RIIIO.
~19 and set bits 20-31 to virtual address 5.
Execution of the conventional LRA instruction ends by setting the lower 12 bits of 0.6 In the present invention, the register RzllO
The above real addresses are compared by the real address comparison circuit 500. In the circuit 500, first, in the selector 530, one of the bit patterns 510 and 520 is selected by the M selected bit pattern ( 510 or 520) and bits 1 to 7 of the real address on the register RzllO are ANDed.
540 and becomes a signal 150. Next, the decoder 550 converts the instruction code into 0. Alternatively, a signal 155 of 1 is generated, and the AND signal 150 and 155 are generated by AND560.
is taken, resulting in a second interrupt signal 160.

本実施例では従来の技術の項で述べた、Gl<TMAI
Nマクロ発行時のパラメータ(LOG=指定またはデフ
ォルト値)により定まるページ固定時の実記憶位置が1
6M未満の場合に、前記実記憶割り当て位置条件を示す
フラッグ102の値がOlそれ以外の場合に1とし、該
フラッグ102がOの場合にセレクタ530でビットパ
ターン520が選択され、実アドレスのビット1〜7が
全てゼロで無く、命令コードがLRA命令である場合に
割り込み信号160がonする1以上のようにして14
A命令が実行され、割り込み信号が160がonの場合
には、さらに、第1図に示す割り込み処理ルーチン起動
回路600が動作する。
In this embodiment, as described in the conventional technology section, Gl<TMAI
The real memory location when the page is fixed is 1, which is determined by the parameter (LOG = specification or default value) when issuing the N macro.
If it is less than 6M, the value of the flag 102 indicating the real memory allocation position condition is O. Otherwise, it is set to 1. If the flag 102 is O, the bit pattern 520 is selected by the selector 530, and the bit pattern of the real address is set to 1. If 1 to 7 are not all zeros and the instruction code is an LRA instruction, the interrupt signal 160 is turned on.
When the A instruction is executed and the interrupt signal 160 is on, the interrupt processing routine starting circuit 600 shown in FIG. 1 further operates.

次に第3図により割り込み処理ルーチン起動回路600
の動作を示す、第3国において該割り込み処理は従来の
ページフォルト(使用したい仮想領域が実記憶上に存在
しない場合に発生するプログラム割り込みの一種で、こ
れを契機にオペレテイングシステムの実記憶割り当て処
理が実施される)と同様にプログラム割り込みとして動
作するが、ページフォルトの場合に加え割り込み発生時
の実アドレス(レジスタRIIIO)を主記憶300上
にある割り込み制御情報領域301上のセーブエリア2
01に保存する事が異なる。以ド第3図により割り込み
信号on時の処理概要を説明する。
Next, according to FIG. 3, the interrupt processing routine starting circuit 600
In third countries, this interrupt processing is a conventional page fault (a type of program interrupt that occurs when the virtual area you want to use does not exist on real memory, and this triggers the operating system's real memory allocation However, in addition to the case of a page fault, the real address at the time of interrupt occurrence (register RIIIO) is saved in the save area 2 in the interrupt control information area 301 in the main memory 300.
The difference is that it is saved in 01. The outline of the processing when the interrupt signal is turned on will now be explained with reference to FIG.

前記のように割り込み信号160がonの場合に動作し
、LRA命令10の命令アドレスを指すpsvtzoを
I!APSWストア回路170で主記憶300上のセー
ブエリア171に保存し、LRA割り込みを表すコード
をLRA割り込みコードストア]!、11路180でセ
ーブエリア181に保存し、LRA割り込み発生仮想ア
ドレスをLRA割り込み発生仮想アドレスストア回路1
90でセーブエリア191に保存し、LRA割り込み発
生実アドレスをLRA割り込み発生実アドレスストアロ
路200でセーブエリア201に保存する。これらの保
存情報は第4図に示すオペレテイングシステムの割り込
み処理ルーチン303により使用される0以上の情報を
保存し終わると最後に、エリア211よりプログラム割
り込み処理ルーチン303用PSWをプログラム割り込
み処理ルーチン起動回路210でPSV 120にロー
ドすることにより、第1図に示すオペレテイングシステ
ムの割り込み処理ルーチン303を起動する0次に、該
割り込み処理ルーチン303の処理を第4図を用いて説
明する。第4図は割り込み処理ルーチン303の概略フ
ロー図を示す、第4図において400は本実施例で新た
に実施する「実記憶位置調整(移動)処理部J 、46
0は従来処理部である0図に示すように、まず、処理4
10でLRA命令の割り込みか否かを判断する。これは
、第3図の処理でセーブエリア181に保存した割り込
みコードにより判定する。LRA命令の割り込みでなけ
れば従来処理部460により、その他の割り込み要因の
解析と対応する処理が実施される。LRA命令の割り込
みであれば、処理420により仮想記憶確保時に指定さ
れた実記憶領域、すなわち、実アドレス16MB (メ
ガバイト)未満の実ページを1個用4意し、処理430
で該実ページにLRA命令割I込みを起こした実ページ
(アドレスは第3図の処理でセーブエリア201に保存
しである。なお、該実アドレスのセーブの代わりに第2
図のページテーブルエントリ101上に実ページアドレ
ス103を直接参照する方式でも良く、実アドレスのセ
ーブそのものに本発明が左右されるものではない)の内
容をコピーする0次に、アドレス像換テーブル(第2図
、ページテーブルエントリ1oi)上の実ページアドレ
ス103を修正するため、処理440では、処理420
で新たに用意した実ページのアドレスをページテーブル
エントリ101にセットする。
As described above, it operates when the interrupt signal 160 is on, and sends psvtzo pointing to the instruction address of the LRA instruction 10 to I! The APSW store circuit 170 stores the code representing the LRA interrupt in the save area 171 on the main memory 300, and stores the code representing the LRA interrupt. , 11 path 180 saves the LRA interrupt generation virtual address in the save area 181, and stores the LRA interrupt generation virtual address in the LRA interrupt generation virtual address store circuit 1.
The LRA interrupt occurrence real address is saved in the save area 191 in step 90 , and the LRA interrupt occurrence real address is saved in the save area 201 in the LRA interrupt occurrence real address storage path 200 . After saving 0 or more information used by the interrupt processing routine 303 of the operating system shown in FIG. 4, the PSW for the program interrupt processing routine 303 is activated from the area 211. The interrupt processing routine 303 of the operating system shown in FIG. 1 is activated by loading the interrupt processing routine 303 into the PSV 120 by the circuit 210. Next, the processing of the interrupt processing routine 303 will be described with reference to FIG. FIG. 4 shows a schematic flowchart of the interrupt processing routine 303. In FIG.
0 is the conventional processing unit 0 As shown in the figure, first, processing 4
At step 10, it is determined whether the interrupt is an LRA instruction interrupt or not. This is determined based on the interrupt code saved in the save area 181 in the process shown in FIG. If the interrupt is not an LRA instruction, the conventional processing unit 460 analyzes other interrupt factors and performs corresponding processing. If it is an LRA instruction interrupt, processing 420 prepares the real storage area specified at the time of virtual memory reservation, that is, one real page with a real address of less than 16MB (megabytes), and processing 430
The real page (address is saved in the save area 201 in the process shown in FIG. 3) that caused the LRA instruction interrupt to the real page.
It is also possible to directly refer to the real page address 103 on the page table entry 101 in the figure, and the present invention is not dependent on saving the real address itself.) Next, the address image conversion table ( In order to modify the real page address 103 on the page table entry 1oi) in FIG.
The address of the newly prepared real page is set in the page table entry 101.

最後に処理450では不要となったL尺A命令割り込み
を起こした実ページ(処理440を実施する前の実ペー
ジアドレス103のページ)を未使用状態とし再刊用可
能にする。
Finally, in process 450, the real page that caused the L length A instruction interruption (the page at real page address 103 before process 440 was executed), which is no longer needed, is brought into an unused state and made available for reprint.

以上述べた方式により、LRA命令の実行を契機として
プログラムの動作を保証するために最低限必要な場合に
のみ、実記憶の位置を限定するだけで良く、その他の場
合は任意の実記憶領域を利用IIIf能となり1本実施
例によればオペレーティングシステムの処理オーバヘッ
ドを低減でき、さらに、容量の少ない16MB未満の実
記憶の使用頻度を低減でき、16M13未満の実記憶の
割り当てコンフリクトが発生しなくなり、システム性能
が向上する効果がある。
With the method described above, it is only necessary to limit the real memory location only when it is minimally necessary to guarantee the operation of the program triggered by the execution of the LRA instruction, and in other cases, any real memory area can be used. According to this embodiment, the processing overhead of the operating system can be reduced, and furthermore, the frequency of use of real memory with a small capacity of less than 16MB can be reduced, and allocation conflicts of real memory less than 16M13 will not occur. This has the effect of improving system performance.

〔発明の効果〕〔Effect of the invention〕

本発明では実アドレス比較回路を設け、プログラムが実
際に実アドレスを使用する場合にのみ実記憶の位置限定
再割り当てを実施するので、実記憶の位置限定再割り当
て頻度が低トし、オペレーティングシステムの処理オー
バヘッドの低減、割り当てコンフリクト発生頻度の低減
が図られ実記憶割り当ての効率が向上し、システム全体
の性能が向上する効果がある。
In the present invention, a real address comparison circuit is provided, and real memory location-limited reallocation is performed only when a program actually uses a real address. Therefore, the frequency of real memory location-limited reallocation is reduced, and the operating system This has the effect of reducing processing overhead, reducing the frequency of allocation conflicts, improving the efficiency of real memory allocation, and improving the performance of the entire system.

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

第1図は本発明の構成図、第2図は本発明の実施例によ
るLRA命令を例とする実アドレス比較回路(500)
の説明図、第3図は本実施例による割り込み処理ルーチ
ン起動回路(600)の動作説明図、第4図はLRA命
令で発生させた割り込みを受けて動作するオペレーティ
ングシステムの割り込み処理ルーチンの概略フロー図。 3・・・処理装置、4・・・命令解析凹路、5・・・ア
ドレス変換回路、10・・・命令語レジスタ、80・・
・セグメントテーブル、100・・・ページテーブル、
120・・・psw (プログラム状態語’)、121
・・・アドレッシングモード、160・・・割り込み信
号、303・・・割り込み処理ルーチン、400・・・
実記憶位置調!!(移#)処理部、500・・・実アド
レス比較回路、600・・・割り込み処理ルーチン起動
回路。 第1図 第2図 第3図 第4図 303第1[!l
FIG. 1 is a block diagram of the present invention, and FIG. 2 is a real address comparison circuit (500) exemplifying an LRA instruction according to an embodiment of the present invention.
FIG. 3 is an explanatory diagram of the operation of the interrupt processing routine starting circuit (600) according to the present embodiment, and FIG. 4 is a schematic flowchart of the interrupt processing routine of the operating system that operates in response to an interrupt generated by the LRA instruction. figure. 3...Processing device, 4...Instruction analysis channel, 5...Address conversion circuit, 10...Instruction word register, 80...
・Segment table, 100...page table,
120... psw (program status word'), 121
... Addressing mode, 160 ... Interrupt signal, 303 ... Interrupt processing routine, 400 ...
Real memory position key! ! (Transfer #) Processing unit, 500... Real address comparison circuit, 600... Interrupt processing routine starting circuit. Figure 1 Figure 2 Figure 3 Figure 4 303 1st [! l

Claims (1)

【特許請求の範囲】[Claims] 1、仮想記憶方式を採り、複数のアドレッシング幅を持
つ計算機システムにおいて、命令の処理の結果得られた
実アドレスが、あらかじめ定められているページ固定時
の実記憶位置に適合しているか否かをチェックし、不適
合の場合には割り込みを生成し、オペレーティングシス
テムに、ページ固定時の実記憶位置指定に適合する実記
憶を、再割り当てすること要求する実アドレスチェック
回路を設けたことを特徴とするデータ処理装置。
1. In a computer system that uses a virtual memory method and has multiple addressing widths, check whether the real address obtained as a result of instruction processing matches the predetermined real memory location when the page is fixed. The present invention is characterized by being provided with a real address checking circuit which generates an interrupt in the case of non-conformity and requests the operating system to reallocate real memory that conforms to the real memory location specified at the time of page fixation. Data processing equipment.
JP1227347A 1989-09-04 1989-09-04 Data processor Pending JPH0391046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1227347A JPH0391046A (en) 1989-09-04 1989-09-04 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1227347A JPH0391046A (en) 1989-09-04 1989-09-04 Data processor

Publications (1)

Publication Number Publication Date
JPH0391046A true JPH0391046A (en) 1991-04-16

Family

ID=16859380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1227347A Pending JPH0391046A (en) 1989-09-04 1989-09-04 Data processor

Country Status (1)

Country Link
JP (1) JPH0391046A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4721122B2 (en) * 2008-04-22 2011-07-13 株式会社 だいもん Vessel with ventilation function
JP2016066372A (en) * 2007-06-01 2016-04-28 インテル コーポレイション Virtual address to physical address translation with support for page attributes

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016066372A (en) * 2007-06-01 2016-04-28 インテル コーポレイション Virtual address to physical address translation with support for page attributes
US11074191B2 (en) 2007-06-01 2021-07-27 Intel Corporation Linear to physical address translation with support for page attributes
JP4721122B2 (en) * 2008-04-22 2011-07-13 株式会社 だいもん Vessel with ventilation function

Similar Documents

Publication Publication Date Title
US4347565A (en) Address control system for software simulation
US5864692A (en) Method and apparatus for protecting memory-mapped devices from side effects of speculative instructions
US20030105927A1 (en) Method for use of stack
GB2348306A (en) Batch processing of tasks in data processing systems
JPH0863354A (en) Equipment and method for execution of computer processing
US20130036426A1 (en) Information processing device and task switching method
US20060149940A1 (en) Implementation to save and restore processor registers on a context switch
US6862675B1 (en) Microprocessor and device including memory units with different physical addresses
JPH0391046A (en) Data processor
US6675238B1 (en) Each of a plurality of descriptors having a completion indicator and being stored in a cache memory of an input/output processor
JPH1083349A (en) Cache memory bank controller
US4816992A (en) Method of operating a data processing system in response to an interrupt
EP0669582A2 (en) Immediate system management interrupt source with associated reason register
KR960012354B1 (en) Microprocessor
US6243798B1 (en) Computer system for allowing a two word jump instruction to be executed in the same number of cycles as a single word jump instruction
JP2003271455A (en) Cashe memory control device and cashe memory system
JPH0567973B2 (en)
JP2004127083A (en) Virtual distributed control system
JP2743947B2 (en) Micro program control method
JP3345050B2 (en) Two-dimensional array type memory system
JP2000194554A (en) Arithmetic processor
JPH02173828A (en) Interruption process system
JPS608939A (en) Special function set-up controlling system
JPH0683986A (en) Single chip microcomputer
JPH10198572A (en) Semiconductor integrated circuit device