diff options
author | Mike Jones <mjjones@us.ibm.com> | 2012-07-11 15:27:32 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-16 14:14:14 -0500 |
commit | 108e5b64916ae16346e6d8b67b0f75468b251062 (patch) | |
tree | 153b9a606de073c8a28e360fd127ebc9b1befe56 /src/include | |
parent | 1535c27d4a7a970f3e14ace7cb980ae06820e9ec (diff) | |
download | talos-hostboot-108e5b64916ae16346e6d8b67b0f75468b251062.tar.gz talos-hostboot-108e5b64916ae16346e6d8b67b0f75468b251062.zip |
HWPF: Minor fapi::Target fix and FAPI tracing tweaks
When fapi::Target::set(...) is called to set a Target Handle, the internal
cached ecmd string needs to be deleted because it may no longer be correct
for the new handle. Also some other minor tracing tweaks here that were
requested by the HW team. There is no RTC story for this minor change.
Change-Id: I20c6d99faf31c0d84938fb09af053ae1a698bafd
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1339
Tested-by: Jenkins Server
Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/hwpf/fapi/fapiTarget.H | 54 | ||||
-rw-r--r-- | src/include/usr/hwpf/fapi/fapiUtil.H | 48 |
2 files changed, 49 insertions, 53 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiTarget.H b/src/include/usr/hwpf/fapi/fapiTarget.H index c5043cb2b..63da687b9 100644 --- a/src/include/usr/hwpf/fapi/fapiTarget.H +++ b/src/include/usr/hwpf/fapi/fapiTarget.H @@ -1,25 +1,26 @@ -// 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 -// -// 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/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 + */ /** * @file fapiTarget.H * @@ -220,12 +221,7 @@ public: */ const char * toEcmdString() const; -// TODO -// When eCMD releases the version of this file that has toString as private then -// all users will be forced to switch to use the improved toEcmdString. Right -// now, there is a new HWP that uses toString, therefore temporarily move -// toString back to public. -//private: +private: /** * @brief Convert a target to an ecmd-format target string @@ -242,8 +238,6 @@ public: */ void toString(char (&o_ecmdString)[MAX_ECMD_STRING_LEN]) const; -private: - /** * @brief Compare the handle * diff --git a/src/include/usr/hwpf/fapi/fapiUtil.H b/src/include/usr/hwpf/fapi/fapiUtil.H index 53d99f108..2991913c6 100644 --- a/src/include/usr/hwpf/fapi/fapiUtil.H +++ b/src/include/usr/hwpf/fapi/fapiUtil.H @@ -1,25 +1,26 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/include/usr/hwpf/fapi/fapiUtil.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/hwpf/fapi/fapiUtil.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 + */ /** * @file fapiUtil.H * @@ -176,7 +177,8 @@ fapi::ReturnCode fapiUnloadInitFile(const char * i_file, const char *& io_addr, * istep dispatcher. * @param[in] i_info Tag to send when at breakpoint */ -void fapiBreakPoint( uint32_t i_info); + +void fapiBreakPoint(uint32_t i_info); } |