Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0235333B2 - - Google Patents
[go: Go Back, main page]

JPH0235333B2 - - Google Patents

Info

Publication number
JPH0235333B2
JPH0235333B2 JP58226315A JP22631583A JPH0235333B2 JP H0235333 B2 JPH0235333 B2 JP H0235333B2 JP 58226315 A JP58226315 A JP 58226315A JP 22631583 A JP22631583 A JP 22631583A JP H0235333 B2 JPH0235333 B2 JP H0235333B2
Authority
JP
Japan
Prior art keywords
area
zap
module
boundary
information storage
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
JP58226315A
Other languages
Japanese (ja)
Other versions
JPS60118931A (en
Inventor
Misao Tsubochi
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 JP58226315A priority Critical patent/JPS60118931A/en
Publication of JPS60118931A publication Critical patent/JPS60118931A/en
Publication of JPH0235333B2 publication Critical patent/JPH0235333B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 (A) 発明の技術分野 本発明はZAP領域設定処理方式、特にデータ
処理装置におけるプログラム・モジユールのバグ
修正などのためのバツチ・データが格納されるい
わゆるZAP領域を、そのZAP領域が実際に使用
されている部分だけを主記憶上に常駐化し、未使
用部分は非常駐化することによつて、主記憶の有
効利用を図つたZAP領域設定処理方式に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION (A) Technical Field of the Invention The present invention relates to a ZAP area setting processing method, particularly a so-called ZAP area in which batch data for bug correction of a program module in a data processing device is stored. This relates to a ZAP area setting processing method that aims to effectively utilize the main memory by making only the part of the ZAP area that is actually used resident in the main memory, and making the unused part non-resident.

(B) 技術の背景 一般に電子計算機に所望の動作をさせるための
プログラムは、文字コードによるソース・モジユ
ールとして作成され、コンパイラやアセンブラに
よつてオブジエクト・モジユールに変換され、さ
らにモジユール結合や編集によつて実行可能なロ
ード・モジユールに変換される。プログラムにミ
スがあつた場合、本来的にはソース・モジユール
を修正して、再コンパイルまたは再アセンブリを
行い、モジユール結合・編集をし直す必要があ
る。しかし、特にオペレーテイング・システムの
ような場合、上記処理には多大な時間を要するの
で、修正量が比較的少ない場合や緊急に修正する
必要がある場合等には、割当てられたアドレスを
考慮し、直接ロード・モジユールを修正すること
が行われる。そして、命令追加等の場合には、そ
の命令追加のための領域が必要となるので、シス
テム内に予めZAP領域を用意しておき、その領
域を必要な分だけ切り出して使用することによ
り、対処することが行われている。
(B) Technical background Generally, a program for making a computer perform a desired operation is created as a source module using character codes, converted into object modules by a compiler or assembler, and then converted into object modules by combining and editing modules. is converted into an executable load module. When a mistake is made in a program, it is essentially necessary to correct the source module, recompile or reassemble it, and recombine and edit the modules. However, especially in the case of an operating system, the above processing takes a lot of time, so if the amount of modification is relatively small or if modification is urgently required, consider the assigned address. , a direct modification of the load module is performed. In the case of adding an instruction, etc., an area is required for adding that instruction, so you can deal with this by preparing a ZAP area in the system in advance and cutting out and using that area as needed. things are being done.

(C) 従来技術と問題点 従来、上記ZAP領域は、どのモジユールから
どの程度使用されるかについて、予め不明である
ため、固定の大きさでもつて、比較的低位のアド
レスにモジユールとして組み込み、主記憶上に固
定的に常駐させるようにされていた。この従来の
方式によれば、ZAP領域を大きくとると主記憶
に無駄が増え、小さ過ぎると将来修正量が増えた
場合に、ZAP領域が不足し、ZAP領域の2重使
用が発生するなどの問題がある。
(C) Conventional technology and problems Conventionally, since it is unknown in advance which module and how much the ZAP area will be used, even if it is a fixed size, it is incorporated as a module at a relatively low address and the main It was made to reside permanently in memory. According to this conventional method, if the ZAP area is set too large, there will be more waste in the main memory, and if it is too small, if the amount of corrections increases in the future, the ZAP area will become insufficient and the ZAP area will be used twice. There's a problem.

(D) 発明の目的と構成 本発明は上記問題点の解決を図り、ZAP領域
のうち、使用部分を主記憶に常駐させ、未使用部
分を非常駐化可能とし、ZAP領域が将来不足す
ることを解消して、ZAP領域の2重使用を回避
し、かつ無駄な常駐量を削減して、主記憶の有効
利用を可能とすることを目的としている。そのた
め、本発明のZAP領域設定処理方式は、主記憶
上の命令をフエツチして実行するデータ処理装置
におけるプログラム・モジユールの緊急修正用の
命令もしくはデータが格納されるZAP領域を所
定のアドレス空間に予め確保するZAP領域設定
処理方式において、上記ZAP領域をシステム常
駐モジユール群の最後尾に割当てるとともに、上
記ZAP領域内の使用域と未使用域との境界を示
す情報を記憶する境界情報記憶部と、上記ZAP
領域を上部から順次切り出して割当て該割当て時
に上記境界情報記憶部の内容を更新するZAP領
域割当て設定部と、システムのIPL時に上記境界
情報記憶部を参照し使用域と未使用域との境界を
認知し使用域を含むページまでを主記憶上にロー
ドするZAP領域ロード部とをそなえたことを特
徴としている。以下図面を参照しつつ実施例に従
つて説明する。
(D) Purpose and Structure of the Invention The present invention aims to solve the above-mentioned problems by making the used portion of the ZAP area resident in the main memory and making the unused portion non-resident, thereby preventing future shortages of the ZAP area. The purpose is to avoid double use of the ZAP area, reduce unnecessary resident storage, and make effective use of main memory. Therefore, the ZAP area setting processing method of the present invention sets a ZAP area in a predetermined address space in which instructions or data for emergency correction of a program module in a data processing device that fetches and executes instructions in main memory to be stored. In the ZAP area setting processing method to secure in advance, the ZAP area is allocated to the end of the system resident module group, and a boundary information storage unit that stores information indicating a boundary between a used area and an unused area in the ZAP area; , above ZAP
A ZAP area allocation setting unit that sequentially cuts and allocates areas from the top and updates the contents of the boundary information storage unit at the time of allocation, and a ZAP area allocation setting unit that updates the contents of the boundary information storage unit at the time of allocation, and a ZAP area allocation setting unit that refers to the boundary information storage unit at the time of system IPL and determines the boundary between the used area and unused area. It is characterized by a ZAP area loading section that loads pages up to the recognized and used area into main memory. Embodiments will be described below with reference to the drawings.

(E) 発明の実施例 第1図は本発明の一実施例構成、第2図は第1
図図示核ロード・モジユール域の一実施例内部構
成を示す。
(E) Embodiment of the invention FIG. 1 shows the configuration of an embodiment of the invention, and FIG.
The figure shows the internal structure of one embodiment of the illustrated nuclear load module area.

図中、符号1はパツチ・データ入力部、2は
ZAP領域割当て設定部、3はシステム・ボリユ
ーム、4は核ロード・モジユール域、5はZAP
領域モジユール、6は常駐モジユール、7−1は
ZAP領域の使用部、7−2はZAP領域の未使用
部、8は境界情報記憶部、9はシステム初期化用
非常駐モジユール、10はシステ初期化部、11
は常駐モジユール・ロード部、12はZAP領域
ロード部、13は境界判定部、14は初期化処理
部、15は主記憶を表わす。
In the figure, code 1 is the patch data input section, and 2 is the patch data input section.
ZAP area allocation setting section, 3 is system volume, 4 is nuclear load module area, 5 is ZAP
Area module, 6 is resident module, 7-1 is
Used part of the ZAP area, 7-2 is an unused part of the ZAP area, 8 is a boundary information storage part, 9 is a non-resident module for system initialization, 10 is a system initialization part, 11
12 is a resident module load section, 12 is a ZAP area load section, 13 is a boundary determination section, 14 is an initialization processing section, and 15 is a main memory.

システム・ボリユーム3は、例えば磁気デイス
ク装置等の直接アクセス装置上の記憶媒体であつ
て、システム・ジエネレーシヨンによつて、制御
プログラムや各種制御表その他のロード・モジユ
ールが、格納されているものである。特に、核ロ
ード・モジユール域4内には、主記憶上に必ず常
駐していなければならない制御プログラムやデー
タなどの常駐モジユール6、バグ等に対処するた
めの緊急修正用の命令・データを保持するZAP
領域モジユール5、システム初期化用非常駐モジ
ユール9等が、格納される。
The system volume 3 is a storage medium on a direct access device such as a magnetic disk device, and stores control programs, various control tables, and other load modules by system generation. In particular, the nuclear load module area 4 holds resident modules 6 such as control programs and data that must always reside in the main memory, and instructions and data for emergency correction to deal with bugs, etc. ZAP
The area module 5, non-resident module 9 for system initialization, etc. are stored.

ZAP領域モジユール5には、システム編集時
に、十分な大きさのアドレス空間が用意され、そ
の先頭アドレスが、ZAP領域モジユール5を除
く常駐モジユール6の最後尾に続くように設定さ
れる。ZAP領域モジユール5の領域は、システ
ムが稼動してから、必要に応じて、修正のための
命令・データが先頭から順次格納されて使用され
るが、そのZAP領域の使用部7−1と、まだ命
令・データの格納に使用されていないZAP領域
の未使用部7−2との境界を示すために、境界情
報記憶部8が設けられる。この境界情報記憶部8
には、例えば通常の命令やデータでは使用される
ことのないコード列、例えば16進数のX′FFFF−
F′が、フエンスとして用いられる。また、境界を
示すポインタ情報のようなものを、記憶して用い
てもよい。フエンスの場合には、ZAP領域内に
おいて境界情報記憶部8の位置が、変化していく
が、ポインタにより境界を管理する場合、境界情
報記憶部8の位置は固定的に定められる。
A sufficiently large address space is prepared for the ZAP area module 5 at the time of system editing, and the first address is set to follow the end of the resident module 6 except for the ZAP area module 5. The area of the ZAP area module 5 is used by sequentially storing commands and data for modification from the beginning as needed after the system starts operating. A boundary information storage unit 8 is provided to indicate the boundary with the unused portion 7-2 of the ZAP area that has not yet been used to store instructions and data. This boundary information storage section 8
For example, code strings that are not used in normal instructions or data, such as hexadecimal X′FFFF−
F′ is used as a fence. Also, something like pointer information indicating boundaries may be stored and used. In the case of a fence, the position of the boundary information storage section 8 changes within the ZAP area, but when the boundary is managed by a pointer, the position of the boundary information storage section 8 is fixedly determined.

ZAP領域割当て設定部2は、バツチ・データ
入力部1から、バツチ・データが与えられて、新
たにZAP領域の使用要求がなされると、ZAP領
域モジユール5の境界情報記憶部8から、ZAP
領域未使用部7−2の先頭情報を得て、必要な大
きさの領域を切り出し、そこへバツチ・データの
緊急修正用命令・データを設定するとともに、切
り出した領域の後を未使用部との新たな境界にす
るために、境界情報記憶部8を更新する。
When batch data is given from the batch data input unit 1 and a new request to use a ZAP area is made, the ZAP area allocation setting unit 2 receives the ZAP data from the boundary information storage unit 8 of the ZAP area module 5.
Obtain the head information of the unused area 7-2, cut out an area of the necessary size, set the command and data for emergency correction of batch data there, and mark the area after the cut out area as an unused area. The boundary information storage unit 8 is updated to set the new boundary.

システム初期化部10は、システム初期化用非
常駐モジユール9に属するものであつて、システ
ムのイニシヤル・プログラム・ロード(IPL)時
にロードされて起動されるものである。システム
初期化部10は、まず常駐モジユール・ロード部
11によつて、主記憶15上の所定の領域に、常
駐モジユール6をロードする。次に、ZAP領域
ロード部12へ制御を移す。ZAP領域ロード部
12は、ZAP領域モジユール5を、常駐モジユ
ール6の後にロードするものである。ただし、
ZAP領域モジユール5の全部を主記憶上にロー
ドするのではなく、ZAP領域の使用部7−1の
みを抽出して常駐化させる。そのため、境界判定
部13を有しており、境界判定部13によつて、
境界情報記憶部8のフエンス8′を検出する。一
般に常駐/非常駐のためのメモリ割当ての単位
は、例えば4096バイトのページ単位であるので、
ZAP領域の先頭から、フエンス8′を含むページ
までを主記憶上にロードして常駐化し、残りにつ
いては、非常駐として、主記憶を割当てない。従
つて、実際に緊急修正に必要な命令・データが格
納されたZAP領域使用部7−1だけがZAP領域
モジユール5において、主記憶を占有することに
なる。なお、フエンス8′が存在するページであ
つて、フエンス8′の後の未使用部分については、
従来同様フリーストレージとして、システムの作
業域に使用することができる。境界情報記憶部8
がフエンス8′ではなく、ポインタ情報などであ
つても同様である。
The system initialization unit 10 belongs to the non-resident module 9 for system initialization, and is loaded and started at the time of initial program loading (IPL) of the system. The system initialization unit 10 first loads the resident module 6 into a predetermined area on the main memory 15 using the resident module load unit 11 . Next, control is transferred to the ZAP area loading section 12. The ZAP area loading unit 12 loads the ZAP area module 5 after the resident module 6. however,
Rather than loading the entire ZAP area module 5 onto the main memory, only the used part 7-1 of the ZAP area is extracted and made resident. Therefore, it has a boundary determination section 13, and the boundary determination section 13 allows
The fence 8' in the boundary information storage section 8 is detected. Generally, the unit of memory allocation for resident/nonresident is, for example, a 4096-byte page unit, so
The pages from the beginning of the ZAP area to the page containing fence 8' are loaded onto the main memory and made resident, and the rest are made non-resident and no main memory is allocated to them. Therefore, only the ZAP area usage section 7-1 in which commands and data necessary for emergency correction are actually stored occupies the main memory in the ZAP area module 5. In addition, regarding the unused part after fence 8' on the page where fence 8' exists,
As before, it can be used as free storage in the system's work area. Boundary information storage unit 8
The same applies even if the information is not the fence 8' but pointer information.

ZAP領域ロード部12の後、初期化処理部1
4が起動され、初期化処理部14は、従来同様、
システムの各種制御ブロツクの初期設定、入出力
機器の初期化その他の処理を実行する。
After the ZAP area loading unit 12, the initialization processing unit 1
4 is activated, and the initialization processing section 14 performs the following steps as before.
Performs initial settings for various system control blocks, initializes input/output devices, and other processing.

(F) 発明の効果 以上説明した如く本発明によれば、ZAP領域
のうち、実際に必要な部分だけに主記憶を占有さ
せて、未使用の部分については非常駐にすること
ができるので、ZAP領域を予め比較的大きくと
つても、主記憶が無駄になることはなく、また新
たな領域が緊急修正の命令・データ用に必要とな
つた場合に、非常駐化部分が自動的に常駐化され
るので、ZAP領域が不足するような事態を容易
に回避することができる。
(F) Effects of the Invention As explained above, according to the present invention, only the actually necessary portion of the ZAP area can occupy the main memory, and the unused portion can be made non-resident. Even if the area is made relatively large in advance, the main memory will not be wasted, and if a new area is needed for emergency correction instructions or data, the non-resident part will automatically become resident. Therefore, it is possible to easily avoid situations where the ZAP area runs out.

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

第1図は本発明の一実施例構成、第2図は第1
図図示核ロード・モジユール域の一実施例内部構
成を示す。 図中、1はパツチ・データ入力部、2はZAP
領域割当て設定部、3はシステム・ボリユーム、
4は核ロード・モジユール域、5はZAP領域モ
ジユール、6は常駐モジユール、7−1はZAP
領域の使用部、7−2はZAP領域の未使用部、
8は境界情報記憶部、9はシステム初期化用非常
駐モジユール、10はシステム初期化部、11は
常駐モジユール・ロード部、12はZAP領域ロ
ード部、13は境界判定部、14は初期化処理
部、15は主記憶を表わす。
Figure 1 shows the configuration of one embodiment of the present invention, and Figure 2 shows the configuration of the first embodiment.
The figure shows the internal structure of one embodiment of the illustrated nuclear load module area. In the figure, 1 is patch data input section, 2 is ZAP
Area allocation setting section, 3 is system volume,
4 is the nuclear load module area, 5 is the ZAP area module, 6 is the resident module, 7-1 is the ZAP
The used part of the area, 7-2 is the unused part of the ZAP area,
8 is a boundary information storage unit, 9 is a non-resident module for system initialization, 10 is a system initialization unit, 11 is a resident module load unit, 12 is a ZAP area load unit, 13 is a boundary determination unit, and 14 is an initialization processing unit , 15 represents the main memory.

Claims (1)

【特許請求の範囲】[Claims] 1 主記憶上の命令をフエツチして実行するデー
タ処理装置におけるプログラム・モジユールの緊
急修正用の命令もしくはデータが格納される
ZAP領域を所定のアドレス空間に予め確保する
ZAP領域設定処理方式において、上記ZAP領域
をシステム常駐モジユール群の最後尾に割当てる
とともに、上記ZAP領域内の使用域と未使用域
との境界を示す情報を記憶する境界情報記憶部
と、上記ZAP領域を上部から順次切り出して割
当て該割当て時に上記境界情報記憶部の内容を更
新するZAP領域割当て設定部と、システムのIPL
時に上記境界情報記憶部を参照し、使用域と未使
用域との境界を認知し使用域を含むページまでを
主記憶上にロードするZAP領域ロード部とをそ
なえたことを特徴とするZAP領域設定処理方式。
1 Stores instructions or data for emergency modification of a program module in a data processing device that fetches and executes instructions from main memory
Reserve a ZAP area in a specified address space in advance
In the ZAP area setting processing method, a boundary information storage unit that allocates the ZAP area to the end of the system resident module group and stores information indicating a boundary between a used area and an unused area in the ZAP area; A ZAP area allocation setting unit that sequentially cuts out and allocates areas from the top and updates the contents of the boundary information storage unit at the time of allocation, and a system IPL
A ZAP area characterized by comprising a ZAP area loading unit that sometimes refers to the boundary information storage unit, recognizes the boundary between a used area and an unused area, and loads pages including the used area into main memory. Setting processing method.
JP58226315A 1983-11-30 1983-11-30 Zap area setting and processing system Granted JPS60118931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58226315A JPS60118931A (en) 1983-11-30 1983-11-30 Zap area setting and processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58226315A JPS60118931A (en) 1983-11-30 1983-11-30 Zap area setting and processing system

Publications (2)

Publication Number Publication Date
JPS60118931A JPS60118931A (en) 1985-06-26
JPH0235333B2 true JPH0235333B2 (en) 1990-08-09

Family

ID=16843271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58226315A Granted JPS60118931A (en) 1983-11-30 1983-11-30 Zap area setting and processing system

Country Status (1)

Country Link
JP (1) JPS60118931A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0769837B2 (en) * 1987-05-27 1995-07-31 日本電気株式会社 Load module patch method outside the segment range

Also Published As

Publication number Publication date
JPS60118931A (en) 1985-06-26

Similar Documents

Publication Publication Date Title
JP2868543B2 (en) Computer equipment
JPH09282103A (en) Information processing device
JPH0235333B2 (en)
JPH04133117A (en) information processing equipment
JPS60242579A (en) Control method for magnetic bubble memory device
JPH04105110A (en) Power controller
JP2551075B2 (en) Overlay structure program execution method
JP2572435B2 (en) Instruction execution method of demand paging computer
JPS63157238A (en) Computer
JPH07191856A (en) Information processing equipment
JPH0289119A (en) Data processor
JPS62143150A (en) Program execution control system
JPS61255440A (en) Program interruption control system
JPH01305696A (en) Station data access control system for exchange
JPS58208850A (en) Microprogram storage processing system
JPS62274446A (en) Loading system for transient program in computer system
JPH0646391B2 (en) Data transfer device
JPH05113897A (en) Computer system
JPS62226250A (en) System rise system
JPH03184121A (en) Carry-out system for non-scheduling function
JPH02235133A (en) Semiconductor disk device
JPH0474744B2 (en)
JPH0383271A (en) Automatic retracting processor for fixed disk device
JPH06324945A (en) Storage controller
JPS61221952A (en) Method for processing channel program