Implement KeSetTargetProcessorDpc() routine
所有检测均成功
Builds / ExectOS (amd64) (push) Successful in 30s
Builds / ExectOS (i686) (push) Successful in 28s

这个提交包含在:
Rafal Kupiec 2023-10-29 19:59:21 +01:00
父节点 be7981f614
当前提交 aa17be6eb3
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4
共有 3 个文件被更改,包括 27 次插入0 次删除

查看文件

@ -69,4 +69,9 @@ KeReleaseSemaphore(IN PKSEMAPHORE Semaphore,
IN LONG Adjustment,
IN BOOLEAN Wait);
XTAPI
VOID
KeSetTargetProcessorDpc(IN PKDPC Dpc,
IN CCHAR Number);
#endif /* __XTDK_KEFUNCS_H */

查看文件

@ -91,3 +91,24 @@ KepRetireDpcList(IN PKPROCESSOR_CONTROL_BLOCK Prcb)
{
UNIMPLEMENTED;
}
/**
* Sets the target processor number for DPC.
*
* @param Dpc
* Supplies a pointer to the DPC object.
*
* @param Number
* Supplies the target processor number.
*
* @return This routine does not return any value.
*
* @since NT 4.0
*/
XTAPI
VOID
KeSetTargetProcessorDpc(IN PKDPC Dpc,
IN CCHAR Number)
{
Dpc->Number = MAXIMUM_PROCESSORS + Number;
}

查看文件

@ -16,6 +16,7 @@
@ stdcall KeInitializeTimerEx(ptr long)
@ stdcall KeReadSemaphoreState(ptr)
@ stdcall KeReleaseSemaphore(ptr long long long)
@ stdcall KeSetTargetProcessorDpc(ptr long)
@ stdcall RtlCompareMemory(ptr ptr long)
@ stdcall RtlCopyMemory(ptr ptr long)
@ stdcall RtlFillMemory(ptr long long)