Interrupt Queuing in a Media Controller Architecture
First Claim
1. A method of servicing contexts generated by a context generator, the method comprising:
- storing one or more context pointers in a buffer, each pointer corresponding to a context and an action by a system module associated with context;
completing a context when completing the action by the system module associated with the context;
removing each pointer from the buffer associated with the completed context;
determining whether an interrupt corresponds to the completed context and removed pointer; and
if no interrupt corresponds to the completed context,clearing the completed context; and
.if an interrupt corresponds to the completed context,providing the interrupt to a master processor.
11 Assignments
0 Petitions
Accused Products
Abstract
Described embodiments provide a media controller for servicing contexts corresponding to data transfer requests from host devices. The media controller includes a context generator for generating contexts corresponding to the data transfer requests and a buffer for storing one or more context pointers, each pointer corresponding to a context and an action by a system module associated with the context. A context processor is configured to complete a context when the action by a media controller module associated with the context is complete, remove each pointer from the buffer associated with the completed context, and determine whether an interrupt corresponds to the completed context and removed pointer. If no interrupt corresponds to the completed context, the completed context is cleared. If an interrupt corresponds to the completed context, the interrupt is provided to a master processor and a completed context recycler for recycling the completed context pointer to the context generator.
82 Citations
20 Claims
-
1. A method of servicing contexts generated by a context generator, the method comprising:
-
storing one or more context pointers in a buffer, each pointer corresponding to a context and an action by a system module associated with context; completing a context when completing the action by the system module associated with the context; removing each pointer from the buffer associated with the completed context; determining whether an interrupt corresponds to the completed context and removed pointer; and if no interrupt corresponds to the completed context, clearing the completed context; and
.if an interrupt corresponds to the completed context, providing the interrupt to a master processor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory machine-readable storage medium, having encoded thereon program code, wherein, when the program code is executed by a machine, the machine implements a method of servicing contexts generated by a context generator, the method comprising:
-
storing one or more context pointers in a buffer, each pointer corresponding to a context and an action by a system module associated with context; completing a context when completing the action by the system module associated with the context; removing each pointer from the buffer associated with the completed context; determining whether an interrupt corresponds to the completed context and removed pointer; and if no interrupt corresponds to the completed context, clearing the completed context; and
.if an interrupt corresponds to the completed context, providing the interrupt to a master processor. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A media controller for servicing contexts corresponding to data transfer requests from host devices, the media controller comprising:
-
a context generator for generating contexts corresponding to the data transfer requests; a buffer for storing one or more context pointers, each pointer corresponding to a context and an action by a system module associated with context; a context processor configured to; (i) complete a context when the action by a media controller module associated with the context is complete; (ii) remove each pointer from the buffer associated with the completed context; (iii) determine whether an interrupt corresponds to the completed context and removed pointer; and (iv) if no interrupt corresponds to the completed context, clear the completed context; and if an interrupt corresponds to the completed context, provide the interrupt to a master processor; and a completed context recycler for recycling the completed context pointer to the context generator when no interrupt corresponds to the completed context. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification