JP2500736B2 - IPL processing device - Google Patents

IPL processing device

Info

Publication number
JP2500736B2
JP2500736B2 JP5021658A JP2165893A JP2500736B2 JP 2500736 B2 JP2500736 B2 JP 2500736B2 JP 5021658 A JP5021658 A JP 5021658A JP 2165893 A JP2165893 A JP 2165893A JP 2500736 B2 JP2500736 B2 JP 2500736B2
Authority
JP
Japan
Prior art keywords
module
group
patch
multiplexing
module group
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 - Fee Related
Application number
JP5021658A
Other languages
Japanese (ja)
Other versions
JPH06214796A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5021658A priority Critical patent/JP2500736B2/en
Publication of JPH06214796A publication Critical patent/JPH06214796A/en
Application granted granted Critical
Publication of JP2500736B2 publication Critical patent/JP2500736B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムにお
いてIPL処理(Initial Program L
oaderによる処理)を行うIPL処理装置に関し、
特に共通モジュール群と多重化モジュール群とからなる
OS(Operating System。オペレーテ
ィングシステム)をOS格納ファイルから仮想空間にロ
ードするIPL処理を行うIPL処理装置に関する。
The present invention relates to an IPL process (Initial Program L) in an information processing system.
an IPL processing device for performing processing by an
In particular, the present invention relates to an IPL processing device that performs an IPL process of loading an OS (Operating System) including a common module group and a multiplexing module group from an OS storage file into a virtual space.

【0002】[0002]

【従来の技術】1つのOSで異なるHW(Hard W
are。ハードウェア)アーキテクチャに対応するため
に、各HWアーキテクチャに対応する同様な内容の各モ
ジュールが当該OS内に多重的に作成されることがあ
る。このように、IPL処理の対象となるOSの中に
は、モジュールの多重化が行われているものが存在する
(なお、OSにおけるモジュールの多重化の目的は上述
の「異なるHWアーキテクチャへの対応」に限られるも
のではない)。
2. Description of the Related Art Different HWs (Hard W
are. In order to correspond to the (hardware) architecture, each module having the same content corresponding to each HW architecture may be created in the OS in a multiplexed manner. As described above, some of the OSs to be subjected to the IPL processing have the modules multiplexed (the purpose of the module multiplexing in the OS is to deal with the above-mentioned "correspondence to different HW architectures". Is not limited to).

【0003】従来のIPL処理装置では、このようなモ
ジュールの多重化が行われているOSのIPL処理が行
われる場合に、共通モジュール群とn(nは2以上の正
整数)個のモジュール群からなる多重化モジュール群と
のロードが行われており、多重化されているモジュール
の中の使用されないモジュールも仮想空間上にロードさ
れていた。なお、共通モジュール群の重複したロードを
回避する技術としては、例えば「特開平3−42716
(OSロード制御方式)」に係る特許出願がある。
In the conventional IPL processing device, when the IPL processing of the OS in which such modules are multiplexed is performed, a common module group and n (n is a positive integer of 2 or more) module groups And the unused modules among the multiplexed modules were also loaded in the virtual space. Note that as a technique for avoiding the overlapping loading of the common module group, for example, “Japanese Patent Laid-Open No. 3-42716”
(OS load control method) ”.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のIPL
処理装置では、IPL処理の対象となるOS中のモジュ
ールが多重化されている場合に、多重化されているモジ
ュールの中の使用されないモジュールも仮想空間上にロ
ードされているので、以下に示すような問題点があっ
た。
SUMMARY OF THE INVENTION Conventional IPL described above
In the processing device, when the modules in the OS to be subjected to the IPL processing are multiplexed, unused modules among the multiplexed modules are also loaded in the virtual space. There was a problem.

【0005】 仮想空間が無駄に使用されることにな
る。
The virtual space is wasted.

【0006】 OSの中であるモジュールにおいて他
のモジュール(この「他のモジュール」は多重化されて
いるモジュールである)が参照されている場合に、多重
化されているn個のモジュールの中の1つを選択する処
理をOSのソースプログラム中に記述するソースコーデ
ィングが必要になる。このために、OSのソースコーデ
ィングにおいて、モジュールの多重化を意識する必要が
生じる。
When another module (this “other module” is a multiplexed module) is referred to by a module in the OS, among the n modules being multiplexed Source coding is required to describe the process of selecting one in the source program of the OS. For this reason, it becomes necessary to consider the multiplexing of modules in the source coding of the OS.

【0007】 OSに対するパッチの中で多重化モジ
ュールの参照が存在する場合にも、同様に多重化されて
いるn個のモジュールの中の1つを選択する処理を当該
パッチ中に記述することが必要になる。このために、パ
ッチの生成において、モジュールの多重化を意識する必
要が生じる。
Even when a reference to a multiplexing module exists in a patch for an OS, a process for selecting one of n modules that are similarly multiplexed can be described in the patch. You will need it. For this reason, it becomes necessary to be aware of the multiplexing of modules in the patch generation.

【0008】本発明の目的は、上述の点に鑑み、仮想空
間の有効利用を図り、OSのソースコーディングやOS
のパッチの作成の際にモジュールの多重化を意識する必
要をなくすことができるIPL処理装置を提供すること
にある。
In view of the above points, an object of the present invention is to effectively use the virtual space, to perform OS source coding and OS.
An object of the present invention is to provide an IPL processing device that can eliminate the need to be aware of the multiplexing of modules when creating the patch.

【0009】[0009]

【課題を解決するための手段】本発明のIPL処理装置
は、多重化モジュール群と共通モジュール群とからなる
OSをOS格納ファイルから仮想空間にロードするIP
L処理を行うIPL処理装置において、アドレス表,モ
ジュール群関連表,参照解決表およびモジュールアドレ
ス表からなる多重化モジュール管理テーブル(OS中の
各モジュールのモジュール名とアドレス,多重化された
複数のモジュール間の関連,およびモジュール間の参照
情報からなる多重化モジュール管理テーブル)と、多重
化モジュール群中のどのモジュール群を選択モジュール
群としてロードすべきかを示す指示を与える多重化モジ
ュール選択指示手段と、前記多重化モジュール管理テー
ブルに対する参照と前記多重化モジュール選択指示手段
による指示とに基づいて前記OS格納ファイル内の共通
モジュール群および選択モジュール群を前記仮想空間に
ロードし基準となるモジュール群に属するモジュールに
対する参照を選択モジュール群に属するモジュールに対
する参照に変換する多重化モジュール選択ロード手段と
を有する。
An IPL processing apparatus according to the present invention is an IP for loading an OS consisting of a multiplexing module group and a common module group from an OS storage file into a virtual space.
In an IPL processing device that performs L processing, a multiplexing module management table ( address table, module group relation table, reference resolution table, and module address table )
Module name and address of each module, multiplexed
Relationship between multiple modules and reference between modules
A multiplexing module management table consisting of information) , a multiplexing module selection instructing means for instructing which module group in the multiplexing module group should be loaded as a selection module group, and a reference to the multiplexing module management table. A module belonging to the selected module group is referred to a module belonging to the standard module group by loading the common module group and the selected module group in the OS storage file into the virtual space based on the instruction from the multiplexing module selection instruction means. And a multiplexing module selection loading means for converting into a reference to.

