wut
v1.7.0
Wii U Toolchain
|
IOS <-> PPC message dequeue. More...
Data Structures | |
struct | SmdVectorSpec |
struct | SmdVector |
struct | SmdElement |
struct | SmdReceiveData |
struct | SmdInterface |
struct | SmdCtrlTable |
struct | SmdPpcCtrlTableVectors |
struct | SmdPpc |
struct | SmdSimpleBufPool |
union | SmdElement.__unnamed13__ |
union | SmdReceiveData.__unnamed15__ |
Typedefs | |
typedef struct SmdVectorSpec | SmdVectorSpec |
typedef struct SmdVector | SmdVector |
typedef struct SmdElement | SmdElement |
typedef struct SmdReceiveData | SmdReceiveData |
typedef struct SmdInterface | SmdInterface |
typedef struct SmdCtrlTable | SmdCtrlTable |
typedef struct SmdPpcCtrlTableVectors | SmdPpcCtrlTableVectors |
typedef struct SmdPpc | SmdPpc |
typedef struct SmdSimpleBufPool | SmdSimpleBufPool |
typedef enum SmdLockType | SmdLockType |
typedef enum SmdPpcState | SmdPpcState |
typedef enum SmdInterfaceState | SmdInterfaceState |
typedef enum SmdElementType | SmdElementType |
Enumerations | |
enum | SmdLockType { SMD_LOCK_TYPE_MUTEX = 0 , SMD_LOCK_TYPE_DISABLE_INTERRUPTS = 1 , SMD_LOCK_TYPE_NONE = 2 } |
enum | SmdPpcState { SMD_PPC_STATE_INVALID = 0 , SMD_PPC_STATE_INITIALIZED = 1 , SMD_PPC_STATE_CLOSED = 2 , SMD_PPC_STATE_OPENED = 3 } |
enum | SmdInterfaceState { SMD_INTERFACE_STATE_OPENED = 0x2222 , SMD_INTERFACE_STATE_CLOSED = 0x3333 } |
enum | SmdElementType { SMD_ELEMENT_TYPE_MESSAGE = 0 , SMD_ELEMENT_TYPE_VECTOR_SPEC = 1 , SMD_ELEMENT_TYPE_VECTOR = 2 } |
Functions | |
SmdPpc * | smdPpcInit (void *buf, uint32_t bufSize, uint32_t messageCount, const char *name, SmdLockType lockType) |
int32_t | smdPpcGetCtrlTableVectors (SmdPpc *smd, SmdPpcCtrlTableVectors *outVectors) |
int32_t | smdPpcOpen (SmdPpc *smd) |
int32_t | smdPpcClose (SmdPpc *smd) |
int32_t | smdPpcGetInterfaceState (SmdPpc *smd, SmdInterfaceState *outPpcState, SmdInterfaceState *outIopState) |
int32_t | smdPpcReceive (SmdPpc *smd, SmdReceiveData *data) |
int32_t | smdPpcSendMessage (SmdPpc *smd, void *message, uint32_t messageSize) |
int32_t | smdPpcSendVectorSpec (SmdPpc *smd, uint32_t command, SmdVectorSpec *specs, int32_t specsCount) |
int32_t | smdPpcSendVector (SmdPpc *smd, SmdVector *vector) |
SmdSimpleBufPool * | smdSimpleBufPoolCreate (void *poolData, uint32_t poolDataSize, uint32_t allocSize, uint32_t allocCount, SmdLockType lockType) |
int32_t | smdSimpleBufAlloc (SmdSimpleBufPool *pool, void **outAlloc) |
int32_t | smdSimpleBufFree (SmdSimpleBufPool *pool, void *alloc) |
int32_t | smdSimpleBufGetStatistics (SmdSimpleBufPool *pool, uint32_t *allocCount, uint32_t *freeErrorCount) |
IOS <-> PPC message dequeue.
struct SmdVector |
Data Fields | ||
---|---|---|
uint32_t | command | |
int32_t | count | |
SmdVectorSpec | vecs[4] |
struct SmdElement |
Data Fields | ||
---|---|---|
SmdElementType | type | |
uint32_t | size | |
union SmdElement | __unnamed__ |
struct SmdReceiveData |
Data Fields | ||
---|---|---|
SmdElementType | type | |
uint32_t | size | |
union SmdReceiveData | __unnamed__ |
struct SmdInterface |
Data Fields | ||
---|---|---|
SmdInterfaceState | state | |
uint32_t | elementCount | |
int32_t | readOffset | |
int32_t | writeOffset | |
uint32_t | bufPaddr |
struct SmdCtrlTable |
Data Fields | ||
---|---|---|
char | name[0x10] | |
uint32_t | reusedCount | |
SmdInterface | iopInterface | |
SmdInterface | ppcInterface |
struct SmdPpcCtrlTableVectors |
Data Fields | ||
---|---|---|
SmdCtrlTable * | ctrlTable | |
uint32_t | ctrlTableSize | |
SmdElement * | writeBuf | |
uint32_t | writeBufSize | |
SmdElement * | readBuf | |
uint32_t | readBufSize |
struct SmdPpc |
Data Fields | ||
---|---|---|
SmdPpc * | self | |
SmdCtrlTable * | ctrlTable | |
SmdLockType | lockType | |
OSMutex | mutex | |
uint32_t | messageCount | |
SmdElement * | writeBuf | |
SmdElement * | readBuf | |
SmdPpcState | state |
struct SmdSimpleBufPool |
Data Fields | ||
---|---|---|
SmdSimpleBufPool * | self | |
OSMutex | mutex | |
void * | poolData | |
uint32_t | poolDataSize | |
SmdLockType | lockType | |
uint32_t | allocSize | |
uint32_t | realAllocSize | |
uint32_t | maxAllocCount | |
void * | allocPoolStart | |
void * | allocPoolEnd | |
uint32_t | elementsIn | |
uint32_t | freeErrorCount |
union SmdElement.__unnamed13__ |
union SmdReceiveData.__unnamed15__ |
typedef struct SmdVectorSpec SmdVectorSpec |
typedef struct SmdElement SmdElement |
typedef struct SmdReceiveData SmdReceiveData |
typedef struct SmdInterface SmdInterface |
typedef struct SmdCtrlTable SmdCtrlTable |
typedef struct SmdPpcCtrlTableVectors SmdPpcCtrlTableVectors |
typedef struct SmdSimpleBufPool SmdSimpleBufPool |
typedef enum SmdLockType SmdLockType |
typedef enum SmdPpcState SmdPpcState |
typedef enum SmdInterfaceState SmdInterfaceState |
typedef enum SmdElementType SmdElementType |
enum SmdLockType |
enum SmdPpcState |
enum SmdInterfaceState |
enum SmdElementType |
SmdPpc* smdPpcInit | ( | void * | buf, |
uint32_t | bufSize, | ||
uint32_t | messageCount, | ||
const char * | name, | ||
SmdLockType | lockType | ||
) |
int32_t smdPpcGetCtrlTableVectors | ( | SmdPpc * | smd, |
SmdPpcCtrlTableVectors * | outVectors | ||
) |
int32_t smdPpcOpen | ( | SmdPpc * | smd | ) |
int32_t smdPpcClose | ( | SmdPpc * | smd | ) |
int32_t smdPpcGetInterfaceState | ( | SmdPpc * | smd, |
SmdInterfaceState * | outPpcState, | ||
SmdInterfaceState * | outIopState | ||
) |
int32_t smdPpcReceive | ( | SmdPpc * | smd, |
SmdReceiveData * | data | ||
) |
int32_t smdPpcSendMessage | ( | SmdPpc * | smd, |
void * | message, | ||
uint32_t | messageSize | ||
) |
int32_t smdPpcSendVectorSpec | ( | SmdPpc * | smd, |
uint32_t | command, | ||
SmdVectorSpec * | specs, | ||
int32_t | specsCount | ||
) |
SmdSimpleBufPool* smdSimpleBufPoolCreate | ( | void * | poolData, |
uint32_t | poolDataSize, | ||
uint32_t | allocSize, | ||
uint32_t | allocCount, | ||
SmdLockType | lockType | ||
) |
int32_t smdSimpleBufAlloc | ( | SmdSimpleBufPool * | pool, |
void ** | outAlloc | ||
) |
int32_t smdSimpleBufFree | ( | SmdSimpleBufPool * | pool, |
void * | alloc | ||
) |
int32_t smdSimpleBufGetStatistics | ( | SmdSimpleBufPool * | pool, |
uint32_t * | allocCount, | ||
uint32_t * | freeErrorCount | ||
) |