Command controlled multi-storage space protection key pretesting system permitting access regardless of test result if selected key is predetermined value
First Claim
1. A data processing system for multi-address space control wherein when a main storage is to be accessed from a processor, a main storage protection is conducted by comparing by a comparator an access key output by said processor with a main storage key provided in the main storage, comprising:
- a first key register for storing a program status word key output by said processor;
a second key register for storing an access key output by said processor in accordance with a data transfer instruction;
a selector for selecting one of said first and second key register under control of said processor independently from storage access type;
judging means coupled to said selector for judging whether a key selected by said selector is a predetermined value, allowing said processor to access said main storage irrespective of a value of said main storage key when the value of said selected key matches said predetermined value, and for comparing the value of said selected key to said main storage key; and
pretesting means including a microprogram for executing a predetermined pretesting procedure, for setting said predetermined value in said second key register as a key for pretesting a data transfer between a plurality of address spaces when a key included in a transfer instruction coincides with said main storage key.
1 Assignment
0 Petitions
Accused Products
Abstract
A multi-address space control for use in a information processing system includes accessing a plurality of address spaces produced by different address translation table based on a selection command for a plurality of first address registers, and comparing a program status word key with a main storage key in a main storage to protect the main storage. The multi-address space control between different address spaces includes a PSW key register for holding the program status word key, a work access key register capable of arbitrarily designating an access key in accordance with a data transfer instruction, access apparatus for allowing an access to the main storage irrespective of the value of a main storage key when the value of the key selected by a selector as an access key from the work access key register and the PSW key register is a predetermined value, and setting apparatus for accessing the different address spaces by changing-over the plurality of leading address registers and the work access key register and PSW register, detecting an access exception, and setting the predetermined value in the work access key register to judge the work access key as an access key if an access exception is not detected.
35 Citations
12 Claims
-
1. A data processing system for multi-address space control wherein when a main storage is to be accessed from a processor, a main storage protection is conducted by comparing by a comparator an access key output by said processor with a main storage key provided in the main storage, comprising:
-
a first key register for storing a program status word key output by said processor; a second key register for storing an access key output by said processor in accordance with a data transfer instruction; a selector for selecting one of said first and second key register under control of said processor independently from storage access type; judging means coupled to said selector for judging whether a key selected by said selector is a predetermined value, allowing said processor to access said main storage irrespective of a value of said main storage key when the value of said selected key matches said predetermined value, and for comparing the value of said selected key to said main storage key; and pretesting means including a microprogram for executing a predetermined pretesting procedure, for setting said predetermined value in said second key register as a key for pretesting a data transfer between a plurality of address spaces when a key included in a transfer instruction coincides with said main storage key.
-
-
2. In an information processing apparatus wherein a plurality of address spaces produced by a plurality of address translation tables based on a selection command for a plurality of first address registers for holding first addresses of said plurality of address translation tables are accessed, and a program status word key and a storage key are compared by a comparator to protect a main storage,
a multi-address space control system comprising: -
a first key register for holding said program status word key; a second key register for holding a work access key output by a processor in accordance with an instruction to be executed; a key selector for selecting one of said first and second key registers under control of said processor independently of storage access type; judging means coupled to the output of said key selector for judging whether the value of a key from said first key register or said second key register is a predetermined value, and allowing said processor to access said main storage irrespective of the output from said comparator when said key selected by said key selector is equal to said predetermined value; and pretesting means for pretesting access of address spaces by selecting one of said plurality of first address registers, and said first and second key registers, detecting an access exception, and storing, in response to an output from said comparator that an access exception is not detected, said predetermined value in said second key register as a key for use in transferring data between different address spaces. - View Dependent Claims (3, 4, 5, 6)
-
-
7. A multi-address space control method for use in an information processing apparatus wherein a plurality of address spaces produced by a plurality of address translation tables based on a selection command for a plurality of first address registers for holding first addresses of said plurality of address translation tables are accessed, and a program status word key and a storage key are compared by a comparator to protect a main storage,
said multi-address space control method comprising the steps of: -
(a) holding a first key register said program status word key; (b) holding in a second key register a work access key output by a processor in accordance with an instruction to be executed; (c) selecting by a key selector, one of said first and second key registers under control of said processor independently of storage access type; (d) judging whether the value of a key from said first key register or said second key register is a predetermined value, and allowing said processor to access said main storage irrespective of the output from said comparator when said key selected by said key selector is equal to said predetermined value; and (e) pretesting access of address spaces by selecting one of said plurality of first address registers, and said first and second key registers, detecting an access exception, and storing in response to an output from said comparator that an access exception is not detected, said predetermined value in said second key register as a key for use in transferring data between different address spaces. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification