CECDU:GetSystemInfo: Difference between revisions

Wwylele (talk | contribs)
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..."
 
Wwylele (talk | contribs)
Use new template
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Request=
=Request=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x000A00C4]}}
{{IPC/RequestEntry|Destination buffer size (unused)}}
{{IPC/RequestEntry|Info type}}
{{IPC/RequestEntry|Param buffer size (unused)}}
{{IPC/MapPointerR|Param buffer address}}
{{IPC/MapPointerW|Destination buffer address}}
{{IPC/RequestEnd}}
=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x000A0044]}}
{{IPC/RequestEntry|Result code}}
{{IPC/MapPointerR|Param buffer address}}
{{IPC/MapPointerW|Destination buffer address}}
{{IPC/RequestEnd}}
=Info Type=
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Index Word
Type
!  Description
!  Description
!  Param
!  Output in buffer
|-
|-
| 0
| 0
| Header code [0x000A00C4]
| ?
| Ignore?
| size=8, ?
|-
|-
| 1
| 1
| buffer size (unused)
| EULA version, a wrapper of [[CfgS:GetConfigInfoBlk8|GetConfigInfoBlk8]] with BlkID=0xD0000
| Ignore
| size=2, version of agreed EULA
|-
|-
| 2
| 2
| Info type
| EULA, a wrapper of [[CfgS:GetConfigInfoBlk8|GetConfigInfoBlk8]] with BlkID=0xD0000
| Ignore
| size=1, bool is_eula_agreed
|-
|-
| 3
| 3
| Param size (unused)
| Parent Control, a wrapper of [[CfgS:GetConfigInfoBlk8|GetConfigInfoBlk8]] with BlkID=0xC0000
|-
| Ignore
| 4
| size=1, bool has_parent_control
| [[IPC#Buffer_Mapping_Translation|Buffer Mapping Descriptor(R)]] = (param_size << 4) | 0xA
|-
| 5
| param address
|-
|-
| 6
| 6
| [[IPC#Buffer_Mapping_Translation|Buffer Mapping Descriptor(W)]] = (buffer_size << 4) | 0xC
| ?
| size=13? struct{u32 ncch_program_id; bool is_out_box; u8 message_id[8];}
| ?
|-
|-
| 7
| 7
| buffer address
| ?
|-
| size=13? struct{u32 ncch_program_id; bool is_out_box; u8 message_id[8];}
|}
| ?
 
=Response=
{| class="wikitable" border="1"
|-
!  Index Word
!  Description
|-
| 0
| Header code [0x000A0044]
|-
| 1
| Result code
|-
| 2
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(R)]] = (param_size << 4) | 0xA
|-
| 3
| param address
|-
| 4
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(W)]] = (buffer_size << 4) | 0xC
|-
| 5
| buffer address
|-
|-
| 8
| ?
| Ignore
| size=4?
|}
|}