JPS597985B2 - Access control method for data processing equipment - Google Patents

Access control method for data processing equipment

Info

Publication number
JPS597985B2
JPS597985B2 JP53050963A JP5096378A JPS597985B2 JP S597985 B2 JPS597985 B2 JP S597985B2 JP 53050963 A JP53050963 A JP 53050963A JP 5096378 A JP5096378 A JP 5096378A JP S597985 B2 JPS597985 B2 JP S597985B2
Authority
JP
Japan
Prior art keywords
area
address
register
information
data processing
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
Application number
JP53050963A
Other languages
Japanese (ja)
Other versions
JPS54144142A (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.)
Panafacom Ltd
Original Assignee
Panafacom 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 Panafacom Ltd filed Critical Panafacom Ltd
Priority to JP53050963A priority Critical patent/JPS597985B2/en
Publication of JPS54144142A publication Critical patent/JPS54144142A/en
Publication of JPS597985B2 publication Critical patent/JPS597985B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明は、データ処理装置のアクセス制御方式、特にマ
イクロ・プロセッサ・ユニットを含むデータ処理システ
ムにおいて、マツパを用いてアクセスできるアドレス空
間を拡張すると共に該拡張されたアドレス空間内にハー
ドウェア固定領域を拡大して2分して用意するようにし
、上記マツパを介して決定されたアドレス情報にもとづ
いて上記ハードウェア固定領域をアクセスしているか否
かを判定した上で主記憶装置に対してアクセスを行なう
ようにしたデータ処理装置のアクセス制御方式に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an access control method for a data processing device, particularly a data processing system including a microprocessor unit, which expands the address space that can be accessed using Matsupa, and also provides a system for controlling the access to the expanded address space. The hardware fixed area is enlarged and divided into two parts, and it is determined whether or not the hardware fixed area is being accessed based on the address information determined via the Matsupa. The present invention relates to an access control method for a data processing device that accesses a storage device.

マイクロ・プロセッサ・ユニットを含む中央処理部にお
いては、アドレス情報のビット編が予め定まつており、
例えば16ビットのビット幅をもつ場合には64KBの
主記憶装置しかアクセスで。
In the central processing unit including the microprocessor unit, the bits of address information are predetermined.
For example, if the bit width is 16 bits, only 64 KB of main memory can be accessed.

きない。このようなシステムにおいてアクセスできるア
ドレス空間を拡張する方式の1つとして、アドレス拡張
ビットを用いる方式が知られている。この方式は第2図
を参照して後述する如く、マツパを用いるようにされる
。該マツパを用いる方式の場合、該マツパ内にマッピン
グ・レジスタをそなえる。そして該マツピング・レジス
タのいずれかを選択することによつて、該マツピング・
レジスタに書込まれている内容を抽出し、該内容にもと
ずいてアクセスすべきアドレス位置が決定される。一方
、一般にアドレス空間は1つのアドレス体系にまとめら
れており、主記憶装置上の記憶領域とCPU内部のレジ
スタの1部、入出力制御レジスタ、プログラム・スイツ
チ領域を含むハードウエア固定領域とが1つのアドレス
体系にまとめられている。
I can't. One known method for expanding the address space that can be accessed in such a system is to use address extension bits. This method uses Matsupa, as will be described later with reference to FIG. In the case of the method using the mapper, a mapping register is provided in the mapper. By selecting one of the mapping registers, the mapping register is selected.
The contents written in the register are extracted, and the address position to be accessed is determined based on the contents. On the other hand, the address space is generally organized into one address system, which consists of a storage area on the main memory device, a part of the CPU's internal registers, an input/output control register, and a hardware fixed area that includes the program switch area. They are organized into one address system.

上記マツパを用いてアドレス空間を拡張するとき、これ
に伴なつて上記ハードウエア固定領域特に入出力制御レ
ジスタ領域をも拡大することが望まれる。
When expanding the address space using the mapper, it is desirable to also expand the hardware fixed area, particularly the input/output control register area.

