summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2011-07-05 13:10:01 -0500
committerMIKE J. JONES <mjjones@us.ibm.com>2011-07-12 11:19:33 -0500
commite3fc77c59a071c009e13acdf4c4b2ce6a718a570 (patch)
treeb6797ecc6735caf1d21866d10f51bd57aee9f68c /src/include
parent0849df559aaa0fb758dfa92148f9e7a2c3d10105 (diff)
downloadtalos-hostboot-e3fc77c59a071c009e13acdf4c4b2ce6a718a570.tar.gz
talos-hostboot-e3fc77c59a071c009e13acdf4c4b2ce6a718a570.zip
HWPF const fixes and perl script updates
Change-Id: Icb0393cac0e9143638b8d6811cc528404d29977c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/186 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwpf/fapi/fapiReturnCode.H10
-rw-r--r--src/include/usr/hwpf/fapi/fapiReturnCodeDataRef.H16
-rw-r--r--src/include/usr/hwpf/fapi/fapiTarget.H8
-rw-r--r--src/include/usr/hwpf/fapi/fapiUtil.H3
4 files changed, 27 insertions, 10 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiReturnCode.H b/src/include/usr/hwpf/fapi/fapiReturnCode.H
index 29b448add..d7e35b772 100644
--- a/src/include/usr/hwpf/fapi/fapiReturnCode.H
+++ b/src/include/usr/hwpf/fapi/fapiReturnCode.H
@@ -4,6 +4,14 @@
* @brief Defines the ReturnCode class that is a generic return code.
*/
+/*
+ * Change Log ******************************************************************
+ * Flag Defect/Feature User Date Description
+ * ------ -------------- ---------- ----------- ----------------------------
+ * mjjones 04/13/2011 Created.
+ * mjjones 07/05/2011. Removed const from data
+ */
+
#ifndef FAPIRETURNCODE_H_
#define FAPIRETURNCODE_H_
@@ -146,7 +154,7 @@ public:
*
* param[in] i_pData Pointer to ReturnCodeData (on the heap)
*/
- void setData(const void * i_pData);
+ void setData(void * i_pData);
/**
* @brief Gets the creator of the return code
diff --git a/src/include/usr/hwpf/fapi/fapiReturnCodeDataRef.H b/src/include/usr/hwpf/fapi/fapiReturnCodeDataRef.H
index 683438add..855191b95 100644
--- a/src/include/usr/hwpf/fapi/fapiReturnCodeDataRef.H
+++ b/src/include/usr/hwpf/fapi/fapiReturnCodeDataRef.H
@@ -5,6 +5,14 @@
* reference count to a platform specific ReturnCodeData object.
*/
+/*
+ * Change Log ******************************************************************
+ * Flag Defect/Feature User Date Description
+ * ------ -------------- ---------- ----------- ----------------------------
+ * mjjones 04/13/2011 Created.
+ * mjjones 07/05/2011. Removed const from data
+ */
+
#ifndef FAPIRETURNCODEDATAREF_H_
#define FAPIRETURNCODEDATAREF_H_
@@ -39,7 +47,7 @@ public:
*
* @param[in] i_pData Pointer to platform specific ReturnCodeData
*/
- explicit ReturnCodeDataRef(const void * i_pData);
+ explicit ReturnCodeDataRef(void * i_pData);
/**
* @brief Destructor
@@ -67,7 +75,7 @@ public:
* @return void *. Pointer to ReturnCodeData. If NULL then no data (must
* have been released)
*/
- const void * getData() const;
+ void * getData() const;
/**
* @brief Get a pointer to any ReturnCodeData and release ownership from
@@ -78,7 +86,7 @@ public:
* @return void *. Pointer to ReturnCodeData. If NULL then no data (must
* have been released)
*/
- const void * releaseData();
+ void * releaseData();
private:
@@ -98,7 +106,7 @@ private:
uint32_t iv_refCount;
// Pointer to platform specific ReturnCodeData
- const void * iv_pData;
+ void * iv_pData;
};
}
diff --git a/src/include/usr/hwpf/fapi/fapiTarget.H b/src/include/usr/hwpf/fapi/fapiTarget.H
index d79beee4f..1256380b3 100644
--- a/src/include/usr/hwpf/fapi/fapiTarget.H
+++ b/src/include/usr/hwpf/fapi/fapiTarget.H
@@ -11,7 +11,7 @@
* ------ -------------- ---------- ----------- ----------------------------
* mjjones 04/13/2011 Created. Based on Hlava prototype
* mjjones 06/29/2011 Removed incorrect MSB from 2 enums
- *
+ * mjjones 07/05/2011. Removed const from handle
*/
#ifndef FAPITARGET_H_
@@ -74,7 +74,7 @@ public:
* @param[in] i_pHandle Pointer to platform specific Target handle
*/
Target(const TargetType i_type,
- const void * i_pHandle);
+ void * i_pHandle);
/**
* @brief Copy Constructor
@@ -131,7 +131,7 @@ public:
*
* @param[in] i_pHandle Pointer to platform specific handle
*/
- void set(const void * i_pHandle);
+ void set(void * i_pHandle);
/**
* @brief Get the target type
@@ -196,7 +196,7 @@ private:
TargetType iv_type;
// Pointer to platform specific Target Handle
- const void * iv_pHandle;
+ void * iv_pHandle;
};
}
diff --git a/src/include/usr/hwpf/fapi/fapiUtil.H b/src/include/usr/hwpf/fapi/fapiUtil.H
index 843465142..0540a79cf 100644
--- a/src/include/usr/hwpf/fapi/fapiUtil.H
+++ b/src/include/usr/hwpf/fapi/fapiUtil.H
@@ -9,8 +9,9 @@
* Flag Defect/Feature User Date Description
* ------ -------------- ---------- ----------- ----------------------------
* mjjones 04/13/2011 Created.
- * camvanng 05/31/2011 Removed fapiOutputx macros
+ * camvanng 05/31/2011 Removed fapiOutputx macros
* mjjones 06/30/2011 Removed #include
+ * mjjones 07/05/2011 Removed rogue tab
*
*/
OpenPOWER on IntegriCloud