BOSSU:InitializeSession: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
m Reset IPC offset for response
 
(2 intermediate revisions by 2 users not shown)
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.
|-
| 3
| 0x20, ARM11-kernel processID translate-header.
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0001|1|0}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/RequestEnd}}
| 0
 
| Header 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.
| 1
| Result code
|}

Latest revision as of 15:03, 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.