【0010】また、本発明のIPL処理装置は、共通パ
ッチ群と多重化パッチ群とを格納するパッチ格納ファイ
ル内のパッチを適用して多重化モジュール群と共通モジ
ュール群とからなるOSをOS格納ファイルから仮想空
間にロードするIPL処理を行うIPL処理装置におい
て、アドレス表,モジュール群関連表,参照解決表およ
びモジュールアドレス表からなる多重化モジュール管理
テーブル(OS中の各モジュールのモジュール名とアド
レス,多重化された複数のモジュール間の関連,および
モジュール間の参照情報からなる多重化モジュール管理
テーブル)と、多重化モジュール群中のどのモジュール
群を選択モジュール群としてロードすべきかを示す指示
を与える多重化モジュール選択指示手段と、前記多重化
モジュール管理テーブルに対する参照と前記多重化モジ
ュール選択指示手段による指示とに基づいて前記OS格
納ファイル内の共通モジュール群および選択モジュール
群を前記仮想空間にロードし基準となるモジュール群に
属するモジュールに対する参照を選択モジュール群に属
するモジュールに対する参照に変換する多重化モジュー
ル選択ロード手段と、前記多重化モジュール管理テーブ
ルに対する参照と前記多重化モジュール選択指示手段に
よる指示とに基づいて前記多重化モジュール選択ロード
手段によって前記仮想空間にロードされたモジュールに
パッチ格納ファイル内のパッチを適用し基準となるモジ
ュール群に属するモジュールを参照するパッチを選択モ
ジュール群に属するモジュールを参照するパッチに変換
する多重化モジュール選択パッチ手段とを有する。
Further, the IPL processing apparatus of the present invention applies the patch in the patch storage file storing the common patch group and the multiplex patch group to store the OS including the multiplex module group and the common module group in the OS. In an IPL processing device that performs an IPL process of loading from a file into a virtual space, a multiplexing module management table including an address table, a module group relation table, a reference resolution table, and a module address table (module name and add address of each module in OS)
Response, relationship between multiple modules, and
Multiplex module management consisting of reference information between modules
Table) , a multiplexing module selection instructing means for instructing which module group in the multiplexing module group should be loaded as a selection module group, reference to the multiplexing module management table and the multiplexing module selection instructing means On the basis of the instruction from the OS storage file, the common module group and the selected module group are loaded into the virtual space, and the reference to the module belonging to the reference module group is converted into the reference to the module belonging to the selected module group. A patch storage file is stored in the module loaded in the virtual space by the multiplexing module selection loading means based on the module selection loading means, the reference to the multiplexing module management table, and the instruction from the multiplexing module selection instruction means. And a multiplex module selecting patch means for converting the patch to refer to the modules belonging patches to refer to the selected modules of the modules belonging to the applied reference made modules patches of the inner.

【0011】[0011]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0012】図1は、本発明のIPL処理装置の第1の
実施例の構成等を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of the first embodiment of the IPL processing apparatus of the present invention.

【0013】本実施例のIPL処理装置は、共通モジュ
ール群と第1モジュール群,…,第n(nは2以上の正
整数)モジュール群とからなるOS(第1モジュール群
〜第nモジュール群によってn重に多重化された多重化
モジュール群を有するOS)をOS格納ファイル10か
ら仮想空間20(共通モジュール群と第m(1≦m≦
n)モジュール群とがロードされることとなる仮想空
間。具体的には、例えば、主記憶装置と補助記憶装置と
によって実現される)にロードするIPL処理を行う。
このIPL処理装置は、多重化モジュール選択指示手段
1と、多重化モジュール選択ロード手段2と、多重化モ
ジュール管理テーブル3とを含んで構成されている。
The IPL processing apparatus according to the present embodiment is an OS (first module group to nth module group) including a common module group and a first module group, ..., Nth (n is a positive integer of 2 or more) module group. From the OS storage file 10 to the virtual space 20 (the common module group and the m-th module (1 ≦ m ≦ 1)
n) A virtual space in which the modules will be loaded. Specifically, for example, the IPL processing to be loaded in the main storage device and the auxiliary storage device is performed.
This IPL processing device includes a multiplexing module selection instructing means 1, a multiplexing module selection loading means 2, and a multiplexing module management table 3.

【0014】なお、多重化モジュール群の中で、第1モ
ジュール群が「基準となるモジュール群(多重化されて
いるモジュールに対する他のモジュールからの参照にお
いて代表となるモジュールを有するモジュール群)」と
なっている(どのモジュール群を基準となるモジュール
群、すなわち第1モジュール群とするかは任意であ
る)。
In the multiplexed module group, the first module group is "a reference module group (a module group having a representative module in a reference from another module to the multiplexed module)". (Which module group is the reference module group, that is, the first module group is arbitrary).

