HyperDbg Debugger
Loading...
Searching...
No Matches
PlatformBroadcast.c File Reference

Implementation of cross platform APIs for broadcasting routines. More...

#include "pch.h"

Functions

VOID PlatformBroadcastSynchronizeEndOfRoutine (PVOID SystemArgument1, PVOID SystemArgument2)
 This function synchronize the function execution for a single core.

Detailed Description

Implementation of cross platform APIs for broadcasting routines.

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
Version
0.19
Date
2026-05-08

Function Documentation

◆ PlatformBroadcastSynchronizeEndOfRoutine()

VOID PlatformBroadcastSynchronizeEndOfRoutine ( PVOID SystemArgument1,
PVOID SystemArgument2 )

This function synchronize the function execution for a single core.

Returns
VOID
25{
26#if defined(_WIN32) || defined(_WIN64)
27 //
28 // Wait for all DPCs to synchronize at this point
29 //
30 KeSignalCallDpcSynchronize(SystemArgument2);
31
32 //
33 // Mark the DPC as being complete
34 //
35 KeSignalCallDpcDone(SystemArgument1);
36
37#elif defined(__linux__)
38 //
39 // Not needed for Linux
40 //
41#else
42# error "Unsupported platform"
43#endif
44}