RO Services: Difference between revisions

Wwylele (talk | contribs)
No edit summary
ElementW (talk | contribs)
m Add anchors
 
(2 intermediate revisions 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 =
 
{| class="wikitable" border ="1"
 
|-
!Error Code
!Description
|-
| D9012FF1
| Address is misaligned
|-
| E0A12FF9
| Service is already Initialized
|-
| E1612FF7
| Provided Kernel Handle is invalid
|-
|}
= Version history =
= Version history =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 75: 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]]