JPS62120565A - Allocation control system for main storage area - Google Patents

Allocation control system for main storage area

Info

Publication number
JPS62120565A
JPS62120565A JP60262012A JP26201285A JPS62120565A JP S62120565 A JPS62120565 A JP S62120565A JP 60262012 A JP60262012 A JP 60262012A JP 26201285 A JP26201285 A JP 26201285A JP S62120565 A JPS62120565 A JP S62120565A
Authority
JP
Japan
Prior art keywords
central processing
address
boundary
processing unit
main memory
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
JP60262012A
Other languages
Japanese (ja)
Inventor
Masami Toyoshima
豊嶋 雅美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP60262012A priority Critical patent/JPS62120565A/en
Publication of JPS62120565A publication Critical patent/JPS62120565A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To attain the exchange of information between two CPU over a main memory by using a boundary register update/read control circuit to control the updating and reference of the boundary register that sets the boundary between the main storage areas to be allocated to both CPU. CONSTITUTION:The addresses of a main storage device 5 given from the allocation setting address main storage control circuits 3 and 4 of a boundary register 7 are compared with each other. Then access is given exclusively to the storage device 5 via a CPU 1 or CPU 2 if the address of the storage device 5 is set within a set address. The set contents of the register 7 are referred to or updated via a boundary register update/read control circuit 6 that works in response to the CPU 1 or CPU 2. Thus the main storage area can be enlarged or reduced dynamically. In such a way, information can be transferred between both CPU over the main storage area.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は2台の中央処理装置が、各々独立して2つの
オペレーティングシステムのもとで動作するデユープレ
ックスシステムにおいて、各中央処理装置が排他的に使
用する主記憶の領域を各中央処理装置に割付ける方式に
関するものである。
Detailed Description of the Invention "Field of Industrial Application" This invention is applicable to a duplex system in which two central processing units operate independently under two operating systems. This relates to a method of allocating an area of main memory for exclusive use to each central processing unit.

「従来の技術」 従来、デユープレランスシステムにおける各中央処理装
置に対する主記憶領域の割付けは、ノ・−ドウエアの設
置時、あるいはシステム初期設定動作時に人手によるス
イッチ設定により決定されていた。
``Prior Art'' Conventionally, the allocation of main storage areas to each central processing unit in a duplex system has been determined by manual switch settings when installing hardware or during system initialization.

「発明が解決しようとする問題点」 上述した従来の主記憶領域割付は方式は、システムの運
転中は固定されているため、例えば一方の中央処理装置
が故障により動作不能となっても、正常な中央処理装置
からは、故障した中央処理装置に割付けられていた主記
憶領域を自動的にアクセスすることはできず、障害情報
を主記憶上で引きつぐことはできないという欠点があっ
た。
``Problems to be Solved by the Invention'' The conventional main storage area allocation method described above is fixed during system operation, so even if one central processing unit becomes inoperable due to a failure, it will not function normally. The main storage area assigned to the failed central processing unit cannot be automatically accessed from a central processing unit that has failed, and failure information cannot be carried over to the main memory.

また、両方の中央処理装置が正常に動作している場合に
も、2台の中央処理装置の間で情報を交換する必要が生
じるケースがある。この場合にも従来の方式では主記憶
上で情報交換することは不可能であり、このためには磁
気ディスクファイル、通信回線等の別手段を設けなげれ
ばならなかった。
Further, even when both central processing units are operating normally, there are cases where it is necessary to exchange information between the two central processing units. In this case as well, it is impossible to exchange information on the main memory using the conventional method, and for this purpose it is necessary to provide other means such as a magnetic disk file or a communication line.

