diff options
Diffstat (limited to 'src/usr/diag/prdf')
55 files changed, 254 insertions, 178 deletions
diff --git a/src/usr/diag/prdf/common/framework/config/iipSystem.C b/src/usr/diag/prdf/common/framework/config/iipSystem.C index 47e0d0210..ede292f56 100755 --- a/src/usr/diag/prdf/common/framework/config/iipSystem.C +++ b/src/usr/diag/prdf/common/framework/config/iipSystem.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -377,7 +377,7 @@ int32_t System::Analyze(STEP_CODE_DATA_STRUCT & serviceData, // if ptr is NULL && we don't have a saved SDC than we have noAttns // if ptr is NULL && we have a saved SDC then we have an attn with no-bits-on - // otherwise we are done - aready did the analysis + // otherwise we are done - already did the analysis if ( domainAtAttentionPtr == NULL) { if(l_saved_sdc == NULL) diff --git a/src/usr/diag/prdf/common/framework/config/iipchip.h b/src/usr/diag/prdf/common/framework/config/iipchip.h index a63bd569b..d521648a2 100755 --- a/src/usr/diag/prdf/common/framework/config/iipchip.h +++ b/src/usr/diag/prdf/common/framework/config/iipchip.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. */ @@ -160,7 +162,7 @@ class CHIP_CLASS virtual int32_t MaskError( uint32_t error_mask_id ) = 0; /** - Capture the contents of certain registers withing the hardware + Capture the contents of certain registers within the hardware <ul> <br><b>Parameters: </b> cd:Capture data object (to store the capture data) <br><b>Returns: </b> return code (usually from MOPs) @@ -220,7 +222,7 @@ class CHIP_CLASS // // Title: operator= (assignment operator) // - // Purpose: This assignment operator does nothing. This defintion + // Purpose: This assignment operator does nothing. This definition // is provided for an explicit call from a derived class // assignment operator. It does not need to be called by // a derived class assignment operator. diff --git a/src/usr/diag/prdf/common/framework/register/iipCaptureData.h b/src/usr/diag/prdf/common/framework/register/iipCaptureData.h index 76bcb1f48..4395ce38b 100755 --- a/src/usr/diag/prdf/common/framework/register/iipCaptureData.h +++ b/src/usr/diag/prdf/common/framework/register/iipCaptureData.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -170,7 +172,7 @@ public: /** Clear out capture data <ul> - <br><b>Paramters:None + <br><b>Parameters:None <br><b>Returns:Nothing <br><b>Requirments:None. <br><b>Promises: All capture data cleared ( copy(...) == 0 ) @@ -182,10 +184,10 @@ public: /** Add scr & data to capture log <ul> - <br><b>Paramter: chipHandle target handle of chip object - <br><b>Paramter: scan comm id (unique one btye code representing scan comm address) - <br><b>Paramter: Scan comm register object - <br><b>Paramter: Optional location in capure vector [FRONT | BACK] def = BACK + <br><b>Parameter: chipHandle target handle of chip object + <br><b>Parameter: scan comm id (unique one btye code representing scan comm address) + <br><b>Parameter: Scan comm register object + <br><b>Parameter: Optional location in capure vector [FRONT | BACK] def = BACK <br><b>Returns: Nothing <br><b>Requires: Nothing <br><b>Promises: scr.Read() @@ -200,9 +202,9 @@ public: /* REMOVE for FSP Add scr & data to capture log <ul> - <br><b>Paramter: chipHandle target handle of chip object - <br><b>Paramter: Scan comm register object - <br><b>Paramter: Optional location in capure vector [FRONT | BACK] def = BACK + <br><b>Parameter: chipHandle target handle of chip object + <br><b>Parameter: Scan comm register object + <br><b>Parameter: Optional location in capure vector [FRONT | BACK] def = BACK <br><b>Returns: Nothing <br><b>Requires: Nothing <br><b>Promises: scr.Read() @@ -217,10 +219,10 @@ public: /** Add scr & data to capture log <ul> - <br><b>Paramter: i_pchipHandle Handle of chip object - <br><b>Paramter: scan comm id (unique one btye code representing scan comm address) - <br><b>Paramter: BIT_STRING_CLASS - <br><b>Paramter: Optional location in capure vector [FRONT | BACK] def = BACK + <br><b>Parameter: i_pchipHandle Handle of chip object + <br><b>Parameter: scan comm id (unique one btye code representing scan comm address) + <br><b>Parameter: BIT_STRING_CLASS + <br><b>Parameter: Optional location in capure vector [FRONT | BACK] def = BACK <br><b>Returns: Nothing <br><b>Requires: Nothing <br><b>Promises: @@ -236,7 +238,7 @@ public: /** Drop scr & data from capture log <ul> - <br><b>Paramter: Type of capture vector [PRIMARY | SECONDARY] def = PRIMARY. SECONDARIES dropped on connected. + <br><b>Parameter: Type of capture vector [PRIMARY | SECONDARY] def = PRIMARY. SECONDARIES dropped on connected. <br><b>Returns: Nothing <br><b>Requires: Nothing <br><b>Promises: @@ -248,8 +250,8 @@ void Drop(RegType type); //@jl04a /** Copy caputre data to buffer <ul> - <br><b>Paramter: ptr to buffer to place capture data - <br><b>Paramter: maxsize of buffer area + <br><b>Parameter: ptr to buffer to place capture data + <br><b>Parameter: maxsize of buffer area <br><b>Returns: Returns the number of bytes copied <br><b>Requirements: None <br><b>Promises: bytes copied <= bufferSize @@ -263,7 +265,7 @@ void Drop(RegType type); //@jl04a /** Reconstruct data from flat data <ul> - <br><b>Paramter: i_flatdata ptr to flat data + <br><b>Parameter: i_flatdata ptr to flat data <br><b>Returns: reference to the new capture data <br><b>Requirements: None <br><b>Promises: CaptureData created form flatdata @@ -278,7 +280,7 @@ private: // Notes ************************************************************* // - // Instead of maintaining an actual data buffer, an auxilliary data + // Instead of maintaining an actual data buffer, an auxiliary data // structure is used to maintain data in a specific order. The main // reason for this is that since data can be entered in the front or // back of the buffer, the data must be copied to maintain the order. diff --git a/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h b/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h index d10f83eaf..bf435153f 100755 --- a/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h +++ b/src/usr/diag/prdf/common/framework/register/iipErrorRegisterMask.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -178,7 +180,7 @@ protected: /** - Reset the error register and set mask bit if sdc is at theshold + Reset the error register and set mask bit if sdc is at threshold <ul> <br><b>Parameters: </b> BitList <br><b>Returns: </b> return code diff --git a/src/usr/diag/prdf/common/framework/register/iipResetErrorRegister.h b/src/usr/diag/prdf/common/framework/register/iipResetErrorRegister.h index 18c16a32a..8699e298c 100755 --- a/src/usr/diag/prdf/common/framework/register/iipResetErrorRegister.h +++ b/src/usr/diag/prdf/common/framework/register/iipResetErrorRegister.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -145,7 +147,7 @@ public: protected: // functions /** - Reset the error register and set mask bit if sdc is at theshold + Reset the error register and set mask bit if sdc is at threshold <ul> <br><b>Parameters: </b> BitList <br><b>Returns: </b> return code diff --git a/src/usr/diag/prdf/common/framework/register/iipXorResetErrorRegister.h b/src/usr/diag/prdf/common/framework/register/iipXorResetErrorRegister.h index a47e75261..8a0b37b91 100755 --- a/src/usr/diag/prdf/common/framework/register/iipXorResetErrorRegister.h +++ b/src/usr/diag/prdf/common/framework/register/iipXorResetErrorRegister.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1997,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. */ @@ -107,7 +109,7 @@ protected: // functions // Requirements: None. // Promises: Hardware Registers modified // Bits in bit_list are turned off in SCR then SCR::Write() - // Mask bits set if theshold was reached (see parent class) + // Mask bits set if threshold was reached (see parent class) // Exceptions: None. // Concurrency: // Notes: bit_list.GetListLength() may be zero diff --git a/src/usr/diag/prdf/common/framework/register/iipscr.h b/src/usr/diag/prdf/common/framework/register/iipscr.h index 51a55e639..a51920aca 100755 --- a/src/usr/diag/prdf/common/framework/register/iipscr.h +++ b/src/usr/diag/prdf/common/framework/register/iipscr.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1997,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. */ @@ -98,7 +100,7 @@ namespace PRDF // bits are used as the value to write. The current value of this // cached bit string can be accessed or modified by other objects via // the public interface. The physical address and bit length of the -// hardware register are set during intialization and used on all +// hardware register are set during initialization and used on all // acceses. // // The basic Read() and Write() functions are virtual. The @@ -154,11 +156,12 @@ class SCAN_COMM_REGISTER_CLASS <br><b>Requirements:</b> None. <br><b>Promises: </b> Internal bit string represents the value of the hardware register (if rc == SUCCESS) - <br><b>Sideaffects: </b> Value guarenteed to be read from hardware. + <br><b>Sideaffects: </b> Value guaranteed to be read from hardware. <br><b>Exceptions: </b> None. <br><b>Notes: </b> Default is to call Read(). If a child class cannot - guarantee hardware access everytime Read() is called - then the function ForceRead() should be overridden. + guarantee hardware access every time Read() is + called then the function ForceRead() should be + overridden. </ul><br> */ virtual uint32_t ForceRead(void) const { return Read(); } @@ -392,7 +395,7 @@ protected: /** Get modifiable reference to internal bit string (don't even thing about making this public!!!) <ul> - <br><b>Paramters: </b> None. + <br><b>Parameters: </b> None. <br><b>Returns </b> Reference to the internal bit string <br><b>Requirments </b> None. <br><b>Promises </b> None. diff --git a/src/usr/diag/prdf/common/framework/register/prdfHomRegisterAccess.C b/src/usr/diag/prdf/common/framework/register/prdfHomRegisterAccess.C index 403be1e48..7fa98bb29 100755 --- a/src/usr/diag/prdf/common/framework/register/prdfHomRegisterAccess.C +++ b/src/usr/diag/prdf/common/framework/register/prdfHomRegisterAccess.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -229,7 +229,7 @@ errlHndl_t ScomAccessor::Access(TargetHandle_t i_target, if( NULL != errH ) break; // If register is in a EX chiplet, need to update PORE image. - // The PORE update is necessary to avoid loosing the FIR MASK + // The PORE update is necessary to avoid losing the FIR MASK // after the Core exits the sleep-winkle state. if( TYPE_EX == PlatServices::getTargetType(i_target) ) { diff --git a/src/usr/diag/prdf/common/framework/register/prdfScanFacility.H b/src/usr/diag/prdf/common/framework/register/prdfScanFacility.H index a0e407c73..b7589fa5d 100755 --- a/src/usr/diag/prdf/common/framework/register/prdfScanFacility.H +++ b/src/usr/diag/prdf/common/framework/register/prdfScanFacility.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2002,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. */ @@ -116,7 +118,8 @@ public: * @brief Get a register that bitwise inverts the bitstring of a register * when read or written to * @param SCAN_COMM_REGISTER_CLASS source - * @post Only one instance of the register with this SCR paramter will exist + * @post Only one instance of the register with this SCR parameter will + * exist */ SCAN_COMM_REGISTER_CLASS & GetNotRegister(SCAN_COMM_REGISTER_CLASS & i_arg); @@ -124,8 +127,8 @@ public: * @brief Get a register that bitwise left shift the bitstring of a register * when read or written to * @param SCAN_COMM_REGISTER_CLASS source - * @post Only one instance of the register with this SCR paramter and amount - @ will exist + * @post Only one instance of the register with this SCR parameter and + * amount will exist */ SCAN_COMM_REGISTER_CLASS & GetLeftShiftRegister( SCAN_COMM_REGISTER_CLASS & i_arg, uint16_t i_amount); @@ -134,7 +137,7 @@ public: * @brief Get a register that bitwise right shift the bitstring of a register * when read or written to * @param SCAN_COMM_REGISTER_CLASS source - * @post Only one instance of the register with this SCR paramter and amount + * @post Only one instance of the register with this SCR parameter and amount * @ will exist */ SCAN_COMM_REGISTER_CLASS & GetRightShiftRegister( diff --git a/src/usr/diag/prdf/common/framework/register/xspprdAndResetErrorRegister.h b/src/usr/diag/prdf/common/framework/register/xspprdAndResetErrorRegister.h index 1bf985420..ce8869da9 100755 --- a/src/usr/diag/prdf/common/framework/register/xspprdAndResetErrorRegister.h +++ b/src/usr/diag/prdf/common/framework/register/xspprdAndResetErrorRegister.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2001,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. */ @@ -37,7 +39,7 @@ // Description: Resets the bit(s) in an error register that were used to // Analyze an error. Intended to be used with hardware // registers that support SCOM AND-Write to reset bits. -// This has an advantage in that register is only writen +// This has an advantage in that register is only written // to reset the bits as opposted to a read-modify-write. // // Usage: See iipResetErrorRegister.h diff --git a/src/usr/diag/prdf/common/framework/resolution/iipCallAttnResolution.h b/src/usr/diag/prdf/common/framework/resolution/iipCallAttnResolution.h index 6ac23b0a9..2010eb991 100755 --- a/src/usr/diag/prdf/common/framework/resolution/iipCallAttnResolution.h +++ b/src/usr/diag/prdf/common/framework/resolution/iipCallAttnResolution.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1997,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. */ @@ -77,7 +79,7 @@ public: // Promises: None. // Exceptions: None. // Concurrency: Reentrant - // Notes: Compiler default defn is sufficent + // Notes: Compiler default defn is sufficient // // End Function Specification **************************************** diff --git a/src/usr/diag/prdf/common/framework/resolution/iipCallResolutionTemplate.h b/src/usr/diag/prdf/common/framework/resolution/iipCallResolutionTemplate.h index 26610a295..2b487c8b5 100755 --- a/src/usr/diag/prdf/common/framework/resolution/iipCallResolutionTemplate.h +++ b/src/usr/diag/prdf/common/framework/resolution/iipCallResolutionTemplate.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -86,7 +88,7 @@ public: // Promises: None. // Exceptions: None. // Concurrency: Reentrant - // Notes: Compiler default is sufficent + // Notes: Compiler default is sufficient // // End Function Specification **************************************** diff --git a/src/usr/diag/prdf/common/framework/resolution/iipCallout.h b/src/usr/diag/prdf/common/framework/resolution/iipCallout.h index 949c948fe..01a3bebe3 100755 --- a/src/usr/diag/prdf/common/framework/resolution/iipCallout.h +++ b/src/usr/diag/prdf/common/framework/resolution/iipCallout.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -26,7 +28,7 @@ // Special maintenance notes: ***************************************** // -// This file must maintain the basic format decribed below. All +// This file must maintain the basic format described below. All // maintenance must preserve that format to ensure the proper function // of all code that uses this file. // diff --git a/src/usr/diag/prdf/common/framework/resolution/iipResolution.h b/src/usr/diag/prdf/common/framework/resolution/iipResolution.h index 117ddb9fa..cd97dc3da 100755 --- a/src/usr/diag/prdf/common/framework/resolution/iipResolution.h +++ b/src/usr/diag/prdf/common/framework/resolution/iipResolution.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -93,7 +95,8 @@ public: // Parameters: Reference to the Step code data structure // Returns: return code // Requirements: None - // Promises: if rc = SUCCESS then data filled with apropriate service data + // Promises: if rc = SUCCESS then data filled with appropriate service + // data // Exceptions: None // Concurrency: synchronous // Notes: if rc != SUCCESS then state of service data is unpredictable diff --git a/src/usr/diag/prdf/common/framework/resolution/iipResolutionFactory.C b/src/usr/diag/prdf/common/framework/resolution/iipResolutionFactory.C index 3dd3a8541..b2a1109a3 100755 --- a/src/usr/diag/prdf/common/framework/resolution/iipResolutionFactory.C +++ b/src/usr/diag/prdf/common/framework/resolution/iipResolutionFactory.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1997,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. */ @@ -298,7 +300,7 @@ void ResolutionFactory::printStats() iv_analyzeConnected.printStats( ); PRDF_TRAC("pluginCallFW"); iv_pluginCallFW.printStats( ); - PRDF_TRAC("Threshhold"); + PRDF_TRAC("Threshold"); iv_thresholdSigFW.printStats( ); PRDF_TRAC("EregResolution"); iv_eregResolutionFW.printStats( ); diff --git a/src/usr/diag/prdf/common/framework/resolution/iipResolutionList.h b/src/usr/diag/prdf/common/framework/resolution/iipResolutionList.h index 245660514..bbda05739 100755 --- a/src/usr/diag/prdf/common/framework/resolution/iipResolutionList.h +++ b/src/usr/diag/prdf/common/framework/resolution/iipResolutionList.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 1996,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. */ @@ -103,7 +105,8 @@ public: // Parameters: Reference to the Step code data structure // Returns: return code // Requirements: None - // Promises: if rc = SUCCESS then data filled with apropriate service data + // Promises: if rc = SUCCESS then data filled with appropriate service + // data // Exceptions: None // Concurrency: synchronous // Notes: if rc != SUCCESS then state of service data is unpredictable diff --git a/src/usr/diag/prdf/common/framework/resolution/prdfAnalyzeConnected.H b/src/usr/diag/prdf/common/framework/resolution/prdfAnalyzeConnected.H index 4a4d6212c..38d0753d6 100755 --- a/src/usr/diag/prdf/common/framework/resolution/prdfAnalyzeConnected.H +++ b/src/usr/diag/prdf/common/framework/resolution/prdfAnalyzeConnected.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2005,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. */ @@ -51,7 +53,7 @@ struct STEP_CODE_DATA_STRUCT; @par This resolution calls out a connected chip, but waits until the time of the error to determine what's connected. This allows for runtime GARD, - dynamic failover and concurrent maintainance - without having to call + dynamic failover and concurrent maintenance - without having to call PRD to re-build itself. */ class AnalyzeConnected : public Resolution @@ -76,7 +78,7 @@ public: /** * @brief Determine chip object for current connected unit and call its * analyze func. - * @param[io] io_service_data Refernce to STEP_CODE_DATA_STRUCT + * @param[io] io_service_data References to STEP_CODE_DATA_STRUCT * @return SUCCESS | non-zero if chip not found. * @note if the call to getConnected yields NULL than the * altResolution is called. If the altResolution is NULL than the diff --git a/src/usr/diag/prdf/common/framework/resolution/prdfCalloutConnected.H b/src/usr/diag/prdf/common/framework/resolution/prdfCalloutConnected.H index 58eef3f3c..f306e04c0 100755 --- a/src/usr/diag/prdf/common/framework/resolution/prdfCalloutConnected.H +++ b/src/usr/diag/prdf/common/framework/resolution/prdfCalloutConnected.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. */ @@ -51,7 +53,7 @@ struct STEP_CODE_DATA_STRUCT; @par This resolution calls out a connected MRU, but waits until the time of the error to determine whats connected. This allows for runtime GARD, dynamic failover and concurrent - maintainance - without having to call PRD to re-build itself. + maintenance - without having to call PRD to re-build itself. @code CalloutConnected iv_callout(PROC, TYPE_MCS ....); // ...... diff --git a/src/usr/diag/prdf/common/framework/resolution/prdfErrorTypeResolution.H b/src/usr/diag/prdf/common/framework/resolution/prdfErrorTypeResolution.H index a3f75f872..ba1c83db7 100755 --- a/src/usr/diag/prdf/common/framework/resolution/prdfErrorTypeResolution.H +++ b/src/usr/diag/prdf/common/framework/resolution/prdfErrorTypeResolution.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. */ @@ -39,7 +41,7 @@ namespace PRDF /** @file ErrorTypeResolution.H - @brief Set the appropiate error type in the SDC and flag for + @brief Set the appropriate error type in the SDC and flag for Gard if necessary. */ class ErrorTypeResolution : public Resolution diff --git a/src/usr/diag/prdf/common/framework/resolution/prdfResetThresholdResolution.H b/src/usr/diag/prdf/common/framework/resolution/prdfResetThresholdResolution.H index 10fa0ad8e..3af6e7bae 100755 --- a/src/usr/diag/prdf/common/framework/resolution/prdfResetThresholdResolution.H +++ b/src/usr/diag/prdf/common/framework/resolution/prdfResetThresholdResolution.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2002,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. */ @@ -25,7 +27,7 @@ #define prdfResetThresholdResolution_H /** @file prdfResetThresholdResolution.H - @brief Resolution that counts occurrances up to a threshold, then reports and resets + @brief Resolution that counts occurrences up to a threshold, then reports and resets the count and starts counting again. */ diff --git a/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h b/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h index 673338dcd..4cbc27e76 100755 --- a/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h +++ b/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -596,7 +596,7 @@ public: /** Query for RepeatGard ErrorType <ul> - <br><b>Paramters </b> None. + <br><b>Parameters </b> None. <br><b>Returns: </b> GardAction::ErrorType <br><b>Requirements:</b> SetAttentionType() <br><b>Promises </b> ErrorType set by Gard or NoGard @@ -692,7 +692,7 @@ public: /** Get a PRD timer value based on the time of this error <ul> - <br><b>Paramter: </b> None + <br><b>Parameter: </b> None <br><b>Returns: </b> Timer <br><b>Requirments: </b> None. <br><b>Promises: </b> None. @@ -738,8 +738,8 @@ public: /** Flatten the service data collector <ul> - <br><b>Paramter: </b> i_buffer ptr to buffer - <br><b>Paramter: </b> io_size = buffer size + <br><b>Parameter: </b> i_buffer ptr to buffer + <br><b>Parameter: </b> io_size = buffer size <br><b>Returns: </b> [SUCCESS(0) | returncode]; io_size = # bytes written to buffer <br><b>Requirments: </b> None. <br><b>Promises: </b> None. @@ -753,7 +753,7 @@ public: uint32_t Flatten(uint8_t * i_buffer, uint32_t & io_size) const; ServiceDataCollector & operator=(const uint8_t * i_flatdata); - // ServiceDataCollector & operator=(const ServiceDataCollector &scd)-compiler default is sufficent + // ServiceDataCollector & operator=(const ServiceDataCollector &scd)-compiler default is sufficient #endif @@ -857,7 +857,7 @@ public: /** SetDump - Specifiy dump of a callout <ul> - <br><b>Paramter: </b> dumpRequestContent + <br><b>Parameter: </b> dumpRequestContent <br><b>Returns: </b> Nothing <br><b>Requirments: </b> None. <br><b>Promises: </b> IsDump() == true @@ -875,7 +875,7 @@ public: /** Has a Dump been requested <ul> - <br><b>Paramter: </b> None + <br><b>Parameter: </b> None <br><b>Returns: </b> [true | false] <br><b>Requirments: </b> None. <br><b>Promises: </b> None. @@ -887,7 +887,7 @@ public: /** Get the dump Id <ul> - <br><b>Paramter: </b> None + <br><b>Parameter: </b> None <br><b>Return: </b> dumpRequestType [DUMP_HARDWARE_ONLY | DUMP_HARDWARE_MAINSTORE | DUMP_NO_DUMP] <br><b>Return: </b> dumpRequestContent [DUMP_HW_ABBR | DUMP_SW_ABBR] <br><b>Return: </b> oDumpRequestChipId [Handle] diff --git a/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.C b/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.C index 7dbe59e53..4a3bab2f7 100755 --- a/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.C +++ b/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -811,7 +811,7 @@ getDimmPlugCardType() */ //############################################################################## -//## Maintance Command class wrapper +//## Maintenance Command class wrapper //############################################################################## mss_MaintCmdWrapper::mss_MaintCmdWrapper( mss_MaintCmd * i_maintCmd ) : diff --git a/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H b/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H index e5c7b9ebe..0df1c8f07 100755 --- a/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H +++ b/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -341,7 +341,7 @@ int32_t getMemBufRawCardType( TARGETING::TargetHandle_t i_mbaTarget, CEN_SYMBOL::WiringType & o_wiringType ); //############################################################################## -//## Maintance Command class wrapper +//## Maintenance Command class wrapper //############################################################################## /** diff --git a/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C b/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C index 1ca232b08..16da5b89a 100755 --- a/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C +++ b/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -25,7 +25,7 @@ /** * @file prdfTargetServices.C - * @brief PRD wrapper of targetting code + * @brief PRD wrapper of targeting code */ //------------------------------------------------------------------------------ diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H index 479f87daf..ba7eba740 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,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. */ @@ -45,7 +47,7 @@ namespace CalloutUtil /** * @brief In many cases, an internal logic error may occur in which 2nd level - * support and FSP code need to be called out. This function is intented + * support and FSP code need to be called out. This function is intended * to help eliminate the need to constantly repeat the list of callouts. * @param i_sc The step code data struct. */ diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C index 4eb7b6952..d305d1879 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -398,7 +398,7 @@ void CenDqBitmap::getCaptureData( CaptureData & o_cd ) const size_t sz_capData = sz_rank + sizeof(iv_data); - // Adjust the size for endianess. + // Adjust the size for endianness. const size_t sz_word = sizeof(CPU_WORD); sz_capData = ((sz_capData + sz_word-1) / sz_word) * sz_word; @@ -408,7 +408,7 @@ void CenDqBitmap::getCaptureData( CaptureData & o_cd ) const capData[0] = rank; memcpy( &capData[1], iv_data, sizeof(iv_data) ); - // Fix endianess issues with non PPC machines. + // Fix endianness issues with non PPC machines. for ( uint32_t i = 0; i < (sz_capData/sz_word); i++ ) ((CPU_WORD*)capData)[i] = htonl(((CPU_WORD*)capData)[i]); diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.C index 6dbbe0b86..ad6961e22 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2004,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -243,12 +245,12 @@ void captureDramRepairsData( TARGETING::TargetHandle_t i_mbaTrgt, dramStream << mbaData; #ifndef PPC - // Fix endianess issues with non PPC machines. - // This is a workaround. Though UtilMem takes care of endianess, + // Fix endianness issues with non PPC machines. + // This is a workaround. Though UtilMem takes care of endianness, // It seems with capture data its not working const size_t sz_word = sizeof(uint32_t); - // Allign data with 32 bit boundary + // Align data with 32 bit boundary for (uint32_t i = 0; i < ( dramStream.size()%sz_word ); i++) { uint8_t dummy = 0; @@ -306,7 +308,7 @@ void captureDramRepairsVpd( TargetHandle_t i_mbaTrgt, CaptureData & io_cd ) // Get the maximum capture data size. size_t sz_maxData = masterRanks.size() * (sz_rank + sz_entry); - // Adjust the size for endianess. + // Adjust the size for endianness. sz_maxData = ((sz_maxData + sz_word-1) / sz_word) * sz_word; // Initialize to 0. @@ -339,7 +341,7 @@ void captureDramRepairsVpd( TargetHandle_t i_mbaTrgt, CaptureData & io_cd ) if( 0 == idx ) break; // Nothing to capture - // Fix endianess issues with non PPC machines. + // Fix endianness issues with non PPC machines. size_t sz_capData = idx; sz_capData = ((sz_capData + sz_word-1) / sz_word) * sz_word; for ( uint32_t i = 0; i < (sz_capData/sz_word); i++ ) diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.H index 01bf5bd6b..de570d6a6 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2004,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -61,7 +63,7 @@ void addMemChipletFirRegs( ExtensibleChip * i_membChip, CaptureData & io_cd ); * have an SDC (i.e. Restore DRAM Repairs, IPL MNFG CE Isolation). * @note The data will be limited and include things like the DRAM Repairs data * but will not include stuff like the CE/UE tables, because that - * information is not relevant during its intented uses. + * information is not relevant during its intended uses. * @param i_mbaTrgt An MBA target * @param o_errl Error log. */ diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCeTable.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCeTable.C index 93df95117..f9e6e735e 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCeTable.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCeTable.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -194,7 +194,7 @@ void CenMbaCeTable::addCapData( CaptureData & io_cd ) { static const size_t sz_word = sizeof(CPU_WORD); - // Get the maximum capture data size and adjust the size for endianess. + // Get the maximum capture data size and adjust the size for endianness. static const size_t sz_maxData = ((MAX_SIZE+sz_word-1) / sz_word) * sz_word; // Initialize to 0. @@ -243,7 +243,7 @@ void CenMbaCeTable::addCapData( CaptureData & io_cd ) if ( 0 != sz_actData ) { - // Fix endianess issues with non PPC machines. + // Fix endianness issues with non PPC machines. sz_actData = ((sz_actData + sz_word-1) / sz_word) * sz_word; for ( uint32_t i = 0; i < (sz_actData/sz_word); i++ ) ((CPU_WORD*)data)[i] = htonl(((CPU_WORD*)data)[i]); diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaRceTable.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaRceTable.C index 6dd4a2494..a8342e07e 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaRceTable.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaRceTable.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -77,7 +77,7 @@ void CenMbaRceTable::addCapData( CaptureData & io_cd ) static const size_t sz_word = sizeof(CPU_WORD); static const size_t sz_entryCnt = sizeof( uint8_t ); // entry count - // Get the maximum capture data size and adjust the size for endianess. + // Get the maximum capture data size and adjust the size for endianness. const size_t sz_maxData = ((( iv_table.size() * ENTRY_SIZE + sz_entryCnt )+ sz_word-1) / sz_word) * sz_word; @@ -108,7 +108,7 @@ void CenMbaRceTable::addCapData( CaptureData & io_cd ) if ( 1 != sz_actData ) { data[0] = sz_actData / ENTRY_SIZE; - // Fix endianess issues with non PPC machines. + // Fix endianness issues with non PPC machines. sz_actData = ((sz_actData + sz_word-1) / sz_word) * sz_word; for ( uint32_t i = 0; i < (sz_actData/sz_word); i++ ) ((CPU_WORD*)data)[i] = htonl(((CPU_WORD*)data)[i]); diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.C index 3515e6634..58c6689d0 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -71,7 +73,7 @@ void CenMbaUeTable::addCapData( CaptureData & io_cd ) { static const size_t sz_word = sizeof(CPU_WORD); - // Get the maximum capture data size and adjust the size for endianess. + // Get the maximum capture data size and adjust the size for endianness. static const size_t sz_maxData = ((MAX_SIZE+sz_word-1) / sz_word) * sz_word; // Initialize to 0. @@ -109,7 +111,7 @@ void CenMbaUeTable::addCapData( CaptureData & io_cd ) if ( 0 != sz_actData ) { - // Fix endianess issues with non PPC machines. + // Fix endianness issues with non PPC machines. sz_actData = ((sz_actData + sz_word-1) / sz_word) * sz_word; for ( uint32_t i = 0; i < (sz_actData/sz_word); i++ ) ((CPU_WORD*)data)[i] = htonl(((CPU_WORD*)data)[i]); diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.H index f0b9dd006..5c7c913d7 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -71,7 +73,7 @@ class CenMbaUeTable * @note If an entry already exists, the entry's count is incremented and * moved to the end of the queue. * @param i_type See enum UE_TABLE::Type. - * @param i_addr The address in which the UE occured. + * @param i_addr The address in which the UE occurred. */ void addEntry( UE_TABLE::Type i_type, const CenAddr & i_addr ); @@ -87,7 +89,7 @@ class CenMbaUeTable struct UeTableData { UE_TABLE::Type type; ///< See enum UE_TABLE::Type - CenAddr addr; ///< The address in which the UE occured + CenAddr addr; ///< The address in which the UE occurred uint8_t count; ///< Number of times the entry is detected /** @brief Default constructor. */ @@ -96,7 +98,7 @@ class CenMbaUeTable /** * @brief Constructor from components. * @param i_type See enum UE_TABLE::Type. - * @param i_addr The address in which the UE occured. + * @param i_addr The address in which the UE occurred. */ UeTableData( UE_TABLE::Type i_type, const CenAddr & i_addr ) : type(i_type), addr(i_addr), count(1) diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMemUtils.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMemUtils.H index f286fcca4..b31d2035f 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMemUtils.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMemUtils.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -53,7 +53,7 @@ namespace MemUtils /** * @brief Lists all possible sizes for a DRAM. - * @note These values must match the defintion of MBAXCR[6:7]. They are + * @note These values must match the definition of MBAXCR[6:7]. They are * important for calculations. */ enum DramSize diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C index f656e35dc..4283a48ce 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -1280,7 +1280,7 @@ int32_t AnalyzeFetch##TYPE##MBA( ExtensibleChip * i_membChip, \ } \ PRDF_PLUGIN_DEFINE( Membuf, AnalyzeFetch##TYPE##MBA ); -// This is bit inefficient. 1st and 3rd arguement have 1 to 1 +// This is bit inefficient. 1st and 3rd argument have 1 to 1 // mapping. But to keep macro expansion simple, using extra argument. PLUGIN_FETCH_RCE_PREUE_ERROR( Rce, 0, true ) PLUGIN_FETCH_RCE_PREUE_ERROR( Rce, 1, true ) diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfLaneRepair.H b/src/usr/diag/prdf/common/plat/pegasus/prdfLaneRepair.H index ae6b0d903..8c04e6135 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfLaneRepair.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfLaneRepair.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -64,7 +66,7 @@ namespace LaneRepair * @param i_busPos Bus position * @note This will only clear FIR bits if spare deploy attention is present * on DMI bus. It does not check for spare deployed attention type - * Calling fucntion should make ensure that. + * Calling function should make ensure that. * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise. */ int32_t cleanupSecondaryFirBits( ExtensibleChip * i_chip, diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfMemoryMru.H b/src/usr/diag/prdf/common/plat/pegasus/prdfMemoryMru.H index 68d56ea53..2d3d26309 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfMemoryMru.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfMemoryMru.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2008,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -64,7 +66,7 @@ class MemoryMru /** * @brief Constructor for special callouts. - * @param i_mbaTarget The MBA in which error has occured + * @param i_mbaTarget The MBA in which error has occurred * @param i_rank The rank in which the error occurred. * @param i_specialCallout See enum MemoryMruData::Callout. */ diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfPegasusConfigurator.H b/src/usr/diag/prdf/common/plat/pegasus/prdfPegasusConfigurator.H index 3f8fbfd4c..17cf1ae6f 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfPegasusConfigurator.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfPegasusConfigurator.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -64,7 +64,7 @@ class PegasusConfigurator : public Configurator * @brief Create the PRD system object, all chip instances, and all domain * instances. * @return error log handle - * @note The caller of this function owns the responsiblity of deleting + * @note The caller of this function owns the responsibility of deleting * the system object created. */ virtual errlHndl_t build(); diff --git a/src/usr/diag/prdf/common/plat/prdfLineDelete.H b/src/usr/diag/prdf/common/plat/prdfLineDelete.H index ba3b4703f..6a0e89be7 100755 --- a/src/usr/diag/prdf/common/plat/prdfLineDelete.H +++ b/src/usr/diag/prdf/common/plat/prdfLineDelete.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -46,7 +46,7 @@ namespace LineDelete { /** @enum CacheType - * Used to express where a cache error occured. + * Used to express where a cache error occurred. */ enum CacheType { @@ -83,7 +83,7 @@ namespace LineDelete * Used to store and threshold cache CE errors. * * Takes a threshold policy (such as "2 per day") and allows that many hits - * per address before signalling "at threshold". (the 2nd occurance would + * per address before signalling "at threshold". (the 2nd occurrence would * be the at threshold). * * @note This is now being used for eRepair as well as cache CEs. diff --git a/src/usr/diag/prdf/common/plugins/prdfDramRepairUsrData.H b/src/usr/diag/prdf/common/plugins/prdfDramRepairUsrData.H index a86fdbd1c..6158f2e68 100755 --- a/src/usr/diag/prdf/common/plugins/prdfDramRepairUsrData.H +++ b/src/usr/diag/prdf/common/plugins/prdfDramRepairUsrData.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -109,7 +111,7 @@ struct DramRepairRankData /** * @brief Check if object has some valid symbols - * Underlying HWP return 0xff if it cant find any DRAM symbol. + * Underlying HWP return 0xff if it can't find any DRAM symbol. */ bool valid() { diff --git a/src/usr/diag/prdf/common/plugins/prdfGardType.H b/src/usr/diag/prdf/common/plugins/prdfGardType.H index 15bf7fc8f..a3e4b8e25 100644 --- a/src/usr/diag/prdf/common/plugins/prdfGardType.H +++ b/src/usr/diag/prdf/common/plugins/prdfGardType.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -46,7 +46,7 @@ namespace GardAction NoGard = 0, // Recovered error at threshold Predictive = 1, - // Checkstop, failing resources can be removed to prevent future occurances + // Checkstop, failing resources can be removed to prevent future occurrences Fatal = 2, }; diff --git a/src/usr/diag/prdf/common/plugins/prdfMemoryMruData.H b/src/usr/diag/prdf/common/plugins/prdfMemoryMruData.H index 7a0dc9878..de64b0ff0 100644 --- a/src/usr/diag/prdf/common/plugins/prdfMemoryMruData.H +++ b/src/usr/diag/prdf/common/plugins/prdfMemoryMruData.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -51,7 +51,7 @@ namespace MemoryMruData /** Typically a MemoryMru callout is associated with a symbol (single DIMM * callout), however, there are times were we cannot isolate down that far and - * instead need to callout a rank (pair of DIMMs) and the assoicated MBA. + * instead need to callout a rank (pair of DIMMs) and the associated MBA. * This enums will be used to indicate if any special callouts are needed. */ enum Callout diff --git a/src/usr/diag/prdf/common/plugins/prdfPfa5Data.h b/src/usr/diag/prdf/common/plugins/prdfPfa5Data.h index b5bf9ec86..b5dd8d34b 100644 --- a/src/usr/diag/prdf/common/plugins/prdfPfa5Data.h +++ b/src/usr/diag/prdf/common/plugins/prdfPfa5Data.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -167,7 +167,7 @@ struct PfaData // Thresholding uint32_t errorCount :16, // Number of occurrences of this attention - threshold :16; // Theshold for this attention + threshold :16; // Threshold for this attention // Attention types and GARD state. uint32_t priAttnType : 8, // primary attention type diff --git a/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.C b/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.C index b6b59753b..fbaa4c51e 100755 --- a/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.C +++ b/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -3194,7 +3194,7 @@ void CenMbaTdCtlr::collectStateCaptureData( STEP_CODE_DATA_STRUCT & io_sc, static const size_t sz_word = sizeof(CPU_WORD); sz_actData = ((sz_actData+sz_word-1) / sz_word) * sz_word; - // Fix endianess issues with non PPC machines. + // Fix endianness issues with non PPC machines. for ( uint32_t i = 0; i < (sz_actData/sz_word); i++ ) ((CPU_WORD*)data)[i] = htonl(((CPU_WORD*)data)[i]); diff --git a/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.H b/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.H index 76a977232..29394923f 100755 --- a/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.H +++ b/src/usr/diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -449,7 +449,7 @@ class CenMbaTdCtlr : public CenMbaTdCtlrCommon * @param i_descTag Description tag for the capture data. Used to * distinguish between data captured at the beginning or end or * analysis. - * @note Only intented to be called by collectStateCaptureDataStart() or + * @note Only intended to be called by collectStateCaptureDataStart() or * collectStateCaptureDataEnd(). */ void collectStateCaptureData( STEP_CODE_DATA_STRUCT & io_sc, 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. diff --git a/src/usr/diag/prdf/plat/pegasus/prdfCenMbaIplCeStats.C b/src/usr/diag/prdf/plat/pegasus/prdfCenMbaIplCeStats.C index d69f1c38f..7792e3178 100755 --- a/src/usr/diag/prdf/plat/pegasus/prdfCenMbaIplCeStats.C +++ b/src/usr/diag/prdf/plat/pegasus/prdfCenMbaIplCeStats.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -325,7 +327,7 @@ int32_t CenMbaIplCeStats::calloutCePerDram( bool & o_callOutsMade ) o_callOutsMade = true; // Only one symbol needs to be called out, so exit on first - // occurance. + // occurrence. break; } } @@ -403,7 +405,7 @@ int32_t CenMbaIplCeStats::calloutCePerRank( bool & o_callOutsMade ) o_callOutsMade = true; // Only one symbol needs to be called out, so exit on first - // occurance. + // occurrence. break; } } @@ -481,7 +483,7 @@ int32_t CenMbaIplCeStats::calloutCePerDs( bool & o_callOutsMade ) o_callOutsMade = true; // Only one symbol needs to be called out, so exit on first - // occurance. + // occurrence. break; } } diff --git a/src/usr/diag/prdf/test/prdfsimScrDB.C b/src/usr/diag/prdf/test/prdfsimScrDB.C index a1f7b4664..b35835e3c 100755 --- a/src/usr/diag/prdf/test/prdfsimScrDB.C +++ b/src/usr/diag/prdf/test/prdfsimScrDB.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,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. */ @@ -114,7 +116,7 @@ namespace PRDF { while(data.size() < dataWordSize) data.push_back(0); // zero fill scrMap[registerId] = data; - chipset[i_ptargetHandle] = scrMap; // update the persistant copy of the scrMap + chipset[i_ptargetHandle] = scrMap; // update the persistent copy of the scrMap } } |