mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 02:21:49 +01:00
367 lines
8.6 KiB
C
367 lines
8.6 KiB
C
// coreinit/alarm.h
|
|
EXPORT(OSCancelAlarm);
|
|
EXPORT(OSCancelAlarms);
|
|
EXPORT(OSCreateAlarm);
|
|
EXPORT(OSCreateAlarmEx);
|
|
EXPORT(OSGetAlarmUserData);
|
|
EXPORT(OSInitAlarmQueue);
|
|
EXPORT(OSInitAlarmQueueEx);
|
|
EXPORT(OSSetAlarm);
|
|
EXPORT(OSSetPeriodicAlarm);
|
|
EXPORT(OSSetAlarmTag);
|
|
EXPORT(OSSetAlarmUserData);
|
|
EXPORT(OSWaitAlarm);
|
|
|
|
// coreinit/atomic64.h
|
|
EXPORT(OSGetAtomic64);
|
|
EXPORT(OSSetAtomic64);
|
|
EXPORT(OSCompareAndSwapAtomic64);
|
|
EXPORT(OSCompareAndSwapAtomicEx64);
|
|
EXPORT(OSSwapAtomic64);
|
|
EXPORT(OSAddAtomic64);
|
|
EXPORT(OSAndAtomic64);
|
|
EXPORT(OSOrAtomic64);
|
|
EXPORT(OSXorAtomic64);
|
|
EXPORT(OSTestAndClearAtomic64);
|
|
EXPORT(OSTestAndSetAtomic64);
|
|
|
|
// coreinit/baseheap.h
|
|
EXPORT(MEMGetArena);
|
|
EXPORT(MEMGetBaseHeapHandle);
|
|
EXPORT(MEMSetBaseHeapHandle);
|
|
|
|
// coreinit/blockheap.h
|
|
EXPORT(MEMInitBlockHeap);
|
|
EXPORT(MEMDestroyBlockHeap);
|
|
EXPORT(MEMAddBlockHeapTracking);
|
|
EXPORT(MEMAllocFromBlockHeapAt);
|
|
EXPORT(MEMAllocFromBlockHeapEx);
|
|
EXPORT(MEMFreeToBlockHeap);
|
|
EXPORT(MEMGetAllocatableSizeForBlockHeapEx);
|
|
EXPORT(MEMGetTrackingLeftInBlockHeap);
|
|
EXPORT(MEMGetTotalFreeSizeForBlockHeap);
|
|
|
|
// coreinit/cache.h
|
|
EXPORT(DCInvalidateRange);
|
|
EXPORT(DCFlushRange);
|
|
EXPORT(DCStoreRange);
|
|
EXPORT(DCFlushRangeNoSync);
|
|
EXPORT(DCStoreRangeNoSync);
|
|
EXPORT(DCZeroRange);
|
|
EXPORT(DCTouchRange);
|
|
|
|
// coreinit/condition.h
|
|
EXPORT(OSInitCond);
|
|
EXPORT(OSInitCondEx);
|
|
EXPORT(OSWaitCond);
|
|
EXPORT(OSSignalCond);
|
|
|
|
// coreinit/core.h
|
|
EXPORT(OSGetCoreCount);
|
|
EXPORT(OSGetCoreId);
|
|
EXPORT(OSGetMainCoreId);
|
|
EXPORT(OSIsMainCore);
|
|
|
|
// coreinit/coroutine.h
|
|
EXPORT(OSInitCoroutine);
|
|
EXPORT(OSLoadCoroutine);
|
|
EXPORT(OSSaveCoroutine);
|
|
EXPORT(OSSwitchCoroutine);
|
|
|
|
// coreinit/debug.h
|
|
EXPORT(OSConsoleWrite);
|
|
EXPORT(OSReport);
|
|
EXPORT(OSPanic);
|
|
EXPORT(OSFatal);
|
|
|
|
// coreinit/dynload.h
|
|
EXPORT(OSDynLoad_SetAllocator);
|
|
EXPORT(OSDynLoad_GetAllocator);
|
|
EXPORT(OSDynLoad_Acquire);
|
|
EXPORT(OSDynLoad_FindExport);
|
|
EXPORT(OSDynLoad_Release);
|
|
|
|
// coreinit/event.h
|
|
EXPORT(OSInitEvent);
|
|
EXPORT(OSInitEventEx);
|
|
EXPORT(OSSignalEvent);
|
|
EXPORT(OSSignalEventAll);
|
|
EXPORT(OSWaitEvent);
|
|
EXPORT(OSResetEvent);
|
|
EXPORT(OSWaitEventWithTimeout);
|
|
|
|
// coreinit/exception.h
|
|
EXPORT(OSSetExceptionCallback);
|
|
EXPORT(OSSetExceptionCallbackEx);
|
|
|
|
// coreinit/exit.h
|
|
EXPORT(exit);
|
|
EXPORT(_Exit);
|
|
|
|
// coreinit/expandedheap.h
|
|
EXPORT(MEMCreateExpHeapEx);
|
|
EXPORT(MEMDestroyExpHeap);
|
|
EXPORT(MEMAllocFromExpHeapEx);
|
|
EXPORT(MEMFreeToExpHeap);
|
|
EXPORT(MEMSetAllocModeForExpHeap);
|
|
EXPORT(MEMGetAllocModeForExpHeap);
|
|
EXPORT(MEMAdjustExpHeap);
|
|
EXPORT(MEMResizeForMBlockExpHeap);
|
|
EXPORT(MEMGetTotalFreeSizeForExpHeap);
|
|
EXPORT(MEMGetAllocatableSizeForExpHeapEx);
|
|
EXPORT(MEMSetGroupIDForExpHeap);
|
|
EXPORT(MEMGetGroupIDForExpHeap);
|
|
EXPORT(MEMGetSizeForMBlockExpHeap);
|
|
EXPORT(MEMGetGroupIDForMBlockExpHeap);
|
|
EXPORT(MEMGetAllocDirForMBlockExpHeap);
|
|
|
|
// coreinit/fastcondition.h
|
|
EXPORT(OSFastCond_Init);
|
|
EXPORT(OSFastCond_Wait);
|
|
EXPORT(OSFastCond_Signal);
|
|
|
|
// coreinit/fastmutex.h
|
|
EXPORT(OSFastMutex_Init);
|
|
EXPORT(OSFastMutex_Lock);
|
|
EXPORT(OSFastMutex_Unlock);
|
|
EXPORT(OSFastMutex_TryLock);
|
|
|
|
// coreinit/filesystem.h
|
|
EXPORT(FSInit);
|
|
EXPORT(FSShutdown);
|
|
EXPORT(FSAddClient);
|
|
EXPORT(FSDelClient);
|
|
EXPORT(FSGetClientNum);
|
|
EXPORT(FSInitCmdBlock);
|
|
EXPORT(FSSetCmdPriority);
|
|
EXPORT(FSSetStateChangeNotification);
|
|
EXPORT(FSGetCwd);
|
|
EXPORT(FSChangeDir);
|
|
EXPORT(FSChangeDirAsync);
|
|
EXPORT(FSGetStat);
|
|
EXPORT(FSGetStatAsync);
|
|
EXPORT(FSRemove);
|
|
EXPORT(FSRemoveAsync);
|
|
EXPORT(FSOpenFile);
|
|
EXPORT(FSOpenFileAsync);
|
|
EXPORT(FSCloseFile);
|
|
EXPORT(FSCloseFileAsync);
|
|
EXPORT(FSOpenDir);
|
|
EXPORT(FSOpenDirAsync);
|
|
EXPORT(FSMakeDir);
|
|
EXPORT(FSMakeDirAsync);
|
|
EXPORT(FSReadDir);
|
|
EXPORT(FSReadDirAsync);
|
|
EXPORT(FSRewindDir);
|
|
EXPORT(FSCloseDir);
|
|
EXPORT(FSCloseDirAsync);
|
|
EXPORT(FSGetStatFile);
|
|
EXPORT(FSGetStatFileAsync);
|
|
EXPORT(FSReadFile);
|
|
EXPORT(FSReadFileAsync);
|
|
EXPORT(FSReadFileWithPos);
|
|
EXPORT(FSReadFileWithPosAsync);
|
|
EXPORT(FSWriteFile);
|
|
EXPORT(FSWriteFileAsync);
|
|
EXPORT(FSWriteFileWithPos);
|
|
EXPORT(FSWriteFileWithPosAsync);
|
|
EXPORT(FSGetPosFile);
|
|
EXPORT(FSGetPosFileAsync);
|
|
EXPORT(FSSetPosFile);
|
|
EXPORT(FSSetPosFileAsync);
|
|
EXPORT(FSFlushFile);
|
|
EXPORT(FSFlushFileAsync);
|
|
EXPORT(FSTruncateFile);
|
|
EXPORT(FSTruncateFileAsync);
|
|
EXPORT(FSRename);
|
|
EXPORT(FSRenameAsync);
|
|
EXPORT(FSGetVolumeState);
|
|
EXPORT(FSGetLastErrorCodeForViewer);
|
|
EXPORT(FSGetMountSource);
|
|
EXPORT(FSMount);
|
|
EXPORT(FSUnmount);
|
|
|
|
// coreinit/foreground.h
|
|
EXPORT(OSEnableForegroundExit);
|
|
EXPORT(OSReleaseForeground);
|
|
EXPORT(OSSavesDone_ReadyToRelease);
|
|
|
|
// coreinit/frameheap.h
|
|
EXPORT(MEMCreateFrmHeapEx);
|
|
EXPORT(MEMDestroyFrmHeap);
|
|
EXPORT(MEMAllocFromFrmHeapEx);
|
|
EXPORT(MEMFreeToFrmHeap);
|
|
EXPORT(MEMRecordStateForFrmHeap);
|
|
EXPORT(MEMFreeByStateToFrmHeap);
|
|
EXPORT(MEMAdjustFrmHeap);
|
|
EXPORT(MEMResizeForMBlockFrmHeap);
|
|
EXPORT(MEMGetAllocatableSizeForFrmHeapEx);
|
|
|
|
// coreinit/mcp.h
|
|
EXPORT(MCP_Open);
|
|
EXPORT(MCP_Close);
|
|
EXPORT(MCP_InstallSetTargetDevice);
|
|
EXPORT(MCP_InstallGetTargetDevice);
|
|
EXPORT(MCP_InstallSetTargetUsb);
|
|
EXPORT(MCP_InstallGetInfo);
|
|
EXPORT(MCP_InstallTitleAsync);
|
|
EXPORT(MCP_InstallGetProgress);
|
|
EXPORT(MCP_InstallTitleAbort);
|
|
EXPORT(MCP_DeleteTitleAsync);
|
|
EXPORT(MCP_DeviceList);
|
|
EXPORT(MCP_FullDeviceList);
|
|
|
|
// coreinit/memheap.h
|
|
EXPORT(MEMDumpHeap);
|
|
EXPORT(MEMFindContainHeap);
|
|
EXPORT(MEMGetFillValForHeap);
|
|
EXPORT(MEMSetFillValForHeap);
|
|
|
|
// coreinit/memlist.h
|
|
EXPORT(MEMInitList);
|
|
EXPORT(MEMAppendListObject);
|
|
EXPORT(MEMPrependListObject);
|
|
EXPORT(MEMInsertListObject);
|
|
EXPORT(MEMRemoveListObject);
|
|
EXPORT(MEMGetNextListObject);
|
|
EXPORT(MEMGetPrevListObject);
|
|
EXPORT(MEMGetNthListObject);
|
|
|
|
// coreinit/memory.h
|
|
EXPORT(OSBlockMove);
|
|
EXPORT(OSBlockSet);
|
|
|
|
// coreinit/messagequeue.h
|
|
EXPORT(OSInitMessageQueue);
|
|
EXPORT(OSInitMessageQueueEx);
|
|
EXPORT(OSSendMessage);
|
|
EXPORT(OSReceiveMessage);
|
|
EXPORT(OSPeekMessage);
|
|
EXPORT(OSGetSystemMessageQueue);
|
|
|
|
// coreinit/mutex.h
|
|
EXPORT(OSInitMutex);
|
|
EXPORT(OSInitMutexEx);
|
|
EXPORT(OSLockMutex);
|
|
EXPORT(OSUnlockMutex);
|
|
EXPORT(OSTryLockMutex);
|
|
|
|
// coreinit/rendezvous.h
|
|
EXPORT(OSInitRendezvous);
|
|
EXPORT(OSWaitRendezvous);
|
|
EXPORT(OSWaitRendezvousWithTimeout);
|
|
|
|
// coreinit/screen.h
|
|
EXPORT(OSScreenInit);
|
|
EXPORT(OSScreenGetBufferSizeEx);
|
|
EXPORT(OSScreenSetBufferEx);
|
|
EXPORT(OSScreenClearBufferEx);
|
|
EXPORT(OSScreenFlipBuffersEx);
|
|
EXPORT(OSScreenPutFontEx);
|
|
EXPORT(OSScreenPutPixelEx);
|
|
EXPORT(OSScreenEnableEx);
|
|
|
|
// coreinit/semaphore.h
|
|
EXPORT(OSInitSemaphore);
|
|
EXPORT(OSInitSemaphoreEx);
|
|
EXPORT(OSGetSemaphoreCount);
|
|
EXPORT(OSSignalSemaphore);
|
|
EXPORT(OSWaitSemaphore);
|
|
EXPORT(OSTryWaitSemaphore);
|
|
|
|
// coreinit/spinlock.h
|
|
EXPORT(OSInitSpinLock);
|
|
EXPORT(OSAcquireSpinLock);
|
|
EXPORT(OSTryAcquireSpinLock);
|
|
EXPORT(OSTryAcquireSpinLockWithTimeout);
|
|
EXPORT(OSReleaseSpinLock);
|
|
EXPORT(OSUninterruptibleSpinLock_Acquire);
|
|
EXPORT(OSUninterruptibleSpinLock_TryAcquire);
|
|
EXPORT(OSUninterruptibleSpinLock_TryAcquireWithTimeout);
|
|
EXPORT(OSUninterruptibleSpinLock_Release);
|
|
|
|
// coreinit/systeminfo.h
|
|
EXPORT(OSGetSystemInfo);
|
|
|
|
// coreinit/taskqueue.h
|
|
EXPORT(MPInitTaskQ);
|
|
EXPORT(MPTermTaskQ);
|
|
EXPORT(MPGetTaskQInfo);
|
|
EXPORT(MPStartTaskQ);
|
|
EXPORT(MPStopTaskQ);
|
|
EXPORT(MPResetTaskQ);
|
|
EXPORT(MPEnqueTask);
|
|
EXPORT(MPDequeTask);
|
|
EXPORT(MPDequeTasks);
|
|
EXPORT(MPWaitTaskQ);
|
|
EXPORT(MPWaitTaskQWithTimeout);
|
|
EXPORT(MPPrintTaskQStats);
|
|
EXPORT(MPInitTask);
|
|
EXPORT(MPTermTask);
|
|
EXPORT(MPGetTaskInfo);
|
|
EXPORT(MPGetTaskUserData);
|
|
EXPORT(MPSetTaskUserData);
|
|
EXPORT(MPRunTasksFromTaskQ);
|
|
EXPORT(MPRunTask);
|
|
|
|
// coreinit/thread.h
|
|
EXPORT(OSCancelThread);
|
|
EXPORT(OSCheckActiveThreads);
|
|
EXPORT(OSCheckThreadStackUsage);
|
|
EXPORT(OSClearThreadStackUsage);
|
|
EXPORT(OSContinueThread);
|
|
EXPORT(OSCreateThread);
|
|
EXPORT(OSDetachThread);
|
|
EXPORT(OSExitThread);
|
|
EXPORT(OSGetActiveThreadLink);
|
|
EXPORT(OSGetCurrentThread);
|
|
EXPORT(OSGetDefaultThread);
|
|
EXPORT(OSGetStackPointer);
|
|
EXPORT(OSGetThreadAffinity);
|
|
EXPORT(OSGetThreadName);
|
|
EXPORT(OSGetThreadPriority);
|
|
EXPORT(OSGetThreadSpecific);
|
|
EXPORT(OSIsThreadSuspended);
|
|
EXPORT(OSIsThreadTerminated);
|
|
EXPORT(OSJoinThread);
|
|
EXPORT(OSResumeThread);
|
|
EXPORT(OSRunThread);
|
|
EXPORT(OSSetThreadAffinity);
|
|
EXPORT(OSSetThreadCancelState);
|
|
EXPORT(OSSetThreadCleanupCallback);
|
|
EXPORT(OSSetThreadDeallocator);
|
|
EXPORT(OSSetThreadName);
|
|
EXPORT(OSSetThreadPriority);
|
|
EXPORT(OSSetThreadRunQuantum);
|
|
EXPORT(OSSetThreadSpecific);
|
|
EXPORT(OSSetThreadStackUsage);
|
|
EXPORT(OSSleepThread);
|
|
EXPORT(OSSleepTicks);
|
|
EXPORT(OSSuspendThread);
|
|
EXPORT(OSTestThreadCancel);
|
|
EXPORT(OSWakeupThread);
|
|
EXPORT(OSYieldThread);
|
|
|
|
// coreinit/threadqueue.h
|
|
EXPORT(OSInitThreadQueue);
|
|
EXPORT(OSInitThreadQueueEx);
|
|
|
|
// coreinit/time.h
|
|
EXPORT(OSGetTime);
|
|
EXPORT(OSGetSystemTime);
|
|
EXPORT(OSGetTick);
|
|
EXPORT(OSGetSystemTick);
|
|
EXPORT(OSCalendarTimeToTicks);
|
|
EXPORT(OSTicksToCalendarTime);
|
|
|
|
// coreinit/unitheap.h
|
|
EXPORT(MEMCreateUnitHeapEx);
|
|
EXPORT(MEMDestroyUnitHeap);
|
|
EXPORT(MEMAllocFromUnitHeap);
|
|
EXPORT(MEMFreeToUnitHeap);
|
|
EXPORT(MEMCountFreeBlockForUnitHeap);
|
|
EXPORT(MEMCalcHeapSizeForUnitHeap);
|
|
|
|
// coreinit/internal.h
|
|
EXPORT(__os_snprintf);
|