Handling interrupts in data processing
First Claim
1. A method of processing data comprising:
- processing a function using a processor operable to perform a plurality of functions, said processor having interrupts enabled;
receiving an interrupt at said processor;
suspending processing of said function;
accessing at least one control parameter, said at least one control parameter indicating whether processing of said function should be resumed from a point where it was interrupted or whether said function should be repeated following said interrupt;
following completion of said interrupt continuing processing of said function either at a start of said function or at a point at which it was interrupted dependent upon said control parameter.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of processing data comprising: processing a function using a processor operable to perform a plurality of functions, the processor having interrupts enabled; receiving an interrupt at the processor; suspending processing of the function; accessing at least one control parameter, the at least one control parameter indicating whether processing of the function should be resumed from the point where it was interrupted or whether the function should be repeated following the interrupt; following completion of the interrupt continuing processing of the function either at a start of the function or at a point at which it was interrupted dependent upon the control parameter. A function being an application, a thread, a system software routine, or multiple processing steps defined by software.
-
Citations
36 Claims
-
1. A method of processing data comprising:
-
processing a function using a processor operable to perform a plurality of functions, said processor having interrupts enabled;
receiving an interrupt at said processor;
suspending processing of said function;
accessing at least one control parameter, said at least one control parameter indicating whether processing of said function should be resumed from a point where it was interrupted or whether said function should be repeated following said interrupt;
following completion of said interrupt continuing processing of said function either at a start of said function or at a point at which it was interrupted dependent upon said control parameter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An apparatus for processing data, said apparatus comprising:
-
a processor operable to perform a plurality of functions and comprising;
a control parameter storage element operable to store a control parameter indicative of whether processing of a function should be resumed from a point where it was interrupted or whether it should be repeated following said interrupt;
an interrupt signal input port;
an interrupt enable/disable selector; and
function logic operable to control said processor to perform a function;
wherein said processor is operable to process function logic and in response to receipt of an interrupt signal when said interrupt selector is enabled, to suspend processing of said function logic, and dependent on a value of said control parameter stored in said control parameter storage element to continue processing of said function either at a start of said function or at a point at which it was interrupted following completion of said interrupt. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A computer program product comprising:
-
function logic operable to control a processor to perform a function; and
disable interrupt logic operable to control said processor to disable interrupts;
whereina first portion of said function logic operable to control said processor to perform a first portion of said function, has idempotence such that it does not alter a state of any part of the processor which would affect the repeatability of the function and is operable to be executed by said processor before said disable interrupt logic and a final portion of said function logic operable to control said processor to complete said function is operable to be executed after said disable interrupt logic is executed. - View Dependent Claims (32, 33, 34, 35, 36)
-
Specification