「問題点を解決するための手段」 この発明は、それぞれの中央処理装置で利用可能な主記
憶領域の境界を境界レジスタに保持させ、中央処理装置
からアクセス要求のあった主記憶アドレスと、この境界
レジスタの保持している境界アドレスとを比較し、その
中央処理装置に割付けられた領域内であるかどうかをア
ドレスチェック回路で判定し、その判定結果により主記
憶へのアクセスを制御し、領域外ならばアクセス動作を
禁止するとともにその旨を中央処理装置に主記憶アクセ
ス制御回路にヱ二り報告し、前記境界レジスタの更新・
参照を境界レジスタ更新/読出し制御回路により制御す
るように構成される。
``Means for Solving the Problems'' This invention causes a boundary register to hold the boundaries of the main storage area available to each central processing unit, and stores the main storage address requested by the central processing unit and the main storage area. The address check circuit compares the boundary address held by the boundary register and determines whether it is within the area allocated to the central processing unit. Access to the main memory is controlled based on the determination result, and the area If the access operation is outside the range, the access operation is prohibited, and this fact is reported to the main memory access control circuit of the central processing unit, and the boundary register is updated.
The reference is configured to be controlled by a boundary register update/read control circuit.

「実施例」 次にこの発明について図面を参照して説明する。"Example" Next, the present invention will be explained with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

中央処理装置1,2はそれぞれ主記憶アクセス制御回路
3,4を通じて主記憶装置5の各々に割付けられた領域
を使用して独立に動作する。
Central processing units 1 and 2 operate independently using areas allocated to each of main memory devices 5 through main memory access control circuits 3 and 4, respectively.

中央処理装置1はアクセス経路11を使い、中央処理装
置2はアクセス経路12を使ってアクセスしたい主記憶
アドレスを送り、かつ主記憶装置にデータの書込み/読
出し要求を出す。
The central processing unit 1 uses the access path 11, and the central processing unit 2 uses the access path 12 to send a main memory address to be accessed and issue a data write/read request to the main memory.

主記憶アクセス制御回路3,4はそれぞれ中央処理装置
1,2から受げとった主記憶アドレスをアドレスチェッ
ク回路8に送り、そこでその中央処理装置に割付けられ
た領域内のアドレスか否かのチェックを受“げ、領域内
であれば通常の主記憶装置5・へのアクセス動作を行い
、領域外であれば、主記憶装置5へのアクセス動作は行
わず、領域外アドレスであることをその中央処理装置に
報告する。
The main memory access control circuits 3 and 4 send the main memory addresses received from the central processing units 1 and 2 to the address check circuit 8, which checks whether the address is within the area allocated to the central processing unit. If the address is within the area, the normal access operation to the main memory device 5 is performed, and if it is outside the area, the access operation to the main memory device 5 is not performed, and the address is recognized as being outside the area. Report to central processing unit.

