GSPGPU:RegisterInterruptRelayQueue: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
Neobrain (talk | contribs)
No edit summary
 
(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 14:54, 3 February 2016

Request

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

Response

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

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.