diff options
Diffstat (limited to 'include/kernel')
-rw-r--r-- | include/kernel/ctrl.h | 6 | ||||
-rw-r--r-- | include/kernel/kernel/modulemgr.h | 2 | ||||
-rw-r--r-- | include/kernel/kernel/sysmem.h | 6 | ||||
-rw-r--r-- | include/kernel/kernel/threadmgr.h | 18 | ||||
-rw-r--r-- | include/kernel/udcd.h | 2 |
5 files changed, 17 insertions, 17 deletions
diff --git a/include/kernel/ctrl.h b/include/kernel/ctrl.h index 1a553ef..60ff673 100644 --- a/include/kernel/ctrl.h +++ b/include/kernel/ctrl.h @@ -48,7 +48,7 @@ enum SceCtrlExternalInputMode { /** Controller mode. */ enum SceCtrlPadInputMode { - /** Digitial buttons only. */ + /** Digital buttons only. */ SCE_CTRL_MODE_DIGITAL = 0, /** Digital buttons + Analog support. */ SCE_CTRL_MODE_ANALOG = 1, @@ -226,7 +226,7 @@ int sceCtrlGetButtonIntercept(int *intercept); * @param kernelButtons Emulated buttons of ::SceCtrlPadButtons (you can emulate both user and * kernel buttons). The emulated buttons will only be applied for applications * running in kernel mode. - * @param uiMake Specifies the duration of the emulation. Meassured in sampling counts. + * @param uiMake Specifies the duration of the emulation. Measured in sampling counts. * * @return 0 on success. */ @@ -248,7 +248,7 @@ int sceCtrlSetButtonEmulation(unsigned int port, unsigned char slot, * @param kernel_lY New emulate value for the left joystick's Y-axis (kernelspace). Between 0 - 0xFF. * @param kernel_rX New emulated value for the right joystick's X-axis (kernelspace). Between 0 - 0xFF. * @param kernel_rY New emulate value for the right joystick's Y-axis (kernelspace). Between 0 - 0xFF. - * @param uiMake Specifies the duration of the emulation. Meassured in sampling counts. + * @param uiMake Specifies the duration of the emulation. Measured in sampling counts. * * @return 0 on success. */ 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 * diff --git a/include/kernel/udcd.h b/include/kernel/udcd.h index 3eaabfb..3b0e359 100644 --- a/include/kernel/udcd.h +++ b/include/kernel/udcd.h @@ -415,7 +415,7 @@ struct SceUdcdDeviceRequest { void (*onComplete)(struct SceUdcdDeviceRequest *req); /* Number of transmitted bytes */ int transmitted; - /* Return code of the request, 0 == success, -3 == cancelled */ + /* Return code of the request, 0 == success, -3 == canceled */ int returnCode; /* Link pointer to next request used by the driver, set it to NULL */ struct SceUdcdDeviceRequest *next; |