ddk: kernel rw locks
git-svn-id: svn://kolibrios.org@5345 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
|
||||
#include <ddk.h>
|
||||
|
||||
#ifndef __SYSCALL_H__
|
||||
#define __SYSCALL_H__
|
||||
|
||||
#include <ddk.h>
|
||||
|
||||
typedef u32 addr_t;
|
||||
typedef u32 count_t;
|
||||
|
||||
@@ -55,6 +54,12 @@ void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit");
|
||||
void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock");
|
||||
void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock");
|
||||
|
||||
void FASTCALL InitRwsem(struct rw_semaphore *sem)__asm__("InitRwsem");
|
||||
void FASTCALL DownRead(struct rw_semaphore *sem)__asm__("DownRead");
|
||||
void FASTCALL DownWrite(struct rw_semaphore *sem)__asm__("DownWrite");
|
||||
void FASTCALL UpRead(struct rw_semaphore *sem)__asm__("UpRead");
|
||||
void FASTCALL UpWrite(struct rw_semaphore *sem)__asm__("UpWrite");
|
||||
|
||||
addr_t IMPORT GetStackBase(void)__asm__("GetStackBase");
|
||||
u32 IMPORT GetPid(void)__asm__("GetPid");
|
||||
|
||||
|
Reference in New Issue
Block a user