BOSSU:InitializeSession: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
DaniElectra (talk | contribs)
Use IPC templates
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0001|2|2}}
!  Index Word
{{IPC/RequestEntryRange|2|u64, Program ID, unused with BOSS:U.}}
!  Description
{{IPC/ProcessID}}
|-
{{IPC/RequestEnd}}
| 0
| Header code [0x00010082]
|-
| 1-2
| programID, normally zero for using the programID determined from the below input PID. Only used with BOSSP, unused with BOSSU.
|-
| 3
| 0x20, ARM11-kernel processID translate-header.
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0001|1|0}}
!  Index Word
{{IPC/RequestEntry|Result code}}
!  Description
{{IPC/RequestEnd}}
|-
 
| 0
=Description=
| Header code
Initializes a BOSS session with access to the data belonging to either the provided program ID (only in privileged mode), or to the caller process.
|-
| 1
| Result code
|}

Revision as of 14:56, 1 February 2025

Request

Index Word Description
0
Header 0x00010082 Cmd 0x0001 Param 2 Xlat 2
1-2 u64, Program ID, unused with BOSS:U.
3 Descriptor for process ID
4 Placeholder for process ID

Response

Index Word Description
0
Header 0x00010040 Cmd 0x0001 Param 1 Xlat 0
1 Result code

Description

Initializes a BOSS session with access to the data belonging to either the provided program ID (only in privileged mode), or to the caller process.