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);
|
|
|
|
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);
|
|
|
|
IMPORT(MEMAllocFromDefaultHeapEx);
|
|
|
|
IMPORT(MEMFreeToDefaultHeap);
|
|
|
|
|
|
|
|
IMPORT(FSTimeToCalendarTime);
|
|
|
|
IMPORT(FSInit);
|
|
|
|
IMPORT(FSShutdown);
|
|
|
|
IMPORT(FSAddClient);
|
|
|
|
IMPORT(FSAddClientEx);
|
|
|
|
IMPORT(FSDelClient);
|
|
|
|
IMPORT(FSInitCmdBlock);
|
|
|
|
IMPORT(FSChangeDir);
|
|
|
|
IMPORT(FSGetFreeSpaceSize);
|
|
|
|
IMPORT(FSGetStat);
|
|
|
|
IMPORT(FSRemove);
|
|
|
|
IMPORT(FSOpenFile);
|
|
|
|
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);
|
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();
|