From 60e36d9749821dc522e1cfd0e164ffd4459a2895 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 6 Jan 2015 15:13:56 -0600 Subject: Fix spelling mistakes using codespell. - See https://github.com/lucasdemarchi/codespell Change-Id: I03e102d1ebb9473b6226fa9b6edb684fa0218a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15031 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK Reviewed-by: Zane Shelley Reviewed-by: Brian Silver Reviewed-by: A. Patrick Williams III --- src/build/linker/linker.C | 6 ++-- src/include/kernel/basesegment.H | 8 +++-- src/include/kernel/deferred.H | 4 +-- src/include/kernel/heapmgr.H | 6 ++-- src/include/kernel/ipc.H | 8 +++-- src/include/kernel/vmmmgr.H | 6 ++-- src/include/sys/task.h | 6 ++-- src/include/sys/vfs.h | 6 ++-- src/include/usr/devicefw/userif.H | 8 ++--- .../usr/ecmddatabuffer/ecmdDataBufferBase.H | 22 ++++++------- .../usr/ecmddatabuffer/prdfCompressBuffer.H | 8 +++-- src/include/usr/errl/errlentry.H | 10 +++--- src/include/usr/errl/errlmanager.H | 4 +-- src/include/usr/errl/errludcallout.H | 8 ++--- src/include/usr/errl/hberrltypes.H | 6 ++-- src/include/usr/errldisplay/errldisplay.H | 4 +-- src/include/usr/hbotcompid.H | 4 +-- src/include/usr/hwas/common/hwasCommon.H | 10 ++++-- src/include/usr/hwpf/hwp/hwpisteperror.H | 14 ++++---- src/include/usr/hwpf/plat/fapiPlatUtil.H | 4 +-- src/include/usr/initservice/istepdispatcherif.H | 6 ++-- src/include/usr/intr/interrupt.H | 6 ++-- src/include/usr/targeting/attrsync.H | 12 ++++--- .../common/predicates/predicateattrtanktargetpos.H | 4 +-- src/include/usr/targeting/common/targetservice.H | 12 ++++--- src/include/usr/trace/interface.H | 4 +-- src/include/usr/util/threadpool.H | 6 ++-- src/include/usr/util/utilfile.H | 8 +++-- src/include/usr/util/utillidmgr.H | 4 +-- src/include/usr/util/utilmem.H | 8 +++-- src/include/usr/util/utilstream.H | 8 +++-- src/include/usr/vfs/vfs.H | 6 ++-- src/include/util/impl/iterator.h | 8 +++-- src/include/util/impl/splaytree.H | 6 ++-- src/kernel/blockmsghdlr.C | 6 ++-- src/kernel/exception.C | 8 +++-- src/kernel/heapmgr.C | 8 +++-- src/kernel/pagemgr.C | 6 ++-- src/kernel/ptmgr.C | 6 ++-- src/kernel/syscall.C | 8 +++-- src/lib/syscall_mm.C | 6 ++-- src/libc++/builtins.C | 6 ++-- src/sys/vfs/vfs_main.C | 4 +-- src/usr/devtree/bld_devtree.C | 4 +-- src/usr/devtree/devtree.H | 4 +-- src/usr/diag/attn/ipl/test/attnfakepresenter.H | 8 ++--- src/usr/diag/attn/ipl/test/attnrandsource.H | 10 +++--- src/usr/diag/mdia/mdiasm.C | 8 ++--- .../diag/prdf/common/framework/config/iipSystem.C | 4 +-- .../diag/prdf/common/framework/config/iipchip.h | 8 +++-- .../common/framework/register/iipCaptureData.h | 38 ++++++++++++---------- .../framework/register/iipErrorRegisterMask.h | 6 ++-- .../framework/register/iipResetErrorRegister.h | 6 ++-- .../framework/register/iipXorResetErrorRegister.h | 6 ++-- .../diag/prdf/common/framework/register/iipscr.h | 15 +++++---- .../framework/register/prdfHomRegisterAccess.C | 4 +-- .../common/framework/register/prdfScanFacility.H | 13 +++++--- .../register/xspprdAndResetErrorRegister.h | 6 ++-- .../framework/resolution/iipCallAttnResolution.h | 6 ++-- .../resolution/iipCallResolutionTemplate.h | 6 ++-- .../prdf/common/framework/resolution/iipCallout.h | 6 ++-- .../common/framework/resolution/iipResolution.h | 7 ++-- .../framework/resolution/iipResolutionFactory.C | 6 ++-- .../framework/resolution/iipResolutionList.h | 7 ++-- .../framework/resolution/prdfAnalyzeConnected.H | 8 +++-- .../framework/resolution/prdfCalloutConnected.H | 6 ++-- .../framework/resolution/prdfErrorTypeResolution.H | 6 ++-- .../resolution/prdfResetThresholdResolution.H | 6 ++-- .../framework/service/iipServiceDataCollector.h | 18 +++++----- .../framework/service/prdfPlatServices_common.C | 4 +-- .../framework/service/prdfPlatServices_common.H | 4 +-- .../common/framework/service/prdfTargetServices.C | 4 +-- .../prdf/common/plat/pegasus/prdfCalloutUtil.H | 6 ++-- .../prdf/common/plat/pegasus/prdfCenDqBitmap.C | 6 ++-- .../common/plat/pegasus/prdfCenMbaCaptureData.C | 14 ++++---- .../common/plat/pegasus/prdfCenMbaCaptureData.H | 6 ++-- .../prdf/common/plat/pegasus/prdfCenMbaCeTable.C | 6 ++-- .../prdf/common/plat/pegasus/prdfCenMbaRceTable.C | 6 ++-- .../prdf/common/plat/pegasus/prdfCenMbaUeTable.C | 8 +++-- .../prdf/common/plat/pegasus/prdfCenMbaUeTable.H | 10 +++--- .../prdf/common/plat/pegasus/prdfCenMemUtils.H | 4 +-- .../diag/prdf/common/plat/pegasus/prdfCenMembuf.C | 4 +-- .../diag/prdf/common/plat/pegasus/prdfLaneRepair.H | 6 ++-- .../diag/prdf/common/plat/pegasus/prdfMemoryMru.H | 6 ++-- .../common/plat/pegasus/prdfPegasusConfigurator.H | 4 +-- src/usr/diag/prdf/common/plat/prdfLineDelete.H | 6 ++-- .../prdf/common/plugins/prdfDramRepairUsrData.H | 6 ++-- src/usr/diag/prdf/common/plugins/prdfGardType.H | 4 +-- .../diag/prdf/common/plugins/prdfMemoryMruData.H | 4 +-- src/usr/diag/prdf/common/plugins/prdfPfa5Data.h | 4 +-- .../diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.C | 4 +-- .../diag/prdf/common/runtime/prdfCenMbaTdCtlr_rt.H | 4 +-- src/usr/diag/prdf/common/util/iipdgtb.C | 6 ++-- src/usr/diag/prdf/common/util/iipdgtb.h | 6 ++-- src/usr/diag/prdf/common/util/iipdigit.h | 14 ++++---- src/usr/diag/prdf/common/util/prdfBitKey.H | 4 +-- src/usr/diag/prdf/common/util/prdfBitString.C | 12 ++++--- src/usr/diag/prdf/common/util/prdfBitString.H | 34 ++++++++++--------- src/usr/diag/prdf/common/util/prdfErrlSmartPtr.C | 6 ++-- src/usr/diag/prdf/common/util/prdfErrlSmartPtr.H | 8 +++-- src/usr/diag/prdf/common/util/prdfFlyWeightS.C | 8 +++-- .../diag/prdf/plat/pegasus/prdfCenMbaIplCeStats.C | 10 +++--- src/usr/diag/prdf/test/prdfsimScrDB.C | 6 ++-- src/usr/dump/test/dumptest.H | 6 ++-- src/usr/errl/errlmanager.C | 6 ++-- src/usr/errl/parser/errlparser.C | 6 ++-- src/usr/errl/test/errluserdetailtest.H | 4 +-- src/usr/gpio/gpiodd.H | 6 ++-- src/usr/hwpf/plat/fapiPlatAttributeService.C | 6 ++-- src/usr/i2c/i2c.C | 4 +-- src/usr/i2c/i2c.H | 4 +-- src/usr/ibscom/ibscom.C | 6 ++-- src/usr/initservice/baseinitsvc/initservice.H | 6 ++-- .../initservice/istepdispatcher/istepdispatcher.H | 6 ++-- src/usr/intr/intrrp.C | 4 +-- src/usr/intr/intrrp.H | 12 +++---- src/usr/ipmi/ipmibt.C | 4 +-- src/usr/ipmi/ipmidd.C | 4 +-- src/usr/ipmi/ipmifruinv.C | 6 ++-- src/usr/ipmi/ipmirp.H | 6 ++-- src/usr/mbox/mailboxsp.C | 4 +-- src/usr/mbox/mbox_dma_buffer.H | 8 +++-- src/usr/mbox/mboxdd.C | 10 +++--- src/usr/pnor/pnordd.C | 4 +-- src/usr/pnor/sfc_ibm.H | 4 +-- src/usr/pnor/test/sfc_ibmtest.H | 6 ++-- src/usr/runtime/populate_attributes.C | 4 +-- src/usr/sbe/sbe_update.C | 4 +-- src/usr/sbe/test/sbeupdatetest.H | 4 +-- src/usr/secureboot/base/securerom.C | 6 ++-- src/usr/targeting/attrPlatOverride.C | 4 +-- src/usr/targeting/attrrp.C | 4 +-- src/usr/targeting/common/target.C | 4 +-- .../targeting/common/test/testcommontargeting.H | 4 +-- src/usr/targeting/common/util.C | 6 ++-- src/usr/trace/buffer.C | 12 ++++--- src/usr/trace/buffer.H | 22 +++++++------ src/usr/trace/daemon/daemon.C | 14 ++++---- src/usr/trace/daemon/daemon.H | 8 +++-- src/usr/vfs/vfsrp.C | 6 ++-- src/usr/vfs/vfsrp.H | 6 ++-- src/usr/vpd/ipvpd.C | 6 ++-- src/usr/vpd/ipvpd.H | 4 +-- src/usr/vpd/spd.H | 6 ++-- src/usr/xscom/xscom.C | 4 +-- 145 files changed, 593 insertions(+), 441 deletions(-) diff --git a/src/build/linker/linker.C b/src/build/linker/linker.C index f79071fe2..f7f91d03c 100644 --- a/src/build/linker/linker.C +++ b/src/build/linker/linker.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -26,8 +26,8 @@ * @file linker.C Linker to generate the host boot binary images */ // This code has been extended to create the host boot extended binary image. -// Most of this code was already in existance and no attempt has been made to make it -// completely conformant to PFD coding guidelines. +// Most of this code was already in existence and no attempt has been made to +// make it completely conformant to PFD coding guidelines. // #include #include diff --git a/src/include/kernel/basesegment.H b/src/include/kernel/basesegment.H index bb7546401..7d5e5450a 100644 --- a/src/include/kernel/basesegment.H +++ b/src/include/kernel/basesegment.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -134,7 +136,7 @@ class BaseSegment : public Segment /** * @brief Allocates a block of virtual memory that extends the VMM - * space upto 32MEG of Mainstore. + * space up to 32MEG of Mainstore. */ static int mmExtend(void); @@ -204,7 +206,7 @@ class BaseSegment : public Segment /** * @brief Allocates a block of virtual memory that extends the VMM - * space upto 32MEG of Mainstore. + * space up to 32MEG of Mainstore. */ int _mmExtend(void); diff --git a/src/include/kernel/deferred.H b/src/include/kernel/deferred.H index 5d22557c3..9e9c011a1 100644 --- a/src/include/kernel/deferred.H +++ b/src/include/kernel/deferred.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -154,7 +154,7 @@ class DeferredQueue * @param i_onlyIfEmpty - Only insert the object if the queue is * already empty, otherwise delete. * - * Ownership of the work item is transfered to the queue, which is + * Ownership of the work item is transferred to the queue, which is * responsible for delete once the work is complete. */ static void insert(DeferredWork* i_work, bool i_onlyIfEmpty = false); diff --git a/src/include/kernel/heapmgr.H b/src/include/kernel/heapmgr.H index e535a572e..6db70569b 100644 --- a/src/include/kernel/heapmgr.H +++ b/src/include/kernel/heapmgr.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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. */ @@ -79,7 +81,7 @@ class HeapManager static void init(); /** - * Reqest an allocation of heap memory + * Request an allocation of heap memory * @param[in] i_sz requested memory size in bytes * @return a pointer to allocated memory */ diff --git a/src/include/kernel/ipc.H b/src/include/kernel/ipc.H index aeb70b337..eeeea2d4b 100644 --- a/src/include/kernel/ipc.H +++ b/src/include/kernel/ipc.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. */ @@ -40,9 +42,9 @@ struct ipc_data_area_t }; /** - * This stucture maps an IPC data area needed by start_payload that is common + * This structure maps an IPC data area needed by start_payload that is common * to all HB instances. - * @note Don't change the order or size of this stucture + * @note Don't change the order or size of this structure * w/o also changing src/kernel/shutdown.S */ struct start_payload_data_area_t diff --git a/src/include/kernel/vmmmgr.H b/src/include/kernel/vmmmgr.H index d3ef52c87..d7b359d32 100644 --- a/src/include/kernel/vmmmgr.H +++ b/src/include/kernel/vmmmgr.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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. */ @@ -195,7 +197,7 @@ class VmmManager /** * @brief Allocates a block of virtual memory that extends the VMM - * space upto 32MEG of Mainstore. + * space up to 32MEG of Mainstore. */ static int mmExtend( void); diff --git a/src/include/sys/task.h b/src/include/sys/task.h index 9b19a3b4e..f3780b354 100644 --- a/src/include/sys/task.h +++ b/src/include/sys/task.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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. */ @@ -100,7 +102,7 @@ tid_t task_gettid(); * This function is simply for debug / tracing purposes. At the time this * function call returns, or any time afterwards, a pre-emptive context * switch could occur and the task could be migrated to another CPU when - * execution resumes. Therefore there is no guarentee that the return + * execution resumes. Therefore there is no guarantee that the return * value is valid at anytime after this function returns. */ cpuid_t task_getcpuid(); diff --git a/src/include/sys/vfs.h b/src/include/sys/vfs.h index 36091804f..20ed3c4d6 100644 --- a/src/include/sys/vfs.h +++ b/src/include/sys/vfs.h @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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 @@ #include // NOTE!. This file is included by linker.C and can't include non standard header files #ifndef LINKER_C -// other includes not visable to the linker +// other includes not visible to the linker #include #endif diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index 05c7cb214..6d041f2ee 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -202,7 +202,7 @@ namespace DeviceFW static_cast(( i_offset )) /** - * Construct the device addressing paramters for the GPIO port extender ops + * Construct the device addressing parameters for the GPIO port extender ops * @param[in] i_gpio_num - The port extender device type. * @param[in] i_gpio_pin = The GPIO port address */ @@ -221,7 +221,7 @@ namespace DeviceFW * @param[in] ... Operation specific addressing parameters. * * @return NULL - No error. - * @return Non-NULL - An error handle when error has occured, typically + * @return Non-NULL - An error handle when error has occurred, typically * passed directly from device driver but potentially * created by the device framework as in the case of * not finding an installed driver for the desired @@ -251,7 +251,7 @@ namespace DeviceFW * @param[in] ... Operation specific addressing parameters. * * @return NULL - No error. - * @return Non-NULL - An error handle when error has occured, typically + * @return Non-NULL - An error handle when error has occurred, typically * passed directly from device driver but potentially * created by the device framework as in the case of * not finding an installed driver for the desired diff --git a/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H b/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H index 6f06b21f8..76ff0ef81 100644 --- a/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H +++ b/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -86,7 +86,7 @@ extern tracDesc_t g_etrc; /** Trace Descriptor **/ #define ECMD_DBUF_SUCCESS 0x0 ///< DataBuffer returned successfully #define ECMD_DBUF_INIT_FAIL (ECMD_ERR_ECMD | 0x2001) ///< Initialization of the DataBuffer failed #define ECMD_DBUF_BUFFER_OVERFLOW (ECMD_ERR_ECMD | 0x2011) ///< Attempt to read/write data beyond the length of the DataBuffer - #define ECMD_DBUF_XSTATE_ERROR (ECMD_ERR_ECMD | 0x2021) ///< An 'X' character occured where it was not expected + #define ECMD_DBUF_XSTATE_ERROR (ECMD_ERR_ECMD | 0x2021) ///< An 'X' character occurred where it was not expected #define ECMD_DBUF_UNDEFINED_FUNCTION (ECMD_ERR_ECMD | 0x2031) ///< Function not included in this version of DataBuffer #define ECMD_DBUF_INVALID_ARGS (ECMD_ERR_ECMD | 0x2041) ///< Args provided to dataBuffer were invalid #define ECMD_DBUF_INVALID_DATA_FORMAT (ECMD_ERR_ECMD | 0x2043) ///< String data didn't match expected input format @@ -96,7 +96,7 @@ extern tracDesc_t g_etrc; /** Trace Descriptor **/ #define ECMD_DBUF_FILE_OPERATION_FAIL (ECMD_ERR_ECMD | 0x2057) ///< File operation failed #define ECMD_DBUF_NOT_OWNER (ECMD_ERR_ECMD | 0x2061) ///< Don't own this buffer so can't do this operation #define ECMD_DBUF_XSTATE_NOT_ENABLED (ECMD_ERR_ECMD | 0x2063) ///< Xstate function called on a buffer that doesn't have xstates enabled - #define ECMD_DBUF_MISMATCH (ECMD_ERR_ECMD | 0x2065) ///< There was a mismatch between a comparision operation in the buffer + #define ECMD_DBUF_MISMATCH (ECMD_ERR_ECMD | 0x2065) ///< There was a mismatch between a comparison operation in the buffer #define ECMD_DBUF_NULL_POINTER (ECMD_ERR_ECMD | 0x2067) ///< Null pointer passed #endif @@ -316,7 +316,7 @@ public: * @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned * - * NOTE : Capacity will be adjusted to fit new size if neccesary + * NOTE : Capacity will be adjusted to fit new size if necessary * CAUTION : All data stored in buffer will be lost */ uint32_t setDoubleWordLength(uint32_t i_newNumDoubleWords); @@ -329,7 +329,7 @@ public: * @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned * - * NOTE : Capacity will be adjusted to fit new size if neccesary + * NOTE : Capacity will be adjusted to fit new size if necessary * CAUTION : All data stored in buffer will be lost */ uint32_t setWordLength(uint32_t i_newNumWords); @@ -342,7 +342,7 @@ public: * @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned * - * NOTE : Capacity will be adjusted to fit new size if neccesary + * NOTE : Capacity will be adjusted to fit new size if necessary * CAUTION : All data stored in buffer will be lost */ uint32_t setHalfWordLength(uint32_t i_newNumHalfWords); @@ -355,7 +355,7 @@ public: * @retval ECMD_DBUF_INIT_FAIL failure occurred setting new length * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned * - * NOTE : Capacity will be adjusted to fit new size if neccesary + * NOTE : Capacity will be adjusted to fit new size if necessary * CAUTION : All data stored in buffer will be lost */ uint32_t setByteLength(uint32_t i_newNumBytes); @@ -368,7 +368,7 @@ public: * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned * @post Buffer is reinitialized and zero'd out * - * NOTE : Capacity will be adjusted to fit new size if neccesary + * NOTE : Capacity will be adjusted to fit new size if necessary * CAUTION : All data stored in buffer will be lost */ uint32_t setBitLength(uint32_t i_newNumBits); @@ -399,7 +399,7 @@ public: * @retval ECMD_DBUF_SUCCESS on success * @post Internal buffer size is reset but data inside is not lost * - * NOTE : Capacity will be adjusted to fit new size if neccesary + * NOTE : Capacity will be adjusted to fit new size if necessary */ uint32_t growBitLength(uint32_t i_newNumBits); @@ -616,7 +616,7 @@ public: * @param i_shiftnum Number of bits to shift * @param i_offset Offset into the buffer to start the shift from. Default is bit 0. * @post Bits in buffer are shifted to right by specified number of bits - * @post Buffer size is resized to accomodate shift + * @post Buffer size is resized to accommodate shift * @retval ECMD_DBUF_SUCCESS on success * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned */ @@ -626,7 +626,7 @@ public: * @brief Shift data to left - resizing buffer * @param i_shiftnum Number of bits to shift * @post Bits in buffer are shifted to left by specified number of bits - data is shifted off the beginning - * @post Buffer size is resized to accomodate shift + * @post Buffer size is resized to accommodate shift * @retval ECMD_DBUF_SUCCESS on success * @retval ECMD_DBUF_NOT_OWNER when called on buffer not owned */ diff --git a/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H b/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H index 9cf927f84..0e370d64e 100644 --- a/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H +++ b/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -183,7 +185,7 @@ namespace PrdfCompressBuffer * compressed buffer. * * NOTE: The size of the output buffer should be 1 + ((i_size * 9) / 8) - * to guarentee no data is lost (worst case for compression). + * to guarantee no data is lost (worst case for compression). */ void compressBuffer(uint8_t * i_buf, size_t i_size, uint8_t * o_buf, size_t &o_size) @@ -327,7 +329,7 @@ namespace PrdfCompressBuffer return; } - // Initilize output buffer with 0 + // Initialize output buffer with 0 memset( o_buf, 0, o_size); uint8_t * l_lookahead = o_buf; // Look-behind buffer. diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 4f164d523..ea5fdf660 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -495,7 +495,7 @@ public: * @param[in] i_priority Priority of the callout * @param[in] i_deconfigState Enum indicating whether the failing part * should be deconfigured. - * @param[in] i_gardErrorType To indicate what type of failure occured + * @param[in] i_gardErrorType To indicate what type of failure occurred * * @return void */ @@ -516,7 +516,7 @@ public: * @param[in] i_priority Priority of the callout * @param[in] i_deconfigState Enum indicating whether the failing part * should be deconfigured. - * @param[in] i_gardErrorType To indicate what type of failure occured + * @param[in] i_gardErrorType To indicate what type of failure occurred * * @return void */ @@ -551,7 +551,7 @@ public: * @param[in] i_priority Priority of the callout * @param [in] i_deconfigState Enum indicating whether the failing part * should be deconfigured. - * @param [in] i_gardErrorType to indicate what type of failure occured + * @param [in] i_gardErrorType to indicate what type of failure occurred * * @return void */ @@ -705,7 +705,7 @@ private: const bool i_truncate = false); /** - * @brief Called by commit(), this fucntion creates a + * @brief Called by commit(), this function creates a * user details section which contains the Hostboot * build ID and adds this to the current error log being * processed. diff --git a/src/include/usr/errl/errlmanager.H b/src/include/usr/errl/errlmanager.H index 02c47a8d2..38291e546 100644 --- a/src/include/usr/errl/errlmanager.H +++ b/src/include/usr/errl/errlmanager.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -337,7 +337,7 @@ private: /** * @brief - * Pointer to the header that preceeds the error log storage buffer + * Pointer to the header that precedes the error log storage buffer * in L3 RAM. This may go away when we adopt PNOR, or else become * instance variables instead of a pointer pointing within the * storage buffer. diff --git a/src/include/usr/errl/errludcallout.H b/src/include/usr/errl/errludcallout.H index 597a23088..d6f2423bd 100644 --- a/src/include/usr/errl/errludcallout.H +++ b/src/include/usr/errl/errludcallout.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -73,7 +73,7 @@ private: * @param[in] i_priority Priority of the callout * @param[in] i_deconfigState Enum indicating whether the failing part * should be deconfigured. - * @param[in] i_gardErrorType To indicate what type of failure occured + * @param[in] i_gardErrorType To indicate what type of failure occurred * * @return void */ @@ -93,7 +93,7 @@ private: * @param[in] i_priority Priority of the callout * @param[in] i_deconfigState Enum indicating whether the failing part * should be deconfigured. - * @param[in] i_gardErrorType To indicate what type of failure occured + * @param[in] i_gardErrorType To indicate what type of failure occurred * * @return void */ @@ -134,7 +134,7 @@ private: * @param[in] i_priority Priority of the callout * @param [in] i_deconfigState Enum indicating whether the failing part * should be deconfigured. - * @param [in] i_gardErrorType to indicate what type of failure occured + * @param [in] i_gardErrorType to indicate what type of failure occurred * * @return void */ diff --git a/src/include/usr/errl/hberrltypes.H b/src/include/usr/errl/hberrltypes.H index e948e4df0..5aff48375 100644 --- a/src/include/usr/errl/hberrltypes.H +++ b/src/include/usr/errl/hberrltypes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -331,7 +331,7 @@ enum errlUserDataType_t /** @enum errlUserDataVersion * * Identifier for the version of user data in an error log. - * This value is used in conjuction with the type field to format + * This value is used in conjunction with the type field to format * of the additional data in an error log. Versions and type should * be unique across subcomponents of the errl component. */ @@ -374,7 +374,7 @@ typedef uint8_t errlsubsec_t; typedef struct storage_header { uint32_t cbStorage; // count of bytes in buffer - uint32_t cInserted; // count of logs ever commited + uint32_t cInserted; // count of logs ever committed uint32_t offsetStart; // start-of-list marker uint32_t offsetMarker; // next-insertion marker } __attribute__((packed)) storage_header_t; diff --git a/src/include/usr/errldisplay/errldisplay.H b/src/include/usr/errldisplay/errldisplay.H index f21a5353c..9c41af56c 100644 --- a/src/include/usr/errldisplay/errldisplay.H +++ b/src/include/usr/errldisplay/errldisplay.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -139,7 +139,7 @@ private: * @param[in] moduleId The id of the module which errored. * @param[in] reasonCode The reason of the error. * - * @return the error log info stucture that matches the module/reason code. + * @return the error log info structure that matches the module/reason code. * or NULL, if there is no structure found. */ static const errLogInfo* findErrLogInfo (uint8_t i_moduleId, diff --git a/src/include/usr/hbotcompid.H b/src/include/usr/hbotcompid.H index 7810676cf..231df76cf 100644 --- a/src/include/usr/hbotcompid.H +++ b/src/include/usr/hbotcompid.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -358,7 +358,7 @@ const char HTMGT_COMP_NAME[] = "htmgt"; // OCCC id 2A00 matches OCCC id on FSP /** @name OCCC - * OCC Thermal Managment Device + * OCC Thermal Management Device */ const compId_t OCCC_COMP_ID = 0x2A00; const char OCCC_COMP_NAME[] = "occc"; diff --git a/src/include/usr/hwas/common/hwasCommon.H b/src/include/usr/hwas/common/hwasCommon.H index 592f6ec12..5a3522bf9 100644 --- a/src/include/usr/hwas/common/hwasCommon.H +++ b/src/include/usr/hwas/common/hwasCommon.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. */ @@ -99,7 +101,8 @@ errlHndl_t platReadIDEC(const TARGETING::TargetHandle_t &i_target); /** * @brief platform specific code to determine the PG vector of the input * target. The platform specific code is responsible for returning the - * vector. The caller is reponsible for allocating and de-allocating the space. + * vector. The caller is responsible for allocating and de-allocating the + * space. * * @param[in] i_target target to read the Partial Good keyword from * @param[out] o_pgData pointer to area that will hold the partialGood vector @@ -152,7 +155,8 @@ const uint32_t VPD_CP00_PG_EX0_GOOD = 0xF300; /** * @brief platform specific code to determine the PR vector of the input * target. The platform specific code is responsible for returning the - * vector. The caller is reponsible for allocating and de-allocating the space. + * vector. The caller is responsible for allocating and de-allocating the + * space. * * @param[in] i_target target to read the PR keyword from * @param[out] o_prData pointer to area that will hold the PR keyword diff --git a/src/include/usr/hwpf/hwp/hwpisteperror.H b/src/include/usr/hwpf/hwp/hwpisteperror.H index a01e0de84..cb06fe878 100644 --- a/src/include/usr/hwpf/hwp/hwpisteperror.H +++ b/src/include/usr/hwpf/hwp/hwpisteperror.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. */ @@ -43,11 +45,11 @@ namespace ISTEP_ERROR * Contains a top-level IStep failed error log. * * Isteps can perform operations on multiple components regardless of errors - * in order to initilize as much hardware as possible. Each IStep creates an - * IstepError object and for each sub-error, the addErrorDetails() function - * is called before the caller commits the sub-error. At the end of an - * IStep, the getErrorHandle() function is called to return the top-level - * istep error (if any) to the IStep Dispatcher. + * in order to initialize as much hardware as possible. Each IStep creates + * an IstepError object and for each sub-error, the addErrorDetails() + * function is called before the caller commits the sub-error. At the end + * of an IStep, the getErrorHandle() function is called to return the + * top-level istep error (if any) to the IStep Dispatcher. * * The top-level IStep error and all sub-errors have the same PLID (matching * the EID of the first sub-error) so that the IStep error is linked to all diff --git a/src/include/usr/hwpf/plat/fapiPlatUtil.H b/src/include/usr/hwpf/plat/fapiPlatUtil.H index bdd7549bd..ff1464693 100644 --- a/src/include/usr/hwpf/plat/fapiPlatUtil.H +++ b/src/include/usr/hwpf/plat/fapiPlatUtil.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -25,7 +25,7 @@ /** * @file fapiPlatUtil.H * - * @brief Defines miscellanous utility functions for the platform layer. + * @brief Defines miscellaneous utility functions for the platform layer. * Hardware procedure writers will not call these functions. * */ diff --git a/src/include/usr/initservice/istepdispatcherif.H b/src/include/usr/initservice/istepdispatcherif.H index e8ba59596..bbec9480b 100644 --- a/src/include/usr/initservice/istepdispatcherif.H +++ b/src/include/usr/initservice/istepdispatcherif.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. */ @@ -29,7 +31,7 @@ namespace INITSERVICE /** * @brief This function will hold off callers until a sync point message is - * recieved from an outside source. + * received from an outside source. * * @return NONE. */ diff --git a/src/include/usr/intr/interrupt.H b/src/include/usr/intr/interrupt.H index fca2ad7c3..b5e41a2d9 100644 --- a/src/include/usr/intr/interrupt.H +++ b/src/include/usr/intr/interrupt.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -113,7 +113,7 @@ namespace INTR * The XISR value is the logical OR of the Interrup Requestor Source * Number (IRSN) and the Interrrupt Source Number (ISN). * See BookIV PSI chapter. ISN is defined in the XIVR register and - * IRSN is defined in the Interupt Requester Source Compare Register + * IRSN is defined in the Interrupt Requester Source Compare Register */ struct XISR_t { @@ -236,7 +236,7 @@ namespace INTR uint8_t i_thread); /** - * Indicate the existance of another HB node in the system + * Indicate the existence of another HB node in the system * @param[in] The HB instance number (HB node) * @return error log handle on error */ diff --git a/src/include/usr/targeting/attrsync.H b/src/include/usr/targeting/attrsync.H index f7614a992..71675f25c 100644 --- a/src/include/usr/targeting/attrsync.H +++ b/src/include/usr/targeting/attrsync.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. */ @@ -52,7 +54,7 @@ namespace TARGETING * @brief Targeting attribute sync class * * @par Detailed Description: - * Provides all the functionality to synchronize the targetting + * Provides all the functionality to synchronize the targeting * attributes from the Hostboot area down to the FSP */ class AttributeSync @@ -83,7 +85,7 @@ namespace TARGETING * * @par Detailed Description: * This function will call into the AttRP:: to have the - * correct attribute section paged into accessable memory. + * correct attribute section paged into accessible memory. * this function may be called multiple times with different * section names. * @@ -158,7 +160,7 @@ namespace TARGETING * * @par Detailed Description: * This function will call into the AttRP:: to have the - * correct attribute section paged into accessable memory + * correct attribute section paged into accessible memory * */ void getSectionData(); @@ -195,7 +197,7 @@ namespace TARGETING * synchronusly the response will be populated * in an object pointed to by this pointer. If * the message is asynchronus the object - * pointed to by this paramter will be sent to + * pointed to by this parameter will be sent to * the fsp. * * @return errlHndl_t diff --git a/src/include/usr/targeting/common/predicates/predicateattrtanktargetpos.H b/src/include/usr/targeting/common/predicates/predicateattrtanktargetpos.H index f9f3d3ecc..4640e256f 100644 --- a/src/include/usr/targeting/common/predicates/predicateattrtanktargetpos.H +++ b/src/include/usr/targeting/common/predicates/predicateattrtanktargetpos.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -133,7 +133,7 @@ class PredicateAttrTankTargetPos : public PredicateBase private: - // Postion info to compare with that of a target + // Position info to compare with that of a target uint16_t iv_pos; uint8_t iv_unitPos; uint8_t iv_node; diff --git a/src/include/usr/targeting/common/targetservice.H b/src/include/usr/targeting/common/targetservice.H index ea5f67046..828fe86f3 100644 --- a/src/include/usr/targeting/common/targetservice.H +++ b/src/include/usr/targeting/common/targetservice.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,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. */ @@ -573,7 +575,7 @@ class TargetService * * @post See "return" * - * @return void would fill up the vectore refernce with complete + * @return void would fill up the vectore references with complete * section data in pages. * */ @@ -805,9 +807,9 @@ class TargetService * the routine will return the next set of targets in the physical * hierarchy. Conversely if the caller asks for ALL children targets * for said source target, the routine will return all targets - * contained within the processor chip. All searching is peformed as a - * depth first search. This routine will not clear the caller's input - * list when returning results. + * contained within the processor chip. All searching is performed as + * a depth first search. This routine will not clear the caller's + * input list when returning results. * * @param[out] o_list List of target handles that match the specified * criteria, not cleared by this function. diff --git a/src/include/usr/trace/interface.H b/src/include/usr/trace/interface.H index 74c70228f..3ef857560 100644 --- a/src/include/usr/trace/interface.H +++ b/src/include/usr/trace/interface.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -212,7 +212,7 @@ const uint32_t TRACE_FIELD = 0; //Indicates trace is field * @param descString A string that will be put in front of the binary dump, * developer assigns anything they want. * @param address Address of beginning of data to dump. - * @param length lenght of the binary data. + * @param length length of the binary data. * * @return void */ diff --git a/src/include/usr/util/threadpool.H b/src/include/usr/util/threadpool.H index 603c6018f..f96e0b916 100644 --- a/src/include/usr/util/threadpool.H +++ b/src/include/usr/util/threadpool.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. */ @@ -105,7 +107,7 @@ class ThreadPool : public Util::__Util_ThreadPool_Impl::ThreadPoolImpl /** @brief Insert a work item onto the thread-pool's queue. * - * Ownership of the object is transfered to the thread-pool. + * Ownership of the object is transferred to the thread-pool. * After completing the work, the thread-pool will delete the * work item. * diff --git a/src/include/usr/util/utilfile.H b/src/include/usr/util/utilfile.H index ab8c4014d..8a04f4926 100644 --- a/src/include/usr/util/utilfile.H +++ b/src/include/usr/util/utilfile.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. */ @@ -210,7 +212,7 @@ class UtilFile : public UtilStream /** * @brief Reads data from current position of the stream * - * Reads data from the current postion of the stream for the + * Reads data from the current position of the stream for the * specified number of bytes. * */ @@ -222,7 +224,7 @@ class UtilFile : public UtilStream /** * @brief Writes data to current position of the stream * - * Writes data to the current postion of the stream for the + * Writes data to the current position of the stream for the * specified number of bytes. * * @note This will assert in Hostboot! Writing of files is not supported. diff --git a/src/include/usr/util/utillidmgr.H b/src/include/usr/util/utillidmgr.H index 624f040f3..f36d8fbe1 100644 --- a/src/include/usr/util/utillidmgr.H +++ b/src/include/usr/util/utillidmgr.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -288,7 +288,7 @@ class UtilLidMgr * synchronusly the response will be populated * in an object pointed to by this pointer. If * the message is asynchronus the object - * pointed to by this paramter will be sent to + * pointed to by this parameter will be sent to * the fsp. * * @return errlHndl_t diff --git a/src/include/usr/util/utilmem.H b/src/include/usr/util/utilmem.H index 66a35ddc6..8f73b7d42 100644 --- a/src/include/usr/util/utilmem.H +++ b/src/include/usr/util/utilmem.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. */ @@ -117,7 +119,7 @@ public: /** * @brief Reads data from current position of the stream * - * Reads data from the current postion of the stream for the + * Reads data from the current position of the stream for the * specified number of bytes. * */ @@ -129,7 +131,7 @@ public: /** * @brief Writes data to current position of the stream * - * Writes data to the current postion of the stream for the + * Writes data to the current position of the stream for the * specified number of bytes. * */ diff --git a/src/include/usr/util/utilstream.H b/src/include/usr/util/utilstream.H index 639063111..1b1c7bef1 100644 --- a/src/include/usr/util/utilstream.H +++ b/src/include/usr/util/utilstream.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. */ @@ -85,7 +87,7 @@ class UtilStream /** * @brief Reads data from current position of the stream * - * Reads data from the current postion of the stream for the + * Reads data from the current position of the stream for the * specified number of bytes. * * @return # of bytes read or zero if none. @@ -102,7 +104,7 @@ class UtilStream /** * @brief Writes data to current position of the stream * - * Writes data to the current postion of the stream for the + * Writes data to the current position of the stream for the * specified number of bytes. * * @return # of bytes written or zero if none. diff --git a/src/include/usr/vfs/vfs.H b/src/include/usr/vfs/vfs.H index 72a80e8d8..3c947bf97 100644 --- a/src/include/usr/vfs/vfs.H +++ b/src/include/usr/vfs/vfs.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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 @@ namespace VFS void find_test_modules(std::vector & o_list); /** - * Test for existance of module + * Test for existence of module * @param[in] i_name module name * @return [true|false] */ diff --git a/src/include/util/impl/iterator.h b/src/include/util/impl/iterator.h index 270824bcd..fdb031457 100644 --- a/src/include/util/impl/iterator.h +++ b/src/include/util/impl/iterator.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. */ @@ -73,7 +75,7 @@ namespace Util /** * Template wrapper function for the iterator advance. * - * Uses the existance of a += operator on the iterator to determine + * Uses the existence of a += operator on the iterator to determine * if the random-access or non-random-access version should be used. */ template @@ -128,7 +130,7 @@ namespace Util /** * Template wrapper function for the iterator distance. * - * Uses the existance of a - operator on the iterator to determine + * Uses the existence of a - operator on the iterator to determine * if the random-access or non-random-access version should be used. */ template diff --git a/src/include/util/impl/splaytree.H b/src/include/util/impl/splaytree.H index b41bb4977..11c801135 100644 --- a/src/include/util/impl/splaytree.H +++ b/src/include/util/impl/splaytree.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. */ @@ -42,7 +44,7 @@ * The operations on a standard BST are found in many algorithms books. I * used "Introduction to Algorithms, 2nd Ed." by Cormen, Leiserson, Rivest, * and Stein. The additional splay operation was first described in a 1985 - * paper by Sleator and Tarjan, but explaination of it is readily available + * paper by Sleator and Tarjan, but explanation of it is readily available * online. * * Additional reference: http://en.wikipedia.org/wiki/Splay_tree diff --git a/src/kernel/blockmsghdlr.C b/src/kernel/blockmsghdlr.C index 68a694fa9..c5ddfd02c 100644 --- a/src/kernel/blockmsghdlr.C +++ b/src/kernel/blockmsghdlr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -65,7 +67,7 @@ MessageHandler::HandleResult BlockWriteMsgHdlr::handleResponse( iv_va2paList.erase(l_paNode); delete l_paNode; } - //Not handling a reponse from kernel + //Not handling a response from kernel if (i_task != NULL) { //Find the task's msg count to know how many messages were sent diff --git a/src/kernel/exception.C b/src/kernel/exception.C index aff600225..1ac76c09a 100644 --- a/src/kernel/exception.C +++ b/src/kernel/exception.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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 @@ namespace ExceptionHandles // Check for 'nap' and skip over. This avoids a task-crash // if for some reason we entered back into the task without - // priviledge raised. + // privilege raised. if (*instruction == 0x4c000364) { printk("Error: Nap executed with lowered permissions on %d\n", @@ -199,7 +201,7 @@ namespace ExceptionHandles { // check to make sure previous instruction was a branch - // if not, then we don't want to handle ths exception + // if not, then we don't want to handle this exception uint32_t* previous_instr = (reinterpret_cast(phys_addr)) - 1; if ( (*previous_instr & EXCEPTION_BRANCH_INSTR_MASK) diff --git a/src/kernel/heapmgr.C b/src/kernel/heapmgr.C index 677e5923a..e27eb2bb1 100644 --- a/src/kernel/heapmgr.C +++ b/src/kernel/heapmgr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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 @@ void* HeapManager::_realloc(void* i_ptr, size_t i_sz) void* HeapManager::_reallocBig(void* i_ptr, size_t i_sz) { - // Currently all large allocations fall on a page boundry, + // Currently all large allocations fall on a page boundary, // but small allocatoins never do if(ALIGN_PAGE(reinterpret_cast(i_ptr)) != reinterpret_cast(i_ptr)) @@ -550,7 +552,7 @@ void* HeapManager::_allocateBig(size_t i_sz) bool HeapManager::_freeBig(void* i_ptr) { - // Currently all large allocations fall on a page boundry, + // Currently all large allocations fall on a page boundary, // but small allocations never do if(ALIGN_PAGE(reinterpret_cast(i_ptr)) != reinterpret_cast(i_ptr)) diff --git a/src/kernel/pagemgr.C b/src/kernel/pagemgr.C index 0875e022f..c6a65dd92 100644 --- a/src/kernel/pagemgr.C +++ b/src/kernel/pagemgr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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. */ @@ -302,7 +304,7 @@ void* PageManager::_allocatePage(size_t n, bool userspace) // no chunks available and claimed we were out of memory. // // Simple solution is to just put a lock around the page allocation. All - // calls to this function are guarenteed, by PageManager::allocatePage, to + // calls to this function are guaranteed, by PageManager::allocatePage, to // be from kernel space so we cannot run into any dead lock situations by // using a spinlock here. // diff --git a/src/kernel/ptmgr.C b/src/kernel/ptmgr.C index f1932d54d..98d32035e 100644 --- a/src/kernel/ptmgr.C +++ b/src/kernel/ptmgr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -1092,7 +1094,7 @@ void PageTableManager::updateLRUEntry( PageTableEntry* i_PTE ) pte.LRU++; } - // Update the sofware bits of the PTE. + // Update the software bits of the PTE. // The ISA suggests we need to do a ldarx/stdcx combination // here, but this isn't required because we have a spinlock // around the page table as a whole. No other thread will diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C index 461e533b7..7830f7757 100644 --- a/src/kernel/syscall.C +++ b/src/kernel/syscall.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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. */ @@ -702,7 +704,7 @@ namespace Systemcalls }; /** - * Allow a task to request priviledge escalation to execute the 'nap' + * Allow a task to request privilege escalation to execute the 'nap' * instruction. * * Verifies the instruction to execute is, in fact, nap and then sets @@ -713,7 +715,7 @@ namespace Systemcalls * SRESET exception with flags in srr1 to indication that the * decrementer caused the wake-up. The kernel will then need to * advance the task to the instruction after the nap and remove - * priviledge escalation. + * privilege escalation. * */ void CpuNap(task_t *t) diff --git a/src/lib/syscall_mm.C b/src/lib/syscall_mm.C index 84daf59f1..b6b17839a 100644 --- a/src/lib/syscall_mm.C +++ b/src/lib/syscall_mm.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -125,7 +127,7 @@ void mm_tolerate_ue(uint64_t i_state) // because the state is only used by the local HW thread which // might be handling the machine check due to memory UE. Any // exception is a context synchronizing event which ensures - // that all preceeding instructions have completed, so there + // that all preceding instructions have completed, so there // are no visible effects of instruction reordering with respect // to this state change. } diff --git a/src/libc++/builtins.C b/src/libc++/builtins.C index 80a3e6a8c..f8dc97aad 100755 --- a/src/libc++/builtins.C +++ b/src/libc++/builtins.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,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. */ @@ -81,7 +83,7 @@ extern "C" int __cxa_guard_acquire(volatile uint64_t* gv) extern "C" void __cxa_guard_release(volatile uint64_t* gv) { - // Memory barrier to ensure all preceeding writes have completed before + // Memory barrier to ensure all preceding writes have completed before // releasing guard. lwsync(); diff --git a/src/sys/vfs/vfs_main.C b/src/sys/vfs/vfs_main.C index db6388cb7..338a6c4b4 100644 --- a/src/sys/vfs/vfs_main.C +++ b/src/sys/vfs/vfs_main.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -160,7 +160,7 @@ void* vfs_main(void* i_barrier) emsg->data[1] = (uint64_t) vfsMsgQ; msg_send(e->msg_q, emsg); // send async msg } - else // Cant find VFS_MSG queue - not started yet + else // Can't find VFS_MSG queue - not started yet { msg->data[0] = (uint64_t) fnptr; msg_respond(vfsMsgQ, msg); diff --git a/src/usr/devtree/bld_devtree.C b/src/usr/devtree/bld_devtree.C index 34c884a74..07ec2536c 100644 --- a/src/usr/devtree/bld_devtree.C +++ b/src/usr/devtree/bld_devtree.C @@ -481,7 +481,7 @@ void add_reserved_mem(devTree * i_dt, * Unless a component (skiboot or Linux) specifically knows about a region * (usually based on its name) and decides to change or remove it, all * these regions are passed as-is to Linux and to subsequent kernels - * accross kexec and are kept preserved. + * across kexec and are kept preserved. */ dtOffset_t rootNode = i_dt->findNode("/"); @@ -800,7 +800,7 @@ errlHndl_t bld_fdt_mem(devTree * i_dt, bool i_smallTree) * In order to be able to handle affinity propertly, we require that * a memory node is created for each range of memory that has a different * "affinity", which in practice means for each chip since we don't - * support memory interleaved accross multiple chips on P8. + * support memory interleaved across multiple chips on P8. * * Additionally, it is *not* required that one chip = one memory node, * it is perfectly acceptable to break down the memory of one chip into diff --git a/src/usr/devtree/devtree.H b/src/usr/devtree/devtree.H index fdf511e39..a65504774 100644 --- a/src/usr/devtree/devtree.H +++ b/src/usr/devtree/devtree.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -190,7 +190,7 @@ typedef size_t dtOffset_t; * @param[in] i_addrs Array of addresses to set in reserved memory * @param[in] i_sizes Array of sizes to set in reserved memory * @param[in] i_num Number of elements in the arrays - * @return int, zero on sucesses otherwise non zero + * @return int, zero on successes otherwise non zero */ int populateReservedMem(uint64_t i_addrs[], uint64_t i_sizes[], diff --git a/src/usr/diag/attn/ipl/test/attnfakepresenter.H b/src/usr/diag/attn/ipl/test/attnfakepresenter.H index 38abb15e8..f6c078c75 100644 --- a/src/usr/diag/attn/ipl/test/attnfakepresenter.H +++ b/src/usr/diag/attn/ipl/test/attnfakepresenter.H @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/usr/diag/attn/hostboot/test/attnfakepresenter.H $ */ +/* $Source: src/usr/diag/attn/ipl/test/attnfakepresenter.H $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -56,8 +56,8 @@ class FakePresenter * @param[in] i_q The message queue on which to place * interrupt messages. * - * @retval[true] Started succesfully. - * @retval[false] Did not start succesfully. + * @retval[true] Started successfully. + * @retval[false] Did not start successfully. */ bool start(msg_q_t i_q); diff --git a/src/usr/diag/attn/ipl/test/attnrandsource.H b/src/usr/diag/attn/ipl/test/attnrandsource.H index 19550f3b9..a3deedfda 100644 --- a/src/usr/diag/attn/ipl/test/attnrandsource.H +++ b/src/usr/diag/attn/ipl/test/attnrandsource.H @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/usr/diag/attn/hostboot/test/attnrandsource.H $ */ +/* $Source: src/usr/diag/attn/ipl/test/attnrandsource.H $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -49,7 +49,7 @@ class RandSource /** * @brief start Start the testcase thread. * - * @retval[true] Testcase thread started succesfully. + * @retval[true] Testcase thread started successfully. * @retval[false] Testcase thread failed to start. */ bool start(); @@ -59,8 +59,8 @@ class RandSource * * @post All resources reclaimed. * - * @retval[true] Testcase succesfully ran to completion. - * @retval[false] Testcase did not run succesfully to completion. + * @retval[true] Testcase successfully ran to completion. + * @retval[false] Testcase did not run successfully to completion. */ bool wait(); diff --git a/src/usr/diag/mdia/mdiasm.C b/src/usr/diag/mdia/mdiasm.C index d6846ff18..f2e25eb2f 100644 --- a/src/usr/diag/mdia/mdiasm.C +++ b/src/usr/diag/mdia/mdiasm.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -283,10 +283,10 @@ void StateMachine::processCommandTimeout(const MonitorIDs & i_monitorIDs) // Pending maint cmd complete, reset timer if(mbaspa & ~mbaspamask) { - // Commiting an info log to help debug SW timeout + // Committing an info log to help debug SW timeout if((*wit)->timeoutCnt >= MBA_TIMEOUT_LOG) { - MDIA_FAST("sm: commiting a SW timed out info log " + MDIA_FAST("sm: committing a SW timed out info log " "for %x", get_huid(target)); /*@ @@ -566,7 +566,7 @@ bool StateMachine::scheduleWorkItem(WorkFlowProperties & i_wfp) // schedule work items for execution in the thread pool // see if the workFlow for this target is complete - // and see if all phases have completed sucessfully + // and see if all phases have completed successfully if(i_wfp.workItem == getWorkFlow(i_wfp).end()) { 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

    Parameters: cd:Capture data object (to store the capture data)
    Returns: 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
      -
      Paramters:None +
      Parameters:None
      Returns:Nothing
      Requirments:None.
      Promises: All capture data cleared ( copy(...) == 0 ) @@ -182,10 +184,10 @@ public: /** Add scr & data to capture log
        -
        Paramter: chipHandle target handle of chip object -
        Paramter: scan comm id (unique one btye code representing scan comm address) -
        Paramter: Scan comm register object -
        Paramter: Optional location in capure vector [FRONT | BACK] def = BACK +
        Parameter: chipHandle target handle of chip object +
        Parameter: scan comm id (unique one btye code representing scan comm address) +
        Parameter: Scan comm register object +
        Parameter: Optional location in capure vector [FRONT | BACK] def = BACK
        Returns: Nothing
        Requires: Nothing
        Promises: scr.Read() @@ -200,9 +202,9 @@ public: /* REMOVE for FSP Add scr & data to capture log
          -
          Paramter: chipHandle target handle of chip object -
          Paramter: Scan comm register object -
          Paramter: Optional location in capure vector [FRONT | BACK] def = BACK +
          Parameter: chipHandle target handle of chip object +
          Parameter: Scan comm register object +
          Parameter: Optional location in capure vector [FRONT | BACK] def = BACK
          Returns: Nothing
          Requires: Nothing
          Promises: scr.Read() @@ -217,10 +219,10 @@ public: /** Add scr & data to capture log
            -
            Paramter: i_pchipHandle Handle of chip object -
            Paramter: scan comm id (unique one btye code representing scan comm address) -
            Paramter: BIT_STRING_CLASS -
            Paramter: Optional location in capure vector [FRONT | BACK] def = BACK +
            Parameter: i_pchipHandle Handle of chip object +
            Parameter: scan comm id (unique one btye code representing scan comm address) +
            Parameter: BIT_STRING_CLASS +
            Parameter: Optional location in capure vector [FRONT | BACK] def = BACK
            Returns: Nothing
            Requires: Nothing
            Promises: @@ -236,7 +238,7 @@ public: /** Drop scr & data from capture log
              -
              Paramter: Type of capture vector [PRIMARY | SECONDARY] def = PRIMARY. SECONDARIES dropped on connected. +
              Parameter: Type of capture vector [PRIMARY | SECONDARY] def = PRIMARY. SECONDARIES dropped on connected.
              Returns: Nothing
              Requires: Nothing
              Promises: @@ -248,8 +250,8 @@ void Drop(RegType type); //@jl04a /** Copy caputre data to buffer
                -
                Paramter: ptr to buffer to place capture data -
                Paramter: maxsize of buffer area +
                Parameter: ptr to buffer to place capture data +
                Parameter: maxsize of buffer area
                Returns: Returns the number of bytes copied
                Requirements: None
                Promises: bytes copied <= bufferSize @@ -263,7 +265,7 @@ void Drop(RegType type); //@jl04a /** Reconstruct data from flat data
                  -
                  Paramter: i_flatdata ptr to flat data +
                  Parameter: i_flatdata ptr to flat data
                  Returns: reference to the new capture data
                  Requirements: None
                  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

                    Parameters: BitList
                    Returns: 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

                      Parameters: BitList
                      Returns: 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
                      Requirements: None.
                      Promises: Internal bit string represents the value of the hardware register (if rc == SUCCESS) -
                      Sideaffects: Value guarenteed to be read from hardware. +
                      Sideaffects: Value guaranteed to be read from hardware.
                      Exceptions: None.
                      Notes: 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.

                    */ 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!!!)
                      -
                      Paramters: None. +
                      Parameters: None.
                      Returns Reference to the internal bit string
                      Requirments None.
                      Promises 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
                        -
                        Paramters None. +
                        Parameters None.
                        Returns: GardAction::ErrorType
                        Requirements: SetAttentionType()
                        Promises ErrorType set by Gard or NoGard @@ -692,7 +692,7 @@ public: /** Get a PRD timer value based on the time of this error
                          -
                          Paramter: None +
                          Parameter: None
                          Returns: Timer
                          Requirments: None.
                          Promises: None. @@ -738,8 +738,8 @@ public: /** Flatten the service data collector
                            -
                            Paramter: i_buffer ptr to buffer -
                            Paramter: io_size = buffer size +
                            Parameter: i_buffer ptr to buffer +
                            Parameter: io_size = buffer size
                            Returns: [SUCCESS(0) | returncode]; io_size = # bytes written to buffer
                            Requirments: None.
                            Promises: 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
                              -
                              Paramter: dumpRequestContent +
                              Parameter: dumpRequestContent
                              Returns: Nothing
                              Requirments: None.
                              Promises: IsDump() == true @@ -875,7 +875,7 @@ public: /** Has a Dump been requested
                                -
                                Paramter: None +
                                Parameter: None
                                Returns: [true | false]
                                Requirments: None.
                                Promises: None. @@ -887,7 +887,7 @@ public: /** Get the dump Id
                                  -
                                  Paramter: None +
                                  Parameter: None
                                  Return: dumpRequestType [DUMP_HARDWARE_ONLY | DUMP_HARDWARE_MAINSTORE | DUMP_NO_DUMP]
                                  Return: dumpRequestContent [DUMP_HW_ABBR | DUMP_SW_ABBR]
                                  Return: 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::find(const T & key, HintType & o_hint) l_rc = static_cast(*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::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 } } diff --git a/src/usr/dump/test/dumptest.H b/src/usr/dump/test/dumptest.H index 451c09a78..d2523b2a3 100644 --- a/src/usr/dump/test/dumptest.H +++ b/src/usr/dump/test/dumptest.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. */ @@ -469,7 +471,7 @@ class DumpTest: public CxxTest::TestSuite int src_rc = 0; uint64_t paddr = 0; - // Looping throught the first 3 destinations + // Looping through the first 3 destinations for (int i = 0; i<3; i++) { diff --git a/src/usr/errl/errlmanager.C b/src/usr/errl/errlmanager.C index ace5cf23d..3408aaf99 100644 --- a/src/usr/errl/errlmanager.C +++ b/src/usr/errl/errlmanager.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -119,7 +119,7 @@ ErrlManager::ErrlManager() : iv_pnorAddr(NULL), iv_maxErrlInPnor(0), iv_pnorOpenSlot(0), - iv_isSpBaseServices(true), // queue msgs for fsp until we find we shouldnt + iv_isSpBaseServices(true), // queue msgs for fsp until we find we shouldn't iv_isMboxEnabled(false), // but mbox isn't ready yet.. iv_nonInfoCommitted(false), iv_isErrlDisplayEnabled(false) @@ -447,7 +447,7 @@ void ErrlManager::errlogMsgHndlr () if( l_err->isTerminateLog() ) { TRACFCOMP( g_trac_errl, INFO_MRK - "Terminating error was commited" + "Terminating error was committed" " errlmanager is reqesting a shutdown."); INITSERVICE::doShutdown(l_err->plid(), true); diff --git a/src/usr/errl/parser/errlparser.C b/src/usr/errl/parser/errlparser.C index a6933c0c6..67a9bbf03 100644 --- a/src/usr/errl/parser/errlparser.C +++ b/src/usr/errl/parser/errlparser.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -822,7 +824,7 @@ int main( int argc, char *argv[] ) } - // Convert the endianess of the storage header. + // Convert the endianness of the storage header. storage_header_t* pHeader = reinterpret_cast(pchBuffer); ConvertStorageHeader( pHeader ); if( fVerbose ) diff --git a/src/usr/errl/test/errluserdetailtest.H b/src/usr/errl/test/errluserdetailtest.H index 9cc82869b..b95d4d58c 100644 --- a/src/usr/errl/test/errluserdetailtest.H +++ b/src/usr/errl/test/errluserdetailtest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -419,7 +419,7 @@ public: } else { // we expect an error here - TS_TRACE( "testLogRegister deviceRead DIDNT return errl!"); + TS_TRACE( "testLogRegister deviceRead DIDN'T return errl!"); } ErrlUserDetailsLogRegister(c_target, ®3_data, reg3_size, DEVICE_FSI_ADDRESS(0x01028)).addToLog(errl); diff --git a/src/usr/gpio/gpiodd.H b/src/usr/gpio/gpiodd.H index 9431e832c..702c68c3f 100644 --- a/src/usr/gpio/gpiodd.H +++ b/src/usr/gpio/gpiodd.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -50,7 +50,7 @@ namespace GPIO * @param[in/out] io_buffer - Ptr to data buffer to be written/read into * @param[in/out] io_buflen - Length of the data buffer * @param[in] i_accessType @see devicefw/userif.H - * @param[in] i_args Device arguement list. Gpio Device type, + * @param[in] i_args Device argument list. Gpio Device type, * Gpio port address * * @return errlHndl_t NULL on success or error handle on error. @@ -100,7 +100,7 @@ namespace GPIO * @param[in] i_target - Target that contains the attritutes for the device * @param[in/out] gpioAddr_t GPIO address information. @see gpioAddr_t * - * @return errlHndl_t - NULL on Sucess or error handle on error + * @return errlHndl_t - NULL on Success or error handle on error */ errlHndl_t gpioReadAttributes ( TARGETING::Target * i_target, gpioAddr_t & io_gpioInfo); diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C index d11292364..617c97b92 100644 --- a/src/usr/hwpf/plat/fapiPlatAttributeService.C +++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -1524,7 +1524,7 @@ fapi::ReturnCode fapiPlatGetSpdModspecComRefRawCard do { - // Get the Reference Raw Card Extention (0 or 1) + // Get the Reference Raw Card Extension (0 or 1) l_rc = fapiPlatGetSpdAttr(i_pDimmTarget, SPD::MODSPEC_COM_REF_RAW_CARD_EXT, &l_cardExt, sizeof(l_cardExt)); @@ -1533,7 +1533,7 @@ fapi::ReturnCode fapiPlatGetSpdModspecComRefRawCard break; //break with error } - // Get the Refernce Raw Card (bits 4-0) + // Get the References Raw Card (bits 4-0) // When Reference Raw Card Extension = 0 // Reference raw cards A through AL // When Reference Raw Card Extension = 1 diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C index 6c303f681..236cb4f37 100755 --- a/src/usr/i2c/i2c.C +++ b/src/usr/i2c/i2c.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -1008,7 +1008,7 @@ errlHndl_t i2cRead ( TARGETING::Target * i_target, *((uint8_t*)o_buffer + bytesRead) = fifo.byte_0; - // Everytime FIFO is read, reset timeout count + // Every time FIFO is read, reset timeout count timeoutCount = I2C_TIMEOUT_COUNT( interval_ns ); TRACUCOMP( g_trac_i2cr, diff --git a/src/usr/i2c/i2c.H b/src/usr/i2c/i2c.H index e400e2756..334532a53 100755 --- a/src/usr/i2c/i2c.H +++ b/src/usr/i2c/i2c.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -133,7 +133,7 @@ ALWAYS_INLINE inline uint64_t i2cGetPollingInterval(uint64_t i_bus_speed_khz ) // ----------------------------------------------------------------------- // NOTE: Host I2C is using the PIB I2C Master 'legacy' registers, which -// are analagous to the FSI I2C register space. +// are analogous to the FSI I2C register space. // ----------------------------------------------------------------------- /** diff --git a/src/usr/ibscom/ibscom.C b/src/usr/ibscom/ibscom.C index f4c3030e8..d03317026 100644 --- a/src/usr/ibscom/ibscom.C +++ b/src/usr/ibscom/ibscom.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -496,7 +496,7 @@ errlHndl_t doIBScom(DeviceFW::OperationType i_opType, get_huid(i_target), i_addr); //This error should NEVER get returned to caller, so it's a - //FW bug if it actually gets comitted. + //FW bug if it actually gets committed. l_err->addProcedureCallout(HWAS::EPUB_PRC_HB_CODE, HWAS::SRCI_PRIORITY_HIGH); break; @@ -538,7 +538,7 @@ errlHndl_t doIBScom(DeviceFW::OperationType i_opType, i_addr), 0); //This error should NEVER get returned to caller, so it's a - //FW bug if it actually gets comitted. + //FW bug if it actually gets committed. l_err->addProcedureCallout(HWAS::EPUB_PRC_HB_CODE, HWAS::SRCI_PRIORITY_HIGH); ERRORLOG::ErrlUserDetailsTarget(i_target,"IBSCOM Target") diff --git a/src/usr/initservice/baseinitsvc/initservice.H b/src/usr/initservice/baseinitsvc/initservice.H index 9c3c28350..c18ef5da7 100644 --- a/src/usr/initservice/baseinitsvc/initservice.H +++ b/src/usr/initservice/baseinitsvc/initservice.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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 @@ public: * @brief Start a task using the taskname string in the TaskInfo struct. * * taskname string will be something like "libtargeting.so", which - * is the name of the compiled and linked targetting module. + * is the name of the compiled and linked targeting module. * The module is expected to have implemented a extern "C" * function called "void _start(void *args)" which is considered * to be the "task entry point". * diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.H b/src/usr/initservice/istepdispatcher/istepdispatcher.H index a7c9db633..3f5cc551e 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.H +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -223,7 +223,7 @@ private: * * @param[in] i_istep The istep to be executed. * @param[in] i_substep The substep to be executed. - * @param[out] o_doReconfig True if something ocurred that requires a + * @param[out] o_doReconfig True if something occurred that requires a * reconfigure, false otherwise */ errlHndl_t doIstep(uint32_t i_istep, @@ -332,7 +332,7 @@ private: * @param[out] o_newSubstep new Substep to run, if necessary * * @return bool - True if the reconfigure happened inside the set of - * neccessary isteps and needs to be retried, false otherwise + * necessary isteps and needs to be retried, false otherwise */ static bool checkReconfig(const uint8_t i_curIstep, const uint8_t i_curSubstep, diff --git a/src/usr/intr/intrrp.C b/src/usr/intr/intrrp.C index 8959b7e79..828afe3cf 100644 --- a/src/usr/intr/intrrp.C +++ b/src/usr/intr/intrrp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -1768,7 +1768,7 @@ errlHndl_t IntrRp::findProcs_Cores(TARGETING::TargetHandleList & o_procs, do { //Build a list of "functional" processors. This needs to be - //done without targetting support (just blueprint) since + //done without targeting support (just blueprint) since //on MPIPL the targeting information is obtained in //discover_targets -- much later in the IPL. diff --git a/src/usr/intr/intrrp.H b/src/usr/intr/intrrp.H index 2bbb6d8a7..35268215f 100644 --- a/src/usr/intr/intrrp.H +++ b/src/usr/intr/intrrp.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -71,7 +71,7 @@ namespace INTR public: /** - * Prepare HW and system to recieve external interrupts + * Prepare HW and system to receive external interrupts * @param[in] ref to errlHndl_t */ static void init( errlHndl_t &io_rtaskRetErrl ); @@ -441,7 +441,7 @@ namespace INTR errlHndl_t maskXIVR(TARGETING::Target * i_target); /* - * Disable HW from recieving interrupts + * Disable HW from receiving interrupts * @param i_proc The processor chip target to disable * @param i_rx_tx [INTR_UPSTREAM | INTR_DOWNSTREAM] * @return an error handle on error @@ -466,7 +466,7 @@ namespace INTR /** * Build a list of "functional" processors. This needs to be - * done without targetting support (just blueprint) since + * done without targeting support (just blueprint) since * on MPIPL the targeting information is obtained in * discover_targets -- much later in the IPL. * @@ -549,7 +549,7 @@ namespace INTR errlHndl_t initializeMpiplSyncArea(); /** - * Add the existance of another HB instance to this instance + * Add the existence of another HB instance to this instance * mpipl sync data area. * @param[in] The instance number of the HB instance to add * @return error log handle @@ -564,7 +564,7 @@ namespace INTR errlHndl_t extractHbNodeInfo(void); /** - * Calculate the adress offset for the given cpu + * Calculate the address offset for the given cpu * @param[in] i_pir PIR value for the presenter * @return the offset */ diff --git a/src/usr/ipmi/ipmibt.C b/src/usr/ipmi/ipmibt.C index 5f4e02950..57de5d8cc 100644 --- a/src/usr/ipmi/ipmibt.C +++ b/src/usr/ipmi/ipmibt.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -140,7 +140,7 @@ namespace IPMI { delete[] iv_data; - // If the reading the reponse fails, the caller may still call + // If the reading the response fails, the caller may still call // delete[] on the pointer we return to them. This makes sure that // for this case, they're just deleting NULL. iv_data = NULL; diff --git a/src/usr/ipmi/ipmidd.C b/src/usr/ipmi/ipmidd.C index 7e5e3722c..b0278fe73 100644 --- a/src/usr/ipmi/ipmidd.C +++ b/src/usr/ipmi/ipmidd.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -240,7 +240,7 @@ void IpmiDD::pollCtrl(void) { // If we're idle, tell the resoure provider to check for any // pending messages which were delayed due to contention. But don't - // send a message everytime we see idle, only if there we suspect + // send a message every time we see idle, only if there we suspect // we sent EAGAINs. if ((ctrl & IDLE_STATE) == 0) { diff --git a/src/usr/ipmi/ipmifruinv.C b/src/usr/ipmi/ipmifruinv.C index 9ddb39c37..5981fd5e0 100644 --- a/src/usr/ipmi/ipmifruinv.C +++ b/src/usr/ipmi/ipmifruinv.C @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/usr/ipmi/ipmifru.C $ */ +/* $Source: src/usr/ipmi/ipmifruinv.C $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -771,7 +771,7 @@ errlHndl_t backplaneIpmiFruInv::addVpdData(std::vector &io_data, io_data.push_back(l_vpdSize); } - //Then add on the data returnd from the VPD read + //Then add on the data returned from the VPD read io_data.insert(io_data.end(), &l_vDataPtr[0], &l_vDataPtr[l_vpdSize]); } diff --git a/src/usr/ipmi/ipmirp.H b/src/usr/ipmi/ipmirp.H index d1ebaad7d..b70d0247c 100644 --- a/src/usr/ipmi/ipmirp.H +++ b/src/usr/ipmi/ipmirp.H @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/usr/ipmi/ipmirp.H $ */ +/* $Source: src/usr/ipmi/ipmirp.H $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -221,7 +221,7 @@ class IpmiRP // Size of the recv buffer (max BMC will send) uint8_t iv_recv_buffer_size; - // Recomended number of retries + // Recommended number of retries uint8_t iv_retries; // Shutdown diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index bb7b01513..1d1a3895d 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -844,7 +844,7 @@ void MailboxSp::recv_msg(mbox_msg_t & i_mbox_msg) else //sync message from FSP { // Need to save queue_id and msg_id and msg ptr - // for reponse + // for response msg_respond_t * response = new msg_respond_t(msg); response->msg_id = i_mbox_msg.msg_id; response->msg_queue_id = i_mbox_msg.msg_queue_id; diff --git a/src/usr/mbox/mbox_dma_buffer.H b/src/usr/mbox/mbox_dma_buffer.H index 90d38f60b..193ee34c8 100644 --- a/src/usr/mbox/mbox_dma_buffer.H +++ b/src/usr/mbox/mbox_dma_buffer.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. */ @@ -48,7 +50,7 @@ namespace MBOX * @param[in/out] io_size, size in bytes of space needed, * 0 means get all available buffers * bit map is returned showing blocks - * aquired. + * acquired. * * @note: There are 64 total buffers in the shared DMA pool. The * bit map has one bit for each buffer. The bit map returned will @@ -180,7 +182,7 @@ namespace MBOX void * iv_head; //!< Start of DMA memory uint64_t iv_phys_head; //!< Physical translation of iv_head uint64_t iv_dir; //!< 1 bit per 1k buffer, 1 = available - bool iv_dma_req_sent; //!< Reqest sent to retrieve all buffers + bool iv_dma_req_sent; //!< Request sent to retrieve all buffers }; }; // namespace diff --git a/src/usr/mbox/mboxdd.C b/src/usr/mbox/mboxdd.C index 63bca0ffd..c5c19df99 100644 --- a/src/usr/mbox/mboxdd.C +++ b/src/usr/mbox/mboxdd.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -278,7 +278,7 @@ errlHndl_t mboxRead(TARGETING::Target* i_target,void *o_buffer, // For the read we extract the data from the MBOX data registers. // MBOX_DATA_LBUS_START = 0x00050080 and the end address is // MBOX_DATA_LBUS_END = 0x0005008F - // each address inbetween increments by 1. + // each address between increments by 1. //Loop through the mbox registers until all the data to be read has // been extracted from the mbox registers. @@ -394,7 +394,7 @@ errlHndl_t mboxWrite(TARGETING::Target* i_target,void* i_buffer, l_err->collectTrace(MBOX_TRACE_NAME,1024); - // Set the i_buflen to 0 to indicate no write occured + // Set the i_buflen to 0 to indicate no write occurred i_buflen = 0; break; @@ -451,7 +451,7 @@ errlHndl_t mboxWrite(TARGETING::Target* i_target,void* i_buffer, // For the write we put the data into the MBOX data registers. // MBOX_DATA_PIB_START = 0x00050040 and the end address is // MBOX_DATA_PIB_END = 0x0005004F - // each address inbetween increments by 1. + // each address between increments by 1. //Write Data registers. Start at the first and increment through //the registers until all the data has been written. @@ -527,7 +527,7 @@ errlHndl_t mboxWrite(TARGETING::Target* i_target,void* i_buffer, reinterpret_cast(l_64bitBuf), true /*Add HB Software Callout*/); - // Set the i_buflen to 0 to indicate no write occured + // Set the i_buflen to 0 to indicate no write occurred i_buflen = 0; l_err->collectTrace(MBOX_TRACE_NAME,1024); break; diff --git a/src/usr/pnor/pnordd.C b/src/usr/pnor/pnordd.C index 343968e4e..0d4789869 100644 --- a/src/usr/pnor/pnordd.C +++ b/src/usr/pnor/pnordd.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -356,7 +356,7 @@ PnorDD::PnorDD( TARGETING::Target* i_target ) // 3) i_target does not correspond to Master processor (ie the // same processor as MASTER_PROCESSOR_CHIP_TARGET_SENTINEL) // otherwise, use MASTER_PROCESSOR_CHIP_TARGET_SENTINEL - // NOTE: i_target can only be used when targetting is loaded + // NOTE: i_target can only be used when targeting is loaded if ( ( i_target != NULL ) && ( i_target != TARGETING::MASTER_PROCESSOR_CHIP_TARGET_SENTINEL ) ) { diff --git a/src/usr/pnor/sfc_ibm.H b/src/usr/pnor/sfc_ibm.H index 03ce0b772..ca90d2bf7 100644 --- a/src/usr/pnor/sfc_ibm.H +++ b/src/usr/pnor/sfc_ibm.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -253,7 +253,7 @@ class SfcIBM : public SfcDD SFC_REG_ECCRNG = 0x7C, /**< ECCRNG : ECC Disable Range Size */ SFC_REG_ERRORS = 0x00, /**< ERRORS : Collection of Error Status Bits */ SFC_REG_INTMSK = 0x04, /**< INTMSK : Record of Events That Could Lead - To Interupt */ + To Interrupt */ SFC_REG_INTENM = 0x14, /**< INTENM : Controls Which Events Lead To Interupts */ SFC_REG_CONF2 = 0x18, /**< CONF2 : SPI Configuration */ diff --git a/src/usr/pnor/test/sfc_ibmtest.H b/src/usr/pnor/test/sfc_ibmtest.H index 967045ad0..65909c72a 100644 --- a/src/usr/pnor/test/sfc_ibmtest.H +++ b/src/usr/pnor/test/sfc_ibmtest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -83,7 +83,7 @@ class SfcIBMTest : public CxxTest::TestSuite TS_FAIL("SfcIBMTest::test_forceFails> writeReg failed! Error committed."); fails++; - // Unlock mutex for Error Log to be commited + // Unlock mutex for Error Log to be committed mutex_unlock(l_mutex); errlCommit(l_err,PNOR_COMP_ID); @@ -125,7 +125,7 @@ class SfcIBMTest : public CxxTest::TestSuite TS_FAIL("SfcIBMTest::test_forceFails> Get Chip Id cmd failed! Error committed."); fails++; - // Unlock mutex for Error Log to be commited + // Unlock mutex for Error Log to be committed mutex_unlock(l_mutex); errlCommit(l_err,PNOR_COMP_ID); diff --git a/src/usr/runtime/populate_attributes.C b/src/usr/runtime/populate_attributes.C index 5bae9fa77..c128ce63f 100644 --- a/src/usr/runtime/populate_attributes.C +++ b/src/usr/runtime/populate_attributes.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -745,7 +745,7 @@ errlHndl_t populate_attributes( void ) // continue - multi-node - // This msgQ catches the reponses to populate the attributes + // This msgQ catches the responses to populate the attributes msg_q_t msgQ = msg_q_create(); errhdl = MBOX::msgq_register(MBOX::HB_POP_ATTR_MSGQ,msgQ); diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C index a6e72b243..9dd9e0a6f 100644 --- a/src/usr/sbe/sbe_update.C +++ b/src/usr/sbe/sbe_update.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -1163,7 +1163,7 @@ namespace SBE sizeof(NONSECURE_VER_EYECATCH); // Increment pointer sizeof(uint64_t) because eyecatcher - // must be 8-byte alligned + // must be 8-byte aligned for(; tmpPtr(tmpPtr)) == diff --git a/src/usr/sbe/test/sbeupdatetest.H b/src/usr/sbe/test/sbeupdatetest.H index 7c5624b35..d2351418b 100644 --- a/src/usr/sbe/test/sbeupdatetest.H +++ b/src/usr/sbe/test/sbeupdatetest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -612,7 +612,7 @@ class SBEUpdateTest: public CxxTest::TestSuite EEPROM::SBE_PRIMARY, 0x80 }, // case 0xA0: cur=temp, cur=clean, alt=dirty - // Arbitarily Set cur side to 1 (therefore perm set to 0) + // Arbitrarily Set cur side to 1 (therefore perm set to 0) // - update alt=0 // - make cur=perm // - Continue IPL diff --git a/src/usr/secureboot/base/securerom.C b/src/usr/secureboot/base/securerom.C index f67556766..8b2946210 100644 --- a/src/usr/secureboot/base/securerom.C +++ b/src/usr/secureboot/base/securerom.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. */ @@ -468,7 +470,7 @@ void SecureROM::_cleanup() l_errl->collectTrace(SECURE_COMP_NAME,256); - // Commit here because funtion doesn't return error handle + // Commit here because function doesn't return error handle errlCommit(l_errl, SECURE_COMP_ID); // NOTE: Purposely not calling free() here - diff --git a/src/usr/targeting/attrPlatOverride.C b/src/usr/targeting/attrPlatOverride.C index 3f71da189..f9c13d1d2 100644 --- a/src/usr/targeting/attrPlatOverride.C +++ b/src/usr/targeting/attrPlatOverride.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -201,7 +201,7 @@ errlHndl_t getAttrOverrides(PNOR::SectionInfo_t &i_sectionInfo, { // Get the AttributeTank that corresponds to the TankLayer in // the AttrOverrideSection. Enum starts with TANK_LAYER_NONE - // so need to substract 1 + // so need to subtract 1 AttributeTank* l_ptank = l_pOverTanks[l_pAttrOverSec->iv_layer - 1]; // Create serialized chunck with AttrOverrideSection data diff --git a/src/usr/targeting/attrrp.C b/src/usr/targeting/attrrp.C index 4b5ea6baf..6c499e629 100644 --- a/src/usr/targeting/attrrp.C +++ b/src/usr/targeting/attrrp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -91,7 +91,7 @@ namespace TARGETING } while (false); - // If an error occured, post to TaskArgs. + // If an error occurred, post to TaskArgs. if (l_errl) { l_errl->setSev(ERRORLOG::ERRL_SEV_UNRECOVERABLE); diff --git a/src/usr/targeting/common/target.C b/src/usr/targeting/common/target.C index ea79a22a3..2248283c5 100644 --- a/src/usr/targeting/common/target.C +++ b/src/usr/targeting/common/target.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -320,7 +320,7 @@ Target::Target() { #define TARG_FN "Target()" - // Note there is no intialization of a target, since it's mapped to memory + // Note there is no initialization of a target, since it's mapped to memory // directly. #undef TARG_FN diff --git a/src/usr/targeting/common/test/testcommontargeting.H b/src/usr/targeting/common/test/testcommontargeting.H index c38e8157e..6bb22857c 100644 --- a/src/usr/targeting/common/test/testcommontargeting.H +++ b/src/usr/targeting/common/test/testcommontargeting.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -61,7 +61,7 @@ class CommonTargetingTestSuite: public CxxTest::TestSuite { public: /** - * @brief Test a portion of the debug code wich + * @brief Test a portion of the debug code which * prints out the entity path types */ void testEntityPathElementTypeAsString() diff --git a/src/usr/targeting/common/util.C b/src/usr/targeting/common/util.C index bb3eca946..fce8870b4 100644 --- a/src/usr/targeting/common/util.C +++ b/src/usr/targeting/common/util.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. */ @@ -101,7 +103,7 @@ uint32_t get_huid( const Target* i_target ) * * This will be used by the HCDB service - when the target has * changed, this will get called to tell the appropriate services - * that the change has occured. + * that the change has occurred. */ void update_hwas_changed_mask(Target * i_target) { diff --git a/src/usr/trace/buffer.C b/src/usr/trace/buffer.C index 4793b65af..c7bc52a93 100644 --- a/src/usr/trace/buffer.C +++ b/src/usr/trace/buffer.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. */ @@ -404,9 +406,9 @@ namespace TRACE // We just added the newest entry, so update component list. // - // It is possible that the committer of the preceeding entry was + // It is possible that the committer of the preceding entry was // "slow", so we need to keep trying to update until the current - // compoment "first" points at the preceeding entry and then make + // compoment "first" points at the preceding entry and then make // it point at this entry. // while (!__sync_bool_compare_and_swap(&l_comp->iv_first, @@ -562,7 +564,7 @@ namespace TRACE // Get consumer lock. _consumerEnter(); - // Primative #1. + // Primitive #1. if (NULL != i_condAddr) { if (i_condVal == *i_condAddr) @@ -578,7 +580,7 @@ namespace TRACE } } - // Primative #2. + // Primitive #2. if (NULL != i_addr) { *i_addr = i_val; diff --git a/src/usr/trace/buffer.H b/src/usr/trace/buffer.H index a2abc21fa..b73d7b00b 100644 --- a/src/usr/trace/buffer.H +++ b/src/usr/trace/buffer.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. */ @@ -156,10 +158,10 @@ namespace TRACE * because the daemon code is swappable and we cannot block * producers. * - * This function gives a set of primatives to the daemon to + * This function gives a set of primitives to the daemon to * manipulate Entry pointers while secured under the consumer lock. * - * The primatives that can be done are: + * The primitives that can be done are: * 1) if (condAddr == condVal) { condActAddr = condActVal } * 2) addr = val * @@ -167,15 +169,15 @@ namespace TRACE * not be performed. So, just calling consumerOp() has the * side-effect of simply toggling the consumer lock on and off. * - * The return value indicates if primative #1 failed. + * The return value indicates if primitive #1 failed. * - * @param[in] i_condAddr - The address to read for primative 1. - * @param[in] i_condVal - The value to expect for primative 1. - * @param[in] i_condActAddr - The address to store for primative 1. - * @param[in] i_condActVal - The value to store for primative 1. + * @param[in] i_condAddr - The address to read for primitive 1. + * @param[in] i_condVal - The value to expect for primitive 1. + * @param[in] i_condActAddr - The address to store for primitive 1. + * @param[in] i_condActVal - The value to store for primitive 1. * - * @param[in] i_addr - The address to store for primative 2. - * @param[in] i_val - The value to store for primative 2. + * @param[in] i_addr - The address to store for primitive 2. + * @param[in] i_val - The value to store for primitive 2. * * @return bool - false if condAddr != condVal, true otherwise. */ diff --git a/src/usr/trace/daemon/daemon.C b/src/usr/trace/daemon/daemon.C index de438b2f4..d16a34653 100644 --- a/src/usr/trace/daemon/daemon.C +++ b/src/usr/trace/daemon/daemon.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -355,7 +355,7 @@ namespace TRACEDAEMON if (NULL != contBuffer) { sendContBuffer(contBuffer, contBufferSize); - // contBuffer pointer is transfered to mailbox now. + // contBuffer pointer is transferred to mailbox now. } contBuffer = reinterpret_cast(malloc(PAGESIZE)); @@ -364,7 +364,7 @@ namespace TRACEDAEMON contBufferSize = 1; } - // Add entry to continous trace. + // Add entry to continuous trace. memcpy(&contBuffer[contBufferSize], whichEntry->comp->iv_compName, whichEntry->comp->iv_compNameLen); @@ -393,13 +393,13 @@ namespace TRACEDAEMON } while(1); - // Send remainder of continous trace buffer. + // Send remainder of continuous trace buffer. if (NULL != contBuffer) { if (contBufferSize > 1) { sendContBuffer(contBuffer, contBufferSize); - // contBuffer pointer is transfered to mailbox now. + // contBuffer pointer is transferred to mailbox now. } else { @@ -736,7 +736,7 @@ namespace TRACEDAEMON if (NULL != curBuffer) { sendExtractBuffer(curBuffer, curBufferSize); - // curBuffer pointer is transfered to mailbox now. + // curBuffer pointer is transferred to mailbox now. } curBuffer = reinterpret_cast @@ -767,7 +767,7 @@ namespace TRACEDAEMON if (NULL != curBuffer) { sendExtractBuffer(curBuffer, curBufferSize); - // curBuffer pointer is transfered to mailbox now. + // curBuffer pointer is transferred to mailbox now. } // Send one last message to the SP to indicate we're done. diff --git a/src/usr/trace/daemon/daemon.H b/src/usr/trace/daemon/daemon.H index b0ecf85e5..c84ad50bb 100644 --- a/src/usr/trace/daemon/daemon.H +++ b/src/usr/trace/daemon/daemon.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. */ @@ -76,12 +78,12 @@ namespace TRACEDAEMON void collectTracePages(); /** Send continuous trace buffer to SP. * - * Ownership of i_buffer is transfered to mailbox. + * Ownership of i_buffer is transferred to mailbox. */ void sendContBuffer(void* i_buffer, size_t i_size); /** Send extract trace buffer to SP. * - * Ownership of i_buffer is transfered to mailbox. + * Ownership of i_buffer is transferred to mailbox. */ void sendExtractBuffer(void* i_buffer, size_t i_size); /** Reduce component trace buffers if exceeded max size. */ diff --git a/src/usr/vfs/vfsrp.C b/src/usr/vfs/vfsrp.C index fdeb81f72..125197b89 100644 --- a/src/usr/vfs/vfsrp.C +++ b/src/usr/vfs/vfsrp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -399,7 +399,7 @@ void VfsRp::_loadUnload(msg_t * i_msg) // Find VfsSystemModule // The TOC for the extended image sits at the start of the image and is - // not location dependant, so just use the one pointed to by iv_pnor_vaddr + // not location dependent, so just use the one pointed to by iv_pnor_vaddr // to avoid having to copy it to this block VfsSystemModule * module = vfs_find_module @@ -586,7 +586,7 @@ void VfsRp::_exec(msg_t * i_msg) msg_t * msg1 = (msg_t *) i_msg->data[0]; // The TOC for the extended image sits at the start of the image and is - // not location dependant, so just use the one pointed to by iv_pnor_vaddr + // not location dependent, so just use the one pointed to by iv_pnor_vaddr // to avoid having to copy it to this block VfsSystemModule * module = vfs_find_module((VfsSystemModule *)(iv_pnor_vaddr + diff --git a/src/usr/vfs/vfsrp.H b/src/usr/vfs/vfsrp.H index 69f9c036e..ca4d13512 100644 --- a/src/usr/vfs/vfsrp.H +++ b/src/usr/vfs/vfsrp.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,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. */ @@ -56,7 +58,7 @@ namespace VFS void get_test_modules(std::vector & o_list) const; /** - * Test for existance of module + * Test for existence of module * @param[in] i_name module name * @return [true|false] */ diff --git a/src/usr/vpd/ipvpd.C b/src/usr/vpd/ipvpd.C index 8e7e4a301..2eec10f4f 100644 --- a/src/usr/vpd/ipvpd.C +++ b/src/usr/vpd/ipvpd.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -850,7 +850,7 @@ bool IpVpdFacade::hasVpdPresent( TARGETING::Target * i_target, if( err ) { - TRACFCOMP( g_trac_vpd, ERR_MRK"Error occured during translateRecord\ + TRACFCOMP( g_trac_vpd, ERR_MRK"Error occurred during translateRecord\ - IpVpdFacade::hasVpdPresent"); break; } @@ -860,7 +860,7 @@ bool IpVpdFacade::hasVpdPresent( TARGETING::Target * i_target, if( err ) { - TRACFCOMP( g_trac_vpd, ERR_MRK"Error occured during \ + TRACFCOMP( g_trac_vpd, ERR_MRK"Error occurred during \ translateKeyword - IpVpdFacade::hasVpdPresent" ); break; } diff --git a/src/usr/vpd/ipvpd.H b/src/usr/vpd/ipvpd.H index aa0bf8c81..4bdeff68d 100644 --- a/src/usr/vpd/ipvpd.H +++ b/src/usr/vpd/ipvpd.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -44,7 +44,7 @@ class IpVpdFacade public: /** - * @brief Miscelaneous IPVPD definitions + * @brief Miscellaneous IPVPD definitions */ enum { diff --git a/src/usr/vpd/spd.H b/src/usr/vpd/spd.H index b47c78438..c7ad2e0cb 100755 --- a/src/usr/vpd/spd.H +++ b/src/usr/vpd/spd.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -78,7 +78,7 @@ enum }; /** - * @brief Enumerations for Module Specfic Keywords + * @brief Enumerations for Module Specific Keywords */ typedef enum { @@ -366,7 +366,7 @@ bool spdPresent ( TARGETING::Target * i_target ); * * @param[in] i_accessType - DeviceFW::AccessType enum. * - * @param[in] i_args - An arguement for the Device Driver framework. There + * @param[in] i_args - An argument for the Device Driver framework. There * are no args for this function. * * @return errlHndl_t - NULL if successful, otherwise a pointer to the diff --git a/src/usr/xscom/xscom.C b/src/usr/xscom/xscom.C index 1e6c9519f..bfc4df2e6 100644 --- a/src/usr/xscom/xscom.C +++ b/src/usr/xscom/xscom.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -710,7 +710,7 @@ void collectXscomFFDC(TARGETING::Target* i_target, TRACFCOMP(g_trac_xscom,ERR_MRK "XSCOM Collect FFDC FAILED: XscomAddr = %.16llx, VAddr=%llx",XscomAddr[i], l_virtAddr); } - // only add the Register data to the originating errorlog if successfull + // only add the Register data to the originating errorlog if successful else { // Collect the data from the read -- cgit v1.2.1