mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
Fix IOSVec.
This commit is contained in:
parent
3605823849
commit
e0c27d8a2f
@ -70,18 +70,18 @@ typedef enum IOSError
|
||||
|
||||
struct IOSVec
|
||||
{
|
||||
//! Physical address of buffer.
|
||||
void *paddr;
|
||||
//! Virtual address of buffer.
|
||||
void *vaddr;
|
||||
|
||||
//! Length of buffer.
|
||||
uint32_t len;
|
||||
|
||||
//! Virtual address of buffer.
|
||||
void *vaddr;
|
||||
//! Physical address of buffer.
|
||||
void *paddr;
|
||||
};
|
||||
WUT_CHECK_OFFSET(IOSVec, 0x00, paddr);
|
||||
WUT_CHECK_OFFSET(IOSVec, 0x00, vaddr);
|
||||
WUT_CHECK_OFFSET(IOSVec, 0x04, len);
|
||||
WUT_CHECK_OFFSET(IOSVec, 0x08, vaddr);
|
||||
WUT_CHECK_OFFSET(IOSVec, 0x08, paddr);
|
||||
WUT_CHECK_SIZE(IOSVec, 0x0C);
|
||||
|
||||
typedef void (*IOSAsyncCallbackFn)(IOSError, void *);
|
||||
|
Loading…
Reference in New Issue
Block a user