Signal dispatching for C language interrupt handling

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395736, G06F 946

Patent

active

056447728

ABSTRACT:
A system for handling multiple nested interrupts in a microprocessor device using C language interrupt handlers in which each interrupt handier is executed in two distinct stages, which are a Freeze mode handler and a signal handler, is disclosed. Upon the occurrence of each interrupt, a microprocessor of the device is placed in Freeze mode and the appropriate Freeze mode handler responds immediately to the interrupt, capturing all critical data and deactivating the interrupt request. Once the Freeze mode handler has completed execution, if execution of the signal handler is not necessary, an "interrupt return" or "IRET" instruction is executed, causing execution to return to the point at which the interrupt occurred. Otherwise, a signal number of the appropriate signal handler is pushed onto a signal stack stored in a memory associated with the microprocessor and a determination is made as to whether the signal dispatcher is running. If so, an IRET instruction is executed; otherwise, the microprocessor exits Freeze mode, C level context is prepared and execution of the signal dispatcher is initiated. The signal dispatcher continually checks the signal stack, pops the next signal number from the stack, and calls the associated signal handler, which is executed to completion, at which point the signal dispatcher again checks the stack. This continues until the stack is empty, at which point the signal dispatcher is exited, C level context is restored, and execution returns to the point at which the initial interrupt occurred.

REFERENCES:
patent: 4326247 (1982-04-01), Chamberlin
patent: 4327410 (1982-04-01), Patel et al.
patent: 4761732 (1988-08-01), Eldumiati et al.
patent: 5291608 (1994-03-01), Flurry
patent: 5355503 (1994-10-01), Soffel et al.
patent: 5369768 (1994-11-01), Takano
patent: 5437039 (1995-07-01), Yuen
Daniel Mann, "A Short Cut: C Language Interrupt Handlers," Fusion 29K News, Issue 13, Mar. 1993.

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

Signal dispatching for C language interrupt handling does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Signal dispatching for C language interrupt handling, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Signal dispatching for C language interrupt handling will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-606619

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