summaryrefslogtreecommitdiff
path: root/include/user/kernel
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/user/kernel/modulemgr.h2
-rw-r--r--include/user/kernel/sysmem.h6
-rw-r--r--include/user/kernel/threadmgr.h20
3 files changed, 14 insertions, 14 deletions
diff --git a/include/user/kernel/modulemgr.h b/include/user/kernel/modulemgr.h
index d7ad72c..58ce37a 100644
--- a/include/user/kernel/modulemgr.h
+++ b/include/user/kernel/modulemgr.h
@@ -27,7 +27,7 @@ typedef struct
SceUInt perms; //< probably rwx in low bits
void *vaddr; //< address in memory
SceUInt memsz; //< size in memory
- SceUInt flags; //< meanig unknown
+ SceUInt flags; //< meaning unknown
SceUInt res; //< unused?
} SceKernelSegmentInfo;
diff --git a/include/user/kernel/sysmem.h b/include/user/kernel/sysmem.h
index 4dd4884..c517210 100644
--- a/include/user/kernel/sysmem.h
+++ b/include/user/kernel/sysmem.h
@@ -33,7 +33,7 @@ enum {
};
/***
- * Allocates a new memoy block
+ * Allocates a new memory block
*
* @param[in] name - Name for the memory block
* @param[in] type - Type of the memory to allocate
@@ -45,7 +45,7 @@ enum {
SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int size, SceKernelAllocMemBlockOpt *optp);
/***
- * Frees new memoy block
+ * Frees new memory block
*
* @param[in] uid - SceUID of the memory block to free
*
@@ -54,7 +54,7 @@ SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int
int sceKernelFreeMemBlock(SceUID uid);
/***
- * Gets the base address of a memoy block
+ * Gets the base address of a memory block
*
* @param[in] uid - SceUID of the memory block to free
* @param[out] basep - Base address of the memory block identified by SceUID
diff --git a/include/user/kernel/threadmgr.h b/include/user/kernel/threadmgr.h
index 3681c19..d26272b 100644
--- a/include/user/kernel/threadmgr.h
+++ b/include/user/kernel/threadmgr.h
@@ -296,7 +296,7 @@ int sceKernelGetThreadInfo(SceUID thid, SceKernelThreadInfo *info);
/**
* Retrive the runtime status of a thread.
*
- * @param thid - UID of the thread to retrive status.
+ * @param thid - UID of the thread to retrieve status.
* @param status - Pointer to a ::SceKernelThreadRunStatus struct to receive the runtime status.
*
* @return 0 if successful, otherwise the error code.
@@ -356,7 +356,7 @@ SceUID sceKernelCreateSema(const char *name, SceUInt attr, int initVal, int maxV
* Destroy a semaphore
*
* @param semaid - The semaid returned from a previous create call.
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelDeleteSema(SceUID semaid);
@@ -491,7 +491,7 @@ SceUID sceKernelCreateMutex(const char *name, SceUInt attr, int initCount, SceKe
* Destroy a mutex
*
* @param mutexid - The mutex id returned from sceKernelCreateMutex
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelDeleteMutex(SceUID mutexid);
@@ -499,7 +499,7 @@ int sceKernelDeleteMutex(SceUID mutexid);
* Open a mutex
*
* @param name - The name of the mutex to open
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelOpenMutex(const char *name);
@@ -507,7 +507,7 @@ int sceKernelOpenMutex(const char *name);
* Close a mutex
*
* @param mutexid - The mutex id returned from sceKernelCreateMutex
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelCloseMutex(SceUID mutexid);
@@ -745,7 +745,7 @@ SceUID sceKernelCreateCond(const char *name, SceUInt attr, SceUID mutexId, const
* Destroy a condition variable
*
* @param condition variableid - The condition variable id returned from sceKernelCreateCond
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelDeleteCond(SceUID condId);
@@ -753,7 +753,7 @@ int sceKernelDeleteCond(SceUID condId);
* Open a condition variable
*
* @param name - The name of the condition variable to open
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelOpenCond(const char *name);
@@ -761,7 +761,7 @@ int sceKernelOpenCond(const char *name);
* Close a condition variable
*
* @param condition variableid - The condition variable id returned from sceKernelCreateCond
- * @return Returns the value 0 if its succesful otherwise -1
+ * @return Returns the value 0 if it's successful, otherwise -1
*/
int sceKernelCloseCond(SceUID condId);
@@ -885,7 +885,7 @@ int sceKernelNotifyCallback(SceUID cb, int arg2);
*
* @param cb - The UID of the specified callback
*
- * @return 0 on succes, < 0 on error
+ * @return 0 on success, < 0 on error
*/
int sceKernelCancelCallback(SceUID cb);
@@ -1090,7 +1090,7 @@ typedef enum SceKernelIdListType {
} SceKernelIdListType;
/**
- * Get the type of a threadman uid
+ * Get the type of a Threadmgr uid
*
* @param uid - The uid to get the type from
*