Method and apparatus for controlling interrupt priority...

Electrical computers and digital data processing systems: input/ – Interrupt processing – Interrupt prioritizing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S262000, C710S266000

Reexamination Certificate

active

06618780

ABSTRACT:

BACKGROUND OF THE INVENTION
The present invention pertains to a method and apparatus for controlling interrupt priority resolution in a computer system or the like. More particularly, the present invention pertains to a method and system to dynamically control the determination of interrupt priority.
In a computer system or the like, a processor or other similar computing device may receive one or more interrupt requests generated internally or from peripheral devices coupled to the processor. When an interrupt is received by a processor, it typically suspends the processing that is currently being performed, stores the values currently loaded in its registers and begins execution of code to respond to the interrupt request.
As computer systems become more complex, more and more devices are given the opportunity to generate interrupt requests to the processor. Sometimes, interrupt requests may be received simultaneously by the processor. In other situations an interrupt request may be received while another interrupt request is being handled. This poses a problem for the designer in that processing of some interrupts may be so critical to the computer system that the servicing of inferior interrupt requests may negatively impact system operation.
One option for the computer system designer is to provide some sort of system that allows for one interrupt request to have priority over another. In such a device when two or more interrupts are received simultaneously, either the processor executing software code or, a logic device external to the processor (e.g., by looking to input pins that have a preassigned priority order), determines which of the interrupts has a higher priority and services the highest priority interrupt first. There are several drawbacks to such a system. First, the setting of the priority is static in that once the priority is set between two or more interrupts, that priority is maintained throughout the operation of the computer system. Second, when a computer system is handling a low priority interrupt, it will complete servicing of that interrupt before servicing higher-priority interrupts. If higher-priority interrupts (or those interrupts that later become a higher priority) are not handled quickly, there could be a negative impact on computer system performance. Finally, a software-based approach to resolving interrupt request priorities may take many instruction cycles and result in long latencies in servicing interrupts.
In view of the above, there is a need for a system and method that provides a quicker interrupt priority resolution and faster interrupt servicing in a computer system.
SUMMARY OF THE INVENTION
A method and apparatus are described which allow for greater control of interrupt generation to a processor or the like. In one embodiment, a priority selection device is provided which allows a processor or other devices to set the relative priorities among different interrupt requests. The priority information may be dynamic in that it can be modified at other times (e.g., based on the needs of the computer system). A priority resolution device and mask logic device determine which of the generated interrupt requests is of the highest priority and generates an interrupt to the processor to service that high-priority interrupt. In one embodiment, when a processor is servicing an interrupt and a higher priority interrupt is generated, the processor nests the servicing of the higher-priority interrupt in the servicing of the current interrupt. If the newly asserted interrupt request has a priority that is less than the priority of the currently serviced interrupt, the lower-priority interrupt is prevented from being asserted to the processor (until at least the servicing of the higher-priority interrupt is complete, for example).


REFERENCES:
patent: 3665415 (1972-05-01), Beard et al.
patent: 3925766 (1975-12-01), Bardotti et al.
patent: 4417302 (1983-11-01), Chimienti et al.
patent: 4609995 (1986-09-01), Hasebe
patent: 4914580 (1990-04-01), Jensen et al.
patent: 4953081 (1990-08-01), Feal et al.
patent: 5892957 (1999-04-01), Normoyle et al.
patent: 5905898 (1999-05-01), Qureshi et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for controlling interrupt priority... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for controlling interrupt priority..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for controlling interrupt priority... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3064362

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.