Difference between revisions of "MCUHWC:GetInfoRegisters"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00030042]}} {{IPC/RequestEntry|count(???) (was set to 5)}} {{IPC/RequestEntry|count <<...")
 
 
Line 3: Line 3:
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
 
{{IPC/RequestEntry|Header code [0x00030042]}}
 
{{IPC/RequestEntry|Header code [0x00030042]}}
{{IPC/RequestEntry|count(???) (was set to 5)}}
+
{{IPC/RequestEntry|size (was set to 5)}}
{{IPC/RequestEntry|count << 4 &#124; 0xC}}
+
{{IPC/MapPointerW|output data pointer}}
{{IPC/RequestEntry|output data pointer(???)}}
 
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  

Latest revision as of 14:44, 15 September 2016

Request[edit]

Index Word Description
0 Header code [0x00030042]
1 size (was set to 5)
2 Descriptor for mapping a write-only buffer in the target process
3 output data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This function reads hardware information from the MCU:

  • console type
  • PMIC vendor code
  • battery vendor code
  • MGIC version(8) (?)
  • MGIC version(9) (?)