sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
sys_arch.h File Reference

Go to the source code of this file.

Classes

struct  st_arch_message

Macros

#define SYS_MBOX_NULL   -1
#define SYS_SEM_NULL   -1
#define SYS_MAX_MESSAGES   (MEMP_NUM_TCPIP_MSG_API+MEMP_NUM_TCPIP_MSG_INPKT)

Typedefs

typedef int sys_prot_t
typedef int sys_sem_t
typedef int sys_mbox_t
typedef int sys_thread_t
typedef struct st_arch_message arch_message

Functions

void * malloc (size_t size)
void free (void *ptr)
void * calloc (size_t n, size_t size)

Macro Definition Documentation

◆ SYS_MAX_MESSAGES

#define SYS_MAX_MESSAGES   (MEMP_NUM_TCPIP_MSG_API+MEMP_NUM_TCPIP_MSG_INPKT)

Definition at line 16 of file sys_arch.h.

◆ SYS_MBOX_NULL

#define SYS_MBOX_NULL   -1

Definition at line 13 of file sys_arch.h.

◆ SYS_SEM_NULL

#define SYS_SEM_NULL   -1

Definition at line 14 of file sys_arch.h.

Typedef Documentation

◆ sys_mbox_t

typedef int sys_mbox_t

Definition at line 10 of file sys_arch.h.

◆ sys_prot_t

typedef int sys_prot_t

Definition at line 8 of file sys_arch.h.

◆ sys_sem_t

typedef int sys_sem_t

Definition at line 9 of file sys_arch.h.

◆ sys_thread_t

typedef int sys_thread_t

Definition at line 11 of file sys_arch.h.

Function Documentation

◆ calloc()

void * calloc ( size_t n,
size_t size )
extern

Definition at line 396 of file sys_arch.c.

◆ free()

void free ( void * ptr)
extern

Definition at line 59 of file main.c.

◆ malloc()

void * malloc ( size_t size)
extern

Definition at line 375 of file sys_arch.c.