従来からハードウエア固定領域はアドレス空間の頭初領
域に定義されているが、上記ハードウエア固定領域を拡
大するに当つて、上記頭初領域を拡大しようとすると既
存のアドレス体系に大きい変更を加えることになり好ま
しくない。本発明は、上記の点を解決することを目的と
しており、上記拡大したハードウエア固定領域を上記拡
張したアドレス空間の例えば終端領域に半固定状態に設
定できるようにすると共に、上記マツパによるアドレス
空間拡張処理を正しく協調をとるよう(こすることを目
的としている。そしてそのため、本発明のデータ処理装
置のアクセス制御方式はマイクロ・プロセツサ・ユニツ
トを含む中央処理部をそなえると共に、主記憶装置に対
するアクセスに当つてマツパを介してアドレス情報を決
定してアクセスを行なうデータ処理システムにおいて、
上記主記憶装置の記憶領域を含むアドレス空間を、上記
記憶領域と少なくともハードウエア\固定領域に区分す
るとともに、上記ハードウエア固定領域を上記アドレス
空間の頭初領域と終端領域とに分散せしめて構成し、上
記終端領域に関する情報を記憶する第1の構成情報記憶
部と、上記頭初領域に関する情報を記憶する第2の構成
情報記憶部と、上記マツパを介して決定されたアドレス
情報の少なくとも一部と上記第1および第2の構成情報
記憶部の記憶情報から得られる情報とをそれぞれ比較す
る第1および第2の比較部と、上記第1の比較部の比較
結果を所定のマツピング情報選択信号に従つて有効化す
る選択部とをそなえ、上記マツパを介して決定されたア
ドレス情報が上記ハードウエア固定領域を指定している
とき上記主記憶装置に対するアクセスと区分してアクセ
スするようにしたことを特徴としている。
Conventionally, the hardware fixed area has been defined as the first area of the address space, but when expanding the above hardware fixed area, attempting to expand the above first area would require major changes to the existing address system. This is not desirable. The present invention aims to solve the above-mentioned problems, and makes it possible to set the expanded hardware fixed area in a semi-fixed state, for example, in the terminal area of the expanded address space, and to set the expanded hardware fixed area in a semi-fixed state, for example, in the terminal area of the expanded address space, and to The purpose is to properly coordinate expansion processing. To this end, the access control method of the data processing device of the present invention includes a central processing unit including a microprocessor unit, and controls access control to the main memory. In a data processing system that determines and accesses address information via Matsupa,
The address space including the storage area of the main storage device is divided into the storage area and at least a hardware/fixed area, and the hardware fixed area is distributed into a head area and an end area of the address space. a first configuration information storage unit that stores information regarding the end area, a second configuration information storage unit that stores information regarding the head/first area, and at least one of the address information determined via the mapper. first and second comparison units that respectively compare the information obtained from the information stored in the first and second configuration information storage units, and select mapping information from the comparison results of the first comparison unit. and a selection section that is enabled in accordance with a signal, so that when the address information determined via the mapper specifies the hardware fixed area, the access is made separately from the access to the main storage device. It is characterized by

以下図面を参照しつつ説明する。第1図は本発明が適用
されるデータ処理システムの一実施例構成を示し、第2
図はマツパによるアドレス情報決定処理を説明する説明
図、第3図は本発明に用いられる拡張されたアドレス空
間を説明する説明図、第4図は本発明の一実施例構成を
示す。
This will be explained below with reference to the drawings. FIG. 1 shows the configuration of an embodiment of a data processing system to which the present invention is applied;
FIG. 3 is an explanatory diagram illustrating address information determination processing by Matsupa, FIG. 3 is an explanatory diagram illustrating an expanded address space used in the present invention, and FIG. 4 shows the configuration of an embodiment of the present invention.

第1図において、1は中央処理装置、2は中央処理部、
3はメモリ・アクセス制御部、4はメモリ・バスであつ
て例えば32ビツトのバス幅をもつもの、5は入出力バ
ス、6は共通バスであつて例えば16ビツトのバス幅を
もつもの、rは高速ダイレクト・メモリ・アクセス・バ
スであつて例えば32ビツトのバス幅をもつもの、8は
主記憶装置、9−0,9−1,・・・・は夫々チヤネル
、10−0,10−1,10−2,・・・・は夫々入出
力制御装置、11−0,11−1,11−2,・・・・
は夫々入出力装置を表わす。
In FIG. 1, 1 is a central processing unit, 2 is a central processing unit,
3 is a memory access control unit, 4 is a memory bus with a bus width of, for example, 32 bits, 5 is an input/output bus, 6 is a common bus with a bus width of, for example, 16 bits, r is a high-speed direct memory access bus, for example, having a bus width of 32 bits, 8 is a main memory, 9-0, 9-1, . . . are channels, 10-0, 10-, respectively. 1, 10-2, . . . are input/output control devices, 11-0, 11-1, 11-2, .
represent input/output devices, respectively.

また、上記中央処理部2はマイクロ・プロセツサ・ユニ
ツトにより制御され、12はシステム制御部、13はラ
イタブル制御メモi八 14はマイクロプログラムが格
納される制御メモリ、15は演算部・レジスタ部、16
は操作パネル部、1rは諸機能部、18はオブシヨンで
用意される浮動小数点演算部、19はオプシヨンで用意
される10進演算部を表わしている。更にメモリ・アク
セス制御部3において、20は共通バス制御部、21は
高速ダイレクト・メモリ・アクセス・バス制御部、22
は選択・分配回路部、23は第1のマツパであつて中央
処理部2からの主記憶装置8に対するアクセスに当つて
利用されるもの、24は第2のマツパであつてダイレク
ト・メモリ・アクセスに当つて利用されるもの、25は
メモリ・バス制御部を表わしている。中央処理部2は、
マイクロ・プロセツサ・ユニツトをそなえ、制御メモリ
14内に格納されているマイクロプログラムによつて処
理を進める。
Further, the central processing section 2 is controlled by a microprocessor unit, 12 is a system control section, 13 is a writable control memory, 14 is a control memory in which a microprogram is stored, 15 is an arithmetic section/register section, 16
1r represents an operation panel section, 1r a various function section, 18 a floating point arithmetic section provided as an option, and 19 a decimal arithmetic section provided as an option. Furthermore, in the memory access control unit 3, 20 is a common bus control unit, 21 is a high-speed direct memory access bus control unit, and 22
23 is a selection/distribution circuit section, 23 is a first mapper used for accessing the main storage device 8 from the central processing section 2, and 24 is a second mapper for direct memory access. Reference numeral 25 represents a memory bus control section. The central processing unit 2 is
It is equipped with a microprocessor unit and processes are carried out by a microprogram stored in a control memory 14.

この動作は、図示の場合、ライタブル制御メモリ13を
そなえていることおよびオブシヨンとして演算部18,
19をそなえていることを除いて、従来公知のそれと変
わりはない。マイクロ・プロセツサ・ユニツトを有する
処理システムの場合、アドレス情報のビツト幅が周知の
如く予め定められている。
In the case shown in the figure, this operation is performed by the fact that the writable control memory 13 is provided and the calculation unit 18,
19, there is no difference from the conventionally known one. In the case of a processing system having a microprocessor unit, the bit width of the address information is predetermined as is well known.

このため、例えばアドレス情報が16ビツトと定められ
ている場合、主記憶装置8としてもち得る記憶容量は6
4K番 と地に抑えられる。したがつて、より大きい記
憶容量をもつ主記憶装置8を用いる場合には、図示の如
きマツパ23や24を用いて、第2図を参照して後述す
る如く、アクセスできるアドレス空間を拡大することが
行なわれる。 1第1図図示の場合
、上記マツパ23や24を用いて主記憶装置8をアクセ
スするようにしている。そして中央処理部2がアクセス
する場合にはマツパ23を用い、ダイレクト・メモリ・
アクセスによつて主記憶装置8をアク石スする場合には
マツ 1パ24を用いるようにしている。これによつて
、両者アクセスに競合が生じた場合などにおいてアドレ
ス情報決定の処理を並行してできるようにすると共に、
両者アクセスによつてアクセスする空間を異ならせるな
どの対策をとるようにしている。2第2図はマツパによ
るアドレス情報決定処理と本発明の前提問題とを説明し
ている。
Therefore, for example, if address information is defined as 16 bits, the storage capacity that can be held as the main memory device 8 is 6 bits.
Number 4K is suppressed to the ground. Therefore, when using the main storage device 8 with a larger storage capacity, the address space that can be accessed can be expanded by using mappers 23 and 24 as shown in the figure, as will be described later with reference to FIG. will be carried out. 1 In the case shown in FIG. 1, the main storage device 8 is accessed using the mappers 23 and 24. When the central processing unit 2 accesses, the Matsupa 23 is used to access the direct memory.
When the main storage device 8 is accessed by access, the Matsu 1P 24 is used. This makes it possible to perform address information determination processing in parallel in the event that there is a conflict between accesses between the two parties.
Countermeasures are taken, such as making the spaces accessed different depending on the type of access. 2 FIG. 2 explains the address information determination process by Matsupa and the prerequisite problem of the present invention.

第2図において、符号8,23は第1図に対応し、26
はアドレス・レジスタ(又はアドレス情報)、2rは拡
張アドレス・ビツト・レジスタ(又は拡張アト2レス情
報ビツト)、28−0,28−1,・・・・28−7は
夫々マツピング・レジスタ・テーブル、29−0,29
−1,・・・・,29−31は夫々マツピング・レジス
タ、30はマツピング・レジスタ・テーブル選択デコー
ダ、31はマツピング・ ごレジスタ選択デコーダ、3
2はマツピング・アドレス・レジスタであつて当該内容
によつて主記憶装置8がアクセスされるもの、33−0
,33−1・・・・,33−7は夫々アドレス空間(T
Oないし廿7セグメント・プロツク)を表わす。
5上述した如く、特にマイクロ・プロセツサ・ユニ
ツトを含むデータ処理装置の場合、アドレス情報のビツ
ト幅が例えば16ビツトに予め定められている。このた
めに64K番地を超えるアドレス空間をアクセスしよう
とする場合、マツパ23,24によつてアクセス可能な
アドレス空間を拡張することが行なわれる。該マツパに
よるアドレス決定処理は次の如く行なわれる。即ち、(
1)例えば16ビツトのアドレス・レジスタ26にアク
セス・アドレス情報がセツトされるよう構成されると共
に、拡張アドレス・ビツト・レジスタ27が用意される
In FIG. 2, numerals 8 and 23 correspond to those in FIG. 1, and 26
is an address register (or address information), 2r is an extended address bit register (or extended address information bit), and 28-0, 28-1, ...28-7 are mapping register tables, respectively. ,29-0,29
-1, ..., 29-31 are mapping registers, 30 is a mapping register table selection decoder, 31 is a mapping register selection decoder, 3
2 is a mapping address register whose contents are used to access the main memory 8; 33-0;
, 33-1..., 33-7 are respectively address spaces (T
7-segment block).
5. As mentioned above, particularly in the case of a data processing device including a microprocessor unit, the bit width of address information is predetermined, for example, to 16 bits. For this reason, when attempting to access an address space exceeding 64K addresses, the mappers 23 and 24 expand the accessible address space. Address determination processing by the mapper is performed as follows. That is, (
1) For example, the access address information is set in a 16-bit address register 26, and an extended address bit register 27 is prepared.

).)上記拡張アドレス・ビツト・レジスタ27のビツ
ト数に対応して、例えば3ビツトの場合には8個のマツ
ピング・レジスタ・テーブル28−0,28−1,・・
・・28−7が用意される03)上記アドレス・レジス
タ26における例えば3上位5ビツトをもつて、マツピ
ング・レジスタ29−0,29−1,・・・・,29−
31の選択を行なう場合、上記各マツピング・レジスタ
・テーブル28−0,28−1,・・・・に犬々32個
のマツピング・レジスタ29−0,29−1,・・・・
,29−31が用意される。
). ) Corresponding to the number of bits in the extended address bit register 27, for example, in the case of 3 bits, eight mapping register tables 28-0, 28-1, . . .
... 28-7 are prepared. 03) Mapping registers 29-0, 29-1, . . . , 29-
31 selections, 32 mapping registers 29-0, 29-1, . . . are added to each of the mapping register tables 28-0, 28-1, .
, 29-31 are prepared.

