Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / halcaptive / spinlock.c
index afb204c..024e80d 100644 (file)
 
 
 /**
- * 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 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
  *
@@ -53,20 +37,6 @@ VOID KeAcquireSpinLockAtDpcLevel(PKSPIN_LOCK SpinLock)
 
 
 /**
- * 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 KeReleaseSpinLock(PKSPIN_LOCK SpinLock,KIRQL NewIrql)
-{
-       /* TODO:thread */
-}
-
-
-/**
  * KeReleaseSpinLockFromDpcLevel:
  * @SpinLock: Spinlock to release
  *