Difference between revisions of "GSPGPU:RegisterInterruptRelayQueue"

From 3dbrew
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| ?
+
| Flags
 
|-
 
|-
 
| 2
 
| 2
| Value 0x0
+
| {{IPC/TranslationDescriptor|0x0}}
 
|-
 
|-
 
| 3
 
| 3
Line 25: Line 25:
 
|-
 
|-
 
| 0
 
| 0
| Header code
+
| Header code [0x00130082]
 
|-
 
|-
 
| 1
 
| 1
Line 34: Line 34:
 
|-
 
|-
 
| 3
 
| 3
 +
| {{IPC/TranslationDescriptor|0x0}}
 +
|-
 +
| 4
 
| [[SVC|Shared]] memory handle
 
| [[SVC|Shared]] memory handle
 
|}
 
|}
  
 
=Description=
 
=Description=
The specified KEvent handle is used by the application GSP thread, when the event is triggered by GSP module this application thread can then write GX commands to the shared memory. The command buffer is located at sharedmem + 0x800 + (threadindex*0x200).
+
The specified KEvent handle is used by the application GSP thread, when the event is triggered by GSP module this application thread can then write [[GSP_Shared_Memory|GX commands]] to the shared memory.

Latest revision as of 13:54, 3 February 2016

Request[edit]

Index Word Description
0 Header code [0x00130042]
1 Flags
2 Translation descriptor: 0x0
3 KEvent handle

Response[edit]

Index Word Description
0 Header code [0x00130082]
1 Result code
2 GSP module thread index
3 Translation descriptor: 0x0
4 Shared memory handle

Description[edit]

The specified KEvent handle is used by the application GSP thread, when the event is triggered by GSP module this application thread can then write GX commands to the shared memory.