【0015】図2は、OS格納ファイル10の構成の具
体例を示す図である。このOS格納ファイル10内のO
Sでは、共通モジュール群に属するモジュール以外のモ
ジュールが二重化されている。二重化されている各モジ
ュールの集合は、第1モジュール群と、第2モジュール
群とを構成している。なお、上述したように、多重化
(この場合には、二重化)モジュール群の中で第1モジ
ュール群が基準となるモジュール群になっている。すな
わち、二重化されているモジュールが他のモジュールか
ら参照される場合には、第1のモジュール群に属するモ
ジュール(例えば、モジュールB)が「CALL B」
のように呼び出される。
FIG. 2 is a diagram showing a specific example of the configuration of the OS storage file 10. O in this OS storage file 10
In S, modules other than the modules belonging to the common module group are duplicated. The duplicated set of modules constitutes a first module group and a second module group. As described above, the first module group is the reference module group in the multiplexed (in this case, duplicated) module group. That is, when the duplicated module is referred to by another module, the module belonging to the first module group (for example, module B) is “CALL B”.
Is called like.

【0016】図3は、多重化モジュール管理テーブル3
の構成の具体例を示す図である。多重化モジュール管理
テーブル3は、各モジュールのアドレス(各モジュール
の位置を特定するためのアドレス。先頭アドレス等)を
有するアドレス表31と、互いに多重化された複数のモ
ジュールの間の関連をアドレス表番号(アドレス表31
内のエントリの番号)で示すモジュール群関連表32
と、モジュール間の参照の解決を行うための情報(「参
照の解決」とは参照関係を確定し、参照アドレスをセッ
することをいう)を有する参照解決表33(参照解決
表33はモジュール毎に存在する)と、モジュール名か
らそのモジュール名を持つモジュールのアドレスを取得
するための情報を有するモジュールアドレス表34とか
ら構成されている。なお、参照解決表33内の「モジュ
ール間の参照の解決を行うための情報」とは、図3に示
すように、被参照アドレス(参照アドレスがセットされ
る箇所のアドレス。図2および図3の例ではモジュール
A中のモジュールBのアドレス(参照アドレス)が格納
(セット)される箇所のアドレス)と参照アドレス番号
(参照アドレスで示されるモジュールのアドレスを得る
ための情報であり、多重化モジュールについては基準と
なるモジュールのアドレスを得るための情報。図3の例
ではモジュールBのアドレス表番号)とからなる情報を
いう。
FIG. 3 shows a multiplexing module management table 3
It is a figure which shows the specific example of a structure of. The multiplexing module management table 3 is an address table 31 having an address of each module (an address for specifying the position of each module, a start address, etc.), and an address table showing the relationship between a plurality of modules multiplexed with each other. Number (Address table 31
Number of entry in) module group relation table 32
And information for resolving references between modules ("Resolve references" establishes reference relationships and sets reference addresses.
Reference resolution table 33 (reference resolution table 33 having means) that bets are to be present in each module), a module address table 34 with information for acquiring the address of the module with the module name from the module name It consists of In addition, in the reference resolution table 33,
Information for resolving references between
The referenced address (reference address is set
The address of the place to go. Module in the example of FIGS. 2 and 3
Stores the address (reference address) of module B in A
(Set address) and reference address number
(Get the address of the module indicated by the reference address
Information for multiplex modules and standards
Information to get the address of the module. Figure 3 example
Then, the information consisting of the address table number of module B)
Say.

【0017】図4は、多重化モジュール選択ロード手段
2の処理を示す流れ図である。この処理は、モジュール
ロード処理ステップ401と、処理中モジュールアドレ
ス取得ステップ402と、選択モジュール群所属判定
ステップ403(図4中のステップ403における「選
択モジュール群」には共通モジュール群も含まれる)
と、モジュール削除ステップ404と、処理中モジュー
ル対応参照解決表取得ステップ405と、未解決被参照
アドレス存在判定ステップ406と、被参照アドレスお
よびアドレス表番号取得ステップ407と、第1モジュ
ール群情報中該当アドレス表番号存在判定ステップ40
8と、アドレス表番号変換ステップ409と、参照アド
レス取得ステップ410と、参照アドレスセットステッ
プ411とからなる。
FIG. 4 shows a multiplexing module selection loading means.
It is a flow chart showing processing of No. 2. This process is a module
Load processing step 401 and the in-process module address
Acquisition step 402 and selection module groupetcAffiliation determination
Step 403(In step 403 in FIG.
The common module group is also included in the "optional module group")
And module deletion step 404 and the module in process
Step 405 for obtaining the reference resolution table corresponding to the
Address existence determination step 406 and the referenced address and
And address table number acquisition step 407 and the first module
Address group number existence determination step 40 in the group information
8, address table number conversion step 409, and reference add
Address acquisition step 410 and the reference address set step.
And 411.

【0018】次に、このように構成された本実施例のI
PL処理装置の動作について説明する。
Next, the I of this embodiment constructed as described above
The operation of the PL processing device will be described.

【0019】ここでは、OS格納ファイル10が図2に
示すように構成されている場合を考える。ここで、共通
モジュール群中のモジュールAは二重化されているモジ
ュールB(第1モジュール群中のモジュールBによって
代表されるモジュールBまたは第2モジュール群中のモ
ジュールB′)を呼び出している。
Here, consider a case where the OS storage file 10 is configured as shown in FIG. Here, the module A in the common module group calls the duplicated module B (the module B represented by the module B in the first module group or the module B ′ in the second module group).

【0020】多重化モジュール選択指示手段1は、操作
者からの指示に基づいて、多重化されているモジュール
群の中のどのモジュール群をロードすべきかを示す指示
(この場合には、第1モジュール群および第2モジュー
ル群のいずれかを選択する指示)を多重化モジュール選
択ロード手段2に対して与える(この指示によって選択
されたモジュール群を「選択モジュール群」という)。
The multiplexing module selection instructing means 1 indicates, based on an instruction from the operator, which module group in the multiplexed module group should be loaded (in this case, the first module). An instruction to select either the group or the second module group) is given to the multiplexing module selection loading means 2 (the module group selected by this instruction is referred to as a "selected module group").

