Difference between revisions of "MVDSTD:GetConfig"

From 3dbrew
Jump to navigation Jump to search
(Replaced content with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001D0042] |- | 1 | Size, normally 0x11C. |- | 2 | (Size<<4) <nowiki>|</n...")
 
(31 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
|-
 
|-
 
| 3
 
| 3
| Output data ptr
+
| Output [[MVD_Services|config]] data ptr
 
|}
 
|}
  
Line 30: Line 30:
 
| Resultcode
 
| Resultcode
 
|}
 
|}
 
=Structure=
 
{| class="wikitable" border="1"
 
|-
 
!  Offset
 
!  Size
 
!  Description
 
|-
 
| 0x64
 
| 0x4
 
| FCRAM address. For [[MVDSTD:SetConfig]] this is an LINEAR-memory vaddr in the 0x30000000 vmem area. MVD module internally changes this to physaddr, hence this is a physaddr for the struct from GetConfig.
 
|}
 
 
The size of this structure is fixed to 0x11C-bytes.
 
  
 
=Description=
 
=Description=
 
For this command, MVD module DMAs 0x11C-bytes from a MVD state structure to the above output buffer.
 
For this command, MVD module DMAs 0x11C-bytes from a MVD state structure to the above output buffer.

Latest revision as of 20:50, 21 April 2016

Request[edit]

Index Word Description
0 Header code [0x001D0042]
1 Size, normally 0x11C.
2 (Size<<4) | 12
3 Output config data ptr

Response[edit]

Index Word Description
0 Header code
1 Resultcode

Description[edit]

For this command, MVD module DMAs 0x11C-bytes from a MVD state structure to the above output buffer.