Patent US5043878A successfully refreshed from Google Patents.
US5043878A
Expired / Lapsed
US
⏱️ 0.0 years remaining
System with real-time checking of privilege levels and the system's state to allow access to internal resources of the system
Assignee: NEC Electronics Corp
•
Filing: 1989-08-09
•
Granted: 1991-08-27
•
Expires: 2009-08-09
Abstract
Abstract A data processing apparatus has a plurality of execution status and is adapted to control in accordance with the respective execution conditions the allowance of the execution of an instruction requiring the reference to the internal resource. The processing apparatus also comprises a register for holding the execution status, and another register for holding information controlling the reference to the internal resource. A comparator responds to the contents of the first and second registers to output a signal indicating whether the reference is allowed or not. The output signal and a strobe signal are fed to a gate, which then controls an actual reference to the internal resource.
Inventors
- 👤 Yasushi Ooi
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-27 07:11
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/52; G06F9/30; G06F9/30003; G06F9/3004; G06F9/30043; G06F9/3005; G06F9/30054; G06F9/30076; G06F9/30079
Claims Analysis
Total Claims: 17
Claim 1
Independent Claim
285 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the apparatus referencing to the one or more internal resources when the apparatus performs an execution of instructions, the apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of the one or more internal resources in accordance with the plurality of execution modes, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the levels held by said first and second registers so as to generate an output, comprising a reference acknowledge signal, when the level by said first register is not less than that of said second register, a third register means, comprising said one or more internal resources, connected to receive said output of said comparator so that reading and writing of said third register means via said data bus is controlled on the basis of said output of said comparator; and a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed.
Claim 2
Dependent Claim
285 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the apparatus referencing to the one or more internal resources when the apparatus performs an execution of instructions, the apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of the one or more internal resources in accordance with the plurality of execution modes, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the levels held by said first and second registers so as to generate an output, comprising a reference acknowledge signal, when the level by said first register is not less than that of said second register, a third register means, comprising said one or more internal resources, connected to receive said output of said comparator so that reading and writing of said third register means via said data bus is controlled on the basis of said output of said comparator; and a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed.
Claim 3
Dependent Claim
41 words
A data processing apparatus as claimed in claim 1 wherein the given internal resource is coupled through a buffer to said data bus, the buffer being controlled by a logical gate receiving a strobe signal and an output of the comparator.
Claim 4
Dependent Claim
40 words
A data processing apparatus as claimed in claim 1 wherein the second register has an output connected through a buffer to the comparator, the buffer being controlled by a logical gate applied with a read strobe and a write strobe.
Claim 5
Dependent Claim
92 words
A data processing apparatus as claimed in claim 1 wherein said apparatus can assume a plurality of privileged conditions at different privilege levels, said first register includes a detector for detecting a highest privilege level, and wherein said second register has an input connected through an input gate to said data bus, the input gate being opened or closed by a logical gate receiving the output of said detector and a write strobe, so that the second register can be written when the data processing apparatus is in a highest privileged condition.
Claim 6
Dependent Claim
77 words
A data processing apparatus as claimed in claim 1 wherein the given internal resource has an input connected through an input gate to said data bus and an output connected through an output buffer to the data bus, the input gate being controlled by a logical gate receiving an output of the comparator and a write strobe, and the output buffer being controlled by another logical gate receiving the output of the comparator and a read strobe.
Claim 7
Dependent Claim
81 words
A data processing apparatus as claimed in claim 1 further including a plurality of internal resources and a plurality of second registers provided to the internal resources in a one-to-one relation, the comparator being common to all the second registers so as to receive at its one input all information held by the second registers and at its other input the information held by the first register, and an output of the comparator being commonly connected to all the internal resources.
Claim 8
Dependent Claim
31 words
A data processing apparatus as claimed in claim 1 further including a plurality of internal resources, the second register and the comparator being common to all the plurality of internal resources.
Claim 9
Dependent Claim
55 words
A data processing apparatus as claimed in claim 1 wherein the second register includes a read level register, responsive to a read level, and a write level register, responsive to write level, each register being operative independently of the other so that a read level and a write level can be set at different levels.
Claim 10
Dependent Claim
75 words
A data processing apparatus as claimed in claim 1 further including a memory read register and a memory write register which are coupled to said data bus, each of these registers having a control input connected to an output of a logical gate whose one input is connected through a decoder to an address bus and whose other input is controlled by an output of the comparator and a context switch instruction processing indication signal.
Claim 11
Dependent Claim
30 words
A data processing apparatus as claimed in claim 1 wherein said comparator has means for selectively allowing one of a plurality of references when a plurality of reference requests occur.
Claim 12
Dependent Claim
378 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the apparatus referencing to the one or more internal resources when the apparatus performs an execution of instructions, the apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of the one or more internal resources in accordance with the plurality of execution modes, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the levels held by said first and second registers so as to generate an output, comprising a reference acknowledge signal, when the level by said first register is not less than that of said second register, a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed; a memory read register and a memory write register which are coupled to said data bus, each of said registers having a control input connected to an output of a logical gate whose one input is connected through a decoder to said address bus and whose other input is controlled by an output of said comparator and a context switch instruction processing indication signal; and wherein the control input of said memory read register is connected to an output of a logical gate having one input connected through a decoder to a source register address bus the other input of the logical gate being connected to an output of another logical gate whose one input is connected to an output of the comparator and whose other input is connected to receive the context switch instruction processing indication signal.
Claim 13
Dependent Claim
378 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the apparatus referencing to the one or more internal resources when the apparatus performs an execution of instructions, the apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of the one or more internal resources in accordance with the plurality of execution modes, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the levels held by said first and second registers so as to generate an output, comprising a reference acknowledge signal, when the level by said first register is not less than that of said second register, a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed; a memory read register and a memory write register which are coupled to said data bus, each of said registers having a control input connected to an output of a logical gate whose one input is connected through a decoder to said address bus and whose other input is controlled by an output of said comparator and a context switch instruction processing indication signal; and wherein the control input of said memory read register is connected to an output of a logical gate having one input connected through a decoder to a source register address bus the other input of the logical gate being connected to an output of another logical gate whose one input is connected to an output of the comparator and whose other input is connected to receive the context switch instruction processing indication signal.
Claim 14
Dependent Claim
378 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the apparatus referencing to the one or more internal resources when the apparatus performs an execution of instructions, the apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of the one or more internal resources in accordance with the plurality of execution modes, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the levels held by said first and second registers so as to generate an output, comprising a reference acknowledge signal, when the level by said first register is not less than that of said second register, a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed; a memory read register and a memory write register which are coupled to said data bus, each of said registers having a control input connected to an output of a logical gate whose one input is connected through a decoder to said address bus and whose other input is controlled by an output of said comparator and a context switch instruction processing indication signal; and wherein a control input of the memory write register is connected to an output of a logical gate having an input connected through a decoder to a destination register address bus the other input of the logical gate being connected to an output of another logical gate whose one input is connected to the output of the comparator and whose other input is connected to receive the context switch instruction processing indication signal.
Claim 15
Dependent Claim
378 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the apparatus referencing to the one or more internal resources when the apparatus performs an execution of instructions, the apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of the one or more internal resources in accordance with the plurality of execution modes, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the levels held by said first and second registers so as to generate an output, comprising a reference acknowledge signal, when the level by said first register is not less than that of said second register, a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed; a memory read register and a memory write register which are coupled to said data bus, each of said registers having a control input connected to an output of a logical gate whose one input is connected through a decoder to said address bus and whose other input is controlled by an output of said comparator and a context switch instruction processing indication signal; and wherein a control input of the memory write register is connected to an output of a logical gate having an input connected through a decoder to a destination register address bus the other input of the logical gate being connected to an output of another logical gate whose one input is connected to the output of the comparator and whose other input is connected to receive the context switch instruction processing indication signal.
Claim 16
Dependent Claim
434 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the data processing apparatus referencing to the one or more internal resources when the data processing apparatus performs an execution of instructions, the data processing apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of one or more internal resources in accordance with the plurality of execution modes, the data processing apparatus generating a signal requesting an access to said one given internal resource of said one or more internal resources as a result of the execution of an instruction, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, said first register outputting the execution level held therein in response to said access request signal, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the execution level outputted from said first register with the privilege level held in said second register so as to generate an output comprising a reference acknowledge signal, when the level held by said first register is not less than that of said second register, a third register means, comprising said one or more internal resource, connected to receive said output of said comparator so that reading and writing of said third register means via said data bus is controlled on the basis of said output of said comparator; a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed, and a gate means receiving said access request signal and controlled by the output of said comparator so as to transmit or inhibit said access request signal to said one or more internal resources in accordance with a result of comparison made by said comparator so that when said access request signal is transmitted through said gate means to said one given internal resource of said one or more internal resource, a read/write to said one given internal resource of said one or more internal resources is allowed.
Claim 17
Dependent Claim
434 words
A data processing apparatus, having a data bus and an address bus, which assumes at least one status and can execute instructions, the apparatus having a plurality of execution modes in which instructions are executed, the plurality of execution modes having different execution levels each indicative of a different status of the data processing apparatus, the apparatus having one or more internal resources each of which is assigned a privilege level, the data processing apparatus referencing to the one or more internal resources when the data processing apparatus performs an execution of instructions, the data processing apparatus controlling the execution of an instruction requiring one reference to at least one given internal resource of one or more internal resources in accordance with the plurality of execution modes, the data processing apparatus generating a signal requesting an access to said one given internal resource of said one or more internal resources as a result of the execution of an instruction, comprising: a first register for holding one level of the different execution levels indicative of the status of the data processing apparatus, said first register outputting the execution level held therein in response to said access request signal, a second register provided for said given internal resource for holding a privilege level assigned to said given internal resource, a comparator coupled to said first and second registers for comparing the execution level outputted from said first register with the privilege level held in said second register so as to generate an output comprising a reference acknowledge signal, when the level held by said first register is not less than that of said second register, a third register means, comprising said one or more internal resource, connected to receive said output of said comparator so that reading and writing of said third register means via said data bus is controlled on the basis of said output of said comparator; a controller coupled to receive said reference acknowledge signal for deciding whether or not the execution of said instruction requiring the reference to said given internal resource is executed, and a gate means receiving said access request signal and controlled by the output of said comparator so as to transmit or inhibit said access request signal to said one or more internal resources in accordance with a result of comparison made by said comparator so that when said access request signal is transmitted through said gate means to said one given internal resource of said one or more internal resource, a read/write to said one given internal resource of said one or more internal resources is allowed.
References Cited (Backward Citations)
US3824551A
Cited
US4395757A
Cited
US3916385A
Cited
US4459661A
Cited
US4347565A
Cited
US4253145A
Cited
US4400769A
Cited
US4442484A
Cited
US4456954A
Cited
US4547849A
Cited
US4533996A
Cited
US4524415A
Cited
US4787031A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 1994-08-26 | 1995-02-25 | 1995-08-27 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 1998-08-26 | 1999-02-25 | 1999-08-27 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2002-08-26 | 2003-02-25 | 2003-08-27 | $7700.00 | Window Closed / Lapsed |