rpcsx/rpcs3/Emu/PSP2/Modules/sceFiber.h

30 lines
505 B
C
Raw Normal View History

2015-06-21 01:04:01 +02:00
#pragma once
2015-07-26 14:10:06 +02:00
using SceFiberEntry = void(u32 argOnInitialize, u32 argOnRun);
2015-06-21 01:04:01 +02:00
struct alignas(8) SceFiber
2015-06-21 01:04:01 +02:00
{
le_t<u64> padding[16];
};
CHECK_SIZE_ALIGN(SceFiber, 128, 8);
struct alignas(8) SceFiberOptParam
2015-06-21 01:04:01 +02:00
{
le_t<u64> padding[16];
};
CHECK_SIZE_ALIGN(SceFiberOptParam, 128, 8);
struct alignas(8) SceFiberInfo
2015-06-21 01:04:01 +02:00
{
vm::lptr<SceFiberEntry> entry;
le_t<u32> argOnInitialize;
vm::lptr<void> addrContext;
le_t<s32> sizeContext;
char name[32];
u8 padding[80];
2015-06-21 01:04:01 +02:00
};
CHECK_SIZE_ALIGN(SceFiberInfo, 128, 8);