JPS5938991A - Management system of virtual storage - Google Patents

Management system of virtual storage

Info

Publication number
JPS5938991A
JPS5938991A JP57147650A JP14765082A JPS5938991A JP S5938991 A JPS5938991 A JP S5938991A JP 57147650 A JP57147650 A JP 57147650A JP 14765082 A JP14765082 A JP 14765082A JP S5938991 A JPS5938991 A JP S5938991A
Authority
JP
Japan
Prior art keywords
area
address
program
task
page
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
Application number
JP57147650A
Other languages
Japanese (ja)
Other versions
JPH0479019B2 (en
Inventor
Keiichi Nakane
啓一 中根
Tomoaki Nakamura
智明 中村
Hiroaki Nakanishi
宏明 中西
Toshiro Jinnai
神内 俊郎
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 JP57147650A priority Critical patent/JPS5938991A/en
Publication of JPS5938991A publication Critical patent/JPS5938991A/en
Publication of JPH0479019B2 publication Critical patent/JPH0479019B2/ja
Granted 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/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Abstract

PURPOSE:To minimize the change of a memory map to limit the work quantity for the change, by dividing a virtual storage area to an address conversion fixed area and a variable area and managing them and making it possible to register the fixed area in the variable area. CONSTITUTION:A virtual storage area 100 consists of address fixed areas such as an area 110 where software programs are stored and an extension area 120, an address conversion area, etc. This address conversion are a is divided to an address conversion fixed area FX for highspeed real-time processing and an address conversion variable area FL to which pages correspond at a program execution time, and the whole of the area 100 and areas FX and FL are managed through an area OS, and the area FL can be regitered in the area FX. By this constitution, the allocation to the area FL which is not used and the change of the map due to registering to the area FX are minimized at the memory map change time, and the quantity of the program reloading work is minimized. Further, the use effectivity of the virtual memory area or the like is improved.

Description

【発明の詳細な説明】 本発明は、計算機システムの主記憶管理方式に係り、特
に高速応答性が要求されるプログラムと大記憶容量が要
求されるプログラムを同時に実行する場合に、好適な仮
想記憶管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a main memory management method for a computer system, and particularly relates to a virtual memory management method suitable for executing a program requiring high-speed response and a program requiring large storage capacity at the same time. Regarding management methods.

従来、計1機システムの記憶装置管理方式においては、
最も高度な管理方式の一つとしてオンデマンドページス
ワツピング(略称:デマンドベージング)法による仮想
記憶管理方式が知られている。
Conventionally, in a storage device management method for a single system,
As one of the most advanced management methods, a virtual memory management method using on-demand page swapping (abbreviation: demand basing) is known.

仮想記憶管理方式は、計算機が実行の対象とするプログ
ラム上では記憶装置のアドレスが実在する主記憶装置に
付された実アドレスではなく、実在せず、論理的な構成
のみからなる仮想記憶領域に付された仮想アドレスで記
述されることに特徴がある。従って、仮想アドレスを実
アドレスに対応付けるためのハードウェア機構並びにソ
フトウェアプログラムが不可欠となる。この対応付けを
行うために必要なハードウェアとソフトウェアをアドレ
ス変換機構と呼ぶ。アドレス変換機構を実現するための
代表的手法として前記のデマンドページング法がある。
In the virtual memory management method, the address of the storage device in the program that the computer executes is not a real address attached to the real main memory, but a virtual storage area that does not exist and consists only of a logical structure. It is characterized by being described using an attached virtual address. Therefore, a hardware mechanism and a software program for associating virtual addresses with real addresses are essential. The hardware and software required to make this association is called an address translation mechanism. The above-mentioned demand paging method is a typical method for realizing an address translation mechanism.

以下にデマンドベージング法の概要を述べる。An overview of the demand basing method is given below.

デマンドページング法では、仮想記憶領域を固定長のペ
ージと呼ばれる小領域に分割し、主記憶装置をページフ
レーム(以下PFと略す)と呼ばれるページと同一長の
小領域に予め分割しておく。
In the demand paging method, a virtual storage area is divided into small areas called fixed-length pages, and a main storage device is divided in advance into small areas called page frames (hereinafter abbreviated as PF) having the same length as pages.

ページとPFは共に0から順に番号+1け孕れている。Both the page and the PF contain numbers +1 in order starting from 0.

プログラムは、1個或いは複19個の連続したページ」
二に他のプログラムがN11己置されているページと取
々らぬように配置される。プログラムを実行するために
行うべき処理はデマンドページング法では次のようにな
る。
A program consists of one or more 19 consecutive pages.
Second, other programs are placed on the same page as N11 itself. The processing that must be performed to execute a program in the demand paging method is as follows.

あるプログラムを実行中にPFと対応付けられていない
ページ内の仮想アドレス変換照すること(これをページ
フォールトと呼ぶ)が判ると、該ページとPFの対応付
けを行なう。即ち、前記アドレス変換機構では、ページ
とPFの対応付けが成されていない場合、未だどこにも
対応伺けられていないPIi”(これを空きPFと呼ぶ
)を該ページと対応付ける。空きPFが無い場合、ある
決められた規則に従い、既に対応付けられている別ペー
ジ(これを使用中ページと呼ぶ)とPFとの対応を解除
し、この操作により空きとなったPFを前記ページと対
応付ける。プログラムの実行が終了すると、そのプログ
ラムが使用中であったページは全てP Fとの対応付け
が解除され、それらのPFは空きとなる。
If it is found that a virtual address in a page that is not associated with a PF is to be translated during execution of a certain program (this is called a page fault), the page is associated with the PF. That is, in the address translation mechanism, if a page and a PF have not been associated with each other, PIi'' (this is called an empty PF), which has not yet been found to correspond anywhere, is associated with the page.There is no empty PF. In this case, according to a certain predetermined rule, the association between the PF and another page that has already been associated (this is called a page in use) is canceled, and the PF that becomes free through this operation is associated with the page.Program When the execution of the program ends, all the pages used by that program are disassociated from the PF, and those PFs become free.

このデマンドページング法の利点は、(1)実行中のペ
ージのみがPFと対応付けられていればよいため、プロ
グラムの大きさが主記憶装置の容量によって制約されず
、仮想記憶領域の大きさには原理的には制限がない、(
2)一定時間内に参照、実行の対象になるページは、プ
ログラム全領域の内で一部分に限られる性質があるため
、稀にしか参照や実行がされないページがPFを占有す
ることも稀であり、主記憶装置の利用効率が大きい、(
3)以上の点から、複数のプログラムを並行して実行す
る場合(これを多重プログラミングと呼ぶ)に、使用中
ページの総和は該プログラム群の総ページ容量に比べて
大巾に小さくすることが出来るため、限られた主記憶装
置に入り得るプログラム数は、総ページ容量で決まる数
よりも大巾に多くなり、多重プログラミングの多重度が
大きくなる、等がある。
The advantages of this demand paging method are: (1) Since only the page being executed needs to be associated with the PF, the size of the program is not limited by the capacity of the main storage device, and is dependent on the size of the virtual storage area. There is no limit in principle, (
2) Since the pages that are referenced and executed within a certain period of time are limited to a portion of the entire program area, it is rare for pages that are rarely referenced or executed to occupy the PF. , the main memory usage efficiency is high (
3) From the above points, when multiple programs are executed in parallel (this is called multiple programming), the total number of pages in use can be made much smaller than the total page capacity of the program group. As a result, the number of programs that can fit into the limited main memory is much larger than the number determined by the total page capacity, and the degree of multi-programming becomes large.

しかしながら、一方では欠点として、(1)プログラム
の実行中にページフォールトがある頻度をもって発生す
るため、ページ置換アルゴリズムを実行する時間(これ
をO8のオーバヘッドと呼ぶ)分だけ本来のプログラム
実行時間が長くなり、処理性能が低下する、(2)むや
みに多くのプログラムを実行させると計算機時間の大部
分がO8のオーバヘッドに費される、所謂スラッシング
現象が生じ、計算機システムが事実上機能を果さなくな
る可能性がある、(3)アドレス変換機構を付加する分
だけ、計算機の価格が高くなる、等がある。この内、(
3)の点に関しては、近年のハードウェア・デバイス技
術の進歩によυ比較的安価に実現できる11.0向にあ
りさしたる問題ではなくなってきているが、(1)、(
2)の点は本質的な問題であり、特にプラント制御シス
テム等のリアルタイム処理を行う場合には致命的となる
However, on the other hand, there are disadvantages: (1) Since page faults occur with a certain frequency during program execution, the original program execution time is longer by the time it takes to execute the page replacement algorithm (this is called O8 overhead). (2) If too many programs are executed unnecessarily, most of the computer time is spent on O8 overhead, resulting in the so-called thrashing phenomenon, and the computer system virtually stops functioning. (3) The price of the computer increases by the addition of the address translation mechanism. Of these, (
Regarding point 3), it has become less of a problem as 11.0 can be realized relatively inexpensively due to recent advances in hardware and device technology, but (1), (
Point 2) is an essential problem, and is especially fatal when real-time processing is performed in a plant control system or the like.

これらの問題点を解決し、従来のデマンドページング法
の利点である大容量プログラムを主記憶容量に制約され
ずに実行できる点を生かしつつ、更に高速応答処理を要
求されるプログラムをも実行可能にするためのハードウ
ェア並びにソフトウェアを具備した仮想記憶管理方式が
特願昭56−200645 にて提示されている。該発
明の特徴は、アドレス変換の対象となる仮想記憶領域を
二倍し、一方は計算機システム構簗(システムジェネレ
ーション)時に、ページとPFとの対1.F;付けを行
うアドレス変換固定領域(Fixed Area :以
後Ti”X領域と呼ぶ)とし、他方はプログラム実行開
始時に、ページとPFとの対応付けを行い、プログラム
実行終了時に該対応付けを解除するアドレス変換可変領
域(Floating Area  : J後PL領域
と呼ぶ)とすることとし、FX領域に高速応答性を要求
されるプログラムを配置し、FL領領域大容量プログラ
ムを配置することにある。
By solving these problems, we have made it possible to take advantage of the advantage of conventional demand paging methods, which is that large-capacity programs can be executed without being constrained by main memory capacity, while also making it possible to execute programs that require high-speed response processing. A virtual memory management system equipped with hardware and software for this purpose is proposed in Japanese Patent Application No. 56-200645. The feature of this invention is that the virtual storage area to be subjected to address translation is doubled, and one page and PF pair 1. F; Address conversion fixed area (Fixed Area: hereinafter referred to as Ti" The address conversion variable area (Floating Area: referred to as the PL area after J) is used, programs that require high-speed response are placed in the FX area, and large-capacity programs are placed in the FL area.

一方、従来の計算機システムにおいては、システムの機
能拡張や既存機能の仕様変更に伴い、プログラムやデー
タの大きさに変更が生ずると、たいていの場合は、主記
憶上のプログラムやデータの配置形態(これをメモリマ
ツプと呼ぶ)をすべての領域にわたって変更しなければ
ならなかった。
On the other hand, in conventional computer systems, when the size of programs and data changes due to system function expansion or changes in the specifications of existing functions, the arrangement of programs and data in main memory ( (This is called a memory map) had to be changed across all areas.

リアルタイムンステムに於ては高速う4゛件を保障する
ために、はとんどのプログラムを主記惰上の絶対アドレ
スを有するロードモジュールの形式で計算機システム内
にローディングしている。このため、メモリマツプを変
更してしまうと、すべてのプログラムを新しい主記憶」
ニアドレス(、−% Miしたロードモジュールとして
もう一兜作成し直し、それらを計算機システム内に再ロ
ーディングし直さなければならず、多大な労力を費さな
ければならない。この問題は主記憶容量が大きくなれば
なる程、T10−ディングまでの作♀頌は尤犬となり、
特に先に述べた仮想記憶制御方式においてはその影響は
多大なものとなる。
In real-time systems, in order to ensure high-speed processing, most programs are loaded into the computer system in the form of a load module having an absolute address on the host. Therefore, if you change the memory map, all programs will be moved to new main memory.
It is necessary to create another load module as a near address (, -% Mi) and reload it into the computer system, which requires a great deal of effort. This problem is caused by the main memory capacity being limited. As it gets bigger, the works up to T10-ding become more and more dog-like.
Especially in the virtual memory control method mentioned above, the influence will be great.

本発明の目的は、メモリマツプの変更に伴うプログラム
の再ローディング等の作業量を最小にし、かつ仮想記憶
領域表らびに主記憶装置の有効利用を計ることを可能に
するため、および大容はプログラムを主記憶装置容量の
制約を受けずに実行でき、かつ高速応答性を要求される
プログラムをも実行可能にするための、ハードウェアお
よびソフトウェアを具備した仮想記憶管理方式を提供す
ることにある。
An object of the present invention is to minimize the amount of work such as reloading a program due to a change in a memory map, and to make it possible to effectively use the virtual storage area and main memory. An object of the present invention is to provide a virtual memory management system equipped with hardware and software that allows programs to be executed without being constrained by the capacity of a main storage device, and also to execute programs that require high-speed response.

本発明の特徴は、前掲の特願昭56−200645に記
載の内容に加えて、仮想記憶領域の使用状況、すなわち
どの領域がどの様に使われているかの管理、主記憶装置
の各PFが使用中か否かの管理、仮想記憶の各ページが
主記憶装置のどのPFに対応しているかの管理、および
FL領領域配置されたプログラムの内の最大容量の管理
を行ない、システムの機能拡張や仕様変更に伴うプログ
ラムやデータの容量増加が生じた場合に、変更したプロ
グラムやデータをそれまでとは別な仮想記憶領域に配置
し、変更前まで使用していたPFとそれまで未使用であ
ったPFとに該当ページを対応付けることにより、メモ
リマツプの変更を最小限にて済寸せ手、かつメモリマツ
プ変更に伴うプログラムやデータの再ローディング等の
作業量を必要部分だけに限定することにある。
In addition to the content described in the above-mentioned Japanese Patent Application No. 56-200645, the present invention is characterized by the management of the usage status of the virtual storage area, that is, which area is used and how, and the management of each PF of the main storage device. Expands system functionality by managing whether or not each page of virtual memory is in use, which PF in the main memory corresponds to each page, and managing the maximum capacity of programs allocated to the FL area. When the capacity of programs and data increases due to a change in specifications or specifications, the changed programs and data are placed in a different virtual storage area, and the PF used before the change and the previously unused ones are stored. By associating the corresponding page with the existing PF, it is possible to minimize changes to the memory map and limit the amount of work such as reloading programs and data associated with memory map changes to only the necessary parts. .

以下、本発明の一実施例を第1図〜第9図によシ説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 9.

第1図(A)は本発明に関する仮想記憶領域(Virt
ual Storage  :以後V8と略す)100
、主%F2.’1st装置(Main Storage
 :以後M−Sと略す)300、二次配憶装置(Sec
ondary Storage :以後SSと略す)4
00の配置内容とアドレス変換機構200を含めた対応
関係を示したものである。VSlooば、アドレス非7
&領域(以後V−R領域と呼ぶ)とアドレス変換領域(
以後V〆R領域と呼ぶ)により構成され、図上にて左端
を第0番地として1バイト単位−ヒ荷幀に仮世アドレス
が割当てられている。V=R領域はさらに、基本ソフト
ウェアプログラムを配置するO8(Qperating
 System) ’=廻或110と将来該OS領域の
拡張領域として使用するF U (Future[Js
e)領域120より構成される。また、V≠R≠域はさ
らに、vSとM Sとの対応付けがシステム構築後は固
定されているF’X領域と、VSとMSとの対応付けが
プログラム実行開始時に行われ、プログラム実行終了後
には防対応付けを解除するFL領領域り構成される。F
X領域は、あるまとまった機能を果し互いに並行に動作
しイする処Eft、 7’ o クラムチあるタスク(
’1.”ask )t 50 、 1.60と、タスク
間で共通に使用するテーブルであるグローバルエリア(
GT、R)130、及びタスクで共通に使用するサブル
ーチン(B、80B)140より構成される。FL領領
域タスク170より構成される。
FIG. 1(A) shows a virtual storage area (Virt) related to the present invention.
ual Storage: Hereafter abbreviated as V8) 100
, main %F2. '1st device (Main Storage)
:hereinafter abbreviated as M-S) 300, secondary storage device (Sec.
(ondary Storage: hereinafter abbreviated as SS)4
00 and the correspondence including the address translation mechanism 200. VSloo, address non-7
& area (hereinafter referred to as VR area) and address translation area (
(hereinafter referred to as the V〆R area), and virtual addresses are assigned in 1-byte units, with the left end as address 0 in the figure. The V=R area further includes O8 (Qperating) where basic software programs are placed.
System)' = 110 and F U (Future[Js
e) Consists of area 120. In addition, the V≠R≠ area is further divided into the F'X area, where the correspondence between vS and MS is fixed after system construction, and the correspondence between VS and MS is established at the start of program execution, and the correspondence between VS and MS is fixed at the start of program execution. After the completion, the FL area is configured to release the defense association. F
The X area is a place that performs a certain unified function and operates in parallel with each other.
'1. "ask)t 50, 1.60, and the global area (
GT, R) 130, and a subroutine (B, 80B) 140 commonly used by tasks. It is composed of FL area task 170.

MSは、OS 110. GLB130. R,S[J
B140゜R,TASK150.N几’T’ASK16
0のFX各り盲域については、第1図(A)中に示した
ようにvSと1対1に対応付けられている。FL領領域
ついては、MS上の・F T、領域よりは小さな領域が
M S上に配置されている。M Sも左端を0として1
バイト中位上昇1昭に実アドレスが割当てられている。
MS is OS 110. GLB130. R,S[J
B140°R, TASK150. N几'T'ASK16
The blind area for each FX of 0 is in one-to-one correspondence with vS as shown in FIG. 1(A). Regarding the FL area, an area smaller than the FT area on the MS is arranged on the MS. MS is also 1 with the left end as 0
A real address is assigned to byte medium rise 1.

寸たV≠几領領域、前記したページ180とPF310
の単位で分割されている。ページ180とPF310も
、それぞれ、vS9MSの左端のものを0として上昇順
に番号付けされている。
Dimension V ≠ control area, above mentioned page 180 and PF310
It is divided into units of. Pages 180 and PF 310 are also numbered in ascending order, with the leftmost page of vS9MS being 0.

次に88400は、VSlooのF’U12(1除く全
領域を格納す石−他、電源OFF時等、MS300の内
容が不定であるせ、斬から該N13上に前記各領域の悄
it作り出すプログラムである立上げプログラムI P
 L (Tnit ial Program J、oa
der)410、VSlooにも入りきれない程犬容忙
なファイル430やNR,TA S K 160の退避
便切420を保持するための領域により構成されている
Next, 88400 is a program that creates VSloo's F'U12 (a stone that stores all areas except 1) on the N13 from the beginning, since the contents of the MS300 are uncertain such as when the power is turned off. The start-up program I P
L (Tnitial Program J, oa
der) 410, a file 430 that is too busy to fit even in VSloo, and an area for holding the evacuation cutter 420 of NR, TASK 160.

5S400も、左端を第0番地として512バイト単位
上昇順にアドレス付けされる。このアドレスをロジカル
セクタアドレス(以後J、 S Aと略す)と呼ぶ。
5S400 is also addressed in ascending order of 512 bytes, with the left end being address 0. This address is called a logical sector address (hereinafter abbreviated as J and SA).

本実施例でに、R,TASKとNRTA8にの2種のエ
リアをタスクに割当てている。両者の相違は、R,’l
’ASKが、各タスクのプログラムが互いに重ガること
なくページを与えられる領域であり、該タスクは前記立
上げ時にI Pb010によって5S400上からMS
300上にロードされる(この声味からR,TASK上
のタスクは常駐タスク(R,es 1dent ’l”
’ask)と呼ばれる)のに対し、NR,TASKは同
時に動作することの無いまたはしなくとも良い複数のタ
スクのプログラムを同一のVSアドレスに対応例けるこ
とにより、VSの有効利用を図った領域であり、タスク
毎に時っている処理の優先レベルにより、立上げ時でけ
力くタスク実行時に、該領域の使用権のF11定が行わ
す11、該優先レベルの劣るタスクは、5S400の前
記退避エリア420に退避され、該優先レベルの高いタ
スクが58400上からへ48300上にロードされる
(この黄味からNR,TASK上のタスクは非常駐タス
ク(Non−11,esident Ta5k)と呼ば
れる)府である。
In this embodiment, two types of areas, R, TASK and NRTA8, are allocated to tasks. The difference between the two is R,'l
'ASK is an area where each task's program is given a page without interfering with each other, and the task is
300 (from this tone, the task on R,TASK is a resident task (R,es 1dent 'l'
In contrast, NR and TASK are areas that aim to make effective use of VS by assigning programs for multiple tasks that do not or need not run simultaneously to the same VS address. Therefore, depending on the priority level of the processing that is occurring for each task, the right to use the area is determined by F11 when the task is executed at start-up.Tasks with lower priority levels are The task is saved to the save area 420, and the task with the high priority level is loaded from above 58400 to 48300 (due to this yellowish color, the task on NR and TASK is called a non-resident task (Non-11, resident Ta5k)). It is prefecture.

従って、vSlooには、管理方法の異なる3種のタス
クが配置されうることになり、FX領域のRTA8に1
50け最モリアルタイム糸件の厳しい高速処理タスク用
に、FL領領域NRTASK170はR,TASK15
0やNRTAST(160のサイズ?越える容量をもつ
タスク用に、まfcF X 側城のNR1’ASK16
0はリアルタイム性、容量ともに、前二者の中間に位置
するタスク用に使用することとする。
Therefore, three types of tasks with different management methods can be placed in vSloo, and one in RTA8 in the FX area.
FL domain area NRTASK170 is R, TASK15 for severe high-speed processing tasks with 50 maximum real-time threads.
For tasks with a capacity exceeding 0 or NRTAST (size 160?
0 is used for tasks that are between the former two in terms of real-time performance and capacity.

ここで、MS上のメモリマツプの変更とそれに伴うvS
とM Sとの対応付けの変化の梯子を第1図(13)に
示す。(1)il−1これまでに説1明したVSの4f
準的々メモリマツプとvSとMSとの対応関係ケ示す。
Here, the memory map change on the MS and the associated vS
Figure 1 (13) shows a ladder of changes in the correspondence between MS and MS. (1) il-1 4f of VS explained so far
A quasi-memory map and the correspondence between vS and MS are shown below.

VS100上のP X %C4域およびFL領領域各構
成領域GLBI  131.R,5UBI  141.
rtTAsK1151、NR,TASKx161.NR
,TASKL171には、将来の客用拡大に備えて、そ
れぞれP U (FLlture(Jse) @4域1
21〜125を設けたメモリマツプとする。MS 30
0との対応は、これらのF’U領域を除いたVS 10
0上で有効な領域をMS上にFX領域、FT、領域とし
て予め割当てておく領域にそれぞれ先頭から対応付ける
ものとする。(1)のメモリマツプにおいで、FX領域
のFU領域121゜123、124に新にC+ T、 
B 2132. R,5UB2 142゜R,TA8に
152を登録すると(2)に示すようなメモリマツプに
なる。即ち、それまでのF U領域121゜123.1
24は、それまで2pきであったMS領域321の先頭
から対応付けられる( 332,342゜352)。こ
の(2)のメモリマツプにおいて、MS上のR,TAS
KI  151を拡張しようとすると、(3)に示すよ
うなメモリマツプrCなる。即ち、■5100上は、F
X領域としてのFU領域124には新しいTLTASK
i け収容しきれいために、FL領領域して確保し7て
あったFU領域125の一部を改めてFX炉域とし、そ
こをR,TA8に1 153とし、それ寸でのRTAs
Kl  151はFU領域126とする。
P X %C4 area and FL area each constituent area GLBI on VS100 131. R,5UBI 141.
rtTAsK1151, NR, TASKx161. N.R.
, TASKL171 has P U (FLlture (Jse) @4 area 1) in preparation for future customer expansion.
21 to 125 are provided as a memory map. MS 30
The correspondence with 0 is VS 10 excluding these F'U areas.
It is assumed that the valid areas on 0 are associated with areas previously allocated as FX area, FT, and area on MS from the beginning. In the memory map of (1), new C+T,
B 2132. If 152 is registered in R,5UB2 142°R,TA8, the memory map will be as shown in (2). That is, the FU area up to that point was 121°123.1
24 is associated from the beginning of the MS area 321, which was previously 2p (332, 342° 352). In this (2) memory map, R, TAS on the MS
If an attempt is made to expand the KI 151, the memory map rC will be as shown in (3). That is, on ■5100, F
The FU area 124 as the X area has a new TLTASK.
In order to accommodate and keep clean, a part of the FU area 125, which was set aside as the FL area, was repurposed as the FX reactor area, and it was set to R, TA8 with 1153, and RTAs at that size were set as the FX reactor area.
Kl 151 is assumed to be the FU area 126.

また、]’V18300との対応付けは、それまでのR
,TASK 1に対応付けられていたMS領域353と
FX領琥として割当てられていたへ48 領域でそれま
で空きであった領域354、およびTi’L領域として
割当てられていたMS領域でそのときに空きテ、% ツ
た領域355をMS上(DRTASKI  153に対
応付けることにする。
Also, the correspondence with]'V18300 is
, the MS area 353 that was associated with TASK 1, the area 354 that was previously vacant in the He48 area that was allocated as the FX Ryoyu, and the MS area that was allocated as the Ti'L area at that time. The empty area 355 will be associated with the DRTASKI 153 on the MS.

j′−1上のようにメモリマツプを変更すれば、本発明
の目的は達せられることとなる。
If the memory map is changed as above for j'-1, the object of the present invention can be achieved.

第2図に本実施例の適用対象である計算機システムの全
体ハードウェア構成を示′す。計算機システムは、前記
MS 3001該MSを制御する主記憶制御装置(MC
Uと略す)500.該MS上の機械命令を解読し実行す
る機能をもつジョブプロセッサ(JOBP、と略す)7
00.前記5S400、該SSを制御するファイルコン
トロール装動(FCEと略す)890、前記JOBP7
00よりの指示に基づき該FCEを通してWI記S S
 4 (10ど前記MS300とのデータ転送2行うフ
ァイルプロセッサ800(FCPと略す)、前記λ[C
O200、JOBP700.FCP800との間を結び
データ転送子Pを提供するシステムバス(SFlrJS
と略す)610、および該8BUS!/−制御するシス
テムバス制御装置(SBCと略す)600により構成さ
れる。更にJOBP700は、MCU300にアクセス
対象vSアドレスを指示するためのメモリアドレスレジ
スタ(MARと略す)710、IJ−)’/ライト用の
データを格納するデータレジスタ(D R,と略す)7
30.MCU300やFCP800を制御するための一
連のフリップフロップ群(FFと略す)720、論理、
算術、シスト演算等の演算機能をもつ演嘗ユニツ)(A
I−Uと略す)740、次に実行すべき機械命令の格納
されているVBアドレスを示すプログラムカウンタ(P
Cと略す>780、#算時に用いられる汎用レジスタ群
(GRと略す)790、機械命令を解読し、どの様な処
理を行えばよいかを記憶する制御メモリ(WO2と略す
)750、および該wcs上の次に実行すべきアドレス
を示すマイクロプログラムカウンタ(MPCと略す)7
60.および前記MS300の情報をアクセスする時間
を短縮するために設けたキャッシュメモリ(CACHE
と略す)770によシ構成される。
FIG. 2 shows the overall hardware configuration of a computer system to which this embodiment is applied. The computer system includes a main memory controller (MC) that controls the MS 3001.
(abbreviated as U) 500. A job processor (abbreviated as JOBP) 7 that has the function of decoding and executing machine instructions on the MS
00. The 5S400, the file control equipment (abbreviated as FCE) 890 that controls the SS, and the JOBP7
WI Note S S through the FCE based on instructions from
4 (10) A file processor 800 (abbreviated as FCP) that performs data transfer 2 with the MS 300, the λ[C
O200, JOBP700. A system bus (SFLrJS
) 610, and the 8BUS! /- Consists of a system bus control device (abbreviated as SBC) 600 for controlling. Furthermore, the JOBP 700 includes a memory address register (abbreviated as MAR) 710 for instructing the MCU 300 to access the target vS address, and a data register (abbreviated as DR) 7 for storing write data.
30. A series of flip-flops (abbreviated as FF) 720, logic, for controlling the MCU 300 and FCP 800;
Operator unit with arithmetic functions such as arithmetic and cyst calculation
(abbreviated as I-U) 740, a program counter (P
A general-purpose register group (abbreviated as GR) 790 used during # calculations, a control memory (abbreviated as WO2) 750 that decodes machine instructions and stores what kind of processing to perform, and Micro program counter (abbreviated as MPC) 7 indicating the next address to be executed on wcs
60. and a cache memory (CACHE) provided to shorten the time to access information in the MS300.
) 770.

前記FCP800もJOBP700  と類似の構成で
ありALU840.WC8850,MPC860’r&
つ。但し、前記M S 300fの機械命令を実行する
機能は無いためPC780は持たずに、その代りに88
400とMS300とのデータ転送速度の違いを吸収す
るためのデータ転送用バッファ870、および前記FC
E890との間のデータ転送を制御するための人出力制
御回路880を持っている。
The FCP800 also has a similar configuration to the JOBP700, and has an ALU840. WC8850, MPC860'r&
One. However, since it does not have the function of executing the machine instructions of the MS 300f, it does not have a PC 780 and instead has an 88
a data transfer buffer 870 for absorbing the difference in data transfer speed between MS 400 and MS 300, and the FC
It has a human output control circuit 880 for controlling data transfer to and from the E890.

次にMCU300は、MS 300との入出力バッファ
レジスタ550、vSアドレスレジスタ(VARと略す
)530、実メモリアドレスレジスタ(M A R,と
略す)520.アドレス変換用演W、ユ= ット(AT
Uと略す)580.該A’[’Uがアドレス変換を行う
際に参照するアドレス変換バッフ7(’]’LBと略す
)510XV=l(、領域境界レジスタ(VEQRと略
す)560.ページテーブルインデックスの先頭アドレ
スを格納しておくページテーブルインデックスオリジン
レジスタ(PTIORと略す)5701及び前記JOB
P700゜FCP800のli”F’720に相当する
制御フリップ70ツブ群540より構成される。
Next, the MCU 300 has an input/output buffer register 550 with respect to the MS 300, a vS address register (abbreviated as VAR) 530, a real memory address register (abbreviated as MAR) 520 . Address conversion function W, unit (AT
(abbreviated as U) 580. Address translation buffer 7 (abbreviated as LB) 510 The page table index origin register (abbreviated as PTIOR) 5701 and the JOB
It is composed of control flip 70 knob group 540 corresponding to li"F'720 of P700°FCP800.

本図の構成において、JOBP700T P C780
の指す命令をWC8750に従い実行した結果、M S
 300を参照する場合の手順を以下に述べる。
In the configuration shown in this figure, JOBP700TPC780
As a result of executing the instruction pointed to in accordance with WC8750, M S
The procedure for referring to 300 will be described below.

まず該JOBPはVAR,710にアクセスすべきVS
アドレスをセットし、FF’720に参照する旨の情報
をセットする。MCU300け、この信号k F F 
540 K 受ケル(!: V A R,530K V
 S 7ドレスを取込み、AT0580を起動する。該
A TUハVEQR560,PT、TOR570,TL
B510 e参照し、実アドレスを求め、MAR520
にセットし、N4 S 300を起動し、該M A R
で指定されるアドレスのデータを取出し、人出カバッフ
ァレジスタ550にセットし、データが取出されたこと
をFF540に表示する。前記、JOBP700H1該
表示をF’F720に受取ると、該人出カバッファレジ
スタ550よりDR,7301/l照データを取込み、
一連のMS参照処理を終える。
First, the JOBP should access VAR, 710.
Set the address and set the information to refer to FF'720. MCU300, this signal k F F
540 K Ukekel (!: V A R, 530K V
Load S7 address and start AT0580. The ATUHA VEQR560, PT, TOR570, TL
Refer to B510e, find the real address, and MAR520
, start the N4 S 300, and select the M A R
The data at the address specified by is retrieved, set in the turnout buffer register 550, and the fact that the data has been retrieved is displayed on the FF 540. When the display of JOBP700H1 is received in F'F720, the data of DR,7301/l is fetched from the turnout buffer register 550,
A series of MS reference processing is completed.

第3図に、前記V8100上のos領域110に配置さ
れ、本発明に係る制御テーブルと制御プログラムを示す
FIG. 3 shows a control table and a control program according to the present invention, which are arranged in the OS area 110 on the V8100.

制御テーブルは、多段のリスト構造をしておシ、最上位
レベルのO8共通ブロック(O8CBと略す)10の下
に、PTIX(ページテーブルインデックス)20、P
FQ、(ページフレーム待ち管理テーブル)40、RQ
PB(タスク実行待ちポインタブロック)50.TCB
 (タスク制御fllブロック)60、ACT (xリ
ア制副テーブル)701PPCB(ページフレーム制゛
剖ブロック)90があり、更に、PTIX2oの下にP
T(ページテーブル)30、PF’Q40の下にリスト
構造のP F ’I”・(べ−シフレ−ムチ−プル)8
0とT CB 60、R,QPB50の下にリスト構造
の’Jl’CB60がある構造をしている。
The control table has a multi-level list structure, with PTIX (page table index) 20, P
FQ, (page frame waiting management table) 40, RQ
PB (Task Execution Waiting Pointer Block) 50. T.C.B.
There are (task control flll block) 60, ACT (x real control sub table) 701, PPCB (page frame analysis block) 90, and furthermore, under PTIX2o there are P
Below T (page table) 30 and PF'Q40, there is a list structure of PF'I'' (basic frame team) 8
It has a structure in which a list structure 'Jl' CB 60 is located below 0, T CB 60, R, and QPB 50.

更に08CBIOHlV S 100 上(7)FH?
7 )’t−スに配、(べされ、第1図(A)にて説明
したV = R,の最終ページアドレスを示すVEQR
ll 、PTT(”)R12゜PEQ、40. R,Q
PB50 、TCB60. ACT70. Pに’CB
90の先頭アドレスを示すTPPEQ]、3.TPRQ
、PB14、’J”P’l’CB15.TPACT16
.TPPFCB97の各フィールド、及び、FI、領域
の先頭VSアドレスを示すFXFT、RV17、P L
領域の先頭実アト1/スを示−1FXFLP、MlB 
、λ1Sの最終実アドレスを示すA4A XIV/Is
 19、VSの最終アドレスを示すMAXVS99.1
7’T、領域にて動作するプログラムの發大容−ち1(
ページ数)(即ちF T、領域として最低限必要なMS
容゛計(PF’数))を示すMIN、F’LPN98の
各フィールドより構成される。
Furthermore, 08CBIOHlV S 100 (7) FH?
7) VEQR indicating the final page address of V = R, which is located in the
ll, PTT('')R12゜PEQ, 40.R,Q
PB50, TCB60. ACT70. P to 'CB
TPPEQ indicating the start address of 90], 3. TPRQ
, PB14, 'J'P'l'CB15.TPACT16
.. Each field of TPPFCB97, FI, FXFT indicating the start VS address of the area, RV17, P L
Indicates the first real address of the area -1FXFLP, MIB
, A4A XIV/Is indicating the final real address of λ1S
19. MAXVS99.1 indicating the final address of VS
7'T, Development of a program that operates in the area - 1 (
number of pages) (i.e. F T, minimum required MS as area
It is composed of fields MIN and F'LPN98, which indicate the total capacity (number of PF').

制御プログラムは、前記VS100上の各領域を管理す
る機能をもつエリア登録1’ill除プログラム1、前
記R,TASK150、NR,TASK160,170
についてタスクとして実行させるための制御テーブルを
作成或いは解放する神仙をもつタスク生成IQ’i’除
プログラム2,2で作成したタスクを起動或いは終了さ
せる機能をもつタスク起動終了プログラム3、起動要求
がかけられている複数のタスクのうちから実行可能で且
つ最も優先レベルの高いものをf択し、該タスクに制御
を移す機能全もつタスクディスパッチャ(DISPと略
す)4、該DISF’より呼ばれ、該タスクがPL領領
域NR,TASK170である場合にペー2180とP
F’310との対応付けおよび対応の解除を行う機能を
もつMS獲得解放プログラム5を設ける。
The control programs include the area registration 1'ill removal program 1 having the function of managing each area on the VS 100, the R, TASK 150, NR, TASK 160, 170;
Task generation IQ'i' removal program 2, which has the ability to create or release a control table to be executed as a task, and a task start/end program 3 which has the function of starting or terminating the task created in 2; A task dispatcher (abbreviated as DISP) 4, which has the function of selecting an executable task with the highest priority level from among a plurality of tasks and transferring control to that task, is called by DISF' and has the function of transferring control to that task. If the task is PL area NR, TASK170, page 2180 and P
An MS acquisition release program 5 is provided which has a function of associating with F'310 and canceling the association.

第4図に、前記MCU300内のTL1351.0゜お
よび前記O8領域110内の制御テーブル、pT工oa
t2.PTIX20.PT30.ppQ4o、PQPB
50、TCB60.ACT70.PFT80.PFCB
90 の構成を示す。各テーブルの左端に付された値は
フィールドの相対バイト位置を示す。本実施例では、v
Sアドレスは32ビツト(4バイト)巾、ページサイズ
は2048バイトであることを前提とじている。
FIG. 4 shows the TL1351.0° in the MCU 300, the control table in the O8 area 110, and the control table in the O8 area 110.
t2. PTIX20. PT30. ppQ4o, PQPB
50, TCB60. ACT70. PFT80. P.F.C.B.
90 configuration is shown. The value attached to the left end of each table indicates the relative byte position of the field. In this example, v
It is assumed that the S address is 32 bits (4 bytes) wide and the page size is 2048 bytes.

TLB510は1024エントリのテーブルを2セツト
もち1エントリが1ページに対応したテーブルで、VS
アドレスの第11〜20ビツトのページ番号(VPNと
略す)により該TLBのエントリ番号を求めてアクセス
される。TLB510の構成は、ページフレーム番号P
FN511、該ページのアクセス保蝕用情報PRT5]
、2、VSアドレスの第1〜10ビツト目(IMBfg
にVSを切ったときの番号)に相当するVA513、本
TLBの有効無効の判定ビットv514.2セツトのT
LBの書換え制量用ピッ) R,51,5によりなる。
TLB510 has two sets of 1024-entry tables, where one entry corresponds to one page.
The entry number of the TLB is accessed using the page number (abbreviated as VPN) of the 11th to 20th bits of the address. The configuration of TLB 510 is as follows: page frame number P
FN511, access maintenance information for the page PRT5]
, 2. 1st to 10th bits of VS address (IMBfg
VA513 corresponding to the number when VS is turned off), T of the valid/invalid determination bit v514.2 of this TLB
LB rewriting control pin) Consists of R, 51, and 5.

PTIOR12とPTIX20は同一構成で、PTIX
はVSエリアIMB毎に1エントリ用意される。
PTIOR12 and PTIX20 have the same configuration, and PTIX
One entry is prepared for each VS area IMB.

これらは、有効指示フラグV21、PTIX20或いは
PT30の先頭VSアドレスと長さを示すTPPT(I
)およびLENGTI−323により構成される。
These are the valid instruction flag V21, TPPT (I) indicating the start VS address and length of PTIX20 or PT30.
) and LENGTI-323.

PT30は、1ページにつき1エントリ用意され、有効
指示フラグV31、ページフレーム番号PFN32、ア
クセス保護情報PRT 33により構成される。
PT30 has one entry prepared for each page, and is composed of a valid instruction flag V31, a page frame number PFN32, and access protection information PRT33.

PFQ40は、PFTの総奏ケース数PFCT41、空
きPFT先頭ケースVSアドレス43、空きPPT最終
ケースvSアドレス44、占有中PF’T先ヴ百、最終
ケースVSアドレス45,46、NRTASK起動時に
前記MS獲得制狽1プログラム5にて空きPFT80が
不足していると判断した場合に、該タスクを待ち状態と
するための待ち行列管理エリア47.48 (47,4
8は各々待ちTCBの先頭、最終ケースvSアドレスを
指す。
PFQ40 is the total number of PFT cases PFCT41, free PFT first case VS address 43, free PPT last case VS address 44, occupied PF'T destination V100, final case VS address 45, 46, and the above MS is acquired when NRTASK is activated. Queue management area 47.48 (47,4
8 indicates the first and last case vS address of each waiting TCB.

以下、リスト構造のテーブルは全て本テーブルの如く、
先頭、最終ケースのVSアドレスにより管理するものと
する)によ多構成される。
Below, all list-structured tables are like this table,
(Managed by the VS address of the first and last case).

RQ、PB50は、TCB60の待ち行列ヘッダ51.
52によ#)構成され、タスクの優先レベル毎に1エン
トリ用意する。前記タスク起動プログラム3は、該RQ
PBの中で起動すべきタスクによシ決る優先レベルに対
応するRQPBを管理テーブルとする実行待行列の最後
尾に該タスクのTCB6055接続する。タスク終了プ
ログラム3は、該タスクの実行終了時に、該実行待行列
より該TCBを取りはずす。
RQ, PB50 is queue header 51. of TCB60.
52), with one entry prepared for each task priority level. The task activation program 3 executes the RQ
The TCB 6055 of the task is connected to the end of the execution queue whose management table is the RQPB corresponding to the priority level determined by the task to be started in the PB. The task termination program 3 removes the TCB from the execution queue when the execution of the task ends.

TCB60はタスク毎に用意され、前記I(QPB50
に接続するためのポインタR,QFP61. R,QB
P62、PFQのPFWFP47.PFWBP48等の
リソース待ち状態になる場合に接続されるソース待ちを
ポインタ63,64、タスク番号65、待ち状態フラグ
E66−1、その他制御フラグ66、優先レベル67−
1、アクセス保護情報67、その他)制御情報68によ
り構成される。
TCB60 is prepared for each task, and the I(QPB50
Pointer R for connecting to QFP61. R,QB
P62, PFQ's PFWFP47. Pointers 63, 64 indicate the source wait state to be connected when the resource wait state such as PFWBP48 occurs, task number 65, wait state flag E66-1, other control flag 66, priority level 67-
1, access protection information 67, and other) control information 68.

ACT70は、V8100上の各領域の各モジュール(
各II’(SUB、 GLB、タスク、等)毎に用意さ
れ、次テーブルのvSアドレスを指すポインタACTF
P71、ACTBP72.モジュール識別情報IDES
TIF−IER73,モジュールが配置されるVS先頭
アドレ、7.VA74.先頭SSアドレスLSA75.
モジュールのサイズ(バイト数)SIZE76、その他
の制御情報77によ多構成される。
ACT70 has each module in each area on V8100 (
Pointer ACTF prepared for each II' (SUB, GLB, task, etc.) and pointing to the vS address of the next table.
P71, ACTBP72. Module identification information IDES
TIF-IER73, VS start address where the module is placed, 7. VA74. First SS address LSA75.
It is composed of module size (number of bytes) SIZE 76 and other control information 77.

PξT80は、前記MS300のF L領域のPF数だ
け用意され、次テーブルのvSアドレスをさすポインタ
FPNT81.BPNT82.ページ番号VPN83 
、ページフレーム番号PFN84により構成される。
PξT80 is prepared as many as the number of PFs in the FL area of the MS 300, and a pointer FPNT81. BPNT82. Page number VPN83
, page frame number PFN84.

PFCB90は、前記MS300のPFの使用状況を管
理するもので、未だVSlooのどのページにも固定的
に対応付けられていないFX領域用P 、F数EPPN
X91、同FL領謔用PF数EPFNL92、各PFの
使用状態(既にVSlooに固定的に対応t1けられて
いるか否か)をビット対応にPF番号順に管理するBI
TMAP93より構成される。
The PFCB90 manages the usage status of the PF of the MS300, and is used to store P for the FX area, F number EPPN, which is not yet fixedly associated with any page of VSloo.
X91, the number of PFs for the same FL claim EPFNL92, BI that manages the usage status of each PF (whether it has already been fixedly corresponded to VSlooo or not) in the order of PF number corresponding to bits
It is composed of TMAP93.

次に、第2図、第3図、第4図を用いて、前記MCU 
500におけるアドレス変換方法について説明する。
Next, using FIGS. 2, 3, and 4, the MCU
The address conversion method in 500 will be explained.

該M CtJでは、捷ず、VAR530に与えられたv
SアドレスとVEQR,560とを比較し、前者の方が
小さいか等しい場合、若しくはPTIOR,570のV
ピット21が無効を示している場合には、アドレス変換
を行わずMAR520にはV A R,530の第9〜
31ピツトがそのままセットされる。従ってVS100
上ノV=R,領域ij VEQR560(D 示すアド
レスより小さいため、アドレス変換は行われず、そのま
4MS 300に対応付けられる。上記判定の結果、V
SアドレスがVEQR1560より大きく、且つPTI
OR570のVピット2,1が有効であることを示して
いる場合は、VAR530の第11〜20ビツトよりT
LB510の該当エイトリを求め、VAR,530第1
〜10ビツトと2セツトあるT L B 510の内の
何れかのVA 513が一致するかどうかチェックする
。一致する堵2合(TLBビット時と呼ぶ)には該TL
BのPFN511をMAR520の第9〜20ビツトに
セラ)L、VARの第21〜31ピツトをMAR,の第
21〜31ピツトにセットしてアドレス変換を終える。
In the M CtJ, v given to VAR530 is not changed.
Compare the S address and VEQR, 560, and if the former is smaller or equal, or the V of PTIOR, 570
If the pit 21 indicates invalidity, address conversion is not performed and the 9th to
31 pit is set as is. Therefore VS100
Upper V = R, area ij VEQR560 (D Because it is smaller than the indicated address, address conversion is not performed and it is directly associated with 4MS 300. As a result of the above determination, V
S address is larger than VEQR1560 and PTI
If V pits 2 and 1 of OR570 indicate that they are valid, T is determined from bits 11 to 20 of VAR530.
Find the corresponding eight of LB510, VAR, 530 1st
It is checked whether any VA 513 of the two sets of TLB 510 with 10 bits matches. When there is a match (referred to as TLB bit time), the corresponding TL
The address conversion is completed by setting the PFN 511 of B to the 9th to 20th bits of MAR 520, and setting the 21st to 31st pits of VAR to the 21st to 31st pits of MAR.

若し、上記判定にて何れのTLBとも一致しなかった場
合(TLBミスピット時と呼ぶ)は次の処理を行う。ま
ずPTIOR570のTPPTI22よ、D PTIX
20 の先頭アドレスを求める。次にLENGTH23
とVAR,の第1〜7ピツトを比較し、後者が小さけれ
は対応するPTIXが存在しないこト全意味するので前
記したページフォールトトスる。前記LENGTH23
がVAR,530の第1〜7ビツトの内容を等しいか大
きい場合は、VAR,のル1〜11ビットよりPTIX
20  の該当ケースアドレスを求めVピット21を判
定する。該Vピットが無効を示していればページフォー
ルトとする。有効であればTP PT 22 によpP
T30の先頭アドレスを求める。次にVAR530の第
12〜16ピツトとPTIX20のLENGTH23を
比較し、先頭と同様にPT30の長さチェックを行う。
If there is no match with any TLB in the above determination (referred to as TLB miss pit), the following processing is performed. First of all, TPPTI22 of PTIOR570, D PTIX
Find the start address of 20. Next LENGTH23
The first to seventh pits of and VAR are compared, and if the latter is smaller, it means that the corresponding PTIX does not exist, so the above-mentioned page fault is thrown. Said LENGTH23
is equal to or greater than the contents of the 1st to 7th bits of VAR,530, then PTIX
The corresponding case address of 20 is found and the V pit 21 is determined. If the V pit indicates invalidity, a page fault is determined. If valid, pP by TP PT 22
Find the start address of T30. Next, the 12th to 16th pits of the VAR 530 are compared with the LENGTH 23 of the PTIX 20, and the length of the PT 30 is checked in the same way as at the beginning.

次に、VAII、 530(7)第12〜20ビツトよ
り該P’Tの該当ケースアドレスを求めVビット31を
判定する。該ビットが無効ならばページフォールトとし
、有効ならば、PFN32をMAR520の第9〜20
ビツトにセットし、下位21〜31ビツトはVAR,5
30の第21〜31ピツトをそのままセットしてアドレ
ス変換を終える。
Next, the corresponding case address of the P'T is determined from the 12th to 20th bits of VAII, 530(7), and the V bit 31 is determined. If the bit is invalid, it is a page fault, and if it is valid, the PFN32 is set to the 9th to 20th bits of the MAR520.
The lower 21 to 31 bits are set to VAR, 5.
Address conversion is completed by setting the 21st to 31st pits of 30 as they are.

以上の説明により明らかなように、該当するPT30の
PFN32にシステムジエネレーション時に予め対応す
るページフレーム番号をセットしておくことにより、ア
ドレス変換を固定としておくことができ、従って前記F
X領域が実現できる。
As is clear from the above explanation, by setting the corresponding page frame number in advance in the PFN 32 of the corresponding PT 30 at the time of system generation, address translation can be fixed, and therefore the
Area X can be realized.

次に、第5図〜第9図に前記1〜5の制illプログラ
ムの処理フローを示す。
Next, FIGS. 5 to 9 show the processing flows of the above-mentioned ill control programs 1 to 5.

第5図(イ)、(B)は、エリア登録プログラム1の処
理フローを示したものである。本プログラムは、エリア
の種別、識別番号、先頭VSアドレス、先頭SSアドレ
ス、容易および制御情報を人力情報とし、ACT70に
それらの情報を設定することにより、FX領域、FL領
領域おけるエリアの登録、増設を行なう。
5(A) and 5(B) show the processing flow of the area registration program 1. FIG. This program uses the area type, identification number, first VS address, first SS address, ease and control information as manual information, and by setting these information in ACT70, registers areas in the FX area and FL area, Perform expansion.

まず、上記人力情報を取込み′1502)、指定された
エリアが最大VSアドレスMAXVS99を超えるかど
うかを判定する(1504)。この結果、該エリアがM
AXV890を超えるものであれば、MS容−敞が不足
しでいる旨をリターン情報として出力しく1548)、
本プログラムの処理を終える。該エリアがMAXVS9
0を超えるものでなければ、次に、該エリアと同−VS
先頭アドレス、容量全包含するエリアが既に登録されて
いるかtAcT(70)をサーチすることにより判定し
く1506)、同一エリアの二重登録を防止する。該エ
リアと一部でもオーバラップするエリアが既に登録済で
あれば、該エリアは登録済である旨乍リターン情報とし
て出力しく1550)、本プログラムの処理を終える。
First, the above human power information is fetched '1502), and it is determined whether the designated area exceeds the maximum VS address MAXVS99 (1504). As a result, the area is M
If it exceeds AXV890, output that the MS capacity is insufficient is output as return information (1548).
Finish the processing of this program. The area is MAXVS9
If it does not exceed 0, then the same - VS as the area
It is determined by searching tAcT (70) whether an area including the entire start address and capacity has already been registered (1506), and double registration of the same area is prevented. If an area that overlaps even partially with the area has already been registered, the area is outputted as return information indicating that it has been registered (1550), and the processing of this program ends.

該エリアが未登録エリアであれば、次に該エリアがFX
領域として登録しようとするものかを入力情報のエリア
種別によシ判定する(1508)。該エリアがFX領域
として登録しようとするものであれば、さらに該エリア
のサイズがPFCf390のIi’X領域用空きPF数
EPFNX91で示されるものに納まるかを判定する(
1510)。該エリアがEPFNX91で示されるサイ
ズに納まるものであれば、以下に示す手順によシ必要な
PFの占有処理とVSのページとMSの該PFとの対応
付は処理を行なう。まず、PFCB90 のBITMA
P93を先頭よりサーチし、空きPF番号を求めると同
時に、該PF番号に相当するビットを使用中表示に設定
する( 151.2 )。次に、登録しようとするVS
アドレスに74応するPT30のアドレスを求d)(1
,514)、該PTのVビット31を設定し、P I”
 N :S 2に先。
If the area is an unregistered area, then the area is FX
It is determined whether the area is to be registered as an area or not based on the area type of the input information (1508). If the area is to be registered as an FX area, it is further determined whether the size of the area falls within the number of free PFs for Ii'X area EPFNX91 of PFCf390 (
1510). If the area falls within the size indicated by EPFNX91, the necessary PF occupancy processing and the association of the VS page with the MS PF are performed according to the procedure shown below. First, BITMA of PFCB90
P93 is searched from the beginning to find an empty PF number, and at the same time, the bit corresponding to the PF number is set to indicate that it is in use (151.2). Next, the VS you are trying to register
Find the address of PT30 corresponding to the address d) (1
, 514), sets the V bit 31 of the PT, and sets the P I”
N: S 2 first.

に求めたPF番号を設定し、PILT33iで匍J 1
fil ・F^”報の一部を設定する(1516)。こ
れらの1512〜1516の処理を、登録し7ようとす
るエリアの容量分についてそのページ数分だけ処理しr
v(1518゜1520)i”t、PIi”CBのE[
JFNX91登何したイr柑(ページ数)分だけ城じて
おく (1522)。次に、未使用のACT70のアド
レスを示しく1560)、該ACTのIDENTIFI
ER73にエリア種別および、1鷹別許号を1没定し、
VA74に先頭vSアドレスを設定し、LSA75に先
U118 Sアドレスを設定し、5IZB76に容量を
設定し、制?I情報77に制御情報を設定する(156
2)。そして、正常終了の旨をリターン情報として出力
しく1564L本10グラムの処理を行える。以上の処
理番′こよシ、1i’ X領域におけるエリアの登録を
行うことができる。
Set the PF number found in , and use PILT33i to
fil ・F^” Set a part of the information (1516). Process these steps 1512 to 1516 for the number of pages corresponding to the capacity of the area to be registered.
v(1518°1520)i”t, E[ of PIi”CB
I'll keep it for the number of pages I've climbed on JFNX91 (1522). Next, indicate the address of the unused ACT 70 (1560), and specify the IDENTIFI of the ACT.
ER73 has been given an area type and one hawk license,
Set the first vS address in VA74, set the first U118 S address in LSA75, set the capacity in 5IZB76, and set the limit? Set control information in I information 77 (156
2). Then, it is possible to process 1564 L pieces and 10 grams by outputting the fact that the process has ended normally as return information. In the above processing number 1i', the area in the X area can be registered.

一方、処理1510にて、登録しようとするFX領域の
エリアサイズがPFCBのEl)FNX91で示される
サイズに納1らない場合(Cは、さらに、EPNX91
+EPFNL92−N11N丁’I、PN98  にて
示されるサイズ内に#’+するかを判定する(1524
)。これは、該エリアがF L領域1で1目いると登録
できるか否かを判定するものである。上記サイズに納ま
らない場合には、へ1BB挙、が不足している旨をリタ
ーン情、銀として出力しく1558)、本プログラムの
処理を終わる。上記サイズに納−まる1合には、まず該
エリアの先頭からBPFNX91にて示されるページ数
分のエリアに°りいて、前述の処理1512〜1522
と同様の処理を行ない、PFCBのBITMAP93と
gppNXc+t、j、−よびl) T 30の設定を
行なう(1526)。次に、該エリアの残シのページに
ついての登録を以下の処理(1530〜1546)によ
り行なう。PF’Q40のEFPN’T’43にて示さ
れる窒きPFT80のアドレスを求め(1530)、該
PFTを空きPFTリストからはずし、OF’PNT4
5で管理される1吏用中PF’Tリストにつなぐ(15
32)。
On the other hand, in process 1510, if the area size of the FX area to be registered does not fit within the size indicated by El)FNX91 of PFCB (C is further
+EPFNL92-N11Nd'I, determine whether #'+ is within the size indicated by PN98 (1524
). This is to determine whether or not the area can be registered as having one eye in FL area 1. If the size does not fit within the above size, the program outputs return information indicating that 1 BB is insufficient (1558) and ends the processing of this program. For a page that fits within the above size, first go to the area corresponding to the number of pages indicated by the BPFN
The same process as above is performed to set the PFCB BITMAP 93 and gppNXc+t, j, - and l)T30 (1526). Next, the remaining pages in the area are registered by the following process (1530-1546). Obtain the address of the closed PFT 80 indicated by EFPN'T'43 of PF'Q40 (1530), remove the PFT from the free PFT list, and select OF'PNT4.
Connect to the PF'T list for 1st official managed in 5 (15
32).

