GSPGPU:ReadHWRegs: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00040080] |- | 1 | GPU address based at 0x1EB00000, must be word-aligned |- ..." |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
| 2 | | 2 | ||
| Size, must be <=0x80 and word-aligned | | Size, must be <=0x80 and word-aligned | ||
|} | |||
The following is located 0x100-bytes after the beginning of the above command buffer: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Index Word | |||
! Description | |||
|- | |||
| 0 | |||
| {{IPC/TranslationDescriptor|(Size<<14) <nowiki>|</nowiki> 2}} | |||
|- | |||
| 1 | |||
| Output buffer address | |||
|} | |} | ||
Line 28: | Line 41: | ||
|- | |- | ||
| 2 | | 2 | ||
| (Size<<14) <nowiki>|</nowiki> 2 | | {{IPC/TranslationDescriptor|(Size<<14) <nowiki>|</nowiki> 2}} | ||
|- | |- | ||
| 3 | | 3 |
Latest revision as of 23:24, 2 February 2016
Request
Index Word | Description |
---|---|
0 | Header code [0x00040080] |
1 | GPU address based at 0x1EB00000, must be word-aligned |
2 | Size, must be <=0x80 and word-aligned |
The following is located 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | Translation descriptor: (Size<<14) | 2 |
1 | Output buffer address |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Translation descriptor: (Size<<14) | 2 |
3 | Output data pointer |
Description
The GPU register offset must be <0x420000.