主記憶装置5のもつアドレス(OL番地〜m番地〕の内
で中央処理−装置1と2に割付ける領域の境界となるア
ドレスを境界レジスタ7に保持し、この保持した値は、
境界レジスタ更新/読出し制御回路6を介して中央処理
装置1および2から更新・参照が可能である。
Among the addresses (OL address to m address) of the main storage device 5, the address that is the boundary of the area allocated to the central processing units 1 and 2 is held in the boundary register 7, and this held value is
It can be updated and referenced from the central processing units 1 and 2 via the boundary register update/read control circuit 6.

いま境界レジスタ7で保持しているアドレスを111番
上する。アドレスチェック回路8はこの境界レジスタ7
の保持している11と中央処理装置1または2から主記
憶アクセス制御回路3または4を介して送られてくる主
記憶アドレスの大小を比較する。中央処理装置1から送
られてきたアドレスをa番地、中央処理装置2から送ら
れてきたアドレスをb番地とすると、中央処理装置1に
対しては01.≦a≦11ならば領域内と判定し、それ
以外の場合は、領域外と判定してその判定結果を主記憶
アクセス制御回路3に返す。中央処理装置2に対しては
11〈b≦mならば領域内と判定し、それ以外なら領域
外と判定して判定結果を主記憶アクセス制御回路4に返
す。すなわち111番上境として、それ以下の領域は中
央処理装置1に、それより大きいアドレスの領域は中央
処理装置2に割付け、互いの干渉を防止する。
The address currently held in the boundary register 7 is moved to the top 111. The address check circuit 8 is connected to this boundary register 7.
11 held by the central processing unit 1 or 2 is compared with the main memory address sent from the central processing unit 1 or 2 via the main memory access control circuit 3 or 4. If the address sent from central processing unit 1 is address a and the address sent from central processing unit 2 is address b, then 01. If ≦a≦11, it is determined that it is within the area; otherwise, it is determined that it is outside the area, and the determination result is returned to the main memory access control circuit 3. For the central processing unit 2, if 11<b≦m, it is determined that it is within the area, otherwise it is determined that it is outside the area, and the determination result is returned to the main memory access control circuit 4. That is, as the upper boundary of No. 111, areas below this are allocated to the central processing unit 1, and areas with addresses larger than that are allocated to the central processing unit 2, thereby preventing mutual interference.

このような構成において、中央処理装置1から中央処理
装置2へ情報を引き渡す場合は、中央処理装置1は主記
憶の12+1番地(lz+1(At )から111番上
引き渡したい情報を書込んだ後、中央処理装置1から境
界レジスタ更新/読出し制御回路、6を介して境界レジ
スタ7の内容な12に更新する。これによって中央処理
装置2は主記憶装置5の12+1番地から111番上領
域も自分の領域としてアクセスが可能となる。
In such a configuration, when transferring information from the central processing unit 1 to the central processing unit 2, the central processing unit 1 writes the information to be transferred from address 12+1 (lz+1 (At) to the top 111 of the main memory, and then The central processing unit 1 updates the content of the boundary register 7 to 12 via the boundary register update/read control circuit 6. As a result, the central processing unit 2 also updates the uppermost area of the main memory 5 from addresses 12+1 to 111. It can be accessed as an area.

また中央処理装置1が故障等により動作不能状態となっ
た場合には中央処理装置2から境界レジスタ更新/読出
し制御回路6を介して境界レジスタ7にOを書込むこと
により、それまで中央処理装置1に割付けられていた主
記憶装置5の領域を自分の領域としてアクセスが可能と
なる。これによって主記憶装置5に残されている情報を
中央処理装置2かも読出し、中央処理装置1が動作不能
状態に陥った直前の状態を分析でき、その後の回復処理
が容易になる。
Furthermore, when the central processing unit 1 becomes inoperable due to a failure or the like, the central processing unit 2 writes O to the boundary register 7 via the boundary register update/read control circuit 6. It becomes possible to access the area of the main storage device 5 that was allocated to 1 as its own area. As a result, the central processing unit 2 can also read the information left in the main storage device 5, and the state immediately before the central processing unit 1 became inoperable can be analyzed, and subsequent recovery processing becomes easier.

上記説明から中央処理装置2から中央処理装置1へ情報
を引き渡す場合、中央処理装置2が動作不能状態に陥っ
た場合についても同様に処理させることができる。
As can be seen from the above description, when information is transferred from the central processing unit 2 to the central processing unit 1, the same processing can be performed even when the central processing unit 2 falls into an inoperable state.

「発明の効果」 以上説明したように、2台の中央処理装置に割付ける主
記憶領域の境界を設定する境界レジスタを設け、この境
界レジスタの内容を両中央処理装置で任意の時点で参照
・更新できるようにすることにより、各中央処理装置に
割付けられる主記憶領域を動的に拡大・縮、Jνするこ
とができ、これによって主記憶上で2台の中央処理装置
間の情報の交換が可能となる。
"Effects of the Invention" As explained above, a boundary register is provided to set the boundary of the main memory area allocated to two central processing units, and the contents of this boundary register can be referenced and accessed at any time by both central processing units. By making it possible to update, the main memory area allocated to each central processing unit can be dynamically expanded/reduced (Jν), and this allows the exchange of information between two central processing units on the main memory. It becomes possible.

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

第1図はこの発明の一実施例を示すブロック図である。 1.2:中央処理装置、3,4:主記憶アクセス制御回
路、5:主記憶装置、6:境界レジスタ更新/読出し制
御回路、7:境界レジスタ、8ニアドレスチ工ツク回路
、11,12+中央処理装置から主記憶装置へのアクセ
ス経路。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1.2: Central processing unit, 3, 4: Main memory access control circuit, 5: Main memory device, 6: Boundary register update/read control circuit, 7: Boundary register, 8 Nearest search circuit, 11, 12 + central processing Access route from the device to main storage.

Claims (1)

【特許請求の範囲】[Claims] (1)2台の中央処理装置が、主記憶装置の領域を排他
的に使用して、各々独立に2つのオペレーティングシス
テムのもとで動作するデュープレックスシステムにおい
て、 上記各中央処理装置が利用可能な主記憶装置の記憶領域
の境界となるアドレスを保持する境界レジスタと、 上記各中央処理装置からアクセス要求のあつた主記憶ア
ドレスと、上記境界レジスタの境界アドレスとを比較し
てその中央処理装置に割付けられた領域内であるか否か
を判定するアドレスチェック回路と、 その判定結果によつて領域内の場合は主記憶装置へのア
クセス制御を行い、領域外の場合には、そのアクセス動
作を禁止し、その旨をその中央処理装置に報告する主記
憶アクセス制御回路と、上記各中央処理装置から上記境
界レジスタの境界アドレスを更新/参照する境界レジス
タ更新/参照制御回路とを具備することを特徴とする主
記憶領域の割付け制御方式。
(1) In a duplex system in which two central processing units operate independently under two operating systems, each using the main storage area exclusively, each of the central processing units mentioned above can be used. A boundary register that holds the address that is the boundary of the storage area of the main memory device, and a main memory address that has received an access request from each central processing unit, are compared with the boundary address of the boundary register, and the central processing unit An address check circuit determines whether or not it is within the allocated area, and based on the determination result, if it is within the area, it controls access to the main memory, and if it is outside the area, it controls the access operation. and a main memory access control circuit that prohibits and reports this to the central processing unit, and a boundary register update/reference control circuit that updates/references the boundary address of the boundary register from each of the central processing units. Features a main storage area allocation control method.
JP60262012A 1985-11-20 1985-11-20 Allocation control system for main storage area Pending JPS62120565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60262012A JPS62120565A (en) 1985-11-20 1985-11-20 Allocation control system for main storage area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60262012A JPS62120565A (en) 1985-11-20 1985-11-20 Allocation control system for main storage area

Publications (1)

Publication Number Publication Date
JPS62120565A true JPS62120565A (en) 1987-06-01

Family

ID=17369792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60262012A Pending JPS62120565A (en) 1985-11-20 1985-11-20 Allocation control system for main storage area

Country Status (1)

Country Link
JP (1) JPS62120565A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0374756A (en) * 1989-05-17 1991-03-29 Internatl Business Mach Corp <Ibm> Information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0374756A (en) * 1989-05-17 1991-03-29 Internatl Business Mach Corp <Ibm> Information processing system
JP2618072B2 (en) * 1989-05-17 1997-06-11 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン Information processing system

Similar Documents

Publication Publication Date Title
US8135908B2 (en) Storage system, data transfer method, and program
US9058305B2 (en) Remote copy method and remote copy system
US6654880B1 (en) Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage
US7133976B2 (en) Disk array device, method for controlling the disk array device and storage system
US6356985B1 (en) Computer in multi-cluster system
JPH05233162A (en) Data saving system and data processing system provided with maintenance function
JP2006048560A (en) Method for managing cache memory and storage device or computer system
JPS62120565A (en) Allocation control system for main storage area
JPH07302171A (en) Disk controller
JPH11126173A (en) Memory access controller and storage medium therefor
JPS6357823B2 (en)
US6553471B1 (en) Controlling access to a storage device by controlling communication ports thereto
JPH086843A (en) Semiconductor storage device
JPS6134645A (en) Control system of duplex structure memory
JPH0323026B2 (en)
JPH07325674A (en) Method for exchanging semiconductor memory and method for controlling semiconductor disk sub-system
JPH07152651A (en) Method and device for information processing
US6480945B2 (en) Method and apparatus for controlling memory access by a plurality of devices
JP2857212B2 (en) Configuration control method of multiprocessor system
JPH06161930A (en) Computer
JPS60159954A (en) Memory controlling system
JPH0554142B2 (en)
JPS6017550A (en) Cache memory control system
JPS6340950A (en) File control device
JPS60215272A (en) Multi-processor system