登録しようとするVSアドレスに対応するページ番号を
該PFTのVPN83に設定し、また該当P F Tに
対応するページフレーム番号PFN84を求める(15
36)。PFCB90のBITMAP93をサーチし、
上記PFN84に対応するビラトラ使用中表示に設定す
る(1538)。登録しようとするVSアドレスに関し
て、先に述べた処理514〜516と同様にして、PT
30への各種情報の設定する(1540)。vSアドレ
スを1ペ一ジ分進める(1542)。これらの処理(1
530〜1542)を残りのページ数分だけ繰返し行っ
た(1544)後、P P CBのEPF’NL92 
 をそのページ数分だけ減する(1546)。そして、
ACT70への該エリア情報の登録およびリターン情報
の出カケ先に述べた処理1560〜1564を行ない、
本プログラムの処理を終える。以上により、FX領域に
おけるエリア登録を、FX領域として割当てられている
MS領域だけでなく、FL領領域して割当てられている
MS領域を差しつかえない範囲で用いることにより、行
うことができる。
Set the page number corresponding to the VS address to be registered in the VPN83 of the PFT, and obtain the page frame number PFN84 corresponding to the PFT (15
36). Search BITMAP93 of PFCB90,
The display is set to indicate that the Villa Tiger is in use, which corresponds to the above-mentioned PFN84 (1538). Regarding the VS address to be registered, the PT
Various information is set to 30 (1540). The vS address is advanced by one page (1542). These processes (1
After repeating steps 530 to 1542 for the remaining number of pages (1544), EPF'NL92 of P P CB
is decreased by the number of pages (1546). and,
Registering the area information in the ACT 70 and outputting the return information Performs the processes 1560 to 1564 described above,
Finish the processing of this program. As described above, area registration in the FX area can be performed by using not only the MS area allocated as the FX area but also the MS area allocated as the FL area to the extent possible.

−また、登録しようとするエリアがFL領領域ものであ
れば、さらに該エリアがPFCB90 のEPFNL9
2で示されるサイズに納まるかを判定しく1552)、
上記サイズ内に納まらない場合には、MSの容量が不足
している旨をリターン情報として出力しく1558)、
本プログラムの処理を終わる。
-Also, if the area to be registered is in the FL territory, the area is EPFNL9 of PFCB90.
1552),
If it does not fit within the above size, output a message indicating that the MS capacity is insufficient as return information (1558),
The processing of this program ends.

