/**
- * KeAcquireSpinLock:
- * @SpinLock: Spinlock to acquire
- * @OldIrql: Returns the previous irql
- *
- * Acquires a spinlock. Currently libcaptive doesn't use multithreading
- * and thus this function is a NOP now. #GMutex would be needed otherwise.
- */
-VOID STDCALL KeAcquireSpinLock(PKSPIN_LOCK SpinLock,PKIRQL OldIrql)
-{
- /* TODO:thread */
- /* reactos/hal/halx86/irql.c/CurrentIrql is initialized to HIGH_LEVEL */
- *OldIrql=PASSIVE_LEVEL;
-}
-
-
-/**
* KeAcquireSpinLockAtDpcLevel:
* @SpinLock: Spinlock to acquire
*
* Currently libcaptive doesn't use multithreading
* and thus this function is a NOP now. #GMutex would be needed otherwise.
*/
-VOID STDCALL KeAcquireSpinLockAtDpcLevel(PKSPIN_LOCK SpinLock)
-{
- /* TODO:thread */
-}
-
-
-/**
- * KeReleaseSpinLock:
- * @SpinLock: Spinlock to release
- * @NewIrql: Irql level before acquiring the spinlock
- *
- * Releases a spinlock. Currently libcaptive doesn't use multithreading
- * and thus this function is a NOP now. #GMutex would be needed otherwise.
- */
-VOID STDCALL KeReleaseSpinLock(PKSPIN_LOCK SpinLock,KIRQL NewIrql)
+VOID KeAcquireSpinLockAtDpcLevel(PKSPIN_LOCK SpinLock)
{
/* TODO:thread */
}
* Currently libcaptive doesn't use multithreading
* and thus this function is a NOP now. #GMutex would be needed otherwise.
*/
-VOID STDCALL KeReleaseSpinLockFromDpcLevel(PKSPIN_LOCK SpinLock)
+VOID KeReleaseSpinLockFromDpcLevel(PKSPIN_LOCK SpinLock)
{
/* TODO:thread */
}