Difference between revisions of "BOSSP:GetNsDataHeaderInfoPrivileged"

From 3dbrew
Jump to navigation Jump to search
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|Same as u32 cmdreq[1] for [[BOSSU:GetNsDataHeaderInfo]].}}
| 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]].

Revision as of 17:53, 7 October 2016

Request

Index Word Description
0 Header code [0x04160142]
1-2 u64 programID
3 Same as u32 cmdreq[1] for BOSSU:GetNsDataHeaderInfo.
4 u8 type
5 Size
6 Descriptor for mapping a write-only buffer in the target process
7 Destination pointer

Response

Index Word Description
0 Header code
1 Result code

Description

This is similar to BOSSU:GetNsDataHeaderInfo.