JPH0769837B2 - Load module patch method outside the segment range - Google Patents
Load module patch method outside the segment rangeInfo
- Publication number
- JPH0769837B2 JPH0769837B2 JP62132173A JP13217387A JPH0769837B2 JP H0769837 B2 JPH0769837 B2 JP H0769837B2 JP 62132173 A JP62132173 A JP 62132173A JP 13217387 A JP13217387 A JP 13217387A JP H0769837 B2 JPH0769837 B2 JP H0769837B2
- Authority
- JP
- Japan
- Prior art keywords
- segment
- patch
- range
- outside
- command
- 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
Links
- 238000000034 method Methods 0.000 title claims description 6
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 239000000126 substance Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 1
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はセグメンテーション方式で記憶管理されている
計算機システムのセグメント範囲外のロードモジュール
(以下LMと称す)パッチ方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a load module (hereinafter referred to as LM) patch method outside a segment range of a computer system that is stored and managed by a segmentation method.
従来、LMパッチで指定できるエリアはセグメント範囲内
に限られていたため、セグメントのサイズをはみ出す範
囲をパッチすることができなかった。Conventionally, the area that can be specified with the LM patch was limited to within the segment range, so it was not possible to patch the range beyond the segment size.
上述のように、LMパッチで指定できるエリアがセグメン
ト範囲内に限られていると、ソースコーディング時に、
後でLMパッチで使用するパッチエリアをセグメント毎に
確保しておく必要がある。ところが、予めパッチに必要
なエリアのサイズを知ることは不可能であり、パッチエ
リアを使い切ると、セグメントにパッチできなくなると
いう問題点がある。As mentioned above, if the area that can be specified with the LM patch is limited to the segment range, during source coding,
It is necessary to reserve a patch area for each segment that will be used later in the LM patch. However, it is impossible to know the size of the area required for patching in advance, and there is a problem that if the patch area is used up, it becomes impossible to patch the segment.
本発明のセグメント範囲外のLMパッチ方式は、セグメン
テーション方式で記憶管理されている計算機システムの
各セグメントに対してセグメントサイズおよびセグメン
トの実体が存在するディスクアドレスをセグメント情報
としてLMに出力する手段と、そのLMに対するセグメント
範囲外のパッチコマンドを入力する手段と、そのパッチ
コマンドに従って上述のセグメント情報を更新すること
によって、セグメント範囲外にパッチする手段とからな
る。The LM patch method outside the segment range of the present invention is a means for outputting to the LM the segment size and the disk address where the entity of the segment exists for each segment of the computer system that is stored and managed by the segmentation method, It comprises means for inputting a patch command out of the segment range for the LM and means for patching out of the segment range by updating the above segment information according to the patch command.
次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のデータの流れを中心に示す
ブロック図であり、各セグメントに対してセグメントサ
イズおよびセグメントの実体が存在するディスクアドレ
スをセグメント情報として、LMに出力する手段11を有す
るリンカ1と、LMに対するセグメント範囲外のパッチコ
マンドを入力するパッチ入力手段12と、そのパッチコマ
ンドに従って上述のセグメント情報を更新することによ
って、セグメント範囲外にパッチするセグメントパッチ
手段13を有するLMパッチツール10から構成される。FIG. 1 is a block diagram mainly showing a data flow according to an embodiment of the present invention. A means for outputting to a LM the segment size and the disk address where the entity of the segment exists for each segment as segment information 11 LM having a linker 1 having the following, a patch input means 12 for inputting a patch command outside the segment range for the LM, and a segment patch means 13 for patching outside the segment range by updating the above segment information according to the patch command. It consists of the patch tool 10.
各々の手段の関係を、第2図のパッチコマンドのイメー
ジと、第3図のLM中のセグメント情報を参照して説明す
る。The relationship between the respective means will be described with reference to the patch command image in FIG. 2 and the segment information in the LM in FIG.
第2図(a)および(b)は、セグメント範囲外および
セグメント範囲内のパッチコマンドの形式を示してい
る。第2図(a)でEXPANDは、セグメント範囲外のパッ
チであることを示し、第2図(b)でoldvalueはパッチ
前の値を示し、newvalueはパッチの内容を示す。FIGS. 2A and 2B show formats of patch commands outside the segment range and within the segment range. In FIG. 2 (a), EXPAND indicates a patch outside the segment range, in FIG. 2 (b), oldvalue indicates the value before the patch, and newvalue indicates the contents of the patch.
まず、リンカ1はセグメント情報出力手段11によって、
セグメント情報(第3図)をLM15に出力する。LMパッチ
ツール10はパッチコマンド入力手段12によって、パッチ
コマンド(第2図)を入力する。次に、LMパッチツール
10はセグメントパッチ手段13によって、セグメント情報
を更新してLMパッチを実行する。First, the linker 1 uses the segment information output means 11 to
Output the segment information (Fig. 3) to LM15. The LM patch tool 10 inputs a patch command (FIG. 2) by the patch command input means 12. Next, the LM patch tool
The segment patch means 13 updates segment information and executes an LM patch.
セグメントパッチ手段13の動作を、セグメントパッチの
フロー(第4図)に従って説明する。The operation of the segment patch means 13 will be described according to the flow of the segment patch (FIG. 4).
まず、パッチコマンドにEXPANDが指定されたか否かを判
定する(ステップ41)。EXPANDが指定されていたら、セ
グメント範囲外のパッチコマンドであるとみなし、パッ
チコマンド第2図(a)とセグメント情報テーブル31中
のセグメントサイズを参照して、セグメント範囲外のパ
ッチであることをチェックする(ステップ42)。セグメ
ント範囲外であることを確認すると、セグメント情報テ
ーブル31中のセグメントサイズを更新し(ステップ4
3)、拡張されたセグメントの実体にパッチする(ステ
ップ46)。First, it is determined whether EXPAND is specified in the patch command (step 41). If EXPAND is specified, it is regarded as a patch command outside the segment range, and the patch size is checked outside the segment range by referring to the patch command Fig. 2 (a) and the segment size in the segment information table 31. Yes (step 42). If it is confirmed that it is outside the segment range, the segment size in the segment information table 31 is updated (step 4
3), patch the entity of the extended segment (step 46).
EXPANDが指定されていなければ、セグメント範囲内のパ
ッチコマンドであるとみなし、パッチコマンド第2図
(b)とセグメント情報テーブル31中のセグメントサイ
ズを参照して、セグメント範囲内のパッチであることを
チェックする(ステップ44)。セグメント範囲内である
ことを確認すると、さらに、パッチコマンド第2図
(b)とセグメントの実体を参照して、パッチする前の
値が両者で一致することをチェックする(ステップ4
5)。パッチする前の値が正しいことを確認すると、セ
グメントの実体にパッチする(ステップ46)。If EXPAND is not specified, it is considered that the patch command is within the segment range, and the patch command in FIG. 2B and the segment size in the segment information table 31 is referred to and the patch is within the segment range. Check (step 44). When it is confirmed that the value is within the segment range, the patch command FIG. 2 (b) is referred to and the substance of the segment is checked to check that the values before patching match with each other (step 4).
Five). If it is confirmed that the value before patching is correct, patch to the substance of the segment (step 46).
パッチコマンド(第2図)が、上記のいずれかのチェッ
クによって不正であると判明すれば、エラー処理を行う
(ステップ47)。If the patch command (FIG. 2) is found to be illegal by any of the above checks, error processing is performed (step 47).
以上の処理によって、セグメント範囲外のLMパッチが可
能となる。With the above processing, LM patches outside the segment range are possible.
以上説明したように、本発明によって、LMパッチで使用
するエリアを予め確保する必要がなくなるとともに、セ
グメントのサイズを拡張し、セグメント範囲外にパッチ
可能とすることにより、パッチエリアを使い切ったとき
にそれ以上のパッチによる修正が不可能となるという制
限を排除することによって、LMパッチによる保守に融通
性を持たせることができるという効果がある。As described above, according to the present invention, it is not necessary to secure the area used in the LM patch in advance, and the size of the segment is expanded so that the patch can be patched outside the segment range. By removing the restriction that further patches cannot be modified, there is an effect that flexibility can be provided for maintenance by LM patches.
第1図は本発明の一実施例のデータの流れを中心に示す
ブロック図、第2図はパッチコマンドのイメージを示す
図、第3図はLMのセグメント情報を示す図、第4図はセ
グメントパッチのフローを示す図である。 11……セグメント情報出力手段、12……パッチコマンド
入力手段、13……セグメントパッチ手段、14……パッチ
コマンド、15……LM(ロードモジュール)、21……セグ
メント範囲外のパッチコマンド(新規コマンド)、22…
…セグメント範囲内のパッチコマンド(従来コマン
ド)、31……セグメント情報テーブル、32……セグメン
トの実体。FIG. 1 is a block diagram mainly showing a data flow of one embodiment of the present invention, FIG. 2 is a diagram showing an image of a patch command, FIG. 3 is a diagram showing segment information of LM, and FIG. 4 is a segment. It is a figure which shows the flow of a patch. 11 …… Segment information output means, 12 …… Patch command input means, 13 …… Segment patch means, 14 …… Patch command, 15 …… LM (load module), 21 …… Patch command outside segment range (new command ),twenty two…
… Patch commands within the segment range (conventional commands), 31 …… Segment information table, 32 …… Segment entity.
Claims (1)
いる計算機システムの記憶管理単位であるセグメントの
セグメントサイズと前記セグメントの実体が存在するデ
ィスクアドレスとをセグメント情報としてロードモジュ
ールに格納する手段と、前記ロードモジュールに含まれ
るセグメントに対し、セグメント範囲外を指定するパッ
チコマンドを入力する手段と、前記パッチコマンドによ
って、前記セグメント情報のセグメントサイズを更新
し、前記セグメント情報に対応するセグメントにセグメ
ント範囲外のパッチを行う手段と、を有することを特徴
とするセグメント範囲外のロードモジュールパッチ方
式。1. A means for storing a segment size of a segment, which is a storage management unit of a computer system managed by a segmentation method, and a disk address where the entity of the segment exists as segment information in a load module, and the load. Means for inputting a patch command designating a segment outside the segment range for a segment included in the module, and updating the segment size of the segment information by the patch command, and applying a patch outside the segment range to the segment corresponding to the segment information. A load module patch system outside the segment range.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62132173A JPH0769837B2 (en) | 1987-05-27 | 1987-05-27 | Load module patch method outside the segment range |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62132173A JPH0769837B2 (en) | 1987-05-27 | 1987-05-27 | Load module patch method outside the segment range |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63296141A JPS63296141A (en) | 1988-12-02 |
| JPH0769837B2 true JPH0769837B2 (en) | 1995-07-31 |
Family
ID=15075079
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62132173A Expired - Lifetime JPH0769837B2 (en) | 1987-05-27 | 1987-05-27 | Load module patch method outside the segment range |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0769837B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58166464A (en) * | 1982-03-27 | 1983-10-01 | Fujitsu Ltd | Zap data correction control system |
| JPS60118931A (en) * | 1983-11-30 | 1985-06-26 | Fujitsu Ltd | Zap area setting and processing system |
| JPS62113238A (en) * | 1985-11-12 | 1987-05-25 | Nec Corp | Correction system for program of electronic computer system |
-
1987
- 1987-05-27 JP JP62132173A patent/JPH0769837B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63296141A (en) | 1988-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6826604B2 (en) | Input/output device information management system for multi-computer system | |
| US20070271426A1 (en) | Method and storage system for accessing data using a differential snapshot | |
| JP4907059B2 (en) | Computer system and automatic backup method for the data | |
| JPH08328933A (en) | File access control system for parallel processing system | |
| US20090100110A1 (en) | System, Device, and Method for Validating Data Structures in a Storage System | |
| JP4159506B2 (en) | Hierarchical storage device, recovery method thereof, and recovery program | |
| CN116954991A (en) | Data processing methods, devices, electronic equipment and readable storage media | |
| JPS63273961A (en) | Management system for plural versions | |
| CN111984469B (en) | Incremental snapshot capacity expansion method and device | |
| JPH0769837B2 (en) | Load module patch method outside the segment range | |
| TWI740429B (en) | Method and system for managing backup data | |
| JPS63305439A (en) | Compressive storing method for similar data file and its restoring method | |
| JP2990609B2 (en) | Computer system | |
| JP3120606B2 (en) | Address generation processing method | |
| JP2818538B2 (en) | Journal file division management method and journal file division management method | |
| JPH09204326A (en) | Image data storage controller | |
| JP2744247B2 (en) | Data integrity processing method | |
| JPH0330033A (en) | File copying processor | |
| JPS62209637A (en) | Data base updating method | |
| CN116400897A (en) | Management method, server, remote warehouse and storage medium of public data dictionary | |
| JPH01258170A (en) | Data set management system | |
| JPH01119839A (en) | File constitution control system | |
| JPS63213042A (en) | Method for extending file area | |
| JPH0563824B2 (en) | ||
| JPH0293837A (en) | File control system |