151{
154
155
158
159
160 OldProcess = OldThread->ApcState.Process;
161 NewProcess = NewThread->ApcState.Process;
162 if (OldProcess != NewProcess)
163 {
164
166
167
168
169 }
170
171
174 {
175
177 }
178
179
181 NewThread->ContextSwitches++;
182
183
185 {
186
191 0);
192 }
193
194
195 OldThread->SwapBusy =
FALSE;
196
197
198 if (NewThread->ApcState.KernelApcPending)
199 {
200
201 if ((NewThread->SpecialApcDisable == 0) &&
202 (ApcBypass == 0))
203 {
204
206 }
207
208
210 }
211
212
214}
VOID FASTCALL HalRequestSoftwareInterrupt(IN KIRQL Irql)
PPC_QUAL void __writemsr(const unsigned long Value)
__INTRIN_INLINE void __writecr3(unsigned int Data)
VOID NTAPI KeBugCheckEx(_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
ULONG_PTR DirectoryTableBase