diff options
author | Hexxellor | 2017-03-28 15:32:26 -0500 |
---|---|---|
committer | devnoname120 | 2017-03-28 22:32:26 +0200 |
commit | 5568baf51c4b787ff3ce338948bc6faed34c2320 (patch) | |
tree | 3452914d79092392b496b0611bdccf3f67a4b818 | |
parent | Added 3 SceSysclibForDriver NIDs (diff) | |
download | vds-libraries-5568baf51c4b787ff3ce338948bc6faed34c2320.tar.gz |
Typo fixing, and misnamed struct (#151)
* Fixing Mostly Harmless Typos
This fixes a bunch of miscellaneous typos and grammatical mistakes in
the source which were mostly harmless with the exception of the
ScreenShotParam in psp2/screenshot.h which didn’t match the name of the
struct causing it to fail when using that header.
-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 | ||||
-rw-r--r-- | include/user/ctrl.h | 4 | ||||
-rw-r--r-- | include/user/kernel/modulemgr.h | 2 | ||||
-rw-r--r-- | include/user/kernel/sysmem.h | 6 | ||||
-rw-r--r-- | include/user/kernel/threadmgr.h | 20 | ||||
-rw-r--r-- | include/user/promoterutil.h | 2 |
10 files changed, 34 insertions, 34 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; diff --git a/include/user/ctrl.h b/include/user/ctrl.h index 0064614..f8f5679 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -49,7 +49,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, @@ -167,7 +167,7 @@ int sceCtrlReadBufferPositive(int port, SceCtrlData *pad_data, int count); /** * Get the controller extended state information (blocking, positive logic). * - * This function will bind L/R tringger value to L1/R1 instead of LTRIGGER/RTRIGGER + * This function will bind L/R trigger value to L1/R1 instead of LTRIGGER/RTRIGGER * * @param[in] port - use 0. * @param[out] *pad_data - see ::SceCtrlData. 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 * diff --git a/include/user/promoterutil.h b/include/user/promoterutil.h index 5c83ebc..9e49a0f 100644 --- a/include/user/promoterutil.h +++ b/include/user/promoterutil.h @@ -38,7 +38,7 @@ int scePromoterUtilityExit(void); int scePromoterUtilityDeletePkg(const char *titleid); /** - * Update the LiveArea ressources of an app + * Update the LiveArea resources of an app * * @param[in] *args - see ::ScePromoterUtilityLAUpdate * |