PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Data Structures | |
struct | iop_mbx_t |
struct | _iop_mbx_status |
Macros | |
#define | MBA_THFIFO 0x000 |
#define | MBA_THPRI 0x001 |
#define | MBA_MSFIFO 0x000 |
#define | MBA_MSPRI 0x004 |
#define | thmsgbx_IMPORTS_start DECLARE_IMPORT_TABLE(thmsgbx, 1, 1) |
#define | thmsgbx_IMPORTS_end END_IMPORT_TABLE |
#define | I_CreateMbx DECLARE_IMPORT(4, CreateMbx) |
#define | I_DeleteMbx DECLARE_IMPORT(5, DeleteMbx) |
#define | I_SendMbx DECLARE_IMPORT(6, SendMbx) |
#define | I_iSendMbx DECLARE_IMPORT(7, iSendMbx) |
#define | I_ReceiveMbx DECLARE_IMPORT(8, ReceiveMbx) |
#define | I_PollMbx DECLARE_IMPORT(9, PollMbx) |
#define | I_ReferMbxStatus DECLARE_IMPORT(11, ReferMbxStatus) |
#define | I_iReferMbxStatus DECLARE_IMPORT(12, iReferMbxStatus) |
Typedefs | |
typedef struct _iop_message | iop_message_t |
typedef struct _iop_mbx_status | iop_mbx_status_t |
Functions | |
int | CreateMbx (iop_mbx_t *mbx) |
int | DeleteMbx (int mbxid) |
int | SendMbx (int mbxid, void *msg) |
int | iSendMbx (int mbxid, void *msg) |
int | ReceiveMbx (void **msgvar, int mbxid) |
int | PollMbx (void **msgvar, int mbxid) |
int | ReferMbxStatus (int mbxid, iop_mbx_status_t *info) |
int | iReferMbxStatus (int mbxid, iop_mbx_status_t *info) |
Inter-thread message boxes.
Definition in file thmsgbx.h.
struct iop_mbx_t |
struct _iop_message |
Data Fields | ||
---|---|---|
struct _iop_message * | next | |
unsigned char | priority | |
unsigned char | unused[3] |
struct _iop_mbx_status |
Data Fields | ||
---|---|---|
unsigned int | attr | |
unsigned int | option | |
int | numWaitThreads | |
int | numMessage | |
iop_message_t * | topPacket | |
int | reserved[2] |
#define thmsgbx_IMPORTS_start DECLARE_IMPORT_TABLE(thmsgbx, 1, 1) |
#define I_ReferMbxStatus DECLARE_IMPORT(11, ReferMbxStatus) |
#define I_iReferMbxStatus DECLARE_IMPORT(12, iReferMbxStatus) |
int ReferMbxStatus | ( | int | mbxid, |
iop_mbx_status_t * | info | ||
) |
int iReferMbxStatus | ( | int | mbxid, |
iop_mbx_status_t * | info | ||
) |