KiSetPendingTick
VOID __stdcall KiSetPendingTick(UINT8 PendingTick){
char v1;
struct _KPRCB *CurrentPrcb;
v1 = PendingTick & 1;
if( KiClockTimerPerCpu )
{
CurrentPrcb = KeGetCurrentPrcb();
CurrentPrcb->PendingTickFlags = v1 | CurrentPrcb->PendingTickFlags & 0xFE;
}
else
{
(*(&KiProcessorBlock + (unsigned int)KiClockTimerOwner))->PendingTickFlags = v1 | (*(&KiProcessorBlock
+ (unsigned int)KiClockTimerOwner))->PendingTickFlags & 0xFE;
}
}Referenced by:
KeInitializeClock
KePrepareClockTimerForIdle
KeResumeClockTimerFromIdle
KiRestoreClockTickRate
KiSetClockTickRate