上記サイズ内に納まる場合には、そのエリアがMINF
I、PH10に示すサイズを越えている場合には該サイ
ズ(ページ数)をMINFI、PH10に設定した上で
(1554,1556)、ACT70へのエリア情報の
登録およびリターン情報の出力を先に述べた処理156
0〜1564にて行ない、本プログラムの処理を終わる
。以上の処理により i、+ L領域におけるエリアの
登録を行うことができる。
If it fits within the above size, the area is MINF
If the size exceeds the size shown in I, PH10, set the size (number of pages) to MINFI, PH10 (1554, 1556), and then register the area information to ACT70 and output the return information. Processing 156
0 to 1564, and the processing of this program ends. By the above processing, areas in the i,+L area can be registered.

第5図■は、エリア削除プログラム2の処理フローを示
したものである。本プログラムは、エリアの種別および
識別番号を人力情報とし、それらの情報に合致した内容
をもつACT70を無効にすることにより、FX領域、
FL領領域おけるエリアの削除を行う。
FIG. 5 (■) shows the processing flow of the area deletion program 2. This program uses the area type and identification number as human information, and disables ACT70 that has content that matches that information.
Delete the area in the FL territory.

まず、人力情報を取込み(1572)、ACT70をサ
ーチし、指だエリアの種別と識別番号に一散するIDh
:NTIF’TE)1.73を持つACT70を求める
(1574)。このとき、該当するACTが見当[らな
ければ(1576)、該エリアは未登録である旨のリタ
ーン打1報を出力しく1602)、本プログラムの処理
を終える。該当するACTがあった場合は、i亥ACT
のIDENTIF’IER73にそのACTが空きであ
ることを示すコードを設定し7た上で(1578)、該
エリアはF”X・4域のものかを判定する(1580)
First, import the human information (1572), search for ACT70, and check the IDh for the type and identification number of the finger area.
:NTIF'TE) 1.73 is determined (1574). At this time, if the corresponding ACT is not found (1576), a return message indicating that the area is unregistered is output (1602), and the processing of this program ends. If there is a corresponding ACT, i-ACT
After setting a code indicating that the ACT is empty in IDENTIF'IER73 (1578), it is determined whether the area is in the F"X 4 area (1580)
.

