PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
sys_arch.h
1#ifndef __SYS_ARCH_H__
2#define __SYS_ARCH_H__
3
4typedef int sys_prot_t;
5typedef int sys_sem_t;
6typedef int sys_mbox_t;
7typedef int sys_thread_t;
8
9#define SYS_MBOX_NULL -1
10#define SYS_SEM_NULL -1
11
12#define SYS_MAX_MESSAGES (MEMP_NUM_TCPIP_MSG_API+MEMP_NUM_TCPIP_MSG_INPKT)
13
14typedef struct st_arch_message
15{
16 struct st_arch_message *next;
17 void *sys_msg;
19
20void *malloc(size_t size);
21void free(void *ptr);
22void *calloc(size_t n, size_t size);
23
24#endif /* __SYS_ARCH_H__ */