82 WUT_CHECK_OFFSET(
IOSVec, 0x00, vaddr);
83 WUT_CHECK_OFFSET(
IOSVec, 0x04, len);
84 WUT_CHECK_OFFSET(
IOSVec, 0x08, paddr);
85 WUT_CHECK_SIZE(
IOSVec, 0x0C);
void * paddr
Physical address of buffer.
uint32_t len
Length of buffer.
void * vaddr
Virtual address of buffer.
IOSError IOS_CloseAsync(IOSHandle handle, IOSAsyncCallbackFn callback, void *context)
IOSError IOS_Open(const char *device, IOSOpenMode mode)
IOSError IOS_IoctlAsync(IOSHandle handle, uint32_t request, void *inBuf, uint32_t inLen, void *outBuf, uint32_t outLen, IOSAsyncCallbackFn callback, void *context)
IOSError IOS_Ioctl(IOSHandle handle, uint32_t request, void *inBuf, uint32_t inLen, void *outBuf, uint32_t outLen)
IOSError IOS_Close(IOSHandle handle)
void(* IOSAsyncCallbackFn)(IOSError, void *)
IOSError IOS_Ioctlv(IOSHandle handle, uint32_t request, uint32_t vecIn, uint32_t vecOut, IOSVec *vec)
IOSError IOS_IoctlvAsync(IOSHandle handle, uint32_t request, uint32_t vecIn, uint32_t vecOut, IOSVec *vec, IOSAsyncCallbackFn callback, void *context)
IOSError IOS_OpenAsync(const char *device, IOSOpenMode mode, IOSAsyncCallbackFn callback, void *context)
@ IOS_ERROR_INVALIDVERSION
@ IOS_ERROR_INVALIDFORMAT
@ IOS_ERROR_NOWRITEACCESS
@ IOS_ERROR_FAILCHECKVALUE
@ IOS_ERROR_INVALIDSIGNER
@ IOS_ERROR_NOREADWRITEACCESS
@ IOS_ERROR_SEMUNAVAILABLE
@ IOS_ERROR_CLIENTTXNLIMIT
@ IOS_ERROR_INVALIDHANDLE
@ IOS_ERROR_INVALIDOBJTYPE