mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-09 17:19:26 +00:00
40 lines
659 B
C
40 lines
659 B
C
/**
|
|
* @file Broadcast.c
|
|
* @author Sina Karvandi (sina@hyperdbg.org)
|
|
* @brief Broadcasting functions
|
|
*
|
|
* @version 0.19
|
|
* @date 2026-04-19
|
|
*
|
|
* @copyright This project is released under the GNU Public License v3.
|
|
*
|
|
*/
|
|
#include "pch.h"
|
|
|
|
/**
|
|
* @brief Routines to enable LBR on all cores
|
|
*
|
|
* @return VOID
|
|
*/
|
|
VOID
|
|
BroadcastEnableLbrOnAllCores()
|
|
{
|
|
//
|
|
// Broadcast to all cores
|
|
//
|
|
KeGenericCallDpc(DpcRoutineEnableLbr, NULL);
|
|
}
|
|
|
|
/**
|
|
* @brief Routines to disable LBR on all cores
|
|
*
|
|
* @return VOID
|
|
*/
|
|
VOID
|
|
BroadcastDisableLbrOnAllCores()
|
|
{
|
|
//
|
|
// Broadcast to all cores
|
|
//
|
|
KeGenericCallDpc(DpcRoutineDisableLbr, NULL);
|
|
}
|