JPH0679288B2 - Extended virtual memory control method - Google Patents

Extended virtual memory control method

Info

Publication number
JPH0679288B2
JPH0679288B2 JP62181365A JP18136587A JPH0679288B2 JP H0679288 B2 JPH0679288 B2 JP H0679288B2 JP 62181365 A JP62181365 A JP 62181365A JP 18136587 A JP18136587 A JP 18136587A JP H0679288 B2 JPH0679288 B2 JP H0679288B2
Authority
JP
Japan
Prior art keywords
space
mode
address
memory
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62181365A
Other languages
Japanese (ja)
Other versions
JPS6425259A (en
Inventor
昌弘 池田
信義 佐藤
唯英 小松
三男 櫻井
伊智郎 中野
重則 小谷田
義郎 平井
稔之 北見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62181365A priority Critical patent/JPH0679288B2/en
Publication of JPS6425259A publication Critical patent/JPS6425259A/en
Publication of JPH0679288B2 publication Critical patent/JPH0679288B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 [概要] 拡張仮想記憶制御方法に関し、 これまでのソフトウェア資源の互換性を保ちつつ、空間
数を減らす代りに大きなメモリ空間を確保することを目
的とし、 論理アドレスに拡張するメモリ空間のアドレスを指定す
る仮想拡張アドレスを付加すると共に、拡張するメモリ
空間の大きさを指定するモードを設定する工程と、この
モードに応じて空間番号を示すデータのすべてを空間番
号と比較するか、上位複数ビットのうち何ビットを前記
仮想拡張アドレスとして使用するか決定する工程とを含
んで構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to an extended virtual memory control method, which expands to a logical address for the purpose of securing a large memory space instead of reducing the number of spaces while maintaining compatibility of software resources up to now. Add a virtual extension address that specifies the address of the memory space to be set, and set a mode that specifies the size of the memory space to be expanded, and compare all of the data indicating the space number with the space number Or determining which of the higher-order bits is to be used as the virtual extension address.

[産業上の利用分野] 本発明は、拡張仮想記憶制御方法に関し、更に詳しく
は、機能追加等によるオペレィテングシステム(OS)の
増大やユーザJOBの巨大化によるメモリ空間の不足を、
従来のソフトウェアの互換性を保ちつつ、空間数を減ら
して大きなメモリ空間を確保するための拡張仮想記憶制
御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an extended virtual memory control method, and more specifically, to a shortage of memory space due to an increase in operating system (OS) due to the addition of functions and the enormous growth of user jobs.
The present invention relates to an extended virtual memory control method for reducing the number of spaces and securing a large memory space while maintaining the compatibility of conventional software.

最近のソフトウェアの開発量は膨大であり、それを収め
るシステムの仮想空間も増大の一途をたどっている。こ
のために、従来のソフトウェア資源の互換性を保ちつ
つ、メモリ空間を拡張するための拡張仮想記憶制御方法
が必要となる。
The amount of recent software development is enormous, and the virtual space of the system that accommodates it is also increasing. Therefore, an extended virtual memory control method for expanding the memory space while maintaining the compatibility of conventional software resources is required.

[従来の技術] 第4図は従来方法によるメモリ空間概念図である。図に
おいて、横軸は空間数領域、横軸はメモリ領域である。
図中、横軸の1〜nは空間数を示す。M1はOS等が格納さ
れた共通領域であり、空間が変化しても変らない領域で
ある。M2はユーザJOBのプログラムを格納するユーザJOB
領域、M3はJOB共用領域で、JOBを実行するのに必要な様
々なデータが格納される領域である。ここでは各領域M1
〜M3が合計で16MBのものが用いられ、メモリ空間の増大
に対しては、空間数nを増加することで対処するように
なっている。
[Prior Art] FIG. 4 is a conceptual view of a memory space by a conventional method. In the figure, the horizontal axis is the space number area and the horizontal axis is the memory area.
In the figure, 1 to n on the horizontal axis indicate the number of spaces. M1 is a common area in which the OS etc. are stored, and is an area that does not change even if the space changes. M2 is a user job that stores the user job program
An area, M3, is a job shared area, in which various data necessary to execute a job are stored. Here, each area M1
A total of 16 MB of M3 is used, and an increase in the memory space is dealt with by increasing the number of spaces n.

[発明が解決しようとする問題点] このような従来技術によれば、年々のソフトウェアの進
歩によるOS領域の増大に対して適確な対応ができない。
即ち、機能追加等によるOSの増大及びユーザJOBの巨大
化によるメモリ空間の大きさの不足に際して、空間数を
減らしてでも大きなメモリ空間が必要な場合があるが、
そのような場合に対応できないという問題がある。
[Problems to be Solved by the Invention] According to such a conventional technique, it is not possible to appropriately deal with the increase in the OS area due to the progress of software year by year.
That is, when the size of the memory space is insufficient due to the increase of OS due to the addition of functions and the enormous growth of user jobs, a large memory space may be required even if the number of spaces is reduced.
There is a problem that such cases cannot be dealt with.

本発明はこのような点に鑑みてなされたものであって、
これまでのソフトウエア資源との互換性を保ちつつ、空
間数を減らす代りに大きなメモリ空間を確保することの
できる拡張仮想記憶制御方法を提供することを目的とす
る。
The present invention has been made in view of such points,
An object of the present invention is to provide an extended virtual memory control method capable of securing a large memory space at the cost of reducing the number of spaces while maintaining compatibility with conventional software resources.

[問題点を解決するための手段] 第1図は本発明の原理を示すフローチャートである。本
発明は、所定の数の空間数を減らしその分メモリ空間を
拡張増大させる拡張仮想記憶制御方法であって、論理ア
ドレスに拡張するメモリ空間のアドレスを指定する仮想
拡張アドレスを付加すると共に、拡張するメモリ空間の
大きさを指定するモードを設定する工程(ステップ)
と、 前記モードに応じて空間番号を示すデータのすべてを空
間番号と比較するか、上位複数ビットのうち何ビットを
前記仮想拡張アドレスとして使用するか決定する工程
(ステップ)とを含む。
[Means for Solving Problems] FIG. 1 is a flowchart showing the principle of the present invention. The present invention is an extended virtual memory control method that reduces a predetermined number of spaces and expands and increases the memory space by that amount, and adds a virtual expansion address that specifies an address of a memory space to be expanded to a logical address and Setting the mode that specifies the size of the memory space to be used (step)
And comparing all of the data indicating the space number with the space number according to the mode, or determining how many higher-order bits are used as the virtual extension address (step).

[作用] 拡張するメモリ空間の大きさを指定するモードとして
は、所定の数(n)の空間数をそのままとするモード
“0"を含む、このモード“0"が指定されると、論理アド
レスによって変換された実アドレス内の空間番号を示す
データのすべてのビットを空間番号と比較する。これに
より、従来のソフトウェアとの互換性を保つことが可能
となる。
[Operation] Modes for specifying the size of the memory space to be expanded include a mode "0" in which a predetermined number (n) of space numbers remain unchanged. When this mode "0" is specified, a logical address is specified. All bits of the data indicating the space number in the real address converted by are compared with the space number. This makes it possible to maintain compatibility with conventional software.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明す
る。
Embodiments Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明方法によるメモリ空間拡張の概念図であ
る。ここでは、16MBのメモリ空間のものをn空間(空間
数n)を用いるものとし、16MB×n空間の配列が従来モ
デルに対応している(モード0)。そして、メモリ空間
の拡張増大は、32MB×n/2空間(モード1),64MB×n/4
空間とすること(モード2)、即ち、空間数nを減ら
し、その分だけメモリ空間を大きくすることで実現して
いる。
FIG. 2 is a conceptual diagram of memory space expansion by the method of the present invention. Here, it is assumed that an n space (the number of spaces n) is used for a memory space of 16 MB, and an array of 16 MB × n space corresponds to the conventional model (mode 0). And the expansion increase of memory space is 32MB × n / 2 space (mode 1), 64MB × n / 4
This is realized by setting a space (mode 2), that is, by reducing the number of spaces n and increasing the memory space accordingly.

本発明においては、拡張するメモリ空間の大きさをモー
ドによって指定するが、ここでは、前述したように空間
数をnのままとする(16MB×n空間)場合もモード
“0",空間数nをn/2に減じて32MBとする(32MB×n/2空
間)場合をモード“1",空間数nをn/4に減じて64MBとす
る(64MB×n/4空間)場合をモード“2"としている。
In the present invention, the size of the memory space to be expanded is specified by the mode, but here, even when the number of spaces is left as n (16 MB × n space) as described above, the mode is “0” and the number of spaces is n. Is reduced to n / 2 to 32MB (32MB x n / 2 space) mode "1", and the number of spaces n is reduced to n / 4 to 64MB (64MB x n / 4 space) mode " 2 ".

