2020-04-28 14:43:07 +02:00
|
|
|
/* coreinit */
|
|
|
|
IMPORT_BEGIN(coreinit);
|
|
|
|
|
|
|
|
IMPORT(OSDynLoad_Acquire);
|
|
|
|
IMPORT(OSDynLoad_FindExport);
|
2020-12-26 13:18:47 +01:00
|
|
|
IMPORT(OSDynLoad_IsModuleLoaded);
|
2020-04-28 14:43:07 +02:00
|
|
|
IMPORT(DCFlushRange);
|
|
|
|
IMPORT(ICInvalidateRange);
|
|
|
|
IMPORT(OSGetSystemInfo);
|
2020-04-29 12:04:33 +02:00
|
|
|
IMPORT(MEMGetSizeForMBlockExpHeap);
|
2020-04-28 14:43:07 +02:00
|
|
|
IMPORT(OSSleepTicks);
|
2020-05-17 13:14:19 +02:00
|
|
|
IMPORT(OSEffectiveToPhysical);
|
2020-04-28 14:43:07 +02:00
|
|
|
IMPORT(OSFatal);
|
2021-02-19 10:05:02 +01:00
|
|
|
IMPORT(MEMFreeToExpHeap);
|
|
|
|
IMPORT(MEMAllocFromExpHeapEx);
|
|
|
|
IMPORT(MEMGetAllocatableSizeForExpHeapEx);
|
|
|
|
IMPORT(MEMCreateExpHeapEx);
|
2022-05-08 12:37:15 +02:00
|
|
|
IMPORT(OSGetUPID);
|
2021-02-19 10:05:02 +01:00
|
|
|
IMPORT(OSUninterruptibleSpinLock_Acquire);
|
|
|
|
IMPORT(OSUninterruptibleSpinLock_Release);
|
2021-11-06 23:37:52 +01:00
|
|
|
IMPORT(OSReport);
|
2022-05-07 21:12:18 +02:00
|
|
|
IMPORT(MEMGetTotalFreeSizeForExpHeap);
|
|
|
|
IMPORT(OSMemoryBarrier);
|
|
|
|
IMPORT(OSInitMutex);
|
|
|
|
IMPORT(OSLockMutex);
|
|
|
|
IMPORT(OSUnlockMutex);
|
|
|
|
IMPORT(OSCompareAndSwapAtomicEx);
|
|
|
|
IMPORT(OSCompareAndSwapAtomic);
|
|
|
|
IMPORT(OSGetThreadSpecific);
|
|
|
|
IMPORT(OSSetThreadSpecific);
|
|
|
|
IMPORT(OSInitCond);
|
|
|
|
IMPORT(OSWaitCond);
|
|
|
|
IMPORT(OSSignalCond);
|
2022-07-24 18:58:11 +02:00
|
|
|
IMPORT(OSSwapAtomic);
|
2022-10-03 22:04:38 +02:00
|
|
|
IMPORT(OSDynLoad_GetAllocator);
|
|
|
|
IMPORT(OSDynLoad_SetAllocator);
|
2023-03-26 15:27:30 +02:00
|
|
|
IMPORT(__KernelGetInfo);
|
2023-03-27 23:22:06 +02:00
|
|
|
IMPORT(OSCheckActiveThreads);
|
2023-06-21 10:58:14 +02:00
|
|
|
IMPORT(OSGetCurrentThread);
|
|
|
|
IMPORT(OSSetThreadCleanupCallback);
|
2024-04-19 13:11:28 +02:00
|
|
|
IMPORT(OSIsDebuggerPresent);
|
|
|
|
IMPORT(__os_snprintf);
|
2022-05-07 21:12:18 +02:00
|
|
|
|
|
|
|
IMPORT(FSTimeToCalendarTime);
|
|
|
|
IMPORT(FSInit);
|
|
|
|
IMPORT(FSShutdown);
|
|
|
|
IMPORT(FSAddClient);
|
|
|
|
IMPORT(FSAddClientEx);
|
|
|
|
IMPORT(FSDelClient);
|
|
|
|
IMPORT(FSInitCmdBlock);
|
|
|
|
IMPORT(FSChangeDir);
|
|
|
|
IMPORT(FSGetFreeSpaceSize);
|
|
|
|
IMPORT(FSGetStat);
|
|
|
|
IMPORT(FSRemove);
|
|
|
|
IMPORT(FSOpenFile);
|
2022-07-24 18:58:11 +02:00
|
|
|
IMPORT(FSOpenFileEx);
|
2022-05-07 21:12:18 +02:00
|
|
|
IMPORT(FSCloseFile);
|
|
|
|
IMPORT(FSOpenDir);
|
|
|
|
IMPORT(FSMakeDir);
|
|
|
|
IMPORT(FSReadDir);
|
|
|
|
IMPORT(FSRewindDir);
|
|
|
|
IMPORT(FSCloseDir);
|
|
|
|
IMPORT(FSGetStatFile);
|
|
|
|
IMPORT(FSReadFile);
|
|
|
|
IMPORT(FSWriteFile);
|
|
|
|
IMPORT(FSSetPosFile);
|
|
|
|
IMPORT(FSFlushFile);
|
|
|
|
IMPORT(FSTruncateFile);
|
|
|
|
IMPORT(FSRename);
|
|
|
|
IMPORT(FSGetMountSource);
|
|
|
|
IMPORT(FSMount);
|
|
|
|
IMPORT(FSUnmount);
|
|
|
|
IMPORT(FSChangeMode);
|
|
|
|
IMPORT(FSGetPosFile);
|
|
|
|
IMPORT(OSTicksToCalendarTime);
|
|
|
|
IMPORT(__rplwrap_exit);
|
2022-08-25 13:09:39 +02:00
|
|
|
IMPORT(OSInitMutexEx);
|
|
|
|
|
|
|
|
IMPORT(FSAMakeDir);
|
|
|
|
IMPORT(FSAInit);
|
|
|
|
IMPORT(FSAAddClient);
|
|
|
|
IMPORT(FSARewindDir);
|
|
|
|
IMPORT(FSAMount);
|
|
|
|
IMPORT(FSAGetDeviceInfo);
|
|
|
|
IMPORT(FSARename);
|
|
|
|
IMPORT(FSAChangeDir);
|
|
|
|
IMPORT(FSAUnmount);
|
|
|
|
IMPORT(FSADelClient);
|
|
|
|
IMPORT(FSAChangeMode);
|
|
|
|
IMPORT(FSAReadDir);
|
|
|
|
IMPORT(FSAOpenDir);
|
|
|
|
IMPORT(FSACloseDir);
|
|
|
|
IMPORT(FSAFlushFile);
|
|
|
|
IMPORT(FSAOpenFileEx);
|
|
|
|
IMPORT(FSACloseFile);
|
|
|
|
IMPORT(FSAGetStatFile);
|
|
|
|
IMPORT(FSAGetFreeSpaceSize);
|
|
|
|
IMPORT(FSASetPosFile);
|
|
|
|
IMPORT(FSATruncateFile);
|
|
|
|
IMPORT(FSARemove);
|
|
|
|
IMPORT(FSAReadFile);
|
|
|
|
IMPORT(FSAWriteFile);
|
|
|
|
IMPORT(FSAGetStat);
|
|
|
|
IMPORT(FSAGetStatusStr);
|
2020-04-28 14:43:07 +02:00
|
|
|
|
|
|
|
IMPORT_END();
|
|
|
|
|
|
|
|
/* nsysnet */
|
|
|
|
IMPORT_BEGIN(nsysnet);
|
|
|
|
|
|
|
|
IMPORT(socket_lib_init);
|
|
|
|
IMPORT(getaddrinfo);
|
|
|
|
IMPORT(freeaddrinfo);
|
|
|
|
IMPORT(getnameinfo);
|
|
|
|
IMPORT(inet_ntoa);
|
|
|
|
IMPORT(inet_ntop);
|
|
|
|
IMPORT(inet_aton);
|
|
|
|
IMPORT(inet_pton);
|
|
|
|
IMPORT(ntohl);
|
|
|
|
IMPORT(ntohs);
|
|
|
|
IMPORT(htonl);
|
|
|
|
IMPORT(htons);
|
|
|
|
IMPORT(accept);
|
|
|
|
IMPORT(bind);
|
|
|
|
IMPORT(socketclose);
|
|
|
|
IMPORT(connect);
|
|
|
|
IMPORT(getpeername);
|
|
|
|
IMPORT(getsockname);
|
|
|
|
IMPORT(getsockopt);
|
|
|
|
IMPORT(listen);
|
|
|
|
IMPORT(recv);
|
|
|
|
IMPORT(recvfrom);
|
|
|
|
IMPORT(send);
|
|
|
|
IMPORT(sendto);
|
|
|
|
IMPORT(setsockopt);
|
|
|
|
IMPORT(shutdown);
|
|
|
|
IMPORT(socket);
|
|
|
|
IMPORT(select);
|
|
|
|
IMPORT(socketlasterr);
|
|
|
|
|
|
|
|
IMPORT_END();
|