Difference between revisions of "GSPGPU:WriteHWRegs"
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 ...") |
(Convert to IPC templates) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
− | {| | + | {{IPC/Request|Request}} |
− | | | + | {{IPC/RequestHeader|0x0001|2|2}} |
− | + | {{IPC/RequestEntry|[[GPU]] address based at 0x1EB00000, must be word-aligned}} | |
− | + | {{IPC/RequestEntry|<nowiki>Size, must be <=0x80 and word-aligned</nowiki>}} | |
− | | | + | {{IPC/TranslateStaticBuffer|Data pointer|0}} |
− | | | + | {{IPC/RequestEnd}} |
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | Data pointer | ||
− | |||
=Response= | =Response= | ||
− | {| | + | {{IPC/Request|Response}} |
− | | | + | {{IPC/RequestHeader|0x0001|1|0}} |
− | + | {{IPC/RequestEntry|Result code}} | |
− | + | {{IPC/RequestEnd}} | |
− | | | ||
− | | 0 | ||
− | |||
− | |||
− | |||
− | | Result code | ||
− | |||
=Description= | =Description= | ||
− | This writes the input data to the specified | + | This writes the input data to the specified GPU register address. The GPU register offset must be <0x420000. |
Latest revision as of 23:18, 17 September 2024
Request[edit]
Request Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | GPU address based at 0x1EB00000, must be word-aligned | ||||||||
2 | Size, must be <=0x80 and word-aligned | ||||||||
3 | Descriptor for static buffer (id 0) | ||||||||
4 | Data pointer |
Response[edit]
Response Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code |
Description[edit]
This writes the input data to the specified GPU register address. The GPU register offset must be <0x420000.