該エリアがFX領域のものである場合は、該エリアのV
Sアドレス、容量を該ACTより求め(1582L以下
の処理によってVS上の該当ページおよびMS上の該当
PFの占有解除を行う。まず、削除しようとするVSア
ドレスに対応する1) T 30のアドレスを求め(1
584)、該FTのVビット311?Cリセットし、P
F’N32より対応するPF番号を求める(1586)
。次いで、PPCB90のBITMAP93上で、上記
にて求めfcPF番号に対応するビットを空き表示に設
定する(1588)。
If the area is in the FX area, the V of the area
Determine the S address and capacity from the ACT (1582L and below process to release the occupation of the corresponding page on the VS and the corresponding PF on the MS. First, find the address of 1) T 30 corresponding to the VS address to be deleted. Search (1
584), V bit 311 of the FT? C reset, P
Find the corresponding PF number from F'N32 (1586)
. Next, on the BITMAP 93 of the PPCB 90, the bit corresponding to the fcPF number obtained above is set to indicate an empty space (1588).

烙らに、該当PFがFX領域用のものかを判定し、(1
590)、それがFX領域用のものであれば、PF’C
BのEPFNX91に1を加算する。もしそれがFX領
域用のものでなければ、PFQ40の0FPNT45に
て示される使用中PFTリス)tサーチし、該当VSア
ドレスに対応しているPFT80を求め(1610)、
言亥PFTをP Ii’ Qの■じli”))NT43
にて示される空きPFTリストに登録し、EP、FNI
、92に1を加算する(1612)。次いで、VSアド
レス&1ページ分進め(1594)、削除しようとする
エリア各社(ページ数)分について上記の処理(158
4〜1594)を繰返し行い、最後に正常に終了した旨
をリターン情報として出力しく1600)、本プログラ
ムの処理を終える。以上の処理によシ、FX領域のエリ
アの削除を行うことができる。
Determine whether the relevant PF is for the FX area, and (1
590), if it is for the FX domain, PF'C
Add 1 to EPFNX91 of B. If it is not for the FX area, search the in-use PFT list indicated by 0FPNT45 of PFQ40 to find the PFT80 corresponding to the corresponding VS address (1610),
PFT P Ii'Q ■jili")) NT43
Register in the vacant PFT list shown in
, 92 is added by 1 (1612). Next, proceed by VS address & 1 page (1594), and perform the above process (158) for each area company (number of pages) to be deleted.
Steps 4 to 1594) are repeated, and finally, a message indicating successful completion is output as return information (step 1600), and the processing of this program ends. Through the above processing, the FX area can be deleted.