第3図は本発明の方法を実現する装置の要部構成ブロッ
ク図である。図において、1は論理アドレス(仮想アド
レス)で、仮想拡張アドレスVSA1,セグメント番号とペ
ージ番号A2,ページ内アドレスA3からなっている。2は
論理アドレス1の中のセグメント番号とページ番号を入
力し、実アドレスを出力するアドレス変換用バッファメ
モリ(TLB)である。3はモードレジスタで、ここには
メモリ空間の大きさを前述したようにモード“0",モー
ド“1",モード“2"として指定するモードデータが設定
される。モード0の場合には従来のモデルと完全互換性
があり、モード1の場合には空間番号のうち上位1ビッ
トを仮想拡張アドレスとして使用し、モード2の場合に
は空間番号のうち上位2ビットを仮想拡張アドレスとし
て使用する。4は空間番号レジスタで、ここには空間番
号(1〜n)を指定する空間番号データが設定される。
5は第1の比較回路で、アドレス変換用バッファメモリ
2から読み出された空間番号の前ビットと、空間番号レ
ジスタ4の全ビットとを入力しており、モードレジスタ
3に設定されたモードに従って、両信号を上位2ビット
を含んだり、含まなかったりして比較するものである。
FIG. 3 is a block diagram of the essential parts of an apparatus for implementing the method of the present invention. In the figure, 1 is a logical address (virtual address), which comprises a virtual extension address VSA1, a segment number, a page number A2, and an in-page address A3. Reference numeral 2 is an address conversion buffer memory (TLB) for inputting the segment number and page number in the logical address 1 and outputting the real address. Reference numeral 3 is a mode register in which mode data for designating the size of the memory space as mode "0", mode "1", mode "2" is set. In case of mode 0, it is completely compatible with the conventional model. In case of mode 1, the upper 1 bit of the space number is used as a virtual extension address, and in case of mode 2, the upper 2 bits of the space number are used. Is used as a virtual extension address. Reference numeral 4 is a space number register in which space number data designating a space number (1 to n) is set.
Reference numeral 5 denotes a first comparison circuit, which inputs the previous bit of the space number read from the address conversion buffer memory 2 and all the bits of the space number register 4 according to the mode set in the mode register 3. , Both signals are compared with or without including the upper 2 bits.

