summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H44
-rw-r--r--src/include/usr/errl/errlentry.H66
-rw-r--r--src/include/usr/hwpf/fapi/fapiReturnCode.H52
-rw-r--r--src/include/usr/hwpf/fapi/fapiTarget.H51
-rw-r--r--src/include/usr/targeting/common/entitypath.H51
-rw-r--r--src/usr/ecmddatabuffer/ecmdDataBufferBase.C44
-rw-r--r--src/usr/errl/errlentry.C97
-rw-r--r--src/usr/hwpf/fapi/fapiReturnCode.C71
-rw-r--r--src/usr/hwpf/fapi/fapiTarget.C69
-rw-r--r--src/usr/targeting/common/entitypath.C82
10 files changed, 246 insertions, 381 deletions
diff --git a/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H b/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
index b58fe05b0..7c149d4da 100644
--- a/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
+++ b/src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/ecmddatabuffer/ecmdDataBufferBase.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
// IMPORTED FROM eCMD on 11/10/2011
#ifndef ecmdDataBufferBase_H
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H
index b3255a55b..bc9d8a32a 100644
--- a/src/include/usr/errl/errlentry.H
+++ b/src/include/usr/errl/errlentry.H
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/include/usr/errl/errlentry.H $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/errl/errlentry.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef ERRLENTRY_H
#define ERRLENTRY_H
/**
@@ -143,7 +142,7 @@ public:
* @return Current Log Severity
*
*/
- errlSeverity_t sev() const;
+ errlSeverity_t sev() const { return iv_User.iv_severity; }
/**
@@ -157,7 +156,10 @@ public:
*
* @return void
*/
- void setSev(const errlSeverity_t i_sev);
+ void setSev(const errlSeverity_t i_sev)
+ {
+ iv_User.iv_severity = i_sev;
+ }
/**
@@ -216,7 +218,7 @@ public:
* @return errlEventType_t
*
*/
- errlEventType_t eventType() const;
+ errlEventType_t eventType() const { return iv_User.iv_etype; }
/**
* @brief Set the log's event type
@@ -226,7 +228,10 @@ public:
* @return void
*
*/
- void setEventType(const errlEventType_t i_eventType);
+ void setEventType(const errlEventType_t i_eventType)
+ {
+ iv_User.iv_etype = i_eventType;
+ }
/**
* @brief Returns the log's sub system. See errl/errltypes.H
@@ -234,7 +239,7 @@ public:
* @return epubSubSystem_t
*
*/
- epubSubSystem_t subSys() const;
+ epubSubSystem_t subSys() const { return iv_User.iv_ssid; }
/**
* @brief Set the log's ePub sub system type.
@@ -243,7 +248,10 @@ public:
*
* @return void
*/
- void setSubSys(const epubSubSystem_t i_subSys);
+ void setSubSys(const epubSubSystem_t i_subSys)
+ {
+ iv_User.iv_ssid = i_subSys;
+ }
/**
diff --git a/src/include/usr/hwpf/fapi/fapiReturnCode.H b/src/include/usr/hwpf/fapi/fapiReturnCode.H
index d93426328..ed6b37309 100644
--- a/src/include/usr/hwpf/fapi/fapiReturnCode.H
+++ b/src/include/usr/hwpf/fapi/fapiReturnCode.H
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/include/usr/hwpf/fapi/fapiReturnCode.H $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/hwpf/fapi/fapiReturnCode.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file fapiReturnCode.H
*
@@ -43,6 +42,7 @@
* mjjones 02/22/2012 Allow user to add Target FFDC
* mjjones 03/16/2012 Add type to FFDC data
* mjjones 03/16/2012 Allow different PLAT errors
+ * brianh 07/31/2012 performance/size optimizations
* mjjones 08/14/2012 Created getCreateReturnCodeDataRef
*/
@@ -111,7 +111,7 @@ public:
/**
* @brief Default constructor. Sets rcValue to success
*/
- ReturnCode();
+ ReturnCode() : iv_rcValue(FAPI_RC_SUCCESS), iv_pDataRef(NULL) { }
/**
* @brief Constructor. Sets rcValue to the specified value
@@ -165,7 +165,7 @@ public:
*
* @return bool. True if ok, else false
*/
- bool ok() const;
+ bool ok() const { return (iv_rcValue == FAPI_RC_SUCCESS); }
/**
* @brief uint32_t conversion function. Returns the rcValue
@@ -175,7 +175,7 @@ public:
* 2/ ReturnCode to ReturnCode (Both ReturnCode converted to uint32_t)
* This allows a user to test if a ReturnCode is bad (if (l_rc){})
*/
- operator uint32_t() const;
+ operator uint32_t() const { return iv_rcValue; }
/**
* @brief Sets a FAPI error. Sets the rcValue to the supplied value (from
diff --git a/src/include/usr/hwpf/fapi/fapiTarget.H b/src/include/usr/hwpf/fapi/fapiTarget.H
index 63da687b9..0437691b3 100644
--- a/src/include/usr/hwpf/fapi/fapiTarget.H
+++ b/src/include/usr/hwpf/fapi/fapiTarget.H
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/include/usr/hwpf/fapi/fapiTarget.H $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/hwpf/fapi/fapiTarget.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file fapiTarget.H
*
@@ -170,7 +169,7 @@ public:
*
* @return Handle_t. The handle.
*/
- void * get() const;
+ void * get() const { return iv_pHandle; }
/**
* @brief Set the handle. Platform using Handle_t as handle
@@ -186,14 +185,14 @@ public:
*
* @return The type of target represented by this target
*/
- TargetType getType() const;
+ TargetType getType() const { return iv_type; }
/**
* @brief Set the target type
*
* @param[in] i_type The type of target represented by this target
*/
- void setType(const TargetType i_type);
+ void setType(const TargetType i_type) { iv_type = i_type; }
/**
* @brief Returns if the target is a chip
diff --git a/src/include/usr/targeting/common/entitypath.H b/src/include/usr/targeting/common/entitypath.H
index 5d46af493..cee5422cc 100644
--- a/src/include/usr/targeting/common/entitypath.H
+++ b/src/include/usr/targeting/common/entitypath.H
@@ -1,26 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/include/usr/targeting/entitypath.H $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
-
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/targeting/common/entitypath.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef __TARGETING_COMMON_ENTITYPATH_H
#define __TARGETING_COMMON_ENTITYPATH_H
@@ -137,7 +136,7 @@ class EntityPath
* @post Entity path destroyed and all previously owned exclusive
* resources freed
*/
- ~EntityPath();
+ ~EntityPath() {}
/**
* @brief Removes/clears the last path element from an entity path
@@ -335,7 +334,7 @@ class EntityPath
*
* @return uint32_t giving the number of path elements
*/
- uint32_t size() const;
+ uint32_t size() const { return iv_size; }
/**
* @brief Sets the path type
@@ -364,7 +363,7 @@ class EntityPath
*
* @return PATH_TYPE indicating the entity path's path type
*/
- PATH_TYPE type() const;
+ PATH_TYPE type() const { return iv_type; }
/**
* @brief DEBUG ONLY. Returns the path type as a string.
diff --git a/src/usr/ecmddatabuffer/ecmdDataBufferBase.C b/src/usr/ecmddatabuffer/ecmdDataBufferBase.C
index 0ab6c2920..7ef29de82 100644
--- a/src/usr/ecmddatabuffer/ecmdDataBufferBase.C
+++ b/src/usr/ecmddatabuffer/ecmdDataBufferBase.C
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/ecmddatabuffer/ecmdDataBufferBase.C $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/ecmddatabuffer/ecmdDataBufferBase.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
// IMPORTED FROM eCMD on 11/10/2011
// Copyright ***********************************************************
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C
index 992f0a0c1..76d4a99de 100644
--- a/src/usr/errl/errlentry.C
+++ b/src/usr/errl/errlentry.C
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/usr/errl/errlentry.C $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/errl/errlentry.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file errlentry.C
*
@@ -248,7 +247,6 @@ void ErrlEntry::removeBackTrace()
iv_pBackTrace = NULL;
}
-
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
void ErrlEntry::addHwCallout(const TARGETING::Target *i_target,
@@ -290,57 +288,6 @@ void ErrlEntry::addProcedureCallout(const HWAS::epubProcedureID i_procedure,
} // addProcedureCallout
-////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-errlSeverity_t ErrlEntry::sev() const
-{
- return iv_User.iv_severity;
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-void ErrlEntry::setSev(const errlSeverity_t i_sev)
-{
- iv_User.iv_severity = i_sev;
- return;
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-errlEventType_t ErrlEntry::eventType() const
-{
- return iv_User.iv_etype;
-}
-
-
-
-////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-void ErrlEntry::setEventType(const errlEventType_t i_eventType)
-{
- iv_User.iv_etype = i_eventType;
- return;
-}
-
-////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-epubSubSystem_t ErrlEntry::subSys() const
-{
- return iv_User.iv_ssid;
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////
-void ErrlEntry::setSubSys(const epubSubSystem_t i_subSys)
-{
- iv_User.iv_ssid = i_subSys;
- return;
-}
-
-
///////////////////////////////////////////////////////////////////////////////
// for use by ErrlManager
void ErrlEntry::commit( compId_t i_committerComponent )
diff --git a/src/usr/hwpf/fapi/fapiReturnCode.C b/src/usr/hwpf/fapi/fapiReturnCode.C
index 08eca6c82..97b923406 100644
--- a/src/usr/hwpf/fapi/fapiReturnCode.C
+++ b/src/usr/hwpf/fapi/fapiReturnCode.C
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/usr/hwpf/fapi/fapiReturnCode.C $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/hwpf/fapi/fapiReturnCode.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file fapiReturnCode.C
*
@@ -46,6 +45,7 @@
* mjjones 03/16/2012 Allow different PLAT errors
* mjjones 05/02/2012 Only trace setEcmdError on err
* mjjones 07/11/2012 Remove a trace
+ * brianh 07/31/2012 performance/size optimizations
* mjjones 08/14/2012 Use new ErrorInfo structure
*/
@@ -57,15 +57,6 @@ namespace fapi
{
//******************************************************************************
-// Default Constructor
-//******************************************************************************
-ReturnCode::ReturnCode() :
- iv_rcValue(FAPI_RC_SUCCESS), iv_pDataRef(NULL)
-{
-
-}
-
-//******************************************************************************
// Constructor
//******************************************************************************
ReturnCode::ReturnCode(const ReturnCodes i_rcValue) :
@@ -139,22 +130,6 @@ ReturnCode & ReturnCode::operator=(const uint32_t i_rcValue)
}
//******************************************************************************
-// ok function
-//******************************************************************************
-bool ReturnCode::ok() const
-{
- return (iv_rcValue == FAPI_RC_SUCCESS);
-}
-
-//******************************************************************************
-// returnCode_t cast
-//******************************************************************************
-ReturnCode::operator uint32_t() const
-{
- return iv_rcValue;
-}
-
-//******************************************************************************
// setFapiError function
//******************************************************************************
void ReturnCode::setFapiError(const ReturnCodes i_rcValue)
diff --git a/src/usr/hwpf/fapi/fapiTarget.C b/src/usr/hwpf/fapi/fapiTarget.C
index 71de0c95b..9546f3d23 100644
--- a/src/usr/hwpf/fapi/fapiTarget.C
+++ b/src/usr/hwpf/fapi/fapiTarget.C
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/usr/hwpf/fapi/fapiTarget.C $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2011-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/hwpf/fapi/fapiTarget.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file fapiTarget.C
*
@@ -123,14 +122,6 @@ bool Target::operator!=(const Target & i_right) const
}
//******************************************************************************
-// Get the handle.
-//******************************************************************************
-void * Target::get() const
-{
- return iv_pHandle;
-}
-
-//******************************************************************************
// Set the handle.
//******************************************************************************
void Target::set(void * i_pHandle)
@@ -141,22 +132,6 @@ void Target::set(void * i_pHandle)
}
//******************************************************************************
-// Get the target type
-//******************************************************************************
-TargetType Target::getType() const
-{
- return iv_type;
-}
-
-//******************************************************************************
-// Set the target type
-//******************************************************************************
-void Target::setType(const TargetType i_type)
-{
- iv_type = i_type;
-}
-
-//******************************************************************************
// Is the target a chip?
//******************************************************************************
bool Target::isChip() const
diff --git a/src/usr/targeting/common/entitypath.C b/src/usr/targeting/common/entitypath.C
index af1c30ff8..46ba7d88a 100644
--- a/src/usr/targeting/common/entitypath.C
+++ b/src/usr/targeting/common/entitypath.C
@@ -1,26 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/targeting/entitypath.C $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
-
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/targeting/common/entitypath.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
* @file targeting/common/entitypath.C
*
@@ -84,17 +83,6 @@ EntityPath::EntityPath()
}
//******************************************************************************
-// EntityPath::~EntityPath
-//******************************************************************************
-
-EntityPath::~EntityPath()
-{
- #define TARG_FN "~EntityPath()"
-
- #undef TARG_FN
-}
-
-//******************************************************************************
// EntityPath::removeLast
//******************************************************************************
@@ -262,19 +250,6 @@ const EntityPath::PathElement EntityPath::pathElementOfType(
}
//******************************************************************************
-// EntityPath::size
-//******************************************************************************
-
-uint32_t EntityPath::size() const
-{
- #define TARG_FN "size()"
-
- return iv_size;
-
- #undef TARG_FN
-}
-
-//******************************************************************************
// EntityPath::setType
//******************************************************************************
@@ -289,19 +264,6 @@ void EntityPath::setType(
}
//******************************************************************************
-// EntityPath::type
-//******************************************************************************
-
-EntityPath::PATH_TYPE EntityPath::type() const
-{
- #define TARG_FN "type()"
-
- return iv_type;
-
- #undef TARG_FN
-}
-
-//******************************************************************************
// EntityPath::pathTypeAsString (DEBUG)
//******************************************************************************
OpenPOWER on IntegriCloud