Rev 5272 | Rev 6102 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5272 | Rev 5345 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | #include |
- | |
2 | - | ||
3 | #ifndef __SYSCALL_H__ |
- | |
4 | #define __SYSCALL_H__ |
1 | #ifndef __SYSCALL_H__ |
5 | 2 | #define __SYSCALL_H__ |
|
Line -... | Line 3... | ||
- | 3 | ||
- | 4 | #include |
|
6 | typedef u32 addr_t; |
5 | |
7 | typedef u32 count_t; |
6 | typedef u32 addr_t; |
Line 8... | Line 7... | ||
8 | 7 | typedef u32 count_t; |
|
Line 53... | Line 52... | ||
53 | void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit"); |
52 | |
54 | void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock"); |
53 | void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit"); |
55 | void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); |
54 | void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock"); |
Line -... | Line 55... | ||
- | 55 | void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); |
|
- | 56 | ||
- | 57 | void FASTCALL InitRwsem(struct rw_semaphore *sem)__asm__("InitRwsem"); |
|
- | 58 | void FASTCALL DownRead(struct rw_semaphore *sem)__asm__("DownRead"); |
|
- | 59 | void FASTCALL DownWrite(struct rw_semaphore *sem)__asm__("DownWrite"); |
|
- | 60 | void FASTCALL UpRead(struct rw_semaphore *sem)__asm__("UpRead"); |
|
56 | 61 | void FASTCALL UpWrite(struct rw_semaphore *sem)__asm__("UpWrite"); |
|
57 | addr_t IMPORT GetStackBase(void)__asm__("GetStackBase"); |
62 | |
Line 58... | Line 63... | ||
58 | u32 IMPORT GetPid(void)__asm__("GetPid"); |
63 | addr_t IMPORT GetStackBase(void)__asm__("GetStackBase"); |
59 | 64 | u32 IMPORT GetPid(void)__asm__("GetPid"); |