diff options
Diffstat (limited to 'src/usr/diag/prdf/common/util')
-rwxr-xr-x | src/usr/diag/prdf/common/util/iipdgtb.C | 6 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/iipdgtb.h | 6 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/iipdigit.h | 14 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/prdfBitKey.H | 4 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/prdfBitString.C | 12 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/prdfBitString.H | 34 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/prdfErrlSmartPtr.C | 6 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/prdfErrlSmartPtr.H | 8 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/util/prdfFlyWeightS.C | 8 |
9 files changed, 57 insertions, 41 deletions
diff --git a/src/usr/diag/prdf/common/util/iipdgtb.C b/src/usr/diag/prdf/common/util/iipdgtb.C index d98de0bda..48524f814 100755 --- a/src/usr/diag/prdf/common/util/iipdgtb.C +++ b/src/usr/diag/prdf/common/util/iipdgtb.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1993,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -181,7 +183,7 @@ DIGIT_STRING_BYTE_CLASS::DIGIT_STRING_BYTE_CLASS DIGIT_STRING_BYTE_CLASS::~DIGIT_STRING_BYTE_CLASS ( void - /*!i No paramters */ + /*!i No parameters */ ) /*!o No value returned */ { diff --git a/src/usr/diag/prdf/common/util/iipdgtb.h b/src/usr/diag/prdf/common/util/iipdgtb.h index 25a6fd930..36a25b843 100755 --- a/src/usr/diag/prdf/common/util/iipdgtb.h +++ b/src/usr/diag/prdf/common/util/iipdgtb.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1993,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -241,7 +243,7 @@ class DIGIT_STRING_BYTE_CLASS : public DIGIT_STRING_CLASS virtual ~DIGIT_STRING_BYTE_CLASS ( void - /*!i No paramters */ + /*!i No parameters */ ); /*!o No value returned */ diff --git a/src/usr/diag/prdf/common/util/iipdigit.h b/src/usr/diag/prdf/common/util/iipdigit.h index e43a976e8..6ef796fda 100755 --- a/src/usr/diag/prdf/common/util/iipdigit.h +++ b/src/usr/diag/prdf/common/util/iipdigit.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1993,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -68,7 +70,7 @@ namespace PRDF // // Purpose: This type is used to take advantage of the most efficient // memory reference size for a specific CPU architecture. -// This type defintion is provided only to handle the case +// This type definition is provided only to handle the case // where no previous defintions exists. // // End Type Specification ////////////////////////////////////////////// @@ -144,7 +146,7 @@ class DIGIT_STRING_CLASS // Dependencies: None. // // Notes: This function performs the same action as a default - // defintion. It is included because the virtual + // definition. It is included because the virtual // declaration is required for this base class. // // End Function Specification ////////////////////////////////////// @@ -152,7 +154,7 @@ class DIGIT_STRING_CLASS virtual ~DIGIT_STRING_CLASS ( void - /*!i No paramters */ + /*!i No parameters */ ) /*!o No value returned */ { @@ -170,7 +172,7 @@ class DIGIT_STRING_CLASS // Dependencies: None. // // Notes: This function performs the same action as a default - // defintion. It is included here to emphasize the actions + // definition. It is included here to emphasize the actions // performed and the need for an explicit definition in each // derived class. // @@ -366,7 +368,7 @@ class DIGIT_STRING_CLASS // Dependencies: None. // // Notes: This function performs the same action as a default - // defintion. It is included here to emphasize the actions + // definition. It is included here to emphasize the actions // performed and the need for an explicit definition in each // derived class. // diff --git a/src/usr/diag/prdf/common/util/prdfBitKey.H b/src/usr/diag/prdf/common/util/prdfBitKey.H index 964b14660..59fcc3e32 100755 --- a/src/usr/diag/prdf/common/util/prdfBitKey.H +++ b/src/usr/diag/prdf/common/util/prdfBitKey.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -228,7 +228,7 @@ class BitKey void removeBit(void); /*! - Remove the bit positions from this list specified in the paramter list + Remove the bit positions from this list specified in the parameter list \pre none \post bit list may be modified */ diff --git a/src/usr/diag/prdf/common/util/prdfBitString.C b/src/usr/diag/prdf/common/util/prdfBitString.C index 3c16de7a8..3c34e7793 100755 --- a/src/usr/diag/prdf/common/util/prdfBitString.C +++ b/src/usr/diag/prdf/common/util/prdfBitString.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2004,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -268,7 +270,7 @@ void BitString::SetBits // bit string and the pattern. // // Time Complexity: O(m) where m is the number of bits to modify -// (paramter l) +// (parameter l) // // Examples: o(0), l(10), pattern(0xA), pattern_bit_length(4) // Old String: 0000000000 @@ -492,15 +494,15 @@ bool BitString::IsZero(void) const // // Time Complexity: O(m) where m is the length // -// Examples: Paramter String: 1001 +// Examples: Parameter String: 1001 // Old String: 1100 // New String: 0100 // -// Paramter String: 100111 +// Parameter String: 100111 // Old String: 1100 // New String: 0100 // -// Paramter String: 1001 +// Parameter String: 1001 // Old String: 110001 // New String: 010001 // diff --git a/src/usr/diag/prdf/common/util/prdfBitString.H b/src/usr/diag/prdf/common/util/prdfBitString.H index 3ada7513b..48469771c 100755 --- a/src/usr/diag/prdf/common/util/prdfBitString.H +++ b/src/usr/diag/prdf/common/util/prdfBitString.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2004,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -67,7 +69,7 @@ // // Purpose: This type is used to take advantage of the most efficient // memory reference size for a specific CPU architecture. -// This type defintion is provided only to handle the case +// This type definition is provided only to handle the case // where no previous defintions exists. // // End Type Specification ////////////////////////////////////////////// @@ -192,7 +194,7 @@ public: /*! Destructor - \notes This destructor does nothing. It is requred for proper desctruction + \notes This destructor does nothing. It is required for proper destruction of derived classes. */ virtual ~BitString(void); @@ -229,7 +231,7 @@ public: uint32_t GetSetCount(uint32_t bit_position, uint32_t leng) const; /*! - Get a copy of a subfield withing the bitstring + Get a copy of a subfield within the bitstring \param starting bit position \param # of bits in the field \return Returned value is left justified (See GetFieldJustified) @@ -239,7 +241,7 @@ public: CPU_WORD GetField(uint32_t bit_position,uint32_t length) const; /*! - Get a copy of a subfield withing the bitstring + Get a copy of a subfield within the bitstring \param starting bit position \param # of bits in the field \return Returned value is right justified (See GetField) @@ -249,7 +251,7 @@ public: CPU_WORD GetFieldJustify(uint32_t bit_position,uint32_t length) const; /*! - Set value into a subfield withing the bitstring + Set value into a subfield within the bitstring \param starting bit position \param # of bits in the field \pre (bit_position + length) <= GetLength(); length <= sizeof(CPU_WORD)*8 @@ -264,7 +266,7 @@ public: /*! - Set value into a subfield withing the bitstring + Set value into a subfield within the bitstring \param starting bit position \param # of bits in the field \pre (bit_position + length) <= GetLength(); length <= sizeof(CPU_WORD)*8 @@ -385,20 +387,20 @@ public: /*! Mask off (Clear) bits positions in this string that are Set in the string provided \param bitString containing the mask - \post Set bit positions in string provded are cleared in this string - \notes If the paramter string is longer than this string than extra bits are ignored. - If the paramter string is shorter than this string than extra bits in this string + \post Set bit positions in string provided are cleared in this string + \notes If the parameter string is longer than this string than extra bits are ignored. + If the parameter string is shorter than this string than extra bits in this string are not modified. \verbatim - Examples: Paramter String: 1001 + Examples: Parameter String: 1001 Old String: 1100 New String: 0100 - Paramter String: 100111 + Parameter String: 100111 Old String: 1100 New String: 0100 - Paramter String: 1001 + Parameter String: 1001 Old String: 110001 New String: 010001 @@ -539,7 +541,7 @@ private: allocated to hold the Bit String. The buffer is "owned" by the Bit String Buffer. Sufficient memory is allocated and deallocted in the constructor and - destructor, respectively. In addtion, the assignemnt + destructor, respectively. In addition, the assignemnt operator will adjust the amount of memory needed as necessary for the assignment. A byte capacity value is also maintained. The internal buffer is always guaranteed to have this capacity of bytes. @@ -607,7 +609,7 @@ private: // data //! BitStringOffset /*! BitStringOffset provides a Bit String that allows a starting position that - is not limited to a memory alligned boundary. + is not limited to a memory aligned boundary. \remarks The Bit String Offset provides the ability to specify a start bit offset from the address provided as the start position of the bit string. The class will @@ -766,7 +768,7 @@ CPU_WORD * BitString::GetRelativePositionAlloc(uint32_t & oBitOffset, uint32_t i // Dependencies: None. // // Time Complexity: O(m) where m is the number of bits to modify -// (paramter l) +// (parameter l) // // Examples: See Pattern(uint32_t, uint32_t, CPU_WORD, uint32_t) // diff --git a/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.C b/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.C index cfaf51cdd..c5b0b24b4 100755 --- a/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.C +++ b/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2004,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -29,7 +31,7 @@ namespace PRDF { /* void add_src() - * Add special SRC to error log specifying commited from smart + * Add special SRC to error log specifying committed from smart * pointer. */ void ErrlSmartPtr::add_src() diff --git a/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.H b/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.H index 5df4e84f3..88e6240ff 100755 --- a/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.H +++ b/src/usr/diag/prdf/common/util/prdfErrlSmartPtr.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2003,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -142,7 +144,7 @@ class ErrlSmartPtr * Or, to delete the error log: * delete errl.release(); * - * This prevent the error log from being deleted twice or commited + * This prevent the error log from being deleted twice or committed * by the wrong component. */ errlHndl_t release() @@ -156,7 +158,7 @@ class ErrlSmartPtr errlHndl_t iv_errl; /* void add_src() - * Add special SRC to error log specifying commited from smart + * Add special SRC to error log specifying committed from smart * pointer. */ void add_src(); diff --git a/src/usr/diag/prdf/common/util/prdfFlyWeightS.C b/src/usr/diag/prdf/common/util/prdfFlyWeightS.C index 3365bcc46..1cb310375 100755 --- a/src/usr/diag/prdf/common/util/prdfFlyWeightS.C +++ b/src/usr/diag/prdf/common/util/prdfFlyWeightS.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2007,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -127,7 +129,7 @@ T * FlyWeightS<T,S>::find(const T & key, HintType & o_hint) l_rc = static_cast<T *>(*o_hint.col); // Hint is now pointing to the cell either containing the key or - // immediately preceeding where this key would go... unless it is the + // immediately preceding where this key would go... unless it is the // first item in the column. return l_rc; @@ -148,7 +150,7 @@ T * FlyWeightS<T,S>::insert(const T & key, HintType & i_hint) return p; } - // Otherwise, hint contains the position immediately preceeding + // Otherwise, hint contains the position immediately preceding // where this key should go... unless it is the first item in the column. // Assign into heap, get pointer to position. |