Loader
Revision as of 01:46, 27 June 2015 by Marionumber1 (talk | contribs) (Create the loader page and summarize basic info)
The Cafe OS loader is responsible for loading RPL-formatted libraries and executables into memory. It is a standard ELF executable named loader.elf. It includes a statically linked copy of zlib, probably for decompressing sections of RPL files. Each userspace process has the loader mapped into its address space, and the loader is initially ran on process creation, loading coreinit.rpl, the application's dependencies, and the application RPX itself. After control passes to the application, the loader continues to be available through a special loader call interface, used by the OSDynLoad functions in coreinit.