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