6は第2の比較回路で、論理アドレス1内の仮想拡張ア
ドレスVSA1と、アドレス変換用バッファメモリ2から読
み出された空間番号の中の上位2ビット(仮想拡張アド
レス)とを入力し、モードレジスタ3に設定されたモー
ドに従って、両信号を比較する。7はオアゲートで、第
1,第2の各比較回路5,6の出力信号を入力しており、こ
こからTLBフォルト信号を出力する。
Reference numeral 6 denotes a second comparison circuit, which inputs the virtual extension address VSA1 in the logical address 1 and the upper 2 bits (virtual extension address) of the space number read from the address conversion buffer memory 2 and outputs the mode. Both signals are compared according to the mode set in the register 3. 7 is an OR gate,
The output signals of the first and second comparison circuits 5 and 6 are input, and the TLB fault signal is output from here.

このように構成した装置の動作を説明すれば、以下の通
りである。はじめに、論理アドレス1において、仮想拡
張アドレスVSA1には、拡張するメモリ空間の仮想拡張ア
ドレスを付加する。即ち、拡張を必要としない場合(16
MBの場合)は“00"を、32MBに拡張する場合は“01"を、
64MBに拡張する場合は“10"の各アドレスを付加する。
又、モードレジスタ3に拡張するメモリ空間の大きさを
指定するモードを設定する。
The operation of the apparatus thus configured will be described below. First, in logical address 1, a virtual extension address of the memory space to be extended is added to virtual extension address VSA1. That is, if no expansion is needed (16
"00" for MB), "01" for expanding to 32MB,
When expanding to 64MB, add each address of "10".
Further, a mode for designating the size of the memory space to be expanded is set in the mode register 3.