4)マツピング・レジスタ・テーブル28−0内の各レ
ジスタ29−0,29−1,・・・・、マツピング・レ
ジスタ・テーブル28−1内の各レジスタ29−0,2
9−1,・・・・には夫々、例えば13ビツトのアドレ
ス情報AD,およびその他の情報が格納されている。
4) Each register 29-0, 29-1, ... in the mapping register table 28-0, each register 29-0, 2 in the mapping register table 28-1
9-1, . . . respectively store, for example, 13-bit address information AD and other information.

5) 16ビツトのアクセス・アドレス情報が与えられ
る場合、64KBのアドレス空間をアクセスできるにす
ぎない。
5) Given 16 bits of access address information, only 64KB of address space can be accessed.

このために、拡張アドレスOビツト・レジスタ2rによ
つて例えば3ビツト附加され、512KBの拡張された
アドレス空間をアクセスできるようにされる。そして該
512KB分のアドレス空間を上記レジスタ21の内容
によつて固定せしめることがないようにするために、マ
ツピング・レジスタ29を用い、該マツピング・レジス
タ29の内容即ち上記アドレス情報AD,によつて、任
意の512KB分のアドレス空間を選択できるようにさ
れる。
For this purpose, for example, 3 bits are added by the extended address O bit register 2r, so that an extended address space of 512 KB can be accessed. In order to prevent the address space of 512 KB from being fixed by the contents of the register 21, a mapping register 29 is used, and the contents of the mapping register 29, that is, the address information AD, are used. , any 512KB address space can be selected.

