Algorithm for Handling Interrupts
algorithm inthand /* handle interrupts */
input : none
output : none
{
save (push) current context layer ;
determine interrupt source ;
find interrupt vector;
call interrupt handler ;
restore (pop) previous contex layer
}
algorithm inthand /* handle interrupts */
input : none
output : none
{
save (push) current context layer ;
determine interrupt source ;
find interrupt vector;
call interrupt handler ;
restore (pop) previous contex layer
}
No comments:
Post a Comment