os-k/include/kernel/ex/lock.h

14 lines
242 B
C
Raw Permalink Normal View History

2019-05-13 23:22:27 +02:00
#ifndef _LIBC_H
#include <libc.h>
#endif
// Temporary fix
#include <ke/spinlock.h>
typedef Spinlock_t Lock_t;
#define ExInitLock KeInitSpinlock
#define ExAcquireLock KeAcquireSpinlock
#define ExReleaseLock KeReleaseSpinlock