【0021】多重化モジュール選択ロード手段2は、こ
の指示を受けて、OS格納ファイル10内の各モジュー
ルについて次のような処理を行う(図4参照)。
In response to this instruction, the multiplexed module selection loading means 2 performs the following processing for each module in the OS storage file 10 (see FIG. 4).

【0022】まず、処理中のモジュール(OS格納ファ
イル10内の1つのモジュール。共通モジュール群に属
するモジュールであっても多重化モジュール群に属する
モジュールであってもよい)に対する通常のモジュール
ロード処理(OS格納ファイル10内の処理中のモジュ
ールを仮想空間20に格納する処理)を行う(ステップ
401)。
First, a normal module loading process for a module being processed (one module in the OS storage file 10. It may be a module belonging to a common module group or a module belonging to a multiplexing module group) ( The process of storing the module being processed in the OS storage file 10 in the virtual space 20 is performed (step 401).

【0023】次に、モジュールアドレス表34を参照し
て処理中のモジュールのアドレス表番号を取得し、アド
レス表31を参照してそのアドレス表番号に対応する処
理中のモジュールのアドレスを取得する(ステップ40
2)。
Next, the module address table 34 is referred to obtain the address table number of the module being processed, and the address table 31 is referred to to obtain the address of the module being processed corresponding to the address table number ( Step 40
2).

【0024】モジュール群関連表32を参照し、処理中
のモジュールが選択モジュール群(上述のように多重化
モジュール選択指示手段1によって指示されたモジュー
ル群)または共通モジュール群に属するモジュールであ
るか否かを判定する(ステップ403)。
Referring to the module group relation table 32, it is determined whether the module being processed belongs to the selected module group (the module group instructed by the multiplexing module selection instructing means 1 as described above) or the common module group. It is determined (step 403).

【0025】ステップ403で「処理中のモジュールが
選択モジュール群に属するモジュールではなく、かつ共
通モジュール群に属するモジュールではない」と判定し
た場合には、その処理中のモジュールを仮想空間20か
ら削除する(ステップ404)。
[0025] rather than the module "in the processing module belonging to the selected modules in step 403, and co
If it is determined that the name has "a module belonging to the passing modules deletes the module in the process from the virtual space 20 (step 404).

【0026】ステップ403で「処理中のモジュールが
選択モジュール群または共通モジュール群に属するモジ
ュールである」と判定した場合には、処理中のモジュー
ルに対する参照解決表33(図3中で例示している参照
解決表33はモジュールAに対するものである)を取得
し(ステップ405)、処理中のモジュールに対する未
解決の被参照アドレスが存在するか否か(処理中のモジ
ュールに対する参照解決表33が存在し、この参照解決
表33のエントリ中の被参照アドレスで特定される箇所
(処理中のモジュール内の箇所)に参照アドレスがセッ
トされていない箇所が存在するか否か)を判定する(ス
テップ406)。
If it is determined in step 403 that the module being processed belongs to the selected module group or the common module group , the reference solution table 33 for the module being processed (illustrated in FIG. 3). reference resolution table 33 will get what is it) to the module a (step 405), whether unresolved referenced address for the module being processed is present (in process Mogi
There is a reference resolution table 33 for
Location specified by the referenced address in the entry in Table 33
The reference address is set in (location in the module being processed).
It is determined whether or not there is a portion that has not been registered (step 406).

【0027】ステップ406で「処理中のモジュールに
対する未解決の被参照アドレスが存在する」と判定した
場合には、当該被参照アドレス(図2の例では、モジュ
ールA中の「CALL B」と記述された箇所を示すア
ドレス)と当該被参照アドレスに対応する参照アドレス
番号(当該被参照アドレスにおいて参照されているモジ
ュールのアドレス表番号。図2の例ではモジュールBの
アドレス表番号)とを取得し(ステップ407)、当該
参照アドレス番号によって示されるアドレス表番号がモ
ジュール群関連表32中の第1モジュール群情報(基準
となるモジュール群である第1モジュール群に属するモ
ジュールのアドレス表番号を示す情報)の中に存在する
か否か(処理中のモジュールが多重化モジュール群に属
するモジュールを参照しているか否か)を判定する(ス
テップ408)。
If it is determined in step 406 that there is an unresolved referenced address for the module being processed, the referenced address (in the example of FIG.
A that indicates the place where "CALL B" is written in rule A.
Address ) and the reference address number corresponding to the referenced address (address table number of the module referred to in the referenced address . In the example of FIG.
Address table number ) (step 407), and the address table number indicated by the reference address number belongs to the first module group information (first module group which is a reference module group) in the module group relation table 32. Module information table information) ( whether the module being processed belongs to the multiplexing module group)
It is determined whether or not the module is referred to (step 408).

【0028】ステップ408で「当該アドレス表番号が
第1モジュール群情報の中に存在する」と判定した場合
には、モジュール群関連表32を参照して当該アドレス
表番号(基準となるモジュール群に係るモジュール群情
報に属するアドレス表番号)を選択モジュール群に係る
モジュール群情報に属するアドレス表番号に変換する
(選択モジュール群が第1モジュール群である場合に
は、結果的には変換が行われないことになる)(ステッ
プ409)。
If it is determined in step 408 that the address table number exists in the first module group information, the module group relation table 32 is referred to and the address table number (reference module group The address table number belonging to the relevant module group information is converted into the address table number belonging to the module group information relating to the selected module group (when the selected module group is the first module group, conversion is consequently performed). No) (step 409).

