Difference between revisions of "GSPGPU:WriteHWRegs"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00010082] |- | 1 | GPU address based at 0x1EB00000, must be word-aligned |- | 2 ...")
 
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| GPU address based at 0x1EB00000, must be word-aligned
+
| [[GPU]] address based at 0x1EB00000, must be word-aligned
 
|-
 
|-
 
| 2
 
| 2
Line 15: Line 15:
 
|-
 
|-
 
| 3
 
| 3
| (Size<<14) <nowiki>|</nowiki> 2
+
| {{IPC/TranslationDescriptor|(Size<<14) <nowiki>|</nowiki> 2}}
 
|-
 
|-
 
| 4
 
| 4
Line 35: Line 35:
  
 
=Description=
 
=Description=
This writes the input data to the specified [[GPU]] register address. The GPU register offset must be <0x420000.
+
This writes the input data to the specified GPU register address. The GPU register offset must be <0x420000.

Latest revision as of 23:20, 2 February 2016

Request[edit]

Index Word Description
0 Header code [0x00010082]
1 GPU address based at 0x1EB00000, must be word-aligned
2 Size, must be <=0x80 and word-aligned
3 Translation descriptor: (Size<<14) | 2
4 Data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This writes the input data to the specified GPU register address. The GPU register offset must be <0x420000.