wut/include/coreinit/rendezvous.h
2016-01-07 16:04:01 +00:00

43 lines
674 B
C

#pragma once
#include <wut.h>
/**
* \defgroup coreinit_rendezvous Rendezvous
* \ingroup coreinit
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OSRendezvous OSRendezvous;
struct OSRendezvous
{
uint32_t core[3];
UNKNOWN(4);
};
CHECK_OFFSET(OSRendezvous, 0x00, core);
CHECK_SIZE(OSRendezvous, 0x10);
#pragma pack(pop)
void
OSInitRendezvous(OSRendezvous *rendezvous);
BOOL
OSWaitRendezvous(OSRendezvous *rendezvous,
uint32_t coreMask);
BOOL
OSWaitRendezvousWithTimeout(OSRendezvous *rendezvous,
uint32_t coreMask,
OSTime timeout);
#ifdef __cplusplus
}
#endif
/** @} */