7#ifndef _PSP2KERN_APPMGR_H_
8#define _PSP2KERN_APPMGR_H_
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
char mount_point[16]
addcont0: or addcont1:.
Definition appmgr.h:140
int ksceAppMgrDrmOpen(const SceAppMgrDrmOpt *drm_opt)
int ksceAppMgrGameDataMount(const char *app_path, const char *patch_path, const char *rif_path, char mount_point[16])
unsigned int unk_4
Definition appmgr.h:83
int ksceAppMgrAppDataMountById(int mount_id, const char *title_id, char mount_point[16])
FW 3.60 accepts mount IDs 104, 106, 107, and 110.
int ksceAppMgrCloudDataDstCreateMount(const char *title_id, char mount_point[16])
SceAppMgrDebugSetting
Definition appmgr.h:150
int ksceAppMgrDebugSettingNotifyUpdate(int setting)
int ksceAppMgrUmount(const char *mount_point)
int ksceAppMgrCheckPfsMounted(const char *path)
int ksceAppMgrCloudDataClearMcId(int location)
unsigned int unk_28
Definition appmgr.h:92
int ksceAppMgrFakeSaveDataCreateMount(const char *path, char mount_point[16])
int ksceAppMgrAppDataMount(int mount_id, char mount_point[16])
Mount application data for the calling process.
SceAppMgrLaunchParamAttr
Attribute bits accepted in ::SceAppMgrLaunchParam::attr.
Definition appmgr.h:44
SceAppMgrCloudDataMcIdLocation
Definition appmgr.h:144
int ksceAppMgrWorkDirMount(int mount_id, char mount_point[16])
int ksceAppMgrKillProcess(SceUID pid)
Kill a process.
char addcont_id[20]
NUL-terminated additional-content ID of at most 16 characters.
Definition appmgr.h:139
unsigned int unk_1C
Definition appmgr.h:89
SceUInt8 reserved[0x10]
Ignored on FW 3.60.
Definition appmgr.h:114
unsigned int unk_2C
Definition appmgr.h:93
unsigned int unk_20
Definition appmgr.h:90
unsigned int unk_18
Definition appmgr.h:88
unsigned int unk_C
Definition appmgr.h:85
int ksceAppMgrAcInstGetAcdirParam(const char *title_id, const char *addcont_id, SceAppMgrAcInstResult *output_data)
int ksceAppMgrPhotoMount(const SceAppMgrPhotoMountParam *param)
int ksceAppMgrTrophyMount(int mount_id, ScePID process_id, char mount_point[16])
SceSize size
Must be the size of this structure.
Definition appmgr.h:138
unsigned int unk_14
Definition appmgr.h:87
SceSize size
Must be the size of this structure.
Definition appmgr.h:111
SceSize size
Ignored on FW 3.60; initialize to the size of this structure.
Definition appmgr.h:82
char app0_path[0x400]
Optional fallback source path for the app0: mount.
Definition appmgr.h:113
int ksceAppMgrIsExclusiveProcessRunning(const char *title_id)
Check whether an exclusive process is running.
SceAppMgrProcessExitSpawnMode
Process-replacement modes for Processmgr's exit-spawn mechanism.
Definition appmgr.h:76
int ksceAppMgrLaunchAppByPath(const char *path, const char *args, SceSize arg_size, unsigned int type, const SceAppMgrLaunchParam *launch_param, void *path_mapping_opt)
Launch an application from an executable path.
unsigned int unk_10
Definition appmgr.h:86
char mapping_file_path[0x400]
Optional path to a configuration.psp2path file.
Definition appmgr.h:112
int ksceAppMgrMmsMount(int mount_id, char mount_point[16])
int ksceAppMgrCloudDataSrcMount(int mode, const char *title_id, char mount_point[16])
unsigned int unk_8
Definition appmgr.h:84
int ksceAppMgrCheckContentInstallPeriod(ScePID process_id)
unsigned int unk_30
Definition appmgr.h:94
unsigned int unk_24
Definition appmgr.h:91
@ SCE_APPMGR_DEBUG_SETTING_TRC_CHECK_NOTIFY
Definition appmgr.h:154
@ SCE_APPMGR_DEBUG_SETTING_FAKE_NO_MEMORY_CARD
Definition appmgr.h:151
@ SCE_APPMGR_DEBUG_SETTING_BUTTON_ASSIGN
Definition appmgr.h:153
@ SCE_APPMGR_DEBUG_SETTING_UPGRADABLE
Definition appmgr.h:152
@ SCE_APPMGR_DEBUG_SETTING_SHOW_DEBUG_INFO
Definition appmgr.h:155
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_UNIQUE_HEAP_SIZE
Select an unavailable value; process creation fails on FW 3.60.
Definition appmgr.h:51
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_SKIP_START_CALLBACKS
Skip the Sysroot process-start callbacks.
Definition appmgr.h:55
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_CPU_AFFINITY_MASK
Use the CPU affinity mask.
Definition appmgr.h:45
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_BUDGET_ID
Use ::SceAppMgrLaunchParam::budget_id.
Definition appmgr.h:46
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_INIT_PRIORITY
Use ::SceAppMgrLaunchParam::init_priority.
Definition appmgr.h:52
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_REPORT_LOAD_PROGRESS
Report executable-load progress.
Definition appmgr.h:54
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_PROCESS_EXIT_SPAWN
Use the process-replacement mode and exiting-process PID.
Definition appmgr.h:48
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_STACK_SIZE
Use ::SceAppMgrLaunchParam::stack_size.
Definition appmgr.h:53
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_PARENT_PROCESS_ID
Use AppMgr's parent process ID.
Definition appmgr.h:47
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_KLICENSEE
Use the klicensee supplied internally by AppMgr.
Definition appmgr.h:49
@ SCE_APPMGR_LAUNCH_PARAM_ATTR_MAX_FILE_HANDLES
Use the file-handle limit supplied internally by AppMgr.
Definition appmgr.h:50
@ SCE_APPMGR_CLOUD_DATA_MC_ID_LOCATION_INTERNAL
tm0:/clouddata/mcid.dat.
Definition appmgr.h:147
@ SCE_APPMGR_CLOUD_DATA_MC_ID_LOCATION_EXTERNAL
sdstor0:xmc-lp-act-mediaid.
Definition appmgr.h:146
@ SCE_APPMGR_CLOUD_DATA_MC_ID_LOCATION_AUTO
External when NVS type 5 bit 0 is set, otherwise internal.
Definition appmgr.h:145
@ SCE_APPMGR_PROCESS_EXIT_SPAWN_MODE_NORMAL
Allocate an ordinary new process object.
Definition appmgr.h:77
@ SCE_APPMGR_PROCESS_EXIT_SPAWN_MODE_ENABLED
Consume the prepared replacement for a matching nonzero PID.
Definition appmgr.h:78
Path-mapping options for ksceAppMgrLaunchAppByPath.
Definition appmgr.h:110
SceUID pid
Definition debug.h:1
SceInt32 type
Must be 100 when passed to sceLsdbReplaceTheme on FW 3.60.
Definition lsdb.h:2
int ScePID
Process ID.
Definition types.h:91
unsigned int SceSize
Definition types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
uint8_t SceUInt8
Definition types.h:36