一方、削除しようとするエリアがFL領領域ものである
場合には、該エリアに対応するACTよりその容量を求
め(1604)、MINFLPN98  と等しいかを
判定する(1606)。このとき、該エリアの容量がM
INFLPN98 と等しければ、有効なACTをサー
チし、FL領領域エリアで最大の工リアサイズ?もつも
のを求め、そのエリアサイズを1ν1INI”I、PN
98に設定しく1608)、正常終了の旨?リターン情
報として出力しく1609)、本プログラムの処理を終
える。才だ、該エリアの容量がMINPT、PN98 
 と等しくなければ、MINFLPN98はそのままで
、正常終了の旨t IJターン情報として出力する(1
609)だけで、本プログラムの処理を終える。以上の
処理により、FL領領域エリアの削除を行うことができ
る。
On the other hand, if the area to be deleted is an FL area, its capacity is determined from the ACT corresponding to the area (1604), and it is determined whether it is equal to MINFLPN98 (1606). At this time, the capacity of the area is M
If it is equal to INFLPN98, search for a valid ACT and find the maximum ACT size in the FL domain area. Find the area size of 1ν1INI”I,PN
Should I set it to 98 (1608), indicating normal completion? This is output as return information (1609), and the processing of this program ends. The capacity of the area is MINPT, PN98.
If it is not equal to , MINFLPN98 is left as it is and output as IJ turn information indicating normal completion (1
609), the processing of this program ends. Through the above processing, the FL territory area can be deleted.

