Add PM launch flags

This commit is contained in:
TuxSH 2019-03-17 20:37:23 +01:00 committed by fincs
parent 79ee260c15
commit ffba52bcd0

View File

@ -4,6 +4,16 @@
*/ */
#pragma once #pragma once
/// Launch flags for PM launch commands.
enum {
PMLAUNCHFLAG_NORMAL_APPLICATION = BIT(0),
PMLAUNCHFLAG_LOAD_DEPENDENCIES = BIT(1),
PMLAUNCHFLAG_NOTIFY_TERMINATION = BIT(2),
PMLAUNCHFLAG_QUEUE_DEBUG_APPLICATION = BIT(3),
PMLAUNCHFLAG_TERMINATION_NOTIFICATION_MASK = 0xF0,
PMLAUNCHFLAG_USE_UPDATE_TITLE = BIT(16),
};
/// Initializes PM. /// Initializes PM.
Result pmInit(void); Result pmInit(void);
@ -65,4 +75,4 @@ Result PM_TerminateProcess(u8 pid, u64 timeout);
* @brief Unregisters a process * @brief Unregisters a process
* @param tid TitleID of the process to unregister * @param tid TitleID of the process to unregister
*/ */
Result PM_UnregisterProcess(u64 tid); Result PM_UnregisterProcess(u64 tid);