Implement KeInitializeSpinLock() routine
Alle Prüfungen waren erfolgreich
ci/woodpecker/push/build Pipeline was successful
Alle Prüfungen waren erfolgreich
ci/woodpecker/push/build Pipeline was successful
Dieser Commit ist enthalten in:
28
xtoskrnl/ke/spinlock.c
Normale Datei
28
xtoskrnl/ke/spinlock.c
Normale Datei
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/ke/spinlock.c
|
||||
* DESCRIPTION: Spinlocks support
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#include <xtos.h>
|
||||
|
||||
|
||||
/**
|
||||
* Initializes a spinlock.
|
||||
*
|
||||
* @param SpinLock
|
||||
* Supplies a pointer to a kernel spin lock.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since NT 3.5
|
||||
*/
|
||||
XTAPI
|
||||
VOID
|
||||
KeInitializeSpinLock(IN PKSPIN_LOCK SpinLock)
|
||||
{
|
||||
/* Zero initialize spinlock */
|
||||
*SpinLock = 0;
|
||||
}
|
In neuem Issue referenzieren
Einen Benutzer sperren