今、モード“0"が設定された場合、第1の比較回路5は
モードレジスタ3からのモード“0"を示す信号を受け、
空間番号レジスタ4のすべてのビットと、アドレス変換
用バッファメモリ2からの空間番号とを比較し、その比
較結果をオア回路7を介してTLBフォルト信号として出
力する。若し、両者が一致すればそのモードで指定する
空間が存在し、一致しなければ当該空間が存在しないこ
とを示し、TLBフォルト信号が“1"になり、不存在を知
らせる。又、モード“1"が設定された場合、第1,第2の
各比較回路はモードレジスタ3からのモード“1"を示す
信号に従って、空間番号のうち、上位1ビットを仮想拡
張アドレスとして使用する。又、モード“2"が設定され
た場合には、空間番号のうち、上位2ビットを仮想拡張
アドレスとして使用する。
When the mode “0” is set, the first comparison circuit 5 receives the signal indicating the mode “0” from the mode register 3,
All bits of the space number register 4 are compared with the space number from the address conversion buffer memory 2, and the comparison result is output as a TLB fault signal via the OR circuit 7. If they match, the space specified by the mode exists, and if they do not match, it indicates that the space does not exist, and the TLB fault signal becomes "1", indicating the absence. When the mode "1" is set, the first and second comparison circuits use the upper 1 bit of the space number as the virtual extension address according to the signal indicating the mode "1" from the mode register 3. To do. When the mode "2" is set, the upper 2 bits of the space number are used as the virtual extension address.

以上のような動作によって、モード“0"の場合は、従来
モデルと互換性を維持することができ、モード“1",モ
ード“2"を設定することで、第2図に示すようなメモリ
空間の拡張を行うことができる。
By the above operation, compatibility with the conventional model can be maintained in the case of mode "0". By setting mode "1" and mode "2", the memory as shown in FIG. The space can be expanded.

尚、上記の説明では、モード“0",“1",“2"の3つのモ
ードを設定できるようにしたが、更に多数のモードを設
定するようにしてもよい。
In the above description, the three modes "0", "1", and "2" can be set, but more modes may be set.

[発明の効果] 以上詳細に説明したように、本発明によれば、OSの拡大
やJOBの拡大等によるメモリ空間の不足を、仮想拡張ア
ドレスの付加及びモードの設定によって、従来のソフト
ウェアの互換性を保ちつつ解消することができる。
[Effects of the Invention] As described in detail above, according to the present invention, the lack of memory space due to the expansion of the OS, the expansion of JOB, etc. can be made compatible with the conventional software by adding the virtual expansion address and setting the mode. It can be resolved while maintaining sex.

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

