Difference between revisions of "IRUSER:InitializeIrnopShared"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00180182] |- | 1 | unk1(word) |- | 2 | unk2(word) |- | 3 | unk3(word) |- | 4 | u...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00180182]}}
!  Description
+
{{IPC/RequestEntry|shared memory size}}
|-
+
{{IPC/RequestEntry|receive buffer size}}
| 0
+
{{IPC/RequestEntry|receive buffer package count}}
| Header code [0x00180182]
+
{{IPC/RequestEntry|send buffer size}}
|-
+
{{IPC/RequestEntry|send buffer package count}}
| 1
+
{{IPC/RequestEntry|[[IRU:SetBitRate|bitrate value]]}}
| unk1(word)
+
{{IPC/CopyHandle|1}}
|-
+
{{IPC/RequestEntry|shared memory handle}}
| 2
+
{{IPC/RequestEnd}}
| unk2(word)
 
|-
 
| 3
 
| unk3(word)
 
|-
 
| 4
 
| unk4(word)
 
|-
 
| 5
 
| unk5(word)
 
|-
 
| 6
 
| unk6(byte)
 
|-
 
| 7
 
| 0?
 
|-
 
| 8
 
| unk7(word)
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00180040]}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEnd}}
| 0
+
 
| Header code
+
=Shared Memory=
|-
+
IR service uses the [[IRUSER_Shared_Memory|shared memory]] in shared mode (i.e. put more information in the shared memory). The shared memory size must be at least receive_buffer_size+send_buffer_size+0x30
| 1
 
| Resultcode
 
|}
 

Latest revision as of 11:30, 22 February 2017

Request[edit]

Index Word Description
0 Header code [0x00180182]
1 shared memory size
2 receive buffer size
3 receive buffer package count
4 send buffer size
5 send buffer package count
6 bitrate value
7 Descriptor for copying 1 handle
8 shared memory handle

Response[edit]

Index Word Description
0 Header code [0x00180040]
1 Result code

Shared Memory[edit]

IR service uses the shared memory in shared mode (i.e. put more information in the shared memory). The shared memory size must be at least receive_buffer_size+send_buffer_size+0x30