JPH01142955A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH01142955A JPH01142955A JP30226887A JP30226887A JPH01142955A JP H01142955 A JPH01142955 A JP H01142955A JP 30226887 A JP30226887 A JP 30226887A JP 30226887 A JP30226887 A JP 30226887A JP H01142955 A JPH01142955 A JP H01142955A
- Authority
- JP
- Japan
- Prior art keywords
- address
- memory
- address register
- accessed
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は複数のメモリブロックを用い、各メモリブロッ
クのアドレス配置を動的に再配置して使用する事によシ
、記憶装置のシステム空間とアプリケージ璽ンプログラ
ム空間の配分を制御できる情報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention uses a plurality of memory blocks and dynamically rearranges and uses the addresses of each memory block, thereby improving the system space of the storage device and applications. The present invention relates to an information processing device that can control the allocation of cage program space.
従来の技術
従来の情報処理装置としては、例えば特開昭59−14
4965号公報に示されている。第4図はこの従来の情
報処理装置の構成を示すブロック図であり、1,2.3
はメモリセグメント0゜1.2である。4はアクセスす
るメモリのセグメント番号を保持するセグメントレジス
タ、6は各メモリセグメントの共通領域と非共通領域と
の境界アドレスを保持する境界レジスタ、6は境界レジ
スタ6とアドレスバスの値を比較する比較器である。7
は比較器6からの信号61がオンの時にセグメントレジ
スタ4の内容をセグメントバスに送出し、信号61がオ
フの時にはOt送出するゲートである。2. Prior Art As a conventional information processing device, for example, Japanese Patent Application Laid-Open No. 59-14
This is shown in Japanese Patent No. 4965. FIG. 4 is a block diagram showing the configuration of this conventional information processing device.
is memory segment 0°1.2. 4 is a segment register that holds the segment number of the memory to be accessed, 6 is a boundary register that holds the boundary address between the common area and non-common area of each memory segment, and 6 is a comparison that compares the value of the boundary register 6 and the address bus. It is a vessel. 7
is a gate that sends the contents of the segment register 4 to the segment bus when the signal 61 from the comparator 6 is on, and sends Ot when the signal 61 is off.
以上の様に構成された従来の情報処理装置においては、
アドレスバスの内容と境界レジスタ6の内容を比較し、
小さい場合に比較器6の出力をオンにする事によシセグ
メントレジスタ4の内容をセグメントバスに送出する。In the conventional information processing device configured as described above,
Compare the contents of the address bus and the contents of boundary register 6,
If it is smaller, the contents of the segment register 4 are sent to the segment bus by turning on the output of the comparator 6.
その結果セグメントレジスタ4に選択されたメモリセグ
メントがアクセス可能となる。アドレスバスの内容と境
界レジスタ5の内容を比較し、大きい場合に比較器6の
出力をオフにする事によシセグメントバスをゼロにし、
必ずメモリセグメント0がアクセス可能となる。As a result, the memory segment selected by segment register 4 becomes accessible. The content of the address bus is compared with the content of the boundary register 5, and if the content is larger, the output of the comparator 6 is turned off to set the segment bus to zero.
Memory segment 0 is always accessible.
発明が解決しようとする問題点
しかしながら上記の様な構成では、境界レジスタ5の内
容を変更する事により、アドレスバスの値に従って共通
にアクセス可能な領域と、各メモリセグメント毎にアク
セスする領域との分割を可変にできるが、逆にセグメン
ト0以外で共通領域にマツピングされたメモリはアクセ
ス出来ず無駄になりてしまうという欠点を有していた。Problems to be Solved by the Invention However, in the above configuration, by changing the contents of the boundary register 5, areas that can be accessed in common according to the value of the address bus and areas that are accessed for each memory segment can be separated. Although division can be made variable, it has the disadvantage that memory mapped to a common area other than segment 0 cannot be accessed and is wasted.
本発明はかかる点に鑑み、複数のメモリブロックを用い
、各メモリブロックのアドレス配置を動的に再配置して
使用する事によシ、記憶装置のシステム空間とアプリケ
ーションプログラム空間のメモリ配分を制御できる情報
処理装置を提供する事を目的とする。In view of this, the present invention uses a plurality of memory blocks and dynamically rearranges and uses the address arrangement of each memory block to control memory allocation between the system space and application program space of the storage device. The purpose is to provide an information processing device that can.
問題点を解決するための手段
本発明はメモリのアドレスを保持するアドレスレジスタ
と、アドレスレジスタの内容とアドレスバスを比較する
比較器と、アドレスレジスタの内容がアドレスバスと一
致した時にアクセス可能となるメモリブロックとを一組
とする浮動配置記憶部を複数個備えた情報処理装置であ
る。Means for Solving the Problems The present invention includes an address register that holds a memory address, a comparator that compares the contents of the address register with an address bus, and access becomes possible when the contents of the address register match the address bus. The information processing device includes a plurality of floating storage units each including a memory block.
作用
本発明は前記した構成により、各々の浮動配置記憶部の
アドレスレジスタにシステム空間、アプリケーションプ
ログラム空間のアドレスを設定する事により、浮動配置
記憶部の容量単位でシステム空間に配置されるかアプリ
ケーション空間に配置されるかが決まる。According to the above-described configuration, the present invention sets the address of the system space and application program space in the address register of each floating storage section, so that the capacity of the floating storage section is allocated to the system space or the application space. It will be decided whether it will be placed in
実施例
第1図は本発明の一実施例における情報処理装置の構成
を示すブロック図である。第1図において、7は浮動配
置記憶部、71は浮動配置記憶部の開始アドレスを保持
するアドレスレジスタ、72はアドレスバスとアドレス
レジスタの内容を比較し、一致したときに信号721を
オンにする比較器、73は信号721がオンになった時
にアクセス可能となるメモリブロックで例えば128K
Bの容量を有する。8は固定配置記憶部、82はメそリ
ブロックで例えば1MBの容量を有する。81はアドレ
スバスの信号をデコードし、メモリブロック82のアド
レス配置を固定的に決定するデコーダである。9は別の
浮動配置記憶部で構成は7と同じである。1oは別の固
定記憶部で構成は8と同じである。第2図は本発明の一
実施例における記憶空間の配分を示す図であシ、0番地
より77FFFFFFF番地までは、アプリケーション
プログラム空間、80000000番地からyyyyy
yyy番地まではシステム空間であり、システム空間は
アプリケーション空間で実行しているプログラムからは
アクセスできないものとする。第3因は本発明の一実施
例における記憶空間の配分の変化を示す図である。Embodiment FIG. 1 is a block diagram showing the configuration of an information processing apparatus in an embodiment of the present invention. In FIG. 1, 7 is a floating memory section, 71 is an address register that holds the start address of the floating memory section, and 72 is a comparison between the contents of the address bus and the address register, and when they match, a signal 721 is turned on. The comparator 73 is a memory block of, for example, 128K that can be accessed when the signal 721 is turned on.
It has a capacity of B. Reference numeral 8 is a fixed location storage section, and 82 is a memory block having a capacity of, for example, 1 MB. A decoder 81 decodes the address bus signal and permanently determines the address arrangement of the memory block 82. 9 is another floating storage unit having the same configuration as 7. 1o is another fixed storage unit having the same configuration as 8. FIG. 2 is a diagram showing the distribution of storage space in an embodiment of the present invention. The area from address 0 to address 77FFFFFFFF is the application program space, and
It is assumed that the area up to address yyy is the system space, and the system space cannot be accessed from a program running in the application space. The third factor is a diagram showing changes in storage space allocation in one embodiment of the present invention.
以上の様に構成された本実施例の情報処理装置について
、以下その動作を説明する。固定配置記憶部8は800
00000番地から80OFFFFF番地までをアクセ
スできるとする。固定配置記憶部1oは0番地からFF
FFF番地までをアクセスできるものとする。浮動配置
記憶部γでは、メそリブロック73をアクセス出来るよ
うに8010という値が格納されており、801ooO
o番地から8017FFFF番地までをアクセスできる
ものとする。同様に浮動配置記憶部9では、アドレスレ
ジスタに10という値が格納されており、1oooOo
番地から117FFF番地までをアクセスできるものと
する。この状態を第3図(&)に示す。こういった情報
処理装置では、立ち上げ時や動作中にメモリ配分を変え
る必要が起こることがある。例えばシステム領域のオペ
レーティングシステムの機能を拡張する時や、オプシッ
ンのデバイスドライバを読み込みたい時などシステム空
間に現在配置されているメモリだけでは不足する場合で
ある。このような時には、浮動配置記憶部9のアドレス
レジスタに8012という値を格納する事によシ、今ま
で110000番地からアクセスできたメモリ領域は8
0120000番地から8013FFFF番地までアク
セスできる様に変更し、システム空間に配置されるメモ
リ容量を増加させる。この状態を第3図(b)に示す。The operation of the information processing apparatus of this embodiment configured as described above will be described below. Fixed location storage unit 8 is 800
Assume that it is possible to access from address 00000 to address 80OFFFFFF. Fixed location storage unit 1o is from address 0 to FF
It is assumed that up to address FFF can be accessed. In the floating memory unit γ, the value 8010 is stored so that the memory block 73 can be accessed, and the value 801ooO
It is assumed that the area from address o to address 8017FFFF can be accessed. Similarly, in the floating memory section 9, the address register stores the value 10, and 1oooOo
It is assumed that the area from address to address 117FFF can be accessed. This state is shown in FIG. 3 (&). In such information processing devices, it may be necessary to change memory allocation at startup or during operation. For example, when the memory currently allocated in the system space is insufficient, such as when expanding the functions of the operating system in the system area or when wanting to load an optional device driver. In such a case, by storing the value 8012 in the address register of the floating memory section 9, the memory area that could previously be accessed from address 110000 will be reduced to 8.
The memory capacity allocated to the system space is increased by changing the address so that it can be accessed from address 0120000 to address 8013FFFF. This state is shown in FIG. 3(b).
逆に複数個のアブリケーシロンブログヲムをアブリケー
シッンプログラム空間に配置し、マルチプロセスで同時
に動作させる場合もある。このような時には、浮動配置
記憶部7のアドレスレジスタ71に12という値を、浮
動配置記憶部eのアドレスレジスタに10という値を格
納する事により、アプリケージ四ンプログフム空間に配
置されるメそり容量が増加する。この状態を第3図(c
)に示す。On the other hand, there are cases where a plurality of application programs are placed in the application program space and run simultaneously in multiple processes. In such a case, by storing a value of 12 in the address register 71 of the floating arrangement storage section 7 and a value of 10 in the address register of the floating arrangement storage section e, the memory capacity arranged in the application program space can be increased. increases. This state is shown in Figure 3 (c
).
以上の様に本実施例によれば、メモリのアドレスを保持
するアドレスレジスタと、アドレスレジスタの内容とメ
モリアドレスバスを比較する比較器と、アドレスレジス
タの内容がアドレスバスと一致した時にアクセス可能と
なるメモリブロックとを一組とする浮動配置記憶部を複
数個設ける事によりシステム空間とアプリケージ、ンプ
ログラム空間のメモリの配分を自由に変更設定でき、記
憶部の一部を無駄にする必要がなくなる。As described above, according to this embodiment, there is an address register that holds a memory address, a comparator that compares the contents of the address register with the memory address bus, and an access is possible when the contents of the address register match the address bus. By providing multiple floating storage units each consisting of a set of memory blocks, the allocation of memory between the system space, application cage, and program space can be freely changed, eliminating the need to waste part of the storage unit. It disappears.
発明の詳細
な説明したように、本発明によれば、オペレーティング
システム等のシステムプログラムやアブリケーシッンプ
ログラムの大きさに応じて、システム空間とアブリケー
シッンプログラム空間のメモリの配分を自由に変更設定
でき、その実用効果は大きい。As described in detail, according to the present invention, it is possible to freely allocate memory between the system space and the general program space depending on the size of the system program such as the operating system or the general program. It can be changed and set, and its practical effects are great.
第1図は本発明の一実施例における情報処理装置の構成
を示すブロック図、第2図は本発明の一実施例における
記憶空間の配分図、第3図は本発明の一実施例における
記憶空間の配分の変化を示す説明図、第4図は従来の情
報処理装置の構成を示すブロック図である。
7・・・・・・浮動配置記憶部、71・・・・・・アド
レスレジスタ、72・・・・・・比較器、73・・・・
−・メモリブロック。
代理人の氏名 昇理士 中 尾 敏 男 ほか1名第1
図
第 253
アドレスFIG. 1 is a block diagram showing the configuration of an information processing device according to an embodiment of the present invention, FIG. 2 is a storage space distribution diagram according to an embodiment of the present invention, and FIG. 3 is a storage space diagram according to an embodiment of the present invention. FIG. 4, which is an explanatory diagram showing changes in space allocation, is a block diagram showing the configuration of a conventional information processing device. 7...Floating arrangement storage unit, 71...Address register, 72...Comparator, 73...
-・Memory block. Name of agent Toshio Nakao and 1 other person
Figure No. 253 Address
Claims (1)
アドレスレジスタの内容とメモリアドレスバスを比較す
る比較器と、前記アドレスレジスタの内容がアドレスバ
スと一致した時にアクセス可能となるメモリブロックと
を一組とする浮動配置記憶部を複数個と、少なくとも一
つ以上の固定的にアドレスされる固定配置記憶部を備え
、システム構成に応じて浮動配置記憶部をシステム/ア
プリケーションプログラム空間に配置し直す事を可能と
した情報処理装置。A set includes an address register that holds a memory address, a comparator that compares the contents of the address register with a memory address bus, and a memory block that becomes accessible when the contents of the address register match the address bus. It is equipped with a plurality of floating memory units and at least one fixed memory unit that is addressed in a fixed manner, and it is possible to rearrange the floating memory units in the system/application program space depending on the system configuration. information processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30226887A JPH01142955A (en) | 1987-11-30 | 1987-11-30 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30226887A JPH01142955A (en) | 1987-11-30 | 1987-11-30 | Information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01142955A true JPH01142955A (en) | 1989-06-05 |
Family
ID=17906966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30226887A Pending JPH01142955A (en) | 1987-11-30 | 1987-11-30 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01142955A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006126318A (en) * | 2004-10-27 | 2006-05-18 | Ricoh Co Ltd | Image reader and copying machine |
JP2007306309A (en) * | 2006-05-11 | 2007-11-22 | Ricoh Co Ltd | Image reader and image-forming device |
JP2007318406A (en) * | 2006-05-25 | 2007-12-06 | Ricoh Co Ltd | Image reader and image forming apparatus |
-
1987
- 1987-11-30 JP JP30226887A patent/JPH01142955A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006126318A (en) * | 2004-10-27 | 2006-05-18 | Ricoh Co Ltd | Image reader and copying machine |
JP2007306309A (en) * | 2006-05-11 | 2007-11-22 | Ricoh Co Ltd | Image reader and image-forming device |
JP2007318406A (en) * | 2006-05-25 | 2007-12-06 | Ricoh Co Ltd | Image reader and image forming apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6027964A (en) | Memory access control circuit | |
KR910006856A (en) | Microcomputers Dynamically Perform Bus Control Using Address Registers | |
JPH06161885A (en) | Memory access controller | |
KR930002956A (en) | Data transfer control device | |
JPH01142955A (en) | Information processor | |
JPS6126152A (en) | Address check system | |
KR900005298A (en) | Computer systems that can use the address space effectively | |
JPH02217925A (en) | Microprocessor | |
US6654646B2 (en) | Enhanced memory addressing control | |
JPS62134735A (en) | Volume allocating method for disk device, and its access method | |
JPS61228539A (en) | Address converting circuit | |
JPH01140342A (en) | Virtual computer system | |
JPH0477930A (en) | Microcomputer | |
JPH0594366A (en) | Microcomputer | |
JPS62131352A (en) | Address conversion control system | |
JPS638846A (en) | Picture memory controller | |
KR950012222A (en) | Cache Memory Sharing Dual Processor Board | |
JPS63141149A (en) | Memory device control system | |
JPS60159954A (en) | Memory controlling system | |
JPS6353660A (en) | Control system for virtual storage space | |
JPS63236153A (en) | Storage device | |
JPS6036615B2 (en) | Memory control method | |
JPH01183750A (en) | Cache memory residence system | |
JPS6289151A (en) | Microcomputer unit | |
JPS59144965A (en) | Control device of address |