summaryrefslogtreecommitdiff
path: root/include/kernel/kernel
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/kernel/kernel/modulemgr.h2
-rw-r--r--include/kernel/kernel/sysmem.h6
-rw-r--r--include/kernel/kernel/threadmgr.h18
3 files changed, 13 insertions, 13 deletions
diff --git a/include/kernel/kernel/modulemgr.h b/include/kernel/kernel/modulemgr.h
index ee6ece2..8e1aae7 100644
--- a/include/kernel/kernel/modulemgr.h
+++ b/include/kernel/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/kernel/kernel/sysmem.h b/include/kernel/kernel/sysmem.h
index 579c528..9c5d0aa 100644
--- a/include/kernel/kernel/sysmem.h
+++ b/include/kernel/kernel/sysmem.h
@@ -76,7 +76,7 @@ enum {
#define SCE_KERNEL_ALLOC_MEMBLOCK_ATTR_HAS_ALIGNMENT 0x00000004U
/***
- * 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
@@ -88,7 +88,7 @@ enum {
SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int size, SceKernelAllocMemBlockKernelOpt *optp);
/***
- * Frees new memoy block
+ * Frees new memory block
*
* @param[in] uid - SceUID of the memory block to free
*
@@ -97,7 +97,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/kernel/kernel/threadmgr.h b/include/kernel/kernel/threadmgr.h
index 21ee730..6e3bc89 100644
--- a/include/kernel/kernel/threadmgr.h
+++ b/include/kernel/kernel/threadmgr.h
@@ -298,7 +298,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.
@@ -358,7 +358,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);
@@ -411,7 +411,7 @@ int sceKernelWaitSema(SceUID semaid, int signal, SceUInt *timeout);
int sceKernelWaitSemaCB(SceUID semaid, int signal, SceUInt *timeout);
/**
- * Poll a sempahore.
+ * Poll a semaphore.
*
* @param semaid - UID of the semaphore to poll.
* @param signal - The value to test for.
@@ -493,7 +493,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);
@@ -501,7 +501,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);
@@ -509,7 +509,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);
@@ -748,7 +748,7 @@ int sceKernelCreateCallback(const char *name, unsigned int attr, SceKernelCallba
*
* @param cb - The UID of the callback to retrieve info for.
* @param status - Pointer to a status structure. The size parameter should be
- * initialised before calling.
+ * initialized before calling.
*
* @return < 0 on error.
*/
@@ -778,7 +778,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);
@@ -983,7 +983,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
*