Computer system and method of controlling computer system
First Claim
1. A computer system including an interrupt mask register, in which levels are set for respective interrupt processes, the computer system comprising:
- designation means for designating a level to be set in the interrupt mask register and an address of a process to be called;
execution means for passing control to the address and assigning the interrupt mask register a designated level based on information designated by the designation means, wherein the execution order of the interrupt processes is prioritized based on the process to be called; and
means for disabling an interrupt as the execution means operates, such that influence from one or more instructions for a call, any other interrupt, and one or more exceptions is prevented while a value of an interrupt is changed so that a content of the interrupt mask register is not altered, wherein the means for disabling the interrupt includes a logic gate.
1 Assignment
0 Petitions
Accused Products
Abstract
CPU architecture is modified so that content of the interrupt mask register can be changed directly based on a decoding result of an instruction decoder of a CPU. Such modification does not require a great deal of labor in changing a CPU design. In addition, an extended CALL instruction and an extended software interrupt instruction are added to the CPU, and each of the extended CALL instruction and the extended software interrupt instruction additionally has a function of changing the value of the interrupt mask register. Atomicity is achieved by: allowing such a single instruction to concurrently execute a call of a process and a value change of the interrupt mask register; and disabling other interrupts during execution of the single instruction.
34 Citations
14 Claims
-
1. A computer system including an interrupt mask register, in which levels are set for respective interrupt processes, the computer system comprising:
-
designation means for designating a level to be set in the interrupt mask register and an address of a process to be called; execution means for passing control to the address and assigning the interrupt mask register a designated level based on information designated by the designation means, wherein the execution order of the interrupt processes is prioritized based on the process to be called; and means for disabling an interrupt as the execution means operates, such that influence from one or more instructions for a call, any other interrupt, and one or more exceptions is prevented while a value of an interrupt is changed so that a content of the interrupt mask register is not altered, wherein the means for disabling the interrupt includes a logic gate. - View Dependent Claims (2, 9, 10, 11)
-
-
3. A computer system comprising:
-
an interrupt mask register; level storage means storing a level for each individual interrupt; execution means for shifting execution processes to the interrupt when acquiring a level for the interrupt, to which the execution process is shifted, from the level storage means, and for setting the acquired level in the interrupt mask register; and means for disabling an interrupt as the execution means operates, such that influence from one or more instructions for a call, any other interrupt, and one or more exceptions is prevented while a value of an interrupt is changed so that a content of the interrupt mask register is not altered, wherein the means for disabling or overriding the interrupt includes a logic gate. - View Dependent Claims (4)
-
-
5. A method of controlling a computer system, the computer system including an interrupt mask register in which levels are set for respective interrupt processes, the method comprising the steps of:
-
designating a level to be set in the interrupt mask register and an address of a process to be called, wherein the execution order of the interrupt processes is prioritized based on the process to be called; passing control to the address; assigning the interrupt mask register the designated level on the basis of information designated in the designation step; and disabling an interrupt during an execution step, such that influence from one or more instructions for a call, any other interrupt, and one or more exceptions is prevented while a value of an interrupt is changed so that a content of the interrupt mask register is not altered, wherein a means for disabling the interrupt includes employing a logic gate. - View Dependent Claims (6)
-
-
7. A method of controlling a computer system, the computer system including an interrupt mask register and in which levels are set for respective interrupt processes, the method comprising the steps of:
-
shifting execution processes to an interrupt; acquiring a level for the interrupt, to which the execution process is shifted, from a level storage means; setting an acquired level in the interrupt mask register; and disabling another interrupt during an execution step, such that influence from one or more instructions for a call, any other interrupt, and one or more exceptions is prevented while a value of an interrupt is changed so that a content of the interrupt mask register is not altered, wherein a means for disabling the another interrupt during the execution step includes employing a logic gate. - View Dependent Claims (8, 12, 13, 14)
-
Specification