(6)例えば、今レジスタ21の内容としてIOOQl
が与えられている状態で、アドレス・レジスタ26の内
容として「00000++知・・脩」が与えられたとす
る。
(6) For example, as the contents of register 21, IOOQl
Suppose that ``00000++Chi...Shu'' is given as the content of the address register 26 while .

この場合、レジスタ21の内容.Aによつてマツピング
・レジスタ・テーブル28−0が選択され、かつレジス
タ26の内容Bによつてマツピング・レジスタ29−0
が選択される。(7)この結果、マツピング・レジスタ
29−0に格納されているアドレス情報AD,がレジス
タ32の上位にセツトされ、一方レジスタ26の内容A
Dlがレジスタ32の下位にセツトされ、合計例えば2
4ビツトのアドレス情報に拡張される。
In this case, the contents of register 21. Mapping register table 28-0 is selected by A, and mapping register table 29-0 is selected by B of register 26.
is selected. (7) As a result, the address information AD stored in the mapping register 29-0 is set to the upper part of the register 32, while the contents A of the register 26
Dl is set in the lower part of register 32, and the total, e.g.
Expanded to 4-bit address information.

そして、該拡張されたアドレス情報によつて主記憶装置
8がアクセスされる。(8)第2図図示の場合、マツピ
ング・レジスタ29の個数が計32X8で与えられるた
めに、マツピング・レジスタ29の内容が変更されない
ものとするとき、アクセス可能なアドレス空間は計51
2KBとなる。
Then, the main storage device 8 is accessed using the expanded address information. (8) In the case shown in FIG. 2, the number of mapping registers 29 is given by a total of 32×8, so if the contents of the mapping register 29 are not changed, the accessible address space is 51 in total.
It will be 2KB.

