summaryrefslogtreecommitdiff
path: root/include/user/kernel/modulemgr.h
diff options
context:
space:
mode:
authorRinnegatamante2017-06-15 11:36:33 +0200
committerSunguk Lee2017-06-15 18:36:33 +0900
commitb5646d6867a3c279e0a7f5b3db42678f84d7ff15 (patch)
treeb625c863cf3657b5901523e438bddb8330c10a74 /include/user/kernel/modulemgr.h
parentRemoved next entry (diff)
downloadvds-libraries-b5646d6867a3c279e0a7f5b3db42678f84d7ff15.tar.gz
Named anonymous enums in psp2. (#179)
* Named anonymous enums in psp2. Named anonymous enums in psp2. * Properly sorted enums. * Several modifications (see desc) Added some missing info, fixed identation in some places, aligned all enums and comments with spaces as delimiters, replaced decimal negative errorcode in location.h with hexadecimal one, added some comments and fixed some documentation comments. * Minor fixes in identation. * Yet another minor identation fix. * Fixed enums in structs. * Reverted SceBool changes. * SceBool fix. * Fix for compilation with g++- * Added some doc references in jpegenc. * Fixed some references.
Diffstat (limited to '')
-rw-r--r--include/user/kernel/modulemgr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/user/kernel/modulemgr.h b/include/user/kernel/modulemgr.h
index 58ce37a..ddf72dc 100644
--- a/include/user/kernel/modulemgr.h
+++ b/include/user/kernel/modulemgr.h
@@ -21,21 +21,21 @@ extern "C" {
#define SCE_KERNEL_STOP_CANCEL SCE_KERNEL_STOP_FAIL
/** @} */
-typedef struct
+typedef struct SceKernelSegmentInfo
{
- SceUInt size; //< this structure size (0x18)
- SceUInt perms; //< probably rwx in low bits
- void *vaddr; //< address in memory
- SceUInt memsz; //< size in memory
- SceUInt flags; //< meaning unknown
- SceUInt res; //< unused?
+ SceUInt size; //!< sizeof(SceKernelSegmentInfo)
+ SceUInt perms; //!< probably rwx in low bits
+ void *vaddr; //!< address in memory
+ SceUInt memsz; //!< size in memory
+ SceUInt flags; //!< meaning unknown
+ SceUInt res; //!< unused?
} SceKernelSegmentInfo;
typedef struct
{
- SceUInt size; //< 0x1B8 for Vita 1.x
- SceUInt handle; //< kernel module handle?
- SceUInt flags; //< some bits. could be priority or whatnot
+ SceUInt size; //!< 0x1B8 for Vita 1.x
+ SceUInt handle; //!< kernel module handle?
+ SceUInt flags; //!< some bits. could be priority or whatnot
char module_name[28];
SceUInt unk28;
void *module_start;
@@ -50,7 +50,7 @@ typedef struct
SceSize tlsAreaSize;
char path[256];
SceKernelSegmentInfo segments[4];
- SceUInt type; //< 6 = user-mode PRX?
+ SceUInt type; //!< 6 = user-mode PRX?
} SceKernelModuleInfo;
typedef struct {