RO Services: Difference between revisions

Unknown (talk | contribs)
Added error codes
ElementW (talk | contribs)
m Add anchors
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Services]]
{{Anchor|RO}}{{Anchor|ldr:ro}}
= RO service "ldr:ro" =
= RO service "ldr:ro" =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
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 =
Line 90: Line 89:
| No actual changes, just a rebuild with latest CTRSDK(only the CTRSDK version values in .code for [[ErrDisp]] were updated).
| No actual changes, just a rebuild with latest CTRSDK(only the CTRSDK version values in .code for [[ErrDisp]] were updated).
|}
|}
[[Category:Services]]