Difference between revisions of "BOSSP:GetNsDataHeaderInfoPrivileged"

From 3dbrew
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x04160142]}}
!  Description
+
{{IPC/RequestEntryRange|2|u64 programID}}
|-
+
{{IPC/RequestEntry|NsDataId}}
| 0
+
{{IPC/RequestEntry|u8 type}}
| Header code [0x04160142]
+
{{IPC/RequestEntry|Size}}
|-
+
{{IPC/MapPointerW|Destination pointer}}
| 1-2
+
{{IPC/RequestEnd}}
| u64 programID
 
|-
 
| 3
 
| Same as u32 cmdreq[1] for [[BOSSU:GetNsDataHeaderInfo]].
 
|-
 
| 4
 
| u8 type
 
|-
 
| 5
 
| Size
 
|-
 
| 6
 
| (Size << 4)  <nowiki>|</nowiki> 0xC
 
|-
 
| 7
 
| Output Data Pointer
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEnd}}
| 0
 
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
 
This is similar to [[BOSSU:GetNsDataHeaderInfo]].
 
This is similar to [[BOSSU:GetNsDataHeaderInfo]].

Latest revision as of 20:16, 9 October 2016

Request[edit]

Index Word Description
0 Header code [0x04160142]
1-2 u64 programID
3 NsDataId
4 u8 type
5 Size
6 Descriptor for mapping a write-only buffer in the target process
7 Destination pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This is similar to BOSSU:GetNsDataHeaderInfo.