Line 1:
Line 1:
coreinit.rpl is the the system library that provides direct access to Cafe OS services. It provides kernel calls, thread scheduling, memory management, and filesystem services. coreinit is the first RPL loaded by the loader, even before the main executable itself.
coreinit.rpl is the the system library that provides direct access to Cafe OS services. It provides kernel calls, thread scheduling, memory management, and filesystem services. coreinit is the first RPL loaded by the loader, even before the main executable itself.
+
+
==Functions==
+
===Dynamic Linking===
+
{| class="wikitable"
+
!Name
+
!Prototype
+
!Description
+
|-
+
|OSDynLoad_Acquire
+
|void OSDynLoad_Acquire(char *rplname, u32 *handle);
+
|Acquire a handle to an RPL by name
+
|-
+
|OSDynLoad_FindExport
+
|void OSDynLoad_FindExport(u32 handle, int isdata, char *symname, void *address);
+
|Get a symbol address from a loaded RPL
+
|}