2016-01-07 13:07:13 +01:00
|
|
|
// coreinit/alarm.h
|
|
|
|
EXPORT(OSCancelAlarm);
|
|
|
|
EXPORT(OSCancelAlarms);
|
|
|
|
EXPORT(OSCreateAlarm);
|
|
|
|
EXPORT(OSCreateAlarmEx);
|
|
|
|
EXPORT(OSGetAlarmUserData);
|
|
|
|
EXPORT(OSInitAlarmQueue);
|
2016-01-07 13:46:02 +01:00
|
|
|
EXPORT(OSInitAlarmQueueEx);
|
2016-01-07 13:07:13 +01:00
|
|
|
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);
|
|
|
|
|
2016-01-07 14:20:05 +01:00
|
|
|
// coreinit/baseheap.h
|
|
|
|
EXPORT(MEMGetArena);
|
|
|
|
EXPORT(MEMGetBaseHeapHandle);
|
|
|
|
EXPORT(MEMSetBaseHeapHandle);
|
|
|
|
|
2016-01-07 13:07:13 +01:00
|
|
|
// 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);
|
|
|
|
|
2016-01-07 13:46:10 +01:00
|
|
|
// coreinit/core.h
|
|
|
|
EXPORT(OSGetCoreCount);
|
|
|
|
EXPORT(OSGetCoreId);
|
|
|
|
EXPORT(OSGetMainCoreId);
|
|
|
|
EXPORT(OSIsMainCore);
|
|
|
|
|
2016-07-06 19:46:05 +02:00
|
|
|
// coreinit/coroutine.h
|
|
|
|
EXPORT(OSInitCoroutine);
|
|
|
|
EXPORT(OSLoadCoroutine);
|
|
|
|
EXPORT(OSSaveCoroutine);
|
|
|
|
EXPORT(OSSwitchCoroutine);
|
|
|
|
|
2016-01-06 00:24:54 +01:00
|
|
|
// coreinit/debug.h
|
|
|
|
EXPORT(OSConsoleWrite);
|
|
|
|
EXPORT(OSReport);
|
|
|
|
EXPORT(OSPanic);
|
|
|
|
EXPORT(OSFatal);
|
|
|
|
|
2016-01-07 13:07:13 +01:00
|
|
|
// 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);
|
|
|
|
|
2016-01-06 00:24:54 +01:00
|
|
|
// coreinit/exit.h
|
|
|
|
EXPORT(exit);
|
2016-01-07 13:07:13 +01:00
|
|
|
EXPORT(_Exit);
|
|
|
|
|
2016-01-07 14:21:20 +01:00
|
|
|
// coreinit/expandedheap.h
|
2016-01-07 13:07:13 +01:00
|
|
|
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);
|
|
|
|
|
2016-01-07 14:21:20 +01:00
|
|
|
// 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);
|
|
|
|
|
2016-01-11 02:04:58 +01:00
|
|
|
// 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);
|
2016-07-31 06:16:49 +02:00
|
|
|
EXPORT(FSRemove);
|
|
|
|
EXPORT(FSRemoveAsync);
|
2016-01-11 02:04:58 +01:00
|
|
|
EXPORT(FSOpenFile);
|
|
|
|
EXPORT(FSOpenFileAsync);
|
|
|
|
EXPORT(FSCloseFile);
|
|
|
|
EXPORT(FSCloseFileAsync);
|
|
|
|
EXPORT(FSOpenDir);
|
|
|
|
EXPORT(FSOpenDirAsync);
|
2016-07-31 06:16:49 +02:00
|
|
|
EXPORT(FSMakeDir);
|
|
|
|
EXPORT(FSMakeDirAsync);
|
2016-01-11 02:04:58 +01:00
|
|
|
EXPORT(FSReadDir);
|
|
|
|
EXPORT(FSReadDirAsync);
|
2016-07-31 06:16:49 +02:00
|
|
|
EXPORT(FSRewindDir);
|
2016-01-11 02:04:58 +01:00
|
|
|
EXPORT(FSCloseDir);
|
|
|
|
EXPORT(FSCloseDirAsync);
|
|
|
|
EXPORT(FSGetStatFile);
|
|
|
|
EXPORT(FSGetStatFileAsync);
|
|
|
|
EXPORT(FSReadFile);
|
|
|
|
EXPORT(FSReadFileAsync);
|
|
|
|
EXPORT(FSReadFileWithPos);
|
|
|
|
EXPORT(FSReadFileWithPosAsync);
|
2016-07-31 06:16:49 +02:00
|
|
|
EXPORT(FSWriteFile);
|
|
|
|
EXPORT(FSWriteFileAsync);
|
|
|
|
EXPORT(FSWriteFileWithPos);
|
|
|
|
EXPORT(FSWriteFileWithPosAsync);
|
2016-01-11 02:04:58 +01:00
|
|
|
EXPORT(FSGetPosFile);
|
|
|
|
EXPORT(FSGetPosFileAsync);
|
|
|
|
EXPORT(FSSetPosFile);
|
|
|
|
EXPORT(FSSetPosFileAsync);
|
2016-07-31 06:16:49 +02:00
|
|
|
EXPORT(FSFlushFile);
|
|
|
|
EXPORT(FSFlushFileAsync);
|
|
|
|
EXPORT(FSTruncateFile);
|
|
|
|
EXPORT(FSTruncateFileAsync);
|
|
|
|
EXPORT(FSRename);
|
|
|
|
EXPORT(FSRenameAsync);
|
2016-01-11 02:04:58 +01:00
|
|
|
EXPORT(FSGetVolumeState);
|
|
|
|
EXPORT(FSGetLastErrorCodeForViewer);
|
2016-07-31 06:16:49 +02:00
|
|
|
EXPORT(FSGetMountSource);
|
|
|
|
EXPORT(FSMount);
|
|
|
|
EXPORT(FSUnmount);
|
2016-01-11 02:04:58 +01:00
|
|
|
|
2016-07-27 09:39:25 +02:00
|
|
|
// coreinit/foreground.h
|
|
|
|
EXPORT(OSEnableForegroundExit);
|
|
|
|
EXPORT(OSReleaseForeground);
|
|
|
|
EXPORT(OSSavesDone_ReadyToRelease);
|
|
|
|
|
2016-01-07 14:20:32 +01:00
|
|
|
// coreinit/frameheap.h
|
|
|
|
EXPORT(MEMCreateFrmHeapEx);
|
|
|
|
EXPORT(MEMDestroyFrmHeap);
|
|
|
|
EXPORT(MEMAllocFromFrmHeapEx);
|
|
|
|
EXPORT(MEMFreeToFrmHeap);
|
|
|
|
EXPORT(MEMRecordStateForFrmHeap);
|
|
|
|
EXPORT(MEMFreeByStateToFrmHeap);
|
|
|
|
EXPORT(MEMAdjustFrmHeap);
|
|
|
|
EXPORT(MEMResizeForMBlockFrmHeap);
|
|
|
|
EXPORT(MEMGetAllocatableSizeForFrmHeapEx);
|
|
|
|
|
2016-08-02 00:16:36 +02:00
|
|
|
// 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);
|
2016-08-07 07:03:30 +02:00
|
|
|
EXPORT(MCP_DeviceList);
|
|
|
|
EXPORT(MCP_FullDeviceList);
|
2016-08-02 00:16:36 +02:00
|
|
|
|
2016-07-17 23:31:12 +02:00
|
|
|
// coreinit/memheap.h
|
|
|
|
EXPORT(MEMDumpHeap);
|
|
|
|
EXPORT(MEMFindContainHeap);
|
|
|
|
EXPORT(MEMGetFillValForHeap);
|
|
|
|
EXPORT(MEMSetFillValForHeap);
|
|
|
|
|
2016-01-07 14:20:45 +01:00
|
|
|
// coreinit/memlist.h
|
|
|
|
EXPORT(MEMInitList);
|
|
|
|
EXPORT(MEMAppendListObject);
|
|
|
|
EXPORT(MEMPrependListObject);
|
|
|
|
EXPORT(MEMInsertListObject);
|
|
|
|
EXPORT(MEMRemoveListObject);
|
|
|
|
EXPORT(MEMGetNextListObject);
|
|
|
|
EXPORT(MEMGetPrevListObject);
|
|
|
|
EXPORT(MEMGetNthListObject);
|
|
|
|
|
2016-07-06 21:48:54 +02:00
|
|
|
// coreinit/memory.h
|
|
|
|
EXPORT(OSBlockMove);
|
|
|
|
EXPORT(OSBlockSet);
|
|
|
|
|
2016-01-07 14:32:55 +01:00
|
|
|
// coreinit/messagequeue.h
|
|
|
|
EXPORT(OSInitMessageQueue);
|
|
|
|
EXPORT(OSInitMessageQueueEx);
|
|
|
|
EXPORT(OSSendMessage);
|
|
|
|
EXPORT(OSReceiveMessage);
|
|
|
|
EXPORT(OSPeekMessage);
|
|
|
|
EXPORT(OSGetSystemMessageQueue);
|
|
|
|
|
2016-01-07 13:07:13 +01:00
|
|
|
// coreinit/mutex.h
|
|
|
|
EXPORT(OSInitMutex);
|
|
|
|
EXPORT(OSInitMutexEx);
|
|
|
|
EXPORT(OSLockMutex);
|
|
|
|
EXPORT(OSUnlockMutex);
|
|
|
|
EXPORT(OSTryLockMutex);
|
|
|
|
|
|
|
|
// coreinit/rendezvous.h
|
|
|
|
EXPORT(OSInitRendezvous);
|
|
|
|
EXPORT(OSWaitRendezvous);
|
|
|
|
EXPORT(OSWaitRendezvousWithTimeout);
|
|
|
|
|
2016-07-24 23:03:22 +02:00
|
|
|
// coreinit/screen.h
|
|
|
|
EXPORT(OSScreenInit);
|
|
|
|
EXPORT(OSScreenGetBufferSizeEx);
|
|
|
|
EXPORT(OSScreenSetBufferEx);
|
|
|
|
EXPORT(OSScreenClearBufferEx);
|
|
|
|
EXPORT(OSScreenFlipBuffersEx);
|
|
|
|
EXPORT(OSScreenPutFontEx);
|
|
|
|
EXPORT(OSScreenPutPixelEx);
|
|
|
|
EXPORT(OSScreenEnableEx);
|
|
|
|
|
2016-01-07 13:07:13 +01:00
|
|
|
// 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);
|
|
|
|
|
2016-06-08 01:20:34 +02:00
|
|
|
// coreinit/systeminfo.h
|
|
|
|
EXPORT(OSGetSystemInfo);
|
|
|
|
|
2016-01-07 14:42:22 +01:00
|
|
|
// 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);
|
|
|
|
|
2016-01-07 13:07:13 +01:00
|
|
|
// 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);
|
2016-01-07 14:21:00 +01:00
|
|
|
|
|
|
|
// coreinit/unitheap.h
|
|
|
|
EXPORT(MEMCreateUnitHeapEx);
|
|
|
|
EXPORT(MEMDestroyUnitHeap);
|
|
|
|
EXPORT(MEMAllocFromUnitHeap);
|
|
|
|
EXPORT(MEMFreeToUnitHeap);
|
|
|
|
EXPORT(MEMCountFreeBlockForUnitHeap);
|
|
|
|
EXPORT(MEMCalcHeapSizeForUnitHeap);
|
2016-07-21 07:45:53 +02:00
|
|
|
|
|
|
|
// coreinit/internal.h
|
|
|
|
EXPORT(__os_snprintf);
|