diff options
Diffstat (limited to 'include/user/sysmodule.h')
-rw-r--r-- | include/user/sysmodule.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/include/user/sysmodule.h b/include/user/sysmodule.h new file mode 100644 index 0000000..109983d --- /dev/null +++ b/include/user/sysmodule.h @@ -0,0 +1,79 @@ +#ifndef _PSP2_SYSMODULE_H_ +#define _PSP2_SYSMODULE_H_ + +#include <psp2/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + SCE_SYSMODULE_LOADED = 0, + SCE_SYSMODULE_ERROR_INVALID_VALUE = 0x805A1000, + SCE_SYSMODULE_ERROR_UNLOADED = 0x805A1001, + SCE_SYSMODULE_ERROR_FATAL = 0x805A10FF, +}; + +/* module IDs */ +enum { + PSP2_SYSMODULE_INVALID = 0x0000, + PSP2_SYSMODULE_NET = 0x0001, + PSP2_SYSMODULE_HTTP = 0x0002, + PSP2_SYSMODULE_SSL = 0x0003, + PSP2_SYSMODULE_HTTPS = 0x0004, + PSP2_SYSMODULE_PERF = 0x0005, + PSP2_SYSMODULE_FIBER = 0x0006, + PSP2_SYSMODULE_ULT = 0x0007, + PSP2_SYSMODULE_DBG = 0x0008, + PSP2_SYSMODULE_RAZOR_CAPTURE = 0x0009, + PSP2_SYSMODULE_RAZOR_HUD = 0x000a, + PSP2_SYSMODULE_NGS = 0x000b, + PSP2_SYSMODULE_SULPHA = 0x000c, + PSP2_SYSMODULE_SAS = 0x000d, + PSP2_SYSMODULE_PGF = 0x000e, + PSP2_SYSMODULE_APPUTIL = 0x000f, + PSP2_SYSMODULE_FIOS2 = 0x0010, + PSP2_SYSMODULE_IME = 0x0011, + PSP2_SYSMODULE_NP_BASIC = 0x0012, + PSP2_SYSMODULE_SYSTEM_GESTURE = 0x0013, + PSP2_SYSMODULE_LOCATION = 0x0014, + PSP2_SYSMODULE_NP = 0x0015, + PSP2_SYSMODULE_PHOTO_EXPORT = 0x0016, + PSP2_SYSMODULE_XML = 0x0017, + PSP2_SYSMODULE_NP_COMMERCE2 = 0x0018, + PSP2_SYSMODULE_NP_UTILITY = 0x0019, + PSP2_SYSMODULE_VOICE = 0x001a, + PSP2_SYSMODULE_VOICEQOS = 0x001b, + PSP2_SYSMODULE_NP_MATCHING2 = 0x001c, + PSP2_SYSMODULE_SCREEN_SHOT = 0x001d, + PSP2_SYSMODULE_NP_SCORE_RANKING = 0x001e, + PSP2_SYSMODULE_SQLITE = 0x001f, + PSP2_SYSMODULE_RUDP = 0x0021, + PSP2_SYSMODULE_CODECENGINE_PERF = 0x0022, + PSP2_SYSMODULE_LIVEAREA = 0x0023, + PSP2_SYSMODULE_NP_ACTIVITY = 0x0024, + PSP2_SYSMODULE_NP_TROPHY = 0x0025, + PSP2_SYSMODULE_NP_MESSAGE = 0x0026, + PSP2_SYSMODULE_SHUTTER_SOUND = 0x0027, + PSP2_SYSMODULE_CLIPBOARD = 0x0028, + PSP2_SYSMODULE_NP_PARTY = 0x0029, + PSP2_SYSMODULE_NET_ADHOC_MATCHING = 0x002a, + PSP2_SYSMODULE_NEAR_UTIL = 0x002b, + PSP2_SYSMODULE_NP_TUS = 0x002c, + PSP2_SYSMODULE_MP4 = 0x002d, + PSP2_SYSMODULE_HANDWRITING = 0x002f, + PSP2_SYSMODULE_ATRAC = 0x0030, + PSP2_SYSMODULE_NP_SNS_FACEBOOK = 0x0031, + PSP2_SYSMODULE_FACE = 0x0038, + PSP2_SYSMODULE_SMART = 0x0039 +}; + +int sceSysmoduleLoadModule(SceUInt16 id); +int sceSysmoduleUnloadModule(SceUInt16 id); +int sceSysmoduleIsLoaded(SceUInt16 id); + +#ifdef __cplusplus +} +#endif + +#endif /* _PSP2_SYSMODULE_H_ */ |