【0029】次に、アドレス表31を参照し、ステップ
409の変換で求めたアドレス表番号に対応するアドレ
ス(アドレス表31内の当該アドレス表番号のエントリ
の中に存在するアドレス。以下、「参照アドレス」とい
う)を取得する(ステップ410)。
Next, referring to the address table 31, the address corresponding to the address table number obtained by the conversion in step 409 (the address existing in the entry of the address table number in the address table 31. (Referred to as "address") (step 410).

【0030】この参照アドレス(図2の例では、モジュ
ールBまたはモジュールB′のアドレス)をステップ4
07で取得した被参照アドレスの箇所(図2の例では、
モジュールA中の「CALL B」の記述部分)にセッ
トして当該被参照アドレスについての参照の解決を行い
(ステップ411)、ステップ406の判定に制御を戻
す。
This reference address (in the example of FIG.
Address of module B or module B ') step 4
The location of the referenced address acquired in 07 (in the example of FIG. 2,
It is set in the "CALL B" portion of module A) to resolve the reference for the referenced address (step 411), and control is returned to the determination in step 406.

【0031】ステップ404の処理が終了した場合また
はステップ406の判定で「処理中のモジュールに対す
る未解決の被参照アドレスが存在しない」と判定した場
合には、1つのモジュール(処理中のモジュール)に対
する処理を終了する。
When the processing of step 404 is completed or when it is determined in step 406 that "the unresolved referenced address for the module being processed does not exist", one module (module being processed) is processed. The process ends.

【0032】多重化モジュール選択ロード手段2は、以
上のような処理(図4に示す処理)をOS格納ファイル
10内の全てのモジュールについて繰り返す。
The multiplexed module selection loading means 2 repeats the above-described processing (processing shown in FIG. 4) for all modules in the OS storage file 10.

【0033】図5は、本発明のIPL処理装置の第2の
実施例の構成等を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of the second embodiment of the IPL processing apparatus of the present invention.

【0034】本実施例のIPL処理装置は、共通モジュ
ール群と第1モジュール群,…,第n(nは2以上の正
整数)モジュール群とからなるOS(第1モジュール群
〜第nモジュール群によってn重に多重化された多重化
モジュール群を有するOS)をOS格納ファイル10か
ら仮想空間20(共通モジュール群と第m(1≦m≦
n)モジュール群とがロードされることとなる仮想空
間。具体的には、例えば、主記憶装置と補助記憶装置と
によって実現される)にロードしパッチ格納ファイル3
0内の共通パッチ群(共通モジュール群に対するパッチ
群)および第1パッチ群(第1モジュール群に対するパ
ッチ群),…,第nパッチ群(第nモジュール群に対す
るパッチ群)中の所定のパッチを仮想空間20内の共通
モジュール群および第mモジュール群(選択モジュール
群)に適用するIPL処理を行う。このIPL処理装置
は、多重化モジュール選択指示手段1と、多重化モジュ
ール選択ロード手段2と、多重化モジュール管理テーブ
ル3と、多重化モジュール選択パッチ手段4とを含んで
構成されている。なお、パッチ格納ファイル30内の第
1パッチ群〜第nパッチ群は多重化パッチ群を構成して
いる。また、パッチ格納ファイル30内の共通パッチ群
および第1パッチ群〜第nパッチ群の全てが存在してい
る必要はない。
The IPL processing apparatus according to the present embodiment is an OS (first module group to nth module group) including a common module group and a first module group, ..., Nth (n is a positive integer of 2 or more) module group. From the OS storage file 10 to the virtual space 20 (the common module group and the m-th module (1 ≦ m ≦ 1)
n) A virtual space in which the modules will be loaded. Specifically, for example, it is realized by a main storage device and an auxiliary storage device) and loaded into the patch storage file 3
A predetermined patch in the common patch group (patch group for the common module group) and the first patch group (patch group for the first module group), ..., Nth patch group (patch group for the nth module group) within 0 The IPL processing applied to the common module group and the m-th module group (selected module group) in the virtual space 20 is performed. This IPL processing device is configured to include a multiplexing module selection instructing means 1, a multiplexing module selection loading means 2, a multiplexing module management table 3, and a multiplexing module selection patch means 4. The first patch group to the n-th patch group in the patch storage file 30 form a multiplexed patch group. Further, it is not necessary that all of the common patch group and the first patch group to the nth patch group in the patch storage file 30 exist.

【0035】なお、図1と図5との間で対応する構成要
素(同一の名称を有する構成要素)については、同一の
符号を用いている。
Note that the same reference numerals are used for corresponding components (components having the same name) between FIG. 1 and FIG.

【0036】また、図2〜図4は、図5に示す第2の実
施例に関しても当てはまる図である。
FIGS. 2 to 4 are also applicable to the second embodiment shown in FIG.

【0037】図6は、パッチ格納ファイル30の構成の
具体例を示す図である。このパッチ格納ファイル30
は、「モジュール名+オフセット」の形式で指定される
パッチアドレスと、パッチする値そのもの(パッチの値
の直接指定)または参照モジュール名(参照されるモジ
ュールのモジュール名。多重化されているモジュールの
場合には基準となるモジュールのモジュール名によって
示される)によって指定されるパッチ内容とから構成さ
れている。
FIG. 6 is a diagram showing a specific example of the structure of the patch storage file 30. This patch storage file 30
Is the patch address specified in the format of "module name + offset", and the patch value itself (direct specification of the patch value) or the reference module name (module name of the referenced module. The patch content specified by the module name (indicated by the module name of the reference module).

【0038】図7は、多重化モジュール選択パッチ手段
4の処理を示す流れ図である。この処理は、パッチ格納
ファイル参照ステップ701と、未処理パッチ存在判定
ステップ702と、パッチエントリ取得ステップ703
と、モジュール名取得ステップ704と、パッチアドレ
ス絶対アドレス取得ステップ705と、パッチ内容取得
ステップ706と、パッチ内容モジュール名判定ステッ
プ707と、アドレス表番号取得ステップ708と、第
1モジュール群情報中該当アドレス表番号存在判定ステ
ップ709と、アドレス表番号変換ステップ710と、
参照アドレス取得ステップ711と、パッチ処理ステッ
プ712とからなる。
FIG. 7 is a flow chart showing the processing of the multiplexing module selection patch means 4. This processing is performed by referring to a patch storage file step 701, an unprocessed patch existence determination step 702, and a patch entry acquisition step 703.
A module name acquisition step 704, a patch address absolute address acquisition step 705, a patch content acquisition step 706, a patch content module name determination step 707, an address table number acquisition step 708, and a corresponding address in the first module group information. A table number existence determination step 709, an address table number conversion step 710,
It comprises a reference address acquisition step 711 and a patch processing step 712.

【0039】次に、このように構成された本実施例のI
PL処理装置の動作について説明する。
Next, I of the present embodiment having the above-mentioned configuration
The operation of the PL processing device will be described.

【0040】多重化モジュール選択指示手段1および多
重化モジュール選択ロード手段2の動作は、第1の実施
例のIPL処理装置と同様である。ただし、多重化モジ
ュール選択指示手段1による指示は、多重化モジュール
選択ロード手段2に対して行われるのと同様に、多重化
モジュール選択パッチ手段4に対しても行われる。
The operations of the multiplexing module selection instructing means 1 and the multiplexing module selection loading means 2 are the same as those of the IPL processing apparatus of the first embodiment. However, the instruction by the multiplexing module selection instructing means 1 is also given to the multiplexing module selection patch means 4 in the same way as it is given to the multiplexing module selection loading means 2.

【0041】多重化モジュール選択パッチ手段4は、こ
の指示を受けて、OS格納ファイル10内の各モジュー
ルについて次のような処理を行う(図7参照)。なお、
1つのモジュールに関する多重化モジュール選択ロード
手段2による処理が終了した直後に、そのモジュールに
関する処理を行うように多重化モジュール選択パッチ手
段4が起動されるのが一般的である。ただし、全てのモ
ジュールに関する多重化モジュール選択ロード手段2に
よる処理が終了した後に、全てのモジュールに関する処
理を行うように多重化モジュール選択パッチ手段4が起
動される場合もありうる。
In response to this instruction, the multiplexing module selection patch means 4 carries out the following processing for each module in the OS storage file 10 (see FIG. 7). In addition,
Immediately after the processing by the multiplexed module selection load means 2 for one module is completed, the multiplexed module selection patch means 4 is generally activated so as to perform the processing for that module. However, it is possible that the multiplexing module selection patch means 4 is activated so as to perform the processing for all the modules after the processing by the multiplexing module selection loading means 2 for all the modules is completed.

【0042】まず、パッチ格納ファイル30を参照し
(ステップ701)、処理中のモジュールに対する未処
理のパッチが存在するか否かを判定する(ステップ70
2)。
First, the patch storage file 30 is referred to (step 701), and it is determined whether or not there is an unprocessed patch for the module being processed (step 70).
2).

【0043】ステップ702で「処理中のモジュールに
対する未処理のパッチが存在する」と判定した場合に
は、パッチ格納ファイル30から当該パッチのパッチエ
ントリを取得し(ステップ703)、当該パッチエント
リ中のパッチアドレスで使用されているモジュール名を
取得する(ステップ704)。
When it is determined in step 702 that "there is an unprocessed patch for the module being processed", the patch entry of the patch is acquired from the patch storage file 30 (step 703), and the patch entry in the patch entry is acquired. The module name used in the patch address is acquired (step 704).

【0044】このモジュール名によってモジュールアド
レス表34をサーチして当該モジュール名に対応するア
ドレス表番号を取得し、当該アドレス表番号に基づいて
アドレス表31から当該モジュール名を持つモジュール
のアドレスを取得し、そのアドレスとステップ703で
取得したパッチエントリ中のパッチアドレスで使用され
ているオフセットとに基づいて処理中のモジュールに対
する当該パッチのパッチアドレスの絶対アドレスを計算
(取得)する(ステップ705)。
The module address table 34 is searched by this module name to obtain the address table number corresponding to the module name, and the address of the module having the module name is obtained from the address table 31 based on the address table number. The absolute address of the patch address of the patch for the module being processed is calculated (acquired) based on the address and the offset used in the patch address in the patch entry acquired in step 703 (step 705).

【0045】次に、ステップ703で取得したパッチエ
ントリ中のパッチ内容を取得し(ステップ706)、当
該パッチ内容がモジュール名であるか否かを判定する
(ステップ707)。
Next, the patch content in the patch entry acquired in step 703 is acquired (step 706), and it is determined whether or not the patch content is a module name (step 707).

【0046】ステップ707で「当該パッチ内容がモジ
ュール名である」と判定した場合には、当該モジュール
名によってモジュールアドレス表34をサーチして当該
モジュール名に対応するアドレス表番号を取得し(ステ
ップ708)、当該アドレス表番号によってモジュール
群関連表32内の第1モジュール群情報をサーチして当
該アドレス表番号が第1モジュール群情報に存在するか
否かを判定する(ステップ709。この判定は「当該モ
ジュール名を持つモジュールが多重化モジュール群に属
するか共通モジュール群に属するか」の判定となる)。
When it is determined in step 707 that "the patch content is a module name", the module address table 34 is searched by the module name to obtain the address table number corresponding to the module name (step 708). ), The first module group information in the module group relation table 32 is searched by the address table number and it is determined whether the address table number exists in the first module group information (step 709. This determination is “ It is determined whether the module having the module name belongs to the multiplexing module group or the common module group ”).

