60 IMPORT(DisassemblePPCRange);
271 IMPORT(KPADSetConnectCallback);
void MEMFreeToFrmHeap(MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)
void AXSetMultiVoiceSrcRatio(AXMVoice *mvoice, float ratio)
void FSInitCmdBlock(FSCmdBlock *block)
#define htonl(x)
Definition: inet.h:70
void DCFlushRange(void *startaddress, u32 len)
Flushes a given range.
uint32_t OSSuspendThread(OSThread *thread)
const char * inet_ntop(int af, const void *cp, char *buf, socklen_t len)
BOOL OSJoinThread(OSThread *thread, int *threadResult)
void GX2InitSampler(GX2Sampler *sampler, GX2TexClampMode clampMode, GX2TexXYFilterMode minMagFilterMode)
int32_t HIDAddClient(HIDClient *p_client, HIDAttachCallback attach_callback)
void freeaddrinfo(struct addrinfo *__ai)
int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen)
void DCInvalidateRange(void *startaddress, u32 len)
Invalidates a given range of the d-cache.
ACResult ACGetAssignedSubnet(ACIpAddress *addr)
s32 IMIsAPDEnabled(s32 *result)
int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
void DCStoreRange(void *startaddress, u32 len)
Ensures a range of memory is updated with any modified data in the cache.
void GX2SetViewport(float x, float y, float width, float height, float nearZ, float farZ)
void * MEMAllocFromFrmHeapEx(MEMFrameHeap *heap, uint32_t size, int alignment)
int32_t OSWaitSemaphore(OSSemaphore *semaphore)
#define ntohs(x)
Definition: inet.h:69
FSStatus FSFlushFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags)
uint32_t MEMGetAllocatableSizeForFrmHeapEx(MEMFrameHeap *heap, int alignment)
void GX2SetTVBuffer(void *buffer, uint32_t size, GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
void GX2InitFetchShaderEx(GX2FetchShader *fetchShader, uint8_t *buffer, uint32_t attribCount, GX2AttribStream *attribs, GX2FetchShaderType type, GX2TessellationMode tessMode)
FSStatus FSChangeDir(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags)
void OSFastMutex_Unlock(OSFastMutex *mutex)
uint32_t GX2CalcFetchShaderSizeEx(uint32_t attribs, GX2FetchShaderType fetchShaderType, GX2TessellationMode tesellationMode)
OSExceptionCallbackFn OSSetExceptionCallback(OSExceptionType exceptionType, OSExceptionCallbackFn callback)
FSStatus FSRewindDir(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, uint32_t flags)
ssize_t recvfrom(int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen)
void GX2SetPixelSampler(GX2Sampler *sampler, uint32_t id)
void GX2CalcTVSize(GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
int32_t OSSignalSemaphore(OSSemaphore *semaphore)
void AXSetMultiVoiceDeviceMix(AXMVoice *mvoice, AXDeviceType type, u32 id, u32 bus, u16 vol, s16 delta)
int32_t HIDSetDescriptor(uint32_t handle, uint8_t descriptor_type, uint8_t descriptor_index, uint16_t language_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
void GX2DrawEx(GX2PrimitiveMode mode, uint32_t count, uint32_t offset, uint32_t numInstances)
void OSFastMutex_Init(OSFastMutex *mutex, const char *name)
uint32_t GX2CalcGeometryShaderInputRingBufferSize(uint32_t ringItemSize)
char KBDSetup(void *connection_callback, void *disconnection_callback, void *key_callback)
void OSScreenEnableEx(OSScreenID screen, BOOL enable)
void MEMFreeToExpHeap(MEMExpandedHeap *heap, uint8_t *block)
int32_t HIDWrite(uint32_t handle, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
BOOL OSIsThreadTerminated(OSThread *thread)
void GX2GetSwapStatus(uint32_t *swapCount, uint32_t *flipCount, OSTime *lastFlip, OSTime *lastVsync)
void OSScreenFlipBuffersEx(OSScreenID screen)
s32 KPADReadEx(s32 chan, KPADData *data, u32 size, s32 *error)
BOOL OSUninterruptibleSpinLock_Release(OSSpinLock *spinlock)
FSStatus FSGetStat(FSClient *client, FSCmdBlock *block, const char *path, FSStat *stat, uint32_t flags)
s32 KPADRead(s32 chan, void *data, u32 size)
FSStatus FSCloseFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags)
int32_t HIDGetProtocol(uint32_t handle, uint8_t interface_index, uint8_t *protocol, HIDCallback hc, void *p_user)
MEMExpandedHeap * MEMCreateExpHeapEx(MEMExpandedHeap *heap, uint32_t size, uint16_t flags)
void OSSavesDone_ReadyToRelease()
void GX2SetGeometryUniformBlock(uint32_t location, uint32_t size, const void *data)
void * MEMAllocFromExpHeapEx(MEMExpandedHeap *heap, uint32_t size, int alignment)
void GX2CopyColorBufferToScanBuffer(GX2ColorBuffer *buffer, GX2ScanTarget scanTarget)
Definition: civetweb.c:1041
uint32_t GX2CalcGeometryShaderOutputRingBufferSize(uint32_t ringItemSize)
FSStatus FSMount(FSClient *client, FSCmdBlock *cmd, FSMountSource *source, const char *target, uint32_t bytes, uint32_t flags)
int(* IOS_Open)(char *path, unsigned int mode)
void GX2SetShaderModeEx(GX2ShaderMode mode, uint32_t numVsGpr, uint32_t numVsStackEntries, uint32_t numGsGpr, uint32_t numGsStackEntries, uint32_t numPsGpr, uint32_t numPsStackEntries)
void GX2SetDRCEnable(BOOL enable)
void OSDynLoad_Release(OSDynLoadModule module)
void GX2SetCullOnlyControl(GX2FrontFace frontFace, BOOL cullFront, BOOL cullBack)
int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags)
void OSFastMutex_Lock(OSFastMutex *mutex)
void OSWaitCond(OSCondition *condition, OSMutex *mutex)
void SYSRelaunchTitle(uint32_t argc, char *pa_Argv[])
ssize_t recv(int sockfd, void *buf, size_t len, int flags)
void OSInitSemaphoreEx(OSSemaphore *semaphore, int32_t count, const char *name)
void OSExitThread(int32_t result)
FSStatus FSSetPosFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t pos, uint32_t flags)
int32_t OSDynLoad_Acquire(char const *name, OSDynLoadModule *outModule)
void GX2SetVertexShader(GX2VertexShader *shader)
int __os_snprintf(char *buf, int n, const char *format,...)
void GX2ClearColor(GX2ColorBuffer *colorBuffer, float red, float green, float blue, float alpha)
BOOL OSCreateThread(OSThread *thread, OSThreadEntryPointFn entry, int32_t argc, char *argv, void *stack, uint32_t stackSize, int32_t priority, OSThreadAttributes attributes)
void GX2SetScissor(uint32_t x, uint32_t y, uint32_t width, uint32_t height)
FSStatus FSUnmount(FSClient *client, FSCmdBlock *cmd, const char *target, uint32_t flags)
void GX2SetVertexUniformBlock(uint32_t location, uint32_t size, const void *data)
int getpeername(int sockfd, struct sockaddr *addr, socklen_t *addrlen)
void GX2SetAttribBuffer(uint32_t index, uint32_t size, uint32_t stride, void *buffer)
int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen)
void AXSetMultiVoiceOffsets(AXMVoice *mvoice, AXVoiceOffsets *offsets)
int32_t HIDSetIdle(uint32_t handle, uint8_t interface_index, uint8_t duration, HIDCallback hc, void *p_user)
void GX2SetTVEnable(BOOL enable)
FSStatus FSOpenDir(FSClient *client, FSCmdBlock *block, const char *path, FSDirectoryHandle *handle, uint32_t flags)
ssize_t send(int sockfd, const void *buf, size_t len, int flags)
int32_t VPADRead(uint32_t chan, VPADStatus *buffers, uint32_t count, VPADReadError *error)
void OSInitSemaphore(OSSemaphore *semaphore, int32_t count)
int32_t HIDGetDescriptor(uint32_t handle, uint8_t descriptor_type, uint8_t descriptor_index, uint16_t language_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
void GX2SetPixelShader(GX2PixelShader *shader)
FSStatus FSRename(FSClient *client, FSCmdBlock *block, const char *oldPath, const char *newPath, uint32_t flags)
FSStatus FSReadFile(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags)
void AXFreeMultiVoice(AXMVoice *mvoice)
int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
ACResult ACInitialize(void)
ssize_t sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen)
char * inet_ntoa(struct in_addr addr)
Definition: network_common.c:136
void GX2InitColorBufferRegs(GX2ColorBuffer *colorBuffer)
#define OSLockMutex(mutex)
Definition: gx_pthread.h:48
ACResult ACGetAssignedAddress(ACIpAddress *addr)
s32 WPADSetDataFormat(s32 chan, s32 format)
void GX2Init(uint32_t *attributes)
int socketclose(int sockfd)
void GX2SetSwapInterval(uint32_t interval)
FSStatus FSGetMountSource(FSClient *client, FSCmdBlock *cmd, FSMountSourceType type, FSMountSource *out, uint32_t flags)
BOOL OSUninterruptibleSpinLock_Acquire(OSSpinLock *spinlock)
int32_t OSDynLoad_FindExport(OSDynLoadModule module, int32_t isData, char const *name, void **outAddr)
int32_t HIDSetReport(uint32_t handle, uint8_t report_type, uint8_t report_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
BOOL OSGetSharedData(shared_data_type_t type, uint32_t flags, void **dst, uint32_t *size)
void GX2SetGeometryShaderInputRingBuffer(void *buffer, uint32_t size)
void GX2SetDepthOnlyControl(BOOL depthTest, BOOL depthWrite, GX2CompareFunction depthCompare)
OSThreadCleanupCallbackFn OSSetThreadCleanupCallback(OSThread *thread, OSThreadCleanupCallbackFn callback)
void AXSetMultiVoiceState(AXMVoice *mvoice, AXVoiceState state)
FSStatus FSCloseDir(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, uint32_t flags)
void GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
void GX2Invalidate(GX2InvalidateMode mode, void *buffer, uint32_t size)
void GX2SetColorControl(GX2LogicOp rop3, uint8_t targetBlendEnable, BOOL multiWriteEnable, BOOL colorWriteEnable)
FSStatus FSWriteFile(FSClient *client, FSCmdBlock *block, uint8_t *buffer, uint32_t size, uint32_t count, FSFileHandle handle, uint32_t unk1, uint32_t flags)
void AXRegisterFrameCallback(void *cb)
void AXAcquireMultiVoice(u32 prio, void *cb, u32 cbarg, void *setup, AXMVoice **mvoice)
FSStatus FSAddClientEx(FSClient *pClient, s32 unk_zero_param, uint32_t errHandling)
#define htons(x)
Definition: inet.h:68
FSStatus FSTruncateFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, uint32_t flags)
void WPADRead(s32 chan, void *data)
void VPADGetTPCalibratedPoint(uint32_t chan, VPADTouchData *calibratedData, VPADTouchData *uncalibratedData)
int32_t HIDGetReport(uint32_t handle, uint8_t report_type, uint8_t report_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
FSStatus FSAddClient(FSClient *client, uint32_t flags)
int32_t OSResumeThread(OSThread *thread)
void DCStoreRangeNoSync(void *startaddress, u32 len)
Ensures a range of memory is updated with any modified data in the cache.
void GX2SwapScanBuffers()
void AXSetMultiVoiceCurrentOffset(AXMVoice *mvoice, uint32_t offset)
void GX2SetupContextStateEx(GX2ContextState *state, BOOL unk1)
MEMHeapHandle MEMGetBaseHeapHandle(MEMBaseHeapType type)
int shutdown(int sockfd, int how)
s32 IOS_IoctlAsync(s32 fd, s32 ioctl, void *buffer_in, s32 len_in, void *buffer_io, s32 len_io, ipccallback ipc_cb, void *usrdata)
FSStatus FSRemove(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags)
void OSSleepTicks(OSTime ticks)
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
void GX2SetBlendControl(GX2RenderTarget target, GX2BlendMode colorSrcBlend, GX2BlendMode colorDstBlend, GX2BlendCombineMode colorCombine, BOOL useAlphaBlend, GX2BlendMode alphaSrcBlend, GX2BlendMode alphaDstBlend, GX2BlendCombineMode alphaCombine)
int32_t OSGetSemaphoreCount(OSSemaphore *semaphore)
void GX2SetColorBuffer(GX2ColorBuffer *colorBuffer, GX2RenderTarget target)
void OSSignalCond(OSCondition *condition)
void GX2SetPixelTexture(GX2Texture *texture, uint32_t unit)
int32_t HIDDelClient(HIDClient *p_client)
int getsockopt(int sockfd, int level, int optname, void *optval, socklen_t *optlen)
int setsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen)
int getaddrinfo(const char *node, const char *service, struct addrinfo *hints, struct addrinfo **res)
s8_t inet_aton(const char *cp, struct in_addr *addr)
Definition: network_common.c:42
void AXInitWithParams(AXInitParams *params)
#define ntohl(x)
Definition: inet.h:71
BOOL OSIsThreadSuspended(OSThread *thread)
void GX2SetGeometryShaderOutputRingBuffer(void *buffer, uint32_t size)
FSStatus FSDelClient(FSClient *client, uint32_t flags)
void OSScreenPutFontEx(OSScreenID screen, uint32_t row, uint32_t column, const char *buffer)
int listen(int sockfd, int backlog)
OSThread * OSGetCurrentThread()
#define OSUnlockMutex(mutex)
Definition: gx_pthread.h:52
int inet_pton(int af, const char *cp, void *buf)
GX2TVScanMode GX2GetSystemTVScanMode()
#define OSInitMutex(mutex)
Definition: gx_pthread.h:44
void AXSetMultiVoiceVe(AXMVoice *mvoice, AXVoiceVeData *veData)
FSStatus FSOpenFile(FSClient *client, FSCmdBlock *block, const char *path, const char *mode, FSFileHandle *handle, uint32_t flags)
s32 * __gh_errno_ptr(void)
FSStatus FSMakeDir(FSClient *client, FSCmdBlock *block, const char *path, uint32_t flags)
FSStatus FSGetFreeSpaceSize(FSClient *client, FSCmdBlock *block, char *path, u64 *outSize, uint32_t flags)
int32_t OSTryWaitSemaphore(OSSemaphore *semaphore)
void ProcUIInit(ProcUISaveCallback saveCallback)
void GX2SetContextState(GX2ContextState *state)
s32 IMIsDimEnabled(s32 *result)
FSStatus FSGetStatFile(FSClient *client, FSCmdBlock *block, FSFileHandle handle, FSStat *stat, uint32_t flags)
void GX2SetPixelUniformBlock(uint32_t location, uint32_t size, const void *data)
uint32_t MEMGetSizeForMBlockExpHeap(uint8_t *addr)
int(* IOS_Ioctl)(int fd, unsigned int request, void *input_buffer, unsigned int input_buffer_len, void *output_buffer, unsigned int output_buffer_len)
FSStatus FSReadDir(FSClient *client, FSCmdBlock *block, FSDirectoryHandle handle, FSDirectoryEntry *entry, uint32_t flags)
int32_t HIDRead(uint32_t handle, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
uint32_t OSEffectiveToPhysical(void *vaddr)
BOOL OSSetThreadPriority(OSThread *thread, int32_t priority)
void OSScreenSetBufferEx(OSScreenID screen, void *addr)
void GX2InitTextureRegs(GX2Texture *texture)
int32_t HIDSetProtocol(uint32_t handle, uint8_t interface_index, uint8_t protocol, HIDCallback hc, void *p_user)
void GX2CalcSurfaceSizeAndAlignment(GX2Surface *surface)
void GX2SetGeometryShader(GX2GeometryShader *shader)
bool AXIsMultiVoiceRunning(AXMVoice *mvoice)
s32 WPADProbe(s32 chan, u32 *pad_type)
void WPADEnableURCC(s32 enable)
void GX2SetBlendConstantColor(float red, float green, float blue, float alpha)
int32_t HIDTeardown(void)
MEMExpandedHeap * MEMDestroyExpHeap(MEMExpandedHeap *heap)
void GX2SetDRCBuffer(void *buffer, uint32_t size, GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
void AXSetMultiVoiceSrcType(AXMVoice *mvoice, AXVoiceSrcType type)
uint32_t OSScreenGetBufferSizeEx(OSScreenID screen)
void OSInitCond(OSCondition *condition)
void OSInitSpinLock(OSSpinLock *spinlock)
void GX2SetFetchShader(GX2FetchShader *shader)
void OSScreenClearBufferEx(OSScreenID screen, uint32_t colour)
void OSFatal(const char *msg)
void WPADEnableWiiRemote(s32 enable)