summaryrefslogtreecommitdiffstats
path: root/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2015-01-06 15:13:56 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-15 14:57:29 -0600
commit60e36d9749821dc522e1cfd0e164ffd4459a2895 (patch)
treed13f2f57f9129f8e4d70b2ecdfbe97cc21931421 /src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
parent5150e1feae1154d06b2f5ba59271e481bad13e8e (diff)
downloadtalos-hostboot-60e36d9749821dc522e1cfd0e164ffd4459a2895.tar.gz
talos-hostboot-60e36d9749821dc522e1cfd0e164ffd4459a2895.zip
Fix spelling mistakes using codespell.
- See https://github.com/lucasdemarchi/codespell Change-Id: I03e102d1ebb9473b6226fa9b6edb684fa0218a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15031 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H')
-rw-r--r--src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H b/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
index 6f06b21f8..76ff0ef81 100644
--- a/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
+++ b/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -86,7 +86,7 @@ extern tracDesc_t g_etrc; /** Trace Descriptor **/
#define ECMD_DBUF_SUCCESS 0x0 ///< DataBuffer returned successfully
#define ECMD_DBUF_INIT_FAIL (ECMD_ERR_ECMD | 0x2001) ///< Initialization of the DataBuffer failed
#define ECMD_DBUF_BUFFER_OVERFLOW (ECMD_ERR_ECMD | 0x2011) ///< Attempt to read/write data beyond the length of the DataBuffer
- #define ECMD_DBUF_XSTATE_ERROR (ECMD_ERR_ECMD | 0x2021) ///< An 'X' character occured where it was not expected
+ #define ECMD_DBUF_XSTATE_ERROR (ECMD_ERR_ECMD | 0x2021) ///< An 'X' character occurred where it was not expected
#define ECMD_DBUF_UNDEFINED_FUNCTION (ECMD_ERR_ECMD | 0x2031) ///< Function not included in this version of DataBuffer
#define ECMD_DBUF_INVALID_ARGS (ECMD_ERR_ECMD | 0x2041) ///< Args provided to dataBuffer were invalid
#define ECMD_DBUF_INVALID_DATA_FORMAT (ECMD_ERR_ECMD | 0x2043) ///< String data didn't match expected input format
@@ -96,7 +96,7 @@ extern tracDesc_t g_etrc; /** Trace Descriptor **/
#define ECMD_DBUF_FILE_OPERATION_FAIL (ECMD_ERR_ECMD | 0x2057) ///< File operation failed
#define ECMD_DBUF_NOT_OWNER (ECMD_ERR_ECMD | 0x2061) ///< Don't own this buffer so can't do this operation
#define ECMD_DBUF_XSTATE_NOT_ENABLED (ECMD_ERR_ECMD | 0x2063) ///< Xstate function called on a buffer that doesn't have xstates enabled
- #define ECMD_DBUF_MISMATCH (ECMD_ERR_ECMD | 0x2065) ///< There was a mismatch between a comparision operation in the buffer
+ #define ECMD_DBUF_MISMATCH (ECMD_ERR_ECMD | 0x2065) ///< There was a mismatch between a comparison operation in the buffer
#define ECMD_DBUF_NULL_POINTER (ECMD_ERR_ECMD | 0x2067) ///< Null pointer passed
#endif
@@ -316,7 +316,7 @@ public:
* @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
*
- * NOTE : Capacity will be adjusted to fit new size if neccesary
+ * NOTE : Capacity will be adjusted to fit new size if necessary
* CAUTION : All data stored in buffer will be lost
*/
uint32_t setDoubleWordLength(uint32_t i_newNumDoubleWords);
@@ -329,7 +329,7 @@ public:
* @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
*
- * NOTE : Capacity will be adjusted to fit new size if neccesary
+ * NOTE : Capacity will be adjusted to fit new size if necessary
* CAUTION : All data stored in buffer will be lost
*/
uint32_t setWordLength(uint32_t i_newNumWords);
@@ -342,7 +342,7 @@ public:
* @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
*
- * NOTE : Capacity will be adjusted to fit new size if neccesary
+ * NOTE : Capacity will be adjusted to fit new size if necessary
* CAUTION : All data stored in buffer will be lost
*/
uint32_t setHalfWordLength(uint32_t i_newNumHalfWords);
@@ -355,7 +355,7 @@ public:
* @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
*
- * NOTE : Capacity will be adjusted to fit new size if neccesary
+ * NOTE : Capacity will be adjusted to fit new size if necessary
* CAUTION : All data stored in buffer will be lost
*/
uint32_t setByteLength(uint32_t i_newNumBytes);
@@ -368,7 +368,7 @@ public:
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
* @post Buffer is reinitialized and zero'd out
*
- * NOTE : Capacity will be adjusted to fit new size if neccesary
+ * NOTE : Capacity will be adjusted to fit new size if necessary
* CAUTION : All data stored in buffer will be lost
*/
uint32_t setBitLength(uint32_t i_newNumBits);
@@ -399,7 +399,7 @@ public:
* @retval ECMD_DBUF_SUCCESS on success
* @post Internal buffer size is reset but data inside is not lost
*
- * NOTE : Capacity will be adjusted to fit new size if neccesary
+ * NOTE : Capacity will be adjusted to fit new size if necessary
*/
uint32_t growBitLength(uint32_t i_newNumBits);
@@ -616,7 +616,7 @@ public:
* @param i_shiftnum Number of bits to shift
* @param i_offset Offset into the buffer to start the shift from. Default is bit 0.
* @post Bits in buffer are shifted to right by specified number of bits
- * @post Buffer size is resized to accomodate shift
+ * @post Buffer size is resized to accommodate shift
* @retval ECMD_DBUF_SUCCESS on success
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
*/
@@ -626,7 +626,7 @@ public:
* @brief Shift data to left - resizing buffer
* @param i_shiftnum Number of bits to shift
* @post Bits in buffer are shifted to left by specified number of bits - data is shifted off the beginning
- * @post Buffer size is resized to accomodate shift
+ * @post Buffer size is resized to accommodate shift
* @retval ECMD_DBUF_SUCCESS on success
* @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned
*/
OpenPOWER on IntegriCloud