JPS5850383B2 - information processing equipment - Google Patents
information processing equipmentInfo
- Publication number
- JPS5850383B2 JPS5850383B2 JP52082954A JP8295477A JPS5850383B2 JP S5850383 B2 JPS5850383 B2 JP S5850383B2 JP 52082954 A JP52082954 A JP 52082954A JP 8295477 A JP8295477 A JP 8295477A JP S5850383 B2 JPS5850383 B2 JP S5850383B2
- Authority
- JP
- Japan
- Prior art keywords
- prefix
- information processing
- virtual machine
- area
- register
- 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
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
本発明は、情報処理装置に関するものであり、特にプリ
フィクス変換に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device, and particularly to prefix conversion.
最近、オペレーティングシステムのデバグ効率を上げる
等の目的で仮想計算機というものが考えられている。Recently, virtual computers have been considered for the purpose of increasing the debugging efficiency of operating systems.
これは1台の計算機を複数台の同機能を有する計算機が
存在するかのごとく見せかけるソフトウェア的な技術で
ある。This is a software technique that makes a single computer appear as if there are multiple computers with the same functionality.
計算機の仮想化は実計算機を管理する仮想計算機モニタ
と称されるような制御プログラムにより実計算機をオペ
レーティングシステムに時分割で割付けることにより実
現する。Computer virtualization is achieved by allocating real computers to operating systems on a time-sharing basis using a control program called a virtual computer monitor that manages real computers.
前述した仮想計算機システムの問題点の1つとして以下
に述べるものがある。One of the problems with the virtual computer system described above is as follows.
最近の情報処理装置では、主記憶装置内に4KBあるい
は8KBのプリフィクスエリアという特定な領域を確保
し、このエリアを割込み発生時の装置状態情報格納エリ
アあるいは割込み後の新しい装置状態情報の格納エリア
等に利用している。In recent information processing devices, a specific area called a 4KB or 8KB prefix area is reserved in the main memory, and this area is used as an area for storing device status information when an interrupt occurs or an area for storing new device status information after an interrupt. It is used for.
プリフィクスエリアは、情報処理装置内にあるプリフィ
クスレジスタにより主記憶装置上の実アドレスが示され
る。In the prefix area, a real address on the main storage device is indicated by a prefix register in the information processing device.
情報処理装置では主記憶装置を参照・更新する実アドレ
スがプリフィクスエリア内(0〜4095番地あるいは
O〜8191番地)であればプリフィクスレジスタによ
りプリフィクス変換(実アドレス+プリフィクスレジス
タの内容)を行ない、変換後のアドレスで主記憶装置の
参照、更新を行なう。In the information processing device, if the real address to refer to or update the main memory is within the prefix area (addresses 0 to 4095 or addresses O to 8191), prefix conversion (real address + contents of prefix register) is performed using the prefix register. The main memory is referenced and updated at the later address.
従来の情報処理装置では、前記プリフィクスレジスタを
1個しか持っていない。A conventional information processing device has only one prefix register.
したがって仮想計算機システムでは、前述の仮想計算機
モニタにより仮想計算機毎に情報処理装置では直接参照
、更新を行なわない仮のプリフィクスエリアを定義し、
割込み等が発生すると仮想計算機モニタで管理している
実プリフィクスエリアに格納されている各種情報を対応
する仮プリフィクスエリアに移し、割込み後の状態を設
定して仮想計算機の割込み処理プログラムに制御を渡す
処理を行なっている。Therefore, in a virtual computer system, a temporary prefix area that is not directly referenced or updated by the information processing device is defined for each virtual computer using the virtual computer monitor described above.
When an interrupt occurs, the various information stored in the real prefix area managed by the virtual machine monitor is moved to the corresponding temporary prefix area, the post-interrupt state is set, and control is passed to the virtual machine's interrupt processing program. Processing is in progress.
このため割込み機能等を擬似するための仮想計算機モニ
タのオーバヘッドが大きく仮想計算機の性能をおとす結
果となっていた。Therefore, the overhead of the virtual machine monitor for simulating interrupt functions and the like is large, resulting in a decrease in the performance of the virtual machine.
本発明の目的は前記の如き従来技術の問題点を除去する
ものであり、情報処理装置内に少なくとも2個以上のプ
リフィクスレジスタを持ち、この複数のプリフィクスレ
ジスタをプログラムの指示により情報処理装置において
任意に選択することを可能にすることにより、前記仮想
計算機モニタで割込み処理を擬似するといったオーバヘ
ッドを軽減するという効果を有する情報処理装置を提供
することにある。An object of the present invention is to eliminate the problems of the prior art as described above, and to have at least two or more prefix registers in an information processing device, and to arbitrarily control the plurality of prefix registers in the information processing device according to instructions from a program. An object of the present invention is to provide an information processing device that has the effect of reducing the overhead of simulating interrupt processing using the virtual machine monitor.
次に本発明の実施例について図面を用いて詳細に説明す
る。Next, embodiments of the present invention will be described in detail using the drawings.
図は本発明による情報処理装置の特徴であるプリフィク
ス変換部について示したものである。The figure shows a prefix converter that is a feature of the information processing apparatus according to the present invention.
図中1,2はプリフィクスレジスタである。In the figure, 1 and 2 are prefix registers.
3はプリフィクスレジスタ1,2のうちどちらが有効で
あるかを示す表示子である。3 is an indicator indicating which of prefix registers 1 and 2 is valid.
ブリフイクレジスタ1,2および表示子3の出力はプリ
フィクスレジスタ選択回路5に入力されている。The outputs of the prefix registers 1 and 2 and the indicator 3 are input to a prefix register selection circuit 5.
プリフィクスレジスタ選択回路では表示子3に従ってプ
リフィクスレジスタ1または2を選択する。The prefix register selection circuit selects prefix register 1 or 2 according to indicator 3.
プリフィクスレジスタ選択回路5の出力はプリフィクス
変換回路6に入力されている。The output of the prefix register selection circuit 5 is input to a prefix conversion circuit 6.
プリフィクス変換回路6には、他に実アドレス情報が入
力されており、実アドレスがプリフィクスエリアの範囲
内であればプリフィクスレジスタ選択回路で選択された
プリフィクスレジスタと実アドレスを加算したアドレス
情報を出力線4に出力する。The prefix conversion circuit 6 also inputs real address information, and if the real address is within the range of the prefix area, the address information obtained by adding the prefix register selected by the prefix register selection circuit and the real address is output to the output line. Output to 4.
プリフィクスエリアの範囲外であれば実アドレスをその
ママ出力線4に出力する。If it is outside the prefix area, the real address is output to the mother output line 4.
出力線4は、主記憶装置にみちびかれ、主記憶装置アク
セス用のアドレスとして利用される。The output line 4 is led to the main memory and is used as an address for accessing the main memory.
なおプリフィクスレジスタ選択回路、プリフィクス変換
回路の構成については従来技術で自明であり詳述はしな
い。Note that the configurations of the prefix register selection circuit and the prefix conversion circuit are obvious from the prior art and will not be described in detail.
次に本発明の利用方法について述べる。Next, a method of using the present invention will be described.
プリフィクスレジスタ1を仮想計算機モニタ(実計算機
)に割当て、プリフィクスレジスタ2を仮想計算機上の
プログラム(仮想計算機)に割当てる。Prefix register 1 is assigned to the virtual machine monitor (real computer), and prefix register 2 is assigned to the program on the virtual machine (virtual machine).
またプリフィクスレジスタ1が標準のプリフィクスレジ
スタであり表示子の初期値はプリフィクスレジスタ1を
選択するよう設定されている。Further, prefix register 1 is a standard prefix register, and the initial value of the indicator is set to select prefix register 1.
仮想計算機モニタが最初に走行する場合はプリフィクス
レジスタ1が選択されており、標準のプリフィクスエリ
アを使用して処理を行なう。When the virtual machine monitor runs for the first time, prefix register 1 is selected and processing is performed using the standard prefix area.
仮想計算機モニタで仮想計算機を成生じ、制御を渡す場
合は、下記の処理を行なう。When creating a virtual machine using the virtual machine monitor and passing control to it, perform the following processing.
まず、仮想計算機用のプリフィクスエリアを確保し、そ
の先頭アドレスをプリフィクスレジスタ2に設定する。First, a prefix area for the virtual machine is secured, and its start address is set in the prefix register 2.
その後、表示子を変更する命令を実行し、プリフィクス
レジスタ2を選択し、仮想計算機上で走行するプログラ
ムに制御を渡す。Thereafter, an instruction to change the indicator is executed, prefix register 2 is selected, and control is passed to a program running on the virtual machine.
仮想計算機上のプログラムが走行中はプリフィクスエリ
ア2が有効となり、仮想計算機モニタが介入することな
く、プリフィクスエリアの参照、更新が出来る。While the program on the virtual machine is running, the prefix area 2 is enabled, and the prefix area can be referenced and updated without the intervention of the virtual machine monitor.
仮想計算機上のプログラムから仮想計算機モニタに制御
が渡された場合は、再び表示子を変更する命令を実行し
、プリフィクスレジスタ1を選択する。When control is passed from the program on the virtual machine to the virtual machine monitor, the command to change the indicator is executed again and prefix register 1 is selected.
以上述べたように制御することにより、実計算機および
仮想計算機に各々独自のプリフィクスエリアを割当てる
ことが出来る。By controlling as described above, it is possible to allocate unique prefix areas to the real computer and the virtual computer.
したがって、仮想計算機モニタによりプリフィクスエリ
アを擬似するといった処理は行なわなくて良い。Therefore, there is no need to perform processing such as simulating a prefix area using a virtual machine monitor.
以上、本発明の一実施例について説明したが情報処理装
置内に持つプリフィクスレジスタは2個とはかぎらない
、またプリフィクスレジスタ切替えは、仮想計算機モニ
タか仮想計算機上で走行するプログラムかによって行な
ったが、これにかぎらずたとえば仮想計算機上で走行す
るプログラムで特定条件によるプリフィクスエリアの参
照、更新の場合のみ切替えるようにしても良い。Although one embodiment of the present invention has been described above, the number of prefix registers included in the information processing device is not limited to two, and prefix register switching is performed depending on whether the virtual machine monitor or the program running on the virtual machine is used. However, the present invention is not limited to this, and for example, the switching may be performed only when a prefix area is referenced or updated under specific conditions in a program running on a virtual machine.
以上述べたように本発明による情報処理装置では、仮想
計算機システムを実現する場合、仮想計算機モニタによ
るプリフィクスエリアの擬似処理を軽減することが可能
であり、仮想計算機モニタのオーバヘッドによる仮想計
算機の性能低下を防止できる。As described above, in the information processing device according to the present invention, when realizing a virtual machine system, it is possible to reduce the pseudo processing of the prefix area by the virtual machine monitor, and the performance degradation of the virtual machine due to the overhead of the virtual machine monitor can be reduced. can be prevented.
さらに仮想計算機上でプログラムが実アドレスモード(
アドレス変換を行なわないモード)走行する場合でも従
来は仮想計算機用のプリフィクスエリア擬似のためだけ
にアドレス変換用のテーブルを用意し仮想アドレスモー
ドで走行させていた。Furthermore, the program runs in real address mode (
Conventionally, even when running in a mode in which address translation is not performed, an address translation table was prepared just to simulate a prefix area for a virtual machine, and the machine was run in virtual address mode.
本発明による情報処理装置では、このような必要はなく
プリフィクスエリアの擬似によるオーバヘッドとともに
前記のごとき無駄なアドレス変換によるハード、ソフト
ウェアのオーバヘッドも軽減出来る。In the information processing apparatus according to the present invention, this is not necessary, and the overhead caused by simulating the prefix area as well as the hardware and software overhead caused by the above-mentioned wasteful address conversion can be reduced.
【図面の簡単な説明】
図は本発明の一実施例を示す図である。
1.2・・・・・・プリフィクスレジスタ、3・・・・
・・表示子、5・・・・・・プリフィクスレジスタ選択
回路、6・・・・・・プリフィクス変換回路。BRIEF DESCRIPTION OF THE DRAWINGS The figure shows an embodiment of the present invention. 1.2...Prefix register, 3...
...Indicator, 5...Prefix register selection circuit, 6...Prefix conversion circuit.
Claims (1)
の情報を格納するためのプリフィクスエリアを持つ情報
処理装置において、前記プリフィクスエリアの先頭アド
レスを示すプリフィクスレジスタを少なくとも2個以上
持ち、この複数のプリフィクスレジスタのうちどのプリ
フィクスレジスタが有効であるかを示すプログラムで設
定可能な表示子を持ち、前記表示子によって、プリフィ
クスレジスタを切替える手段を持つ事を特徴とする情報
処理装置。1. An information processing device having a prefix area for storing specific information to be referenced and updated by the information processing device in a main storage device, which has at least two or more prefix registers indicating the start address of the prefix area; An information processing device comprising: an indicator that can be set by a program to indicate which prefix register is valid among the prefix registers, and means for switching the prefix register using the indicator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP52082954A JPS5850383B2 (en) | 1977-07-13 | 1977-07-13 | information processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP52082954A JPS5850383B2 (en) | 1977-07-13 | 1977-07-13 | information processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5418639A JPS5418639A (en) | 1979-02-10 |
JPS5850383B2 true JPS5850383B2 (en) | 1983-11-10 |
Family
ID=13788605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP52082954A Expired JPS5850383B2 (en) | 1977-07-13 | 1977-07-13 | information processing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5850383B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0368687U (en) * | 1989-11-07 | 1991-07-05 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55112651A (en) * | 1979-02-21 | 1980-08-30 | Fujitsu Ltd | Virtual computer system |
JPS6097440A (en) * | 1983-10-31 | 1985-05-31 | Fujitsu Ltd | Virtual multiprocessor device |
JP2523653B2 (en) * | 1987-07-08 | 1996-08-14 | 株式会社日立製作所 | Virtual computer system |
-
1977
- 1977-07-13 JP JP52082954A patent/JPS5850383B2/en not_active Expired
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0368687U (en) * | 1989-11-07 | 1991-07-05 |
Also Published As
Publication number | Publication date |
---|---|
JPS5418639A (en) | 1979-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR870000668B1 (en) | Data processing system with virtual computer | |
JPH0532772B2 (en) | ||
JPS61141055A (en) | Information processor | |
JPH05257803A (en) | Virtual storage space control method and address calculation device | |
JPS6027964A (en) | Memory access control circuit | |
JPS61206043A (en) | Interruption control method in virtual computer system | |
JP2513024B2 (en) | Extended storage address control method | |
JPH0195347A (en) | System for converting address | |
JPS5850383B2 (en) | information processing equipment | |
JPH0285941A (en) | Data processing system | |
JP2798275B2 (en) | Virtual memory address space access control method | |
JPS61184643A (en) | Starting control system for virtual computer | |
JPS62120542A (en) | Information processor | |
JPS6299844A (en) | Address converter | |
JP2527038B2 (en) | Extended memory transfer control method | |
JPH0447853B2 (en) | ||
JP2782987B2 (en) | Computer equipment | |
JPS5918787B2 (en) | TLB partition method | |
JPS59117620A (en) | Computer system | |
JPS6273346A (en) | Address converter | |
JPS6338729B2 (en) | ||
JPH05210592A (en) | Method for address conversion in multiple virtual space | |
JPH0375832A (en) | Virtual machine control system | |
JPH0573518A (en) | Memory mapped cpu system | |
JPS62221751A (en) | Paging system |