【0047】ステップ709で「当該アドレス表番号が
第1モジュール群情報に存在する」と判定した場合に
は、モジュール群関連表32を参照して当該アドレス表
番号(基準となるモジュール群に係るモジュール群情報
に属するアドレス表番号)を選択モジュール群に係るモ
ジュール群情報に属するアドレス表番号に変換する(ス
テップ710)。
When it is determined in step 709 that the address table number is present in the first module group information, the module group relation table 32 is referred to and the address table number (module related to the reference module group is referred to. The address table number belonging to the group information) is converted into the address table number belonging to the module group information related to the selected module group (step 710).

【0048】ステップ709で「当該アドレス表番号が
第1モジュール群情報に存在しない」と判定した場合ま
たはステップ710の処理が終了した場合には、ステッ
プ708で取得したアドレス表番号またはステップ71
0の変換で求めたアドレス表番号に対応するアドレス表
31内のアドレスを参照アドレスとして取得する(これ
によって、当該パッチ内容を確定する)(ステップ71
1)。
If it is determined in step 709 that the address table number does not exist in the first module group information, or if the process of step 710 ends, the address table number acquired in step 708 or step 71
The address in the address table 31 corresponding to the address table number obtained by the conversion of 0 is acquired as a reference address (the contents of the patch are confirmed) (step 71).
1).

