Register dispatch interrupt handler
This commit is contained in:
@@ -29,6 +29,25 @@ KE::Dispatcher::ExitDispatcher(IN KRUNLEVEL OldRunLevel)
|
||||
RunLevel::LowerRunLevel(OldRunLevel);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the dispatch interrupt by retiring pending DPCs, asking the scheduler for the next runnable thread
|
||||
* and performing the context switch.
|
||||
*
|
||||
* @param TrapFrame
|
||||
* Supplies a pointer to the hardware trap frame representing the interrupted context.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
KE::Dispatcher::HandleDispatchInterrupt(IN PKTRAP_FRAME TrapFrame)
|
||||
{
|
||||
/* End the interrupt */
|
||||
HL::Pic::SendEoi();
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the runtime quantum of the currently executing thread and handles preemption.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user