RO Services: Difference between revisions

Unknown (talk | contribs)
Added error codes
Unknown (talk | contribs)
No edit summary
Line 43: Line 43:
| [[RO:LoadExeCRO|LoadCRO_New]]
| [[RO:LoadExeCRO|LoadCRO_New]]
|}
|}
 
The mapadress used in these services is calculated by the user-process like so: when inputaddr is <0x08000000, the address used is the same one from inputaddr. Otherwise, the address is: mapvaddr = inputaddr - (0x08000000 - <main-process .text address + .text, .rodata, .data, and .bss size aligned to pagesize>). This service API is used for CTR "DLLs"/shared libraries: [[CRO0|CRO]].
This service API is used for CTR "DLLs"/shared libraries: [[CRO0|CRO]].


= Error Codes =
= Error Codes =