【0049】ステップ707で「当該パッチ内容がモジ
ュール名ではない」と判定した場合(パッチ格納ファイ
ル30内のパッチ内容がパッチする値そのものである場
合)またはステップ711の処理が終了した場合(ステ
ップ711でパッチ内容を確定した場合)には、ステッ
プ705で求めたパッチアドレスにステップ706で取
得したパッチ内容またはステップ711で確定したパッ
チ内容を適用するパッチ処理を行い(ステップ71
2)、ステップ702の判定に制御を戻す。
When it is determined in step 707 that "the patch content is not a module name" (when the patch content in the patch storage file 30 is the patch value itself) or when the processing of step 711 ends (step 711). If the patch content is fixed in step 705), the patch processing is performed to apply the patch content acquired in step 706 or the patch content fixed in step 711 to the patch address obtained in step 705 (step 71).
2), the control is returned to the judgment of step 702.

【0050】ステップ702で「処理中のモジュールに
対する未処理のパッチが存在しない」と判定した場合に
は、1つのモジュール(処理中のモジュール)に対する
処理を終了する。
When it is determined in step 702 that "the unprocessed patch does not exist for the module being processed", the processing for one module (module being processed) is terminated.

【0051】多重化モジュール選択パッチ手段4は、以
上のような処理(図7に示す処理)をOS格納ファイル
10内の全てのモジュールについて繰り返す。
The multiplexing module selection patch means 4 repeats the above-mentioned processing (processing shown in FIG. 7) for all the modules in the OS storage file 10.

【0052】[0052]

【発明の効果】以上説明したように本発明は、多重化さ
れている複数のモジュールの中で必要なモジュールのみ
をロードするIPL処理を実現することにより、仮想空
間の有効利用を図り(余分な仮想空間を使用しないよう
にでき)、OSのソースコーディングやOSのパッチの
作成の際にモジュールの多重化を意識することが不要に
なる(多重化されているモジュールに対する参照の有無
を意識せずにOSのソースコーディングやOSのパッチ
の作成を行うことができる)という効果がある。
As described above, the present invention realizes the IPL process of loading only a necessary module among a plurality of multiplexed modules, thereby effectively using the virtual space (extra It becomes unnecessary to use the virtual space), and it becomes unnecessary to be aware of the multiplexing of the modules when the source coding of the OS or the creation of the patches of the OS (without being aware of the reference to the multiplexed modules). It is possible to perform OS source coding and OS patch creation).

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

【図1】本発明の第1の実施例の構成等を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration and the like of a first exemplary embodiment of the present invention.

【図2】図1および図5中のOS格納ファイルの構成の
具体例を示す図である。
FIG. 2 is a diagram showing a specific example of a configuration of an OS storage file in FIGS. 1 and 5.

【図3】図1および図5中の多重化モジュール管理テー
ブルの構成の具体例を示す図である。
FIG. 3 is a diagram showing a specific example of a configuration of a multiplexing module management table in FIGS. 1 and 5.

【図4】図1および図5中の多重化モジュール選択ロー
ド手段の処理を示す流れ図である。
FIG. 4 is a flowchart showing the processing of the multiplexing module selection loading means in FIGS. 1 and 5.

【図5】本発明の第2の実施例の構成等を示すブロック
図である。
FIG. 5 is a block diagram showing a configuration and the like of a second exemplary embodiment of the present invention.

【図6】図5中のパッチ格納ファイルの構成の具体例を
示す図である。
6 is a diagram showing a specific example of a configuration of a patch storage file in FIG.

【図7】図5中の多重化モジュール選択パッチ手段の処
理を示す流れ図である。
FIG. 7 is a flowchart showing the processing of the multiplexing module selection patch means in FIG.

【符号の説明】[Explanation of symbols]