第6図(5)に、タスク生成プログラム2のフローを示
したものである。本プログラムは、タスク番号、悴先レ
ベル、保護情報、プログラム清報を人力しく910)、
それらをもとにTC860に各種情報を設定する処理(
911〜915)を行なう。特産処理913,914て
゛は、入力されたプログラム情報(プログラムアドレス
、容量)より該タスク番号に対応するACT’7(l求
め、そのACT情報の一部kTcBに設定する。これら
の情報は、FL領領域タス7tディスパッチするときに
、F L ’vfi域のページとPFとの対応付けを行
うのに用いる。
FIG. 6(5) shows the flow of the task generation program 2. This program manually displays task numbers, destination levels, protection information, and program updates (910),
Process of setting various information on TC860 based on them (
911 to 915). Special processing 913 and 914 calculates the ACT'7 (l) corresponding to the task number from the input program information (program address, capacity) and sets a part of the ACT information in kTcB. When dispatching area task 7t, it is used to associate pages in the FL'vfi area with PFs.

第6図(B) H、タスク削除プログラム2のフローを
示すものである。本プログラムは、タスク番号を人力し
く916)、TCB60を空きにする処理(917,9
18)を行う。
FIG. 6(B) H shows the flow of the task deletion program 2. This program manually sets the task number (916) and vacates the TCB60 (917, 9).
18).

