summaryrefslogtreecommitdiff
path: root/include/user/kernel/modulemgr.h
diff options
context:
space:
mode:
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 {