1 多重化モジュール選択指示手段 2 多重化モジュール選択ロード手段 3 多重化モジュール管理テーブル 4 多重化モジュール選択パッチ手段 10 OS格納ファイル 20 仮想空間 30 パッチ格納ファイル 31 アドレス表 32 モジュール群関連表 33 参照解決表 34 モジュールアドレス表 1 multiplexing module selection instruction means 2 multiplexing module selection loading means 3 multiplexing module management table 4 multiplexing module selection patch means 10 OS storage file 20 virtual space 30 patch storage file 31 address table 32 module group relation table 33 reference resolution table 34 Module Address Table

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多重化モジュール群と共通モジュール群
とからなるOSをOS格納ファイルから仮想空間にロー
ドするIPL処理を行うIPL処理装置において、OS中の各モジュールのモジュール名とアドレス,多重
化された複数のモジュール間の関連,およびモジュール
間の参照情報 からなる多重化モジュール管理テーブル
と、 多重化モジュール群中のどのモジュール群を選択モジュ
ール群としてロードすべきかを示す指示を与える多重化
モジュール選択指示手段と、 前記多重化モジュール管理テーブルに対する参照と前記
多重化モジュール選択指示手段による指示とに基づいて
前記OS格納ファイル内の共通モジュール群および選択
モジュール群を前記仮想空間にロードし、基準となるモ
ジュール群に属するモジュールに対する参照を選択モジ
ュール群に属するモジュールに対する参照に変換する多
重化モジュール選択ロード手段とを有することを特徴と
するIPL処理装置。
1. In an IPL processing device for performing an IPL process for loading an OS comprising a multiplexing module group and a common module group from an OS storage file into a virtual space, the module name and address of each module in the OS, and the multiplexing
Between integrated multiple modules and modules
A multiplexing module management table consisting of reference information between them, a multiplexing module selection instructing means for instructing which module group in the multiplexing module group should be loaded as a selection module group, and the multiplexing module management table The common module group and the selected module group in the OS storage file are loaded into the virtual space based on the reference and the instruction by the multiplexing module selection instruction means, and the reference to the module belonging to the reference module group is selected module group. And a multiplexing module selection loading means for converting into a reference to a module belonging to the IPL processing device.
【請求項2】 共通パッチ群と多重化パッチ群とを格納
するパッチ格納ファイル内のパッチを適用して多重化モ
ジュール群と共通モジュール群とからなるOSをOS格
納ファイルから仮想空間にロードするIPL処理を行う
IPL処理装置において、OS中の各モジュールのモジュール名とアドレス,多重
化された複数のモジュール間の関連,およびモジュール
間の参照情報 からなる多重化モジュール管理テーブル
と、 多重化モジュール群中のどのモジュール群を選択モジュ
ール群としてロードすべきかを示す指示を与える多重化
モジュール選択指示手段と、 前記多重化モジュール管理テーブルに対する参照と前記
多重化モジュール選択指示手段による指示とに基づいて
前記OS格納ファイル内の共通モジュール群および選択
モジュール群を前記仮想空間にロードし、基準となるモ
ジュール群に属するモジュールに対する参照を選択モジ
ュール群に属するモジュールに対する参照に変換する多
重化モジュール選択ロード手段と、 前記多重化モジュール管理テーブルに対する参照と前記
多重化モジュール選択指示手段による指示とに基づいて
前記多重化モジュール選択ロード手段によって前記仮想
空間にロードされたモジュールに前記パッチ格納ファイ
ル内のパッチを適用し、基準となるモジュール群に属す
るモジュールを参照するパッチを選択モジュール群に属
するモジュールを参照するパッチに変換する多重化モジ
ュール選択パッチ手段とを有することを特徴とするIP
L処理装置。
2. An IPL for applying an patch in a patch storage file storing a common patch group and a multiplexed patch group to load an OS including a multiplexed module group and a common module group from the OS storage file into a virtual space. In the IPL processing device that performs processing, the module name and address of each module in the OS
Between integrated multiple modules and modules
A multiplexing module management table consisting of reference information between them, a multiplexing module selection instructing means for instructing which module group in the multiplexing module group should be loaded as a selection module group, and the multiplexing module management table The common module group and the selected module group in the OS storage file are loaded into the virtual space based on the reference and the instruction by the multiplexing module selection instruction means, and the reference to the module belonging to the reference module group is selected module group. Multiplex module selection loading means for converting into a reference to a module belonging to, and the virtual space by the multiplex module selection loading means based on a reference to the multiplex module management table and an instruction from the multiplex module selection instruction means. Multiplexing module selection patch means for applying a patch in the patch storage file to the loaded module and converting a patch referencing a module belonging to a reference module group into a patch referencing a module belonging to a selection module group. IP characterized by having
L processor.
JP5021658A 1993-01-18 1993-01-18 IPL processing device Expired - Fee Related JP2500736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5021658A JP2500736B2 (en) 1993-01-18 1993-01-18 IPL processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5021658A JP2500736B2 (en) 1993-01-18 1993-01-18 IPL processing device

Publications (2)

Publication Number Publication Date
JPH06214796A JPH06214796A (en) 1994-08-05
JP2500736B2 true JP2500736B2 (en) 1996-05-29

Family

ID=12061149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5021658A Expired - Fee Related JP2500736B2 (en) 1993-01-18 1993-01-18 IPL processing device

Country Status (1)

Country Link
JP (1) JP2500736B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3201515B2 (en) 1997-06-09 2001-08-20 セイコーエプソン株式会社 Print data generation device, print data generation method, printing device, and printing system
JPWO2008047596A1 (en) * 2006-10-18 2010-02-25 不二製油株式会社 Freezing-resistant yeast

Also Published As

Publication number Publication date
JPH06214796A (en) 1994-08-05

Similar Documents

Publication Publication Date Title
JP2500736B2 (en) IPL processing device
US6636988B1 (en) Application of automation and procedures to enable high-speed recovery and relocation of computer workloads
JPH0651989A (en) Fast loading system of operating system in computer system
JPS6048776B2 (en) Combined calling method for programs in storage devices
JPH06222916A (en) On-line real-time processor
JPH0553882A (en) Memory dump collecting system
JP3721747B2 (en) Document processing apparatus and method, and medium on which document processing program is recorded
JP3048941B2 (en) Method and apparatus for realizing virtual display adapter
JP2741999B2 (en) Data storage management method
JP3559571B2 (en) Data processing device and data processing method
JP2000148562A (en) Data backup method, data backup device utilizing the method and computer readable recording medium recorded with data backup program
JPH036535B2 (en)
JPH05282134A (en) Divided load module formation system
JPS6150356B2 (en)
JPH04241618A (en) Slip preparing device
JPH01119839A (en) File constitution control system
JP2000035882A (en) Method for dynamic change of function calling sequence
JPH02208760A (en) Control system for successive page rearrangement of virtual storage space
JP2000035906A (en) Data gathering method
JPH0344328B2 (en)
JPH01286053A (en) Data control system over plural types of computers
JPS6337435A (en) Program patch history management system
JPH07325708A (en) System constitution management system
JPH05100941A (en) Managing method for memory area
JPH04129357A (en) Expansion system for protocol function by subset

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080313

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090313

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090313

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100313

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100313

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110313

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110313

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 16

LAPS Cancellation because of no payment of annual fees