Implement basic kernel spinlock mechanism

This commit is contained in:
2024-02-05 22:07:39 +01:00
parent badb16e37d
commit 99abcd63d1
3 changed files with 102 additions and 0 deletions

View File

@@ -16,6 +16,10 @@
/* Kernel services routines forward references */
XTFASTCALL
VOID
KeAcquireSpinLock(IN OUT PKSPIN_LOCK SpinLock);
XTAPI
VOID
KeInitializeApc(IN PKAPC Apc,
@@ -69,6 +73,10 @@ KeReleaseSemaphore(IN PKSEMAPHORE Semaphore,
IN LONG Adjustment,
IN BOOLEAN Wait);
XTFASTCALL
VOID
KeReleaseSpinLock(IN OUT PKSPIN_LOCK SpinLock);
XTAPI
VOID
KeSetTargetProcessorDpc(IN PKDPC Dpc,