Difference between revisions of "ACTU:Initialize"

From 3dbrew
Jump to navigation Jump to search
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0001|2|4}}
!  Index Word
+
{{IPC/RequestEntry|SDK Version}}
!  Description
+
{{IPC/CopyHandle|1}}
|-
+
{{IPC/CopyHandleEntry|Handle to caller process}}
| 0
+
{{IPC/RequestEntry|u32, Shared memory size (optional)}}
| Header code [0x00010084]
+
{{IPC/CopyHandle|1}}
|-
+
{{IPC/CopyHandleEntry|Handle to shared memory (optional)}}
| 1
+
{{IPC/RequestEnd}}
| SDK Version
 
|-
 
| 2
 
| Shared memory size
 
|-
 
| 3
 
| Always 0x20(kernel PID header)
 
|-
 
| 4
 
| 0x20(The code to request the current process handle.)
 
|-
 
| 5
 
| 0x00 (handle-transfer header for kernel)
 
|-
 
| 6
 
| Shared memory address value.
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0001|1|0}}
!  Index Word
+
{{IPC/RequestEntry|Result code}}
!  Description
+
{{IPC/RequestEnd}}
|-
 
| 0
 
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
 
This initializes the ACT service. Shared memory initialization is optional, but some service calls require it. The SDK version seems to be 0xB0502C8.
 
This initializes the ACT service. Shared memory initialization is optional, but some service calls require it. The SDK version seems to be 0xB0502C8.

Revision as of 16:36, 12 January 2025

Request

Index Word Description
0
Header 0x00010084 Cmd 0x0001 Param 2 Xlat 4
1 SDK Version
2 Descriptor for copying 1 handle
3 Handle to caller process
4 u32, Shared memory size (optional)
5 Descriptor for copying 1 handle
6 Handle to shared memory (optional)

Response

Index Word Description
7
Header 0x00010040 Cmd 0x0001 Param 1 Xlat 0
8 Result code

Description

This initializes the ACT service. Shared memory initialization is optional, but some service calls require it. The SDK version seems to be 0xB0502C8.