第1図は本発明の原理を示すフローチャート、 第2図は本発明方法によるメモリ空間拡張の概念図、 第3図は本発明の方法を実現する装置の要部構成図、 第4図は従来方法によるメモリ空間概念図である。 第3図において、 1は論理アドレス、 2はアドレス変換用バッファメモリ、 3はモードレジスタ、 4は空間番号レジスタ、 5,6は比較回路である。 FIG. 1 is a flow chart showing the principle of the present invention, FIG. 2 is a conceptual diagram of memory space expansion by the method of the present invention, FIG. 3 is a configuration diagram of a main part of an apparatus for realizing the method of the present invention, and FIG. It is a memory space conceptual diagram by a method. In FIG. 3, 1 is a logical address, 2 is a buffer memory for address conversion, 3 is a mode register, 4 is a space number register, and 5 and 6 are comparison circuits.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 櫻井 三男 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 中野 伊智郎 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 小谷田 重則 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 平井 義郎 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 北見 稔之 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Mitsuo Sakurai 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Ichiro Nakano 1015, Kamedotachu, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited ( 72) Inventor Shigenori Oyata 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Yoshiro Hirai, 1015, Ueodaanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Limited (72) Inventor Minoru Kitami, Kanagawa Prefecture 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Fujitsu Limited

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】所定の数(n)の空間数を減らしその分メ
モリ空間を拡張増大させる拡張仮想記憶制御方法であっ
て、 論理アドレスに拡張するメモリ空間のアドレスを指定す
る仮想拡張アドレスを付加すると共に、拡張するメモリ
空間の大きさを指定するモードを設定する工程(ステッ
プ)と、 前記モードに応じて空間番号を示すデータのすべてを空
間番号と比較するか、上位複数ビットのうち何ビットを
前記仮想拡張アドレスとして使用するか決定する工程
(ステップ)とを含むことを特徴とする拡張仮想記憶
制御方法。
1. An expanded virtual memory control method for reducing a predetermined number (n) of spaces and expanding and expanding a memory space by that amount, wherein a virtual expansion address for designating an address of a memory space to be expanded is added to a logical address. And a step (step) of setting a mode for designating the size of the memory space to be expanded, and comparing all the data indicating the space number with the space number according to the mode, Is used as the virtual extended address, and the extended virtual memory control method.
JP62181365A 1987-07-21 1987-07-21 Extended virtual memory control method Expired - Lifetime JPH0679288B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62181365A JPH0679288B2 (en) 1987-07-21 1987-07-21 Extended virtual memory control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62181365A JPH0679288B2 (en) 1987-07-21 1987-07-21 Extended virtual memory control method

Publications (2)

Publication Number Publication Date
JPS6425259A JPS6425259A (en) 1989-01-27
JPH0679288B2 true JPH0679288B2 (en) 1994-10-05

Family

ID=16099451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62181365A Expired - Lifetime JPH0679288B2 (en) 1987-07-21 1987-07-21 Extended virtual memory control method

Country Status (1)

Country Link
JP (1) JPH0679288B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02236653A (en) * 1989-03-10 1990-09-19 Fujitsu Ltd Multiple virtual memory managing system
FR2652926B1 (en) * 1989-10-06 1994-07-08 Bull Sa METHOD FOR OPERATING THE MEMORY IN A VIRTUAL ADDRESSING COMPUTER SYSTEM AND DEVICE FOR CARRYING OUT SAID METHOD.
JPH03198512A (en) * 1989-12-27 1991-08-29 Mitsubishi Electric Corp High frequency amplifier

Also Published As

Publication number Publication date
JPS6425259A (en) 1989-01-27

Similar Documents

Publication Publication Date Title
JPH0679288B2 (en) Extended virtual memory control method
JPH0221616B2 (en)
JP2845032B2 (en) Logic simulation equipment
JPS6362083A (en) Projection data generation system
JP2522063B2 (en) Single-chip micro computer
JPH0754544B2 (en) Image memory access circuit
JP3317819B2 (en) Control method for two-port access of single-port RAM
JPS59191656A (en) Memory ic simulator
KR0147476B1 (en) I/o configuration setting system of computer and method thereof
JP3179891B2 (en) Bus control method
JPH082756Y2 (en) Image processing device
JP3308575B2 (en) Extension memory bank address automatic setting method
JPS60134947A (en) Memory extension system
JPH02123426A (en) Microprocessor
JPS63115250A (en) Memory controller
JPH1049437A (en) Dynamic ram controller
JPH05173875A (en) Automatic setting system for extended rom area
JPH0697435B2 (en) Variation chip
JPH0258119A (en) File control system
JPH0773094A (en) Memory initialization controller
JPH03132851A (en) Write data degeneration circuit
JPH0357059A (en) Function extending system for data communication terminal equipment
JPS63144496A (en) Write control system for storage device
JPH05126911A (en) Pattern generator for memory testing device
JPH07248926A (en) Processor and multiprocessor system using the same