BOSSU:RegisterNewArrivalEvent: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
DaniElectra (talk | contribs)
m DaniElectra moved page BOSS:RegisterNewArrivalEvent to BOSSU:RegisterNewArrivalEvent: Consistency with other pages
DaniElectra (talk | contribs)
Use IPC template header
 
Line 1: Line 1:
=Request=
=Request=
{{IPC/Request}}
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestHeader|0x0008|0|2}}
{{IPC/RequestEntry|Header code [0x00080002]}}
{{IPC/CopyHandle|1}}
{{IPC/RequestEntry|KEvent event}}
{{IPC/CopyHandleEntry|KEvent event}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}


Line 9: Line 9:
{{IPC/Request}}
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code}}
{{IPC/RequestHeader|0x0008|1|0}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}
=Description=
This registers the provided event to be signaled when new content arrives to the program ID of the current session. The event is stored in a global table with up to 5 entries, and distinguishes between user and privileged events.

Latest revision as of 17:03, 1 February 2025

Request

Index Word Description
0
Header 0x00080002 Cmd 0x0008 Param 0 Xlat 2
1 Descriptor for copying 1 handle
2 KEvent event

Response

Index Word Description
0
Header 0x00080040 Cmd 0x0008 Param 1 Xlat 0
1 Result code

Description

This registers the provided event to be signaled when new content arrives to the program ID of the current session. The event is stored in a global table with up to 5 entries, and distinguishes between user and privileged events.