Coreinit.rpl
Revision as of 23:10, 31 March 2015 by Chadderz (talk | contribs) (→Dynamic Linking: I would argue address should be void ** since it fills in the pointer at that location (though most properly intptr_t *). Strings probably don't get changed so added const. C99 has been out for 16 years now; use bool!)
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(const char *rplname, uint32_t *handle);
|
Acquire a handle to an RPL by name |
OSDynLoad_FindExport | void OSDynLoad_FindExport(uint32_t handle, bool isdata, const char *symname, void **address);
|
Get a symbol address from a loaded RPL |