BOSSU:SendProperty: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00140082] |- | 1 | PropertyID |- | 2 | Size |- | 3 | (Size << 4) <nowiki>|</..."
 
DaniElectra (talk | contribs)
Use IPC template header
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0014|2|2}}
!  Description
{{IPC/RequestEntry|u16, [[BOSS_Services#PropertyIDs|Property ID]]}}
|-
{{IPC/RequestEntry|u32, Buffer size}}
| 0
{{IPC/MapPointerR|Data buffer}}
| Header code [0x00140082]
{{IPC/RequestEnd}}
|-
| 1
| PropertyID
|-
| 2
| Size
|-
| 3
| (Size << 4)  <nowiki>|</nowiki> 0xA
|-
| 4
| Data Pointer
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0014|1|2}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/MapPointerR|Data buffer}}
| 0
{{IPC/RequestEnd}}
| Header code
|-
| 1
| Result code
|}
 
=PropertyIDs=
{| class="wikitable" border="1"
|-
!  ID
!  Size
!  Description
|-
| 0x7
| 0x200
| URL
|}


=Description=
=Description=
This sets the data for the specified property with the currently selected BOSS task. This data will be written into FS later.
Sets the data for the specified property within the current session. This data will be written into FS later when registering or reconfiguring a task.

Latest revision as of 23:27, 1 February 2025

Request

Index Word Description
0
Header 0x00140082 Cmd 0x0014 Param 2 Xlat 2
1 u16, Property ID
2 u32, Buffer size
3 Descriptor for mapping a read-only buffer in the target process
4 Data buffer

Response

Index Word Description
0
Header 0x00140042 Cmd 0x0014 Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Data buffer

Description

Sets the data for the specified property within the current session. This data will be written into FS later when registering or reconfiguring a task.