Method and apparatus for providing a context switch in response to an interrupt in a computer process
Abstract
A processor which includes at least a pair of call stacks and a pair of register files which may be utilized for running processes. The processor includes circuitry for detecting when an interrupt has occurred and switching from a stack and registers being utilized by a running process to a clean stack and registers to be utilized by the interrupting process. The processor then runs an interrupt start process which places the process interrupted and the circuitry utilized by that process into a condition in which the process may be safely interrupted. Similarly, the process circuitry detects when the interrupt is completed, performs a context switch in which the original stack and register are again made available, and switches to a process adapted to place the interrupted routine in an appropriate state to restart.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 99.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a processor system executing processes, a method for interrupting processes, comprising: associating a specific interrupt start routine (ISR) and interrupt return routine (IRR) with each process, said ISR comprising steps, when executed, to safely suspend execution of the corresponding process without corruption of the system or data and enable an interrupting process to execute, and said IRR comprising steps, when executed, to safely resume execution of the corresponding process without corruption of the system or data; executing a first process, said first process associated with a firs
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