Difference between revisions of "CECDU:GetSystemInfo"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000A00C4] |- | 1 | buffer size (unused) |- | 2 | Info type |- | 3 | Param siz...")
 
Line 55: Line 55:
 
| buffer address
 
| buffer address
 
|-
 
|-
 +
|}
 +
 +
=Info Type=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Type
 +
!  Description
 +
!  Param
 +
!  Output in buffer
 +
|-
 +
| 0
 +
| ?
 +
| Ignore?
 +
| size=8, ?
 +
|-
 +
| 1
 +
| EULA version, a wrapper of [[CfgS:GetConfigInfoBlk8|GetConfigInfoBlk8]] with BlkID=0xD0000
 +
| Ignore
 +
| size=2, major version of agreed EULA
 +
|-
 +
| 2
 +
| EULA, a wrapper of [[CfgS:GetConfigInfoBlk8|GetConfigInfoBlk8]] with BlkID=0xD0000
 +
| Ignore
 +
| size=1, bool is_eula_agreed
 +
|-
 +
| 3
 +
| Parent Control, a wrapper of [[CfgS:GetConfigInfoBlk8|GetConfigInfoBlk8]] with BlkID=0xC0000
 +
| Ignore
 +
| size=1, bool has_parent_control
 +
|-
 +
| 6
 +
| ?
 +
| size=13? struct{u32 ncch_program_id; bool is_out_box; u8 message_id[8];}
 +
| ?
 +
|-
 +
| 7
 +
| ?
 +
| size=13? struct{u32 ncch_program_id; bool is_out_box; u8 message_id[8];}
 +
| ?
 +
|-
 +
| 8
 +
| ?
 +
| Ignore
 +
| size=4?
 
|}
 
|}

Revision as of 15:01, 9 September 2016

Request

Index Word Description
0 Header code [0x000A00C4]
1 buffer size (unused)
2 Info type
3 Param size (unused)
4 Buffer Mapping Descriptor(R) = (param_size << 4) | 0xA
5 param address
6 Buffer Mapping Descriptor(W) = (buffer_size << 4) | 0xC
7 buffer address

Response

Index Word Description
0 Header code [0x000A0044]
1 Result code
2 Buffer Unmapping Descriptor(R) = (param_size << 4) | 0xA
3 param address
4 Buffer Unmapping Descriptor(W) = (buffer_size << 4) | 0xC
5 buffer address

Info Type

Type Description Param Output in buffer
0 ? Ignore? size=8, ?
1 EULA version, a wrapper of GetConfigInfoBlk8 with BlkID=0xD0000 Ignore size=2, major version of agreed EULA
2 EULA, a wrapper of GetConfigInfoBlk8 with BlkID=0xD0000 Ignore size=1, bool is_eula_agreed
3 Parent Control, a wrapper of GetConfigInfoBlk8 with BlkID=0xC0000 Ignore size=1, bool has_parent_control
6 ? size=13? struct{u32 ncch_program_id; bool is_out_box; u8 message_id[8];} ?
7 ? size=13? struct{u32 ncch_program_id; bool is_out_box; u8 message_id[8];} ?
8 ? Ignore size=4?