sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
sys_arch.h
Go to the documentation of this file.
1
5#ifndef __SYS_ARCH_H__
6#define __SYS_ARCH_H__
7
8typedef int sys_prot_t;
9typedef int sys_sem_t;
10typedef int sys_mbox_t;
11typedef int sys_thread_t;
12
13#define SYS_MBOX_NULL -1
14#define SYS_SEM_NULL -1
15
16#define SYS_MAX_MESSAGES (MEMP_NUM_TCPIP_MSG_API+MEMP_NUM_TCPIP_MSG_INPKT)
17
18typedef struct st_arch_message
19{
20 struct st_arch_message *next;
21 void *sys_msg;
22} arch_message;
23
24extern void *malloc(size_t size);
25extern void free(void *ptr);
26extern void *calloc(size_t n, size_t size);
27
28#endif /* __SYS_ARCH_H__ */