第7図(A)は、タスク起動プログラム3のフローを示
すものである。本プログラムは、タスク番号を人力しく
920)、対応するタスクの優先レベルを求め(921
,922)、RQPB50 にて管理される該優先レベ
ルの実行待行列にTCB60を接続する処理(923,
924)を行う。
FIG. 7(A) shows the flow of the task activation program 3. This program manually inputs the task number (920) and calculates the priority level of the corresponding task (921).
, 922), a process of connecting the TCB 60 to the execution queue of the priority level managed by the RQPB 50 (923,
924).

第7図(B)は、タスク終了プログラム3のフローを示
すものである。本プログラムは、自タスクのTCB60
より優先レベルを求め(925)、該TCBを実行待行
列よシはずしく926,927>、他のタスクに制御を
移す為に、ディスパッチャ4に制御を移す処理(928
)を行う。このとき、該タスクがPL領領域ものであれ
ば、MS解放プログラム5を呼び出して、該タスクが占
有していたPFを解放することを行う(984,986
)。
FIG. 7(B) shows the flow of the task termination program 3. This program uses TCB60 of its own task.
The priority level is determined (925), the TCB is removed from the execution queue (926, 927), and control is transferred to dispatcher 4 in order to transfer control to another task (928).
)I do. At this time, if the task is in the PL area, the MS release program 5 is called to release the PF occupied by the task (984, 986
).

第8図は、ディスパッチャ4のフローを示すものである
。本プログラムは、最も優先レベルの高いRQPB50
の実行待行列から順にTCB60をサーチし、Eフラグ
がOFFであるものを求め(930〜934)、該タス
クに制H’c移す処理(941)を行う。このとき、該
タスクがFL領領域タスクか否かケ該TCB60に対応
するACT70のIDENTIFIEFL73より判定
しく935〜937L FL領領域タスクであれば、M
S獲得プログラム5を呼び出しく938,939)、該
タスクが動作するに必要なVS上ベーンとMS上PFと
の対応付けを行った後、該タスクに制御を移す。
FIG. 8 shows the flow of the dispatcher 4. This program is based on RQPB50, which has the highest priority level.
The TCB 60 is sequentially searched from the execution queue of , and those whose E flags are OFF are found (930 to 934), and a process of transferring control to the task (941) is performed. At this time, whether the task is a FL domain task or not is determined from IDENTIFIEFL73 of ACT70 corresponding to the TCB60.
After calling the S acquisition program 5 (938, 939) and associating the vane on the VS and the PF on the MS necessary for the task to operate, control is transferred to the task.