しかし、マツピング・レジスタ29の内容を書替えるこ
とによつて、レジスタ29内に13ビツトのアドレス情
報を格納する場合、最大16MB分のアドレス空間をア
クセスできるようになる。上述の如くマツパを用いるこ
とによつて、アクセスできるアドレス空間を拡張するこ
とが可能になる。
However, by rewriting the contents of the mapping register 29, if 13-bit address information is stored in the register 29, a maximum of 16 MB of address space can be accessed. By using Matsupa as described above, it becomes possible to expand the address space that can be accessed.

しかし、一方このようにアドレス空間を拡張したことに
伴なつて、本願明細書冒頭に述べた如く、いわゆるハー
ドウエア固定領域特に入出力制御レジスタ領域を拡張す
ることが望まれる。 二第3図は本発明に用いられる
拡大されたアドレス空間を説明する説明図を示し、図中
の符号33−0ないし33−γは夫々第2図に対応して
いる。また34A,34B,34Cは夫々ハードウエア
固定領域を表わしている。 z従来から
ハードウエア固定領域34は、(1)CPUレジスタ領
域、(11)人出力制御レジスタ領域、0ii)プログ
ラム・スイツチ領域により構成される。そしてCPUレ
ジスタ領域は論理アドレスで指定される番地0000(
16進)から003F.(16進)までの64B分、入
出力制御レジスタは同じく番地0040(16進)から
0FFF(16進)までの4032B分、プログラム・
スイツチ領域は肘0セグメント・プロツク33−0の番
地1000(16進)から1073(16進)(までの
116B分が割当てられている。上記ハードウエア固定
領域34A,34Bは、アドレス拡張の有無に拘らず用
意されるものであるが、上述の如くアドレス拡張を行な
つた場合においてハードウエア固定領域特に入出力制御
レジ・スタ領域を拡大しようとした場合、上記既存のア
ドレス体系をくずしてしまうことになり好ましくない。
However, along with such expansion of the address space, it is desirable to expand the so-called hardware fixed area, particularly the input/output control register area, as described at the beginning of this specification. 2. FIG. 3 shows an explanatory diagram for explaining the expanded address space used in the present invention, and the symbols 33-0 to 33-γ in the figure correspond to those in FIG. 2, respectively. Further, 34A, 34B, and 34C represent hardware fixed areas, respectively. z Conventionally, the hardware fixed area 34 is composed of (1) a CPU register area, (11) a human output control register area, and ii) a program switch area. The CPU register area is located at address 0000 (
hexadecimal) to 003F. The input/output control register is also 4032B from address 0040 (hexadecimal) to 0FFF (hexadecimal), and the program
The switch area is allocated 116B from addresses 1000 (hexadecimal) to 1073 (hexadecimal) (in hexadecimal) of the elbow 0 segment block 33-0. However, in the case of address expansion as described above, if you try to expand the hardware fixed area, especially the input/output control register area, the existing address system described above will be destroyed. This is not desirable.

