HyperDbg Debugger
Toggle main menu visibility
Loading...
Searching...
No Matches
PlatformSpinlock.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#if defined(__linux__)
15
# include "
../../../../include/SDK/HyperDbgSdk.h
"
16
#endif
// defined(__linux__)
17
19
// Functions //
21
22
#if defined(_WIN32) || defined(_WIN64)
23
24
VOID
25
PlatformSpinlockInitialize
(PKSPIN_LOCK SpinLock);
26
27
VOID
28
PlatformSpinlockAcquire
(PKSPIN_LOCK SpinLock, PKIRQL OldIrql);
29
30
VOID
31
PlatformSpinlockRelease
(PKSPIN_LOCK SpinLock, KIRQL OldIrql);
32
33
#endif
// defined(_WIN32) || defined(_WIN64)
PlatformSpinlockRelease
VOID PlatformSpinlockRelease(PKSPIN_LOCK SpinLock, KIRQL OldIrql)
Release a previously acquired kernel spinlock and restore IRQL.
Definition
PlatformSpinlock.c:75
PlatformSpinlockAcquire
VOID PlatformSpinlockAcquire(PKSPIN_LOCK SpinLock, PKIRQL OldIrql)
Acquire a kernel spinlock, raising IRQL to DISPATCH_LEVEL.
Definition
PlatformSpinlock.c:50
PlatformSpinlockInitialize
VOID PlatformSpinlockInitialize(PKSPIN_LOCK SpinLock)
Initialize a kernel spinlock.
Definition
PlatformSpinlock.c:25
HyperDbgSdk.h
hyperdbg
include
platform
kernel
header
PlatformSpinlock.h
Generated by
1.17.0