Difference between revisions of "Coreinit.rpl"
Jump to navigation
Jump to search
Marionumber1 (talk | contribs) (Create basic coreinit page) |
Marionumber1 (talk | contribs) (Added main OSDynLoad functions) |
||
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 | ||
+ | |} |
Revision as of 14:36, 31 March 2015
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
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 |