このため、本発明の一実施例においては、第3図図示の
ハードウエア固定領域34Cとして示す如く、拡張され
たアドレス空間の終端領域に拡張されたハードウエア固
定領域を用意するようにする。そして該領域34Cは例
えば4KB単位で最大60KB分までハードウエアの設
定(半固定)により指定できるようにされる。第4図は
本発明の一実施例構成を示す。
For this reason, in one embodiment of the present invention, an expanded hardware fixed area is prepared in the terminal area of the expanded address space, as shown as the hardware fixed area 34C shown in FIG. The area 34C can be specified, for example, in units of 4 KB up to a maximum of 60 KB by hardware settings (semi-fixed). FIG. 4 shows the configuration of an embodiment of the present invention.

図中の符号23,26,21,30,31,32は第2
図に対応し、35,36は犬々構成情報記憶部、3r,
38は夫々比較回路、39はビツト反転、40は反転ビ
ツト、41はアンド回路、42はオア回路を表わしてい
る。構成情報記憶部35には、第3図図示の番地100
0(16進)に対応する最土位4ビツト分「0001(
2進)」がセツトされ、マツパ23を介して生成された
アドレス情報(レジスタ32の内容)が1000(16
進)以下であるか否かの判定基準とされる。
The symbols 23, 26, 21, 30, 31, and 32 in the figure are the second
Corresponding to the figure, 35 and 36 are dog configuration information storage units, 3r,
38 is a comparison circuit, 39 is a bit inversion, 40 is an inversion bit, 41 is an AND circuit, and 42 is an OR circuit. The configuration information storage unit 35 has the address 100 shown in FIG.
The highest 4 bits corresponding to 0 (hexadecimal) “0001 (
1000 (16
This is used as the criterion for determining whether or not the

一方構成情報記憶部36には、第3図図示のハードウエ
ア固定領域34Cの大きさがセツトされる。例えば8K
B分の大きさをもつ場合、4KB分を1単位として2単
位分であることから[0010(2進)」がセツトされ
゛る。該2進数「0010」はビツト反転39によつて
ビツト反転され、図示反転ビツト40の如く[1101
(2進)」とされる。そしてマツパ23を介して生成さ
れたアドレス情報(レジスタ32の内容)が領域34C
内にあるか否かに判定基準とされる。なお、上記反転ビ
ツト「1101(2進)」は第3図図示の領域34Cの
始点番地「DFFF(16進)」の最上位4ビツト[1
101」に該当している。即ち、FFFF(16進)−
1000(16進)に該当している。
On the other hand, the size of the hardware fixed area 34C shown in FIG. 3 is set in the configuration information storage section 36. For example, 8K
If it has a size of B, it is set to ``0010 (binary)'' because it is 2 units with 4 KB as 1 unit. The binary number "0010" is bit-inverted by the bit inversion 39, and becomes [1101] as shown in the illustrated inversion bit 40.
(binary).” Then, the address information (contents of the register 32) generated via the Matsupa 23 is stored in the area 34C.
The criterion is whether or not it is within the range. Note that the inverted bit "1101 (binary)" is the most significant 4 bits [1
101”. That is, FFFF (hexadecimal) -
It corresponds to 1000 (hexadecimal).

そして、一般には図示ビツト反転39および反転ビツト
40を省略して、構成情報記憶部36自体に直接「00
10」のビツト反転を行なつた「1101」をセツトす
るものと考えてよい。第2図を参照して説明した如く、
拡張アドレス・ビツト・レジスタ2Tの内容が値[7」
を示すと.き、マツピング・レジスタ・テーブル28−
7が選択される。
Generally, the illustrated bit inversion 39 and the inversion bit 40 are omitted, and "00" is written directly to the configuration information storage section 36 itself.
It can be thought of as setting ``1101'' which is the result of bit inversion of ``10''. As explained with reference to Figure 2,
The contents of extended address bit register 2T is the value [7].
If you show . Mapping register table 28-
7 is selected.

該テーブル28−7が選択された場合、第2図図示のア
ドレス空間(井7セグメント・プロツク)33−1内を
アクセスされるものと定められていると、比較回路38
が論理「1」を出力しかつアンド回路41がオンする条
件は、レジスタ32の内容が第3図図示の領域34C内
の番地を指示していることになる。また比較回路37が
論理「1」を出力する条件は、レジスタ32の内容が第
3図図示の領域34A内の番地を指示していることにな
る。したがつて、オア回路42がオンしたことを条件に
、主記憶装置8に対してアクセスすることを禁止される
。なお、拡張アドレス・ビツト・レジスタ27の内容に
よつて第2図図示のマツピング・レジスタ・テーブル2
8−1が選択されることとアドレス空間(廿7セグメン
ト・プロツク)33−rがアクセスされることとが必ら
ずしも同じ意味をもたない場合には、レジスタ32の内
容にもとづいてアドレス空間(廿7セグメント・プロツ
ク)33−Tがアクセスされたことを判定すればよい。
When the table 28-7 is selected, if it is determined that the address space (I7 segment block) 33-1 shown in FIG. 2 is to be accessed, the comparison circuit 38
The condition for outputting a logic "1" and turning on the AND circuit 41 is that the contents of the register 32 indicate an address within the area 34C shown in FIG. Further, the condition for the comparison circuit 37 to output a logic "1" is that the contents of the register 32 indicate an address within the area 34A shown in FIG. Therefore, access to the main storage device 8 is prohibited on condition that the OR circuit 42 is turned on. Furthermore, depending on the contents of the extended address bit register 27, the mapping register table 2 shown in FIG.
If selecting 8-1 and accessing address space (7-segment block) 33-r do not necessarily have the same meaning, based on the contents of register 32, It is sufficient to determine that the address space (7-segment block) 33-T has been accessed.

以上説明した如く、本発明によれば既存のアドレス体系
を変更することなく、ハードウエア固定領域を拡張され
たアドレス空間内にとることが可能となる。
As explained above, according to the present invention, it is possible to allocate a hardware fixed area in an expanded address space without changing the existing address system.

そして、アドレス空間を拡張するマツノ.マと正しく協
調をとることが可能となる。更に構成情報記憶部36は
高々4ビツトの情報で足りる。
And Matsuno expands the address space. This makes it possible to coordinate correctly with the market. Furthermore, the configuration information storage section 36 only needs to have 4 bits of information at most.

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

第1図は本発明が適用されるデータ処理システムの一実
施例構成を示し、第2図はマツパによるアドレス情報決
定処理を説明する説明図、第3図は本発明に用いられる
拡張されたアドレス空間を説明する説明図、第4図は本
発明の一実施例構成を示す。 図中、1は中央処理装置、2は中央処理部、8は主記憶
装置、23,24はマツパ、28−0,28−1,・・
・・はマツピング・レジスタ・テーブル、29−0,2
9−1,・・・・はマツピング・レジスタ、33−0,
33−1,・・・・はアドレス空間(セグメント・プロ
ツク)、34はハードウエア固定領域、35,36は夫
々構成情報記憶部を表わす。
Fig. 1 shows the configuration of an embodiment of a data processing system to which the present invention is applied, Fig. 2 is an explanatory diagram illustrating address information determination processing by Matsupa, and Fig. 3 shows an extended address used in the present invention. FIG. 4, an explanatory diagram for explaining the space, shows the configuration of an embodiment of the present invention. In the figure, 1 is the central processing unit, 2 is the central processing unit, 8 is the main memory, 23, 24 are matsupa, 28-0, 28-1, etc.
... is mapping register table, 29-0,2
9-1, ... are mapping registers, 33-0,
33-1, . . . are address spaces (segment blocks), 34 is a hardware fixed area, and 35 and 36 are configuration information storage units, respectively.

Claims (1)

【特許請求の範囲】 1 マイクロ・プロセッサ・ユニットを含む中央処理部
をそなえると共に、主記憶装置に対するアクセスに当つ
てマツパを介してアドレス情報を決定してアクセスを行
なうデータ処理システムにおいて、上記主記憶装置の記
憶領域を含むアドレス空間を、上記記憶領域と少なくと
もハードウェア固定領域に区分するとともに、上記ハー
ドウェア固定領域を上記アドレス空間の頭初領域と終端
領域とに分散せしめて構成し、上記終端領域に関する情
報を記憶する第1の構成情報記憶部と、上記頭初領域に
関する情報を記憶する第2の構成情報記憶部と、上記マ
ツパを介して決定されたアドレス情報の少なくとも一部
と上記第1および第2の構成情報記憶部の記憶情報から
得られる情報とをそれぞれ比較する第1および第2の比
較部と、上記第1の比較部の比較結果を所定のマッピン
グ情報選択信号に従つて有効化する選択部とをそなえ、
上記マツパを介して決定されたアドレス情報が上記ハー
ドウェア固定領域を指定しているとき上記主記憶装置に
対するアクセスと区分してアクセスするようにしたこと
を特徴とするデータ処理装置のアクセス制御方式。 2 上記終端領域に構成されるハードウェア固定領域は
予め定められた大きさの単位で大きさを可変にされるこ
とを特徴とする特許請求の範囲第1項記載のデータ処理
装置のアクセス制御方式。
[Scope of Claims] 1. A data processing system that includes a central processing unit including a microprocessor unit and that determines address information via a mapper when accessing a main memory, The address space including the storage area of the device is divided into the storage area and at least a hardware fixed area, and the hardware fixed area is distributed into a head area and an end area of the address space, and A first configuration information storage unit that stores information regarding the area, a second configuration information storage unit that stores information regarding the head-initial area, and at least part of the address information determined via the Matsupa and the first and second comparison sections that compare the information obtained from the storage information of the first and second configuration information storage sections, respectively, and the comparison results of the first comparison section according to a predetermined mapping information selection signal. and a selection section for enabling.
An access control method for a data processing device, characterized in that when the address information determined via the mapper specifies the hardware fixed area, the access is performed separately from the access to the main storage device. 2. An access control system for a data processing device according to claim 1, wherein the hardware fixed area configured in the terminal area is variable in size in units of predetermined size. .
JP53050963A 1978-04-29 1978-04-29 Access control method for data processing equipment Expired JPS597985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53050963A JPS597985B2 (en) 1978-04-29 1978-04-29 Access control method for data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53050963A JPS597985B2 (en) 1978-04-29 1978-04-29 Access control method for data processing equipment

Publications (2)

Publication Number Publication Date
JPS54144142A JPS54144142A (en) 1979-11-10
JPS597985B2 true JPS597985B2 (en) 1984-02-22

Family

ID=12873461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53050963A Expired JPS597985B2 (en) 1978-04-29 1978-04-29 Access control method for data processing equipment

Country Status (1)

Country Link
JP (1) JPS597985B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180088U (en) * 1988-06-10 1989-12-25
JPH0225034Y2 (en) * 1983-08-18 1990-07-10

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225034Y2 (en) * 1983-08-18 1990-07-10
JPH01180088U (en) * 1988-06-10 1989-12-25

Also Published As

Publication number Publication date
JPS54144142A (en) 1979-11-10

Similar Documents

Publication Publication Date Title
US4340932A (en) Dual mapping memory expansion unit
US5721874A (en) Configurable cache with variable, dynamically addressable line sizes
US5109334A (en) Memory management unit capable of expanding the offset part of the physical address
US4475176A (en) Memory control system
KR960701414A (en) Secure application card for sharing application data and procedures among multiple microprocessors
JPS60157646A (en) Memory bank switching device
US5280599A (en) Computer system with memory expansion function and expansion memory setting method
JPS597985B2 (en) Access control method for data processing equipment
JPS5844263B2 (en) memory control circuit
US5835926A (en) Multiple memory addressing using adjustable chip select
US5271098A (en) Method and apparatus for use of expanded memory system (EMS) to access cartridge memory
KR920003845B1 (en) Rom region expansion system for users of pc
JP2874230B2 (en) Memory addressing method of microcomputer
KR100329768B1 (en) Memory addressing device for micro-controller unit
JP2692180B2 (en) Microcomputer
JPS59116866A (en) Storage device of computer system
KR100281102B1 (en) ATA card using the flash memory
JPS60159954A (en) Memory controlling system
JPS6136669B2 (en)
JPH03204049A (en) Memory controller
KR0185938B1 (en) Host interface method and apparatus thereof
JPH0244445A (en) Data processor
JPS5953588B2 (en) Memory interleave control method
JP2954988B2 (en) Information processing device
JP3322993B2 (en) Information processing device