summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/common/plat')
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H6
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCenDqBitmap.C6
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.C14
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCaptureData.H6
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaCeTable.C6
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaRceTable.C6
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.C8
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/prdfCenMbaUeTable.H10
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/prdfCenMemUtils.H4
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C4
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfLaneRepair.H6
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/prdfMemoryMru.H6
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfPegasusConfigurator.H4
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/prdfLineDelete.H6
14 files changed, 53 insertions, 39 deletions
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.
OpenPOWER on IntegriCloud