第9図CA)?−1,、MS獲得プログラム5のフロー
を示したものである。本プログラムはタスク番号とVS
エリアの先頭アドレスとページ数を人力しく950)、
空きPFT80が十分にあるか否かを判定しく951)
、十分にあれば、空きPFT80を求めて使用中とした
後(952〜954)、VPN83を設定しく955)
、対応するPT30を作成する処理(956,957)
を全ページについて行ない(958,959)、正常終
了とする。前記PFQの判定において、空きPJ’i’
T80の数が十分でない場合には、核タスク牙待ち状態
としく961〜963)、PF数の不足をリターン情報
として報告しく964)、本プログラムの処理を終える
Figure 9 CA)? -1, shows the flow of the MS acquisition program 5. This program uses task numbers and VS
Manually enter the start address of the area and the number of pages (950),
Determine whether there is enough free PFT 80 (951)
, If there is enough, find a free PFT 80 and mark it as in use (952-954), then set the VPN 83 (955)
, processing to create a corresponding PT30 (956, 957)
is performed for all pages (958, 959), and the process ends normally. In the above PFQ determination, vacant PJ'i'
If the number of T80s is insufficient, the program enters a nuclear task waiting state (961 to 963), reports the shortage of PFs as return information (964), and ends the processing of this program.

第9図(B)は、MS解放プログラム5のフローを示す
ものである。本プログラムは、Vsエリアの先頭アドレ
スとページ数を入力しく970)、対応するPFT80
を空きとする処理(973゜974)および対応するP
T30を空きとする処理(980,982)を全ページ
について行い、更に、空きPF待ちのTCB60がある
か否かを判定しく977)、もしあれば、それらのタス
クの待ちを解除する処理(978)を行う。
FIG. 9(B) shows the flow of the MS release program 5. This program requires inputting the start address and page number of the Vs area (970), and the corresponding PFT80.
Processing to empty (973°974) and corresponding P
The process of making T30 free (980, 982) is performed for all pages, and it is further determined whether there is any TCB60 waiting for a free PF (977), and if there is, the process of releasing those tasks from waiting (978). )I do.

本実施例によれば、以上に述べた1〜5のプログラムを
用いることによシ以下の効果がある。即ち、エリア登録
プログラムおよびエリア削除プログラム1を実行するこ
とにより、VS上における各種エリアの新規登録、削除
、配置変更に半う登録7);容易に可能となり、メモリ
マツプの変更に伴うプログラムやデータの再ローディン
グ等の作業(−2必要最小限にとどめることができる。
According to this embodiment, the following effects can be obtained by using the programs 1 to 5 described above. In other words, by executing the area registration program and area deletion program 1, it becomes possible to easily register new areas, delete them, and change the layout of various areas on the VS (7); and the program and data changes caused by changes in the memory map can be easily performed. Work such as reloading (-2) can be kept to the necessary minimum.

また、テイスバツチ4とMS獲得プログラムおよびMS
解放フログラム全実行することにより、タスク実行時に
MSとVSとの対応付けを行うPL領領域サポートが可
能になる。
In addition, Taste Batch 4 and MS acquisition program and MS
By fully executing the release program, it becomes possible to support the PL area by associating MS and VS during task execution.

本発明によれば、仮想記憶領域をアドレス変換同定領域
(FX領域)とアドレス変換可変領域(1’i” L領
域)に分割して管理し、FL領領域適宜FX領域として
エリアを登録可能にできるため、メモリマツプを変更す
る際に必要となるプログラムのゼ)ローディング等の作
業量を最小にし、且つ仮想記憶領域ならびに主記憶装置
の有効利用を計ることができる、等の効果がある。
According to the present invention, the virtual storage area is divided and managed into the address conversion identification area (FX area) and the address conversion variable area (1'i'' L area), and the area can be registered as an FX area as appropriate in the FL area. Therefore, it is possible to minimize the amount of work required for program loading when changing the memory map, and to make effective use of the virtual storage area and main storage.

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

第1図(5)は、本発明に四する仮想記憶管理方式にお
けるアドレス変換方式を示す図である。第1図(B)は
、本発明に関する目的と効果を示すためのメモリマツプ
を示す図である。第2図は、本発明が適用される計′r
4.機システム構成の一実施例を示す図である。第3図
は本発明に用いられる制御テーブル、プログラムの一実
施例を示す図である。 第4図は、本発明に用いられる制御テーブルのフィール
ド構成の一実施例である。第5図は、本発明に用いるエ
リア登録プログラム、エリア削除プログラムの一実施例
を示す。第6図は、本発明に用いるタスク登録プログラ
ム、タスク削除プログラムの一実施例を示す。第7図は
、本発明に用いるタスク起動プログラム、タスク終了プ
ログラムの一実施例を示す。第8図は、本発明に用いる
ディスパッチャの一実施例を示す。第9図は、本発明に
用いるMS獲得プログラム、MS解放グログ41 図(
A) 第 1  閏 (B) 第 2 図 第 3 図 閉 4− 暖(B) l//) 第 5 口(A) v 5  図 (B) 第 6 図 (A)
FIG. 1(5) is a diagram showing an address translation method in the virtual memory management method according to the fourth aspect of the present invention. FIG. 1(B) is a diagram showing a memory map for showing the purpose and effects of the present invention. Figure 2 shows a system to which the present invention is applied.
4. 1 is a diagram showing an example of a machine system configuration. FIG. 3 is a diagram showing an example of a control table and program used in the present invention. FIG. 4 is an example of the field configuration of a control table used in the present invention. FIG. 5 shows an example of an area registration program and an area deletion program used in the present invention. FIG. 6 shows an embodiment of a task registration program and a task deletion program used in the present invention. FIG. 7 shows an embodiment of a task starting program and a task ending program used in the present invention. FIG. 8 shows an embodiment of a dispatcher used in the present invention. FIG. 9 shows the MS acquisition program used in the present invention, the MS release log 41 (
A) 1st leap (B) 2nd figure 3rd figure closed 4- Warm (B) l//) 5th opening (A) v 5 figure (B) 6th figure (A)

Claims (1)

【特許請求の範囲】[Claims] 計算機システムの主記憶管理方式において、仮想空間の
仮想アドレスを実記憶の物理的なアドレスに変換するア
ドレス変換機構、該仮想アドレスの一部を実記憶に半固
定的に対応付ける変換手段、該仮想アドレスの一部をプ
ログラムの実行開始時にプログラムの実行に必要且つ十
分な実記憶を割肖てて対応付ける手段、さらに、仮想空
間全体および上記二種の領域の使用状況を管理する手段
、実記憶全体および上記二種の領域に予め用意された部
分の使用状況を管理する手段を設けたことを特徴とする
仮想記憶管理方式。
In a main memory management method of a computer system, an address translation mechanism that converts a virtual address in a virtual space to a physical address in real memory, a conversion means that associates a part of the virtual address with the real memory in a semi-fixed manner, and the virtual address A means for associating a part of the real memory necessary and sufficient for program execution at the start of program execution, a means for managing the usage status of the entire virtual space and the above two types of areas, a means for managing the entire real memory and A virtual memory management system characterized by providing means for managing the usage status of portions prepared in advance in the above two types of areas.
JP57147650A 1982-08-27 1982-08-27 Management system of virtual storage Granted JPS5938991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57147650A JPS5938991A (en) 1982-08-27 1982-08-27 Management system of virtual storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57147650A JPS5938991A (en) 1982-08-27 1982-08-27 Management system of virtual storage

Publications (2)

Publication Number Publication Date
JPS5938991A true JPS5938991A (en) 1984-03-03
JPH0479019B2 JPH0479019B2 (en) 1992-12-14

Family

ID=15435142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57147650A Granted JPS5938991A (en) 1982-08-27 1982-08-27 Management system of virtual storage

Country Status (1)

Country Link
JP (1) JPS5938991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5286863A (en) * 1991-08-22 1994-02-15 Ciba-Geigy Corporation Oxidation process for preparing quinacridone pigments

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56134382A (en) * 1980-03-21 1981-10-21 Fujitsu Ltd Memory control system of computer on virtual memory control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56134382A (en) * 1980-03-21 1981-10-21 Fujitsu Ltd Memory control system of computer on virtual memory control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5286863A (en) * 1991-08-22 1994-02-15 Ciba-Geigy Corporation Oxidation process for preparing quinacridone pigments

Also Published As

Publication number Publication date
JPH0479019B2 (en) 1992-12-14

Similar Documents

Publication Publication Date Title
US4577274A (en) Demand paging scheme for a multi-ATB shared memory processing system
US4563737A (en) Virtual storage management
CN104516833B (en) TLB structure for the merging of multiple sequence address conversion
EP0856797B1 (en) A cache system for concurrent processes
DE112006000807B4 (en) Management of sequencer addresses
US5159678A (en) Method for efficient non-virtual main memory management
US5313647A (en) Digital data processor with improved checkpointing and forking
US5761734A (en) Token-based serialisation of instructions in a multiprocessor system
US5274789A (en) Multiprocessor system having distributed shared resources and dynamic and selective global data replication
DE3832912C2 (en) Virtually addressable cache memory device
DE19516937A1 (en) Computer hierarchical cache memory system
CN103383667A (en) Memory protection circuit, processing unit, and memory protection method
CN102566970B (en) For processing the data processor modifying instruction with cache bypass
DE102013206336A1 (en) Cache control to reduce transaction rollback
US20070113042A1 (en) Sparse matrix
US6735613B1 (en) System for processing by sets of resources
JP3607540B2 (en) Program unit memory access attribute management method
JPS5938991A (en) Management system of virtual storage
WO2024045817A1 (en) Method for scheduling returned data of simt architecture processor, and corresponding processor
JP2010244327A (en) Cache system
CN107832238B (en) Cache memory method based on Loongson processor platform
EP1103898A2 (en) Microprocessor and memory
CN111723250B (en) Chain table management method based on reference counting
JPH02294835A (en) Managing system for table being used
US20020016899A1 (en) Demand usable adapter memory access management