<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-hcode/import/hwpf/fapi2/include/buffer.H, branch 06-18-2018</title>
<subtitle>Blackbird™ HCODE sources</subtitle>
<id>https://git.raptorcs.com/git/talos-hcode/atom?h=06-18-2018</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-hcode/atom?h=06-18-2018'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/'/>
<updated>2018-02-01T21:46:00+00:00</updated>
<entry>
<title>fapi2: Fix template call sites for GCC 7</title>
<updated>2018-02-01T21:46:00+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel.stanley@au1.ibm.com</email>
</author>
<published>2017-11-16T01:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=d19301c2376719c8455bd2fa3f11258e62717070'/>
<id>urn:sha1:d19301c2376719c8455bd2fa3f11258e62717070</id>
<content type='text'>
The following errors stop hostboot from building with modern GCC:

src/import/hwpf/fapi2/include/buffer.H:710:23: error: invalid
operands of types ‘&lt;unresolved overloaded function type&gt;’ and
‘fapi2::bufferTraits&lt;long unsigned int, unsigned int&gt;::bits_type
{aka unsigned int}’ to binary ‘operator&lt;’
             out.insert&lt;TS, L, SS&gt;(iv_data);
             ~~~~~~~~~~^~~

src/import/hwpf/fapi2/include/buffer.H: In member function
‘fapi2::buffer&lt;T, TT&gt;&amp; fapi2::buffer&lt;T, TT&gt;::flipBit()’:
src/import/hwpf/fapi2/include/buffer.H:316:49: error: expected
primary-expression before ‘)’ token
             iv_data ^= buffer&lt;T&gt;().setBit&lt;B, C&gt;();
                                                 ^
In both cases the call site needs to be prepended with the keyword
'template'. Otherwise the name is assumed to be a non-template (as per
C++ 14.2/4).

Change-Id: I925c35d51787c4f4f232372f0e1299ec2a5cab42
Signed-off-by: Joel Stanley &lt;joel.stanley@au1.ibm.com&gt;
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49760
Tested-by: FSP CI Jenkins &lt;fsp-CI-jenkins+hostboot@us.ibm.com&gt;
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: HWSV CI &lt;hwsv-ci+hostboot@us.ibm.com&gt;
Tested-by: PPE CI &lt;ppe-ci+hostboot@us.ibm.com&gt;
Tested-by: Hostboot CI &lt;hostboot-ci+hostboot@us.ibm.com&gt;
Reviewed-by: Daniel M. Crowell &lt;dcrowell@us.ibm.com&gt;
Reviewed-by: ANDRE A. MARIN &lt;aamarin@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Enable and fix error log variable_buffer support.</title>
<updated>2017-10-23T22:50:28+00:00</updated>
<author>
<name>Donald Washburn</name>
<email>dwashbur@us.ibm.com</email>
</author>
<published>2017-06-08T15:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=176045b1a9d7280c345b97a59a35744e51f29fac'/>
<id>urn:sha1:176045b1a9d7280c345b97a59a35744e51f29fac</id>
<content type='text'>
Errorlog support for the fapi2::variable_buffer type was not enabled in
hostboot. Tests showed that when enabled, variable_buffer data was not
being propagated properly to the error log. The issue was found to be
that the pointer to the variable_buffer's internal data was not being
properly passed to an ffdc_t object. Also, transferring the size of
the variable_buffer data was not being correctly communicated to an
ffdc_t object because a specialization of the getErrorInfoFfdcSize
template function is needed. Becuase the specialization of the
getErrorInfoFfdcSize function with an ffdc_t parameter did not exist,
the code base used the primary function template for the
getErrorInfoFfdcSize function which just returns the size of an ffdc_t
object passed to it instead of the size of the contained data within
the ffdc_t.

Changes:
* Added specialization of getErrorInfoFfdcSize for fapi2::ffdc_t.
* Enabled variable_buffer support in parseErrorInfo.mk.
* Added const overload of the pointer() method for the fapi2::buffer
  and fapi2::variable_buffer classes. This to allow these methods
  to be used in the set_BUFFER methods that take a const reference
  to objects of these classes.
* Modified parseErrorInfo.pl to generate code to use the above
  mentioned pointer methods. The adjusted generated code fixes
  the problem of assigning an incorrect buffer pointer.

Change-Id: I96dc89fbb68ee6a153ca43191181c56804b84ae8
RTC: 175239
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41541
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: PPE CI &lt;ppe-ci+hostboot@us.ibm.com&gt;
Tested-by: Hostboot CI &lt;hostboot-ci+hostboot@us.ibm.com&gt;
Reviewed-by: William G. Hoffa &lt;wghoffa@us.ibm.com&gt;
Reviewed-by: Richard J. Knight &lt;rjknight@us.ibm.com&gt;
Reviewed-by: Prachi Gupta &lt;pragupta@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add another writeBit API, modify getBit. Add unit tests.</title>
<updated>2017-10-23T22:23:55+00:00</updated>
<author>
<name>Andre Marin</name>
<email>aamarin@us.ibm.com</email>
</author>
<published>2017-04-04T17:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=7e974bdfce2fcfca88981a0a103bd061d2da6a1c'/>
<id>urn:sha1:7e974bdfce2fcfca88981a0a103bd061d2da6a1c</id>
<content type='text'>
Change-Id: I9bd9efdc4b2c8a2eac26b7b1f1e1ef183d81f9b6
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38817
Tested-by: Jenkins Server &lt;pfd-jenkins+hostboot@us.ibm.com&gt;
Tested-by: PPE CI &lt;ppe-ci+hostboot@us.ibm.com&gt;
Tested-by: Hostboot CI &lt;hostboot-ci+hostboot@us.ibm.com&gt;
Reviewed-by: STEPHEN GLANCY &lt;sglancy@us.ibm.com&gt;
Reviewed-by: JACOB L. HARVEY &lt;jlharvey@us.ibm.com&gt;
Reviewed-by: Matt K. Light &lt;mklight@us.ibm.com&gt;
Reviewed-by: Thi N. Tran &lt;thi@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Modify freq &amp; dep. files. Add cas latency &amp; unit tests</title>
<updated>2017-10-23T21:00:38+00:00</updated>
<author>
<name>Andre Marin</name>
<email>aamarin@us.ibm.com</email>
</author>
<published>2016-03-02T18:52:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=9f784676063b529d7db8fc9c83306a4ceb345572'/>
<id>urn:sha1:9f784676063b529d7db8fc9c83306a4ceb345572</id>
<content type='text'>
Change-Id: I205bf48e54fb3c8f19f973f58f8ec1d4c7345a23
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22632
Tested-by: PPE CI
Tested-by: Jenkins Server
Reviewed-by: Brian R. Silver &lt;bsilver@us.ibm.com&gt;
Tested-by: Hostboot CI
Reviewed-by: JACOB L. HARVEY &lt;jlharvey@us.ibm.com&gt;
Reviewed-by: STEPHEN GLANCY &lt;sglancy@us.ibm.com&gt;
Reviewed-by: Louis Stermole &lt;stermole@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fix mask calculation in buffer insert function</title>
<updated>2017-10-23T20:53:46+00:00</updated>
<author>
<name>Santosh Puranik</name>
<email>santosh.puranik@in.ibm.com</email>
</author>
<published>2015-10-29T08:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=8f67e70cb9fc645f326f50ed4fba97018e2cd8d4'/>
<id>urn:sha1:8f67e70cb9fc645f326f50ed4fba97018e2cd8d4</id>
<content type='text'>
Change-Id: Iec346df5b73f4e1796a73b1c6ac8fcebfcf58c4d
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21589
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta &lt;sgupta2m@in.ibm.com&gt;
Reviewed-by: Brian Silver &lt;bsilver@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>added plat_trace.H include for FAPI_ERR use in buffer.H</title>
<updated>2017-10-23T20:51:54+00:00</updated>
<author>
<name>Matt K. Light</name>
<email>mklight@us.ibm.com</email>
</author>
<published>2015-10-23T20:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=e193804ded45b8961b80000ccb58af1599558824'/>
<id>urn:sha1:e193804ded45b8961b80000ccb58af1599558824</id>
<content type='text'>
Change-Id: If0a6884e7005022eb5e2730883e8c3bef16c95e3
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21456
Tested-by: Jenkins Server
Reviewed-by: Richard J. Knight &lt;rjknight@us.ibm.com&gt;
Reviewed-by: Brian Silver &lt;bsilver@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>fapi2 doxygen warning/error cleanup from ecmd repository</title>
<updated>2017-10-23T20:51:52+00:00</updated>
<author>
<name>Kahn Evans</name>
<email>kahnevan@us.ibm.com</email>
</author>
<published>2015-10-06T18:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=1a5661b1fba97ff94d5d036c2b85bb50e6fb5107'/>
<id>urn:sha1:1a5661b1fba97ff94d5d036c2b85bb50e6fb5107</id>
<content type='text'>
Change-Id: I502a6f79f461632588b46e51d5892e2d6b74942d
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20985
Tested-by: Jenkins Server
Reviewed-by: Matt K. Light &lt;mklight@us.ibm.com&gt;
Reviewed-by: Brian Silver &lt;bsilver@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>FAPI2 - Error/FFDC work related updates</title>
<updated>2017-10-23T20:51:48+00:00</updated>
<author>
<name>Thi Tran</name>
<email>thi@us.ibm.com</email>
</author>
<published>2015-07-23T21:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=89efbd9588323d819a9f1f366c70476702256489'/>
<id>urn:sha1:89efbd9588323d819a9f1f366c70476702256489</id>
<content type='text'>
Change-Id: I2c153d4362791d885b85fee0f4891a9239c6aec7
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19308
Tested-by: Jenkins Server
Reviewed-by: Matt K. Light &lt;mklight@us.ibm.com&gt;
Reviewed-by: Richard J. Knight &lt;rjknight@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fixed overflow problem in buffers</title>
<updated>2017-10-23T20:51:43+00:00</updated>
<author>
<name>Brian Silver</name>
<email>bsilver@us.ibm.com</email>
</author>
<published>2015-08-27T20:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=2cb1dee70c617d460e0f0c9bde48a879d648b8dc'/>
<id>urn:sha1:2cb1dee70c617d460e0f0c9bde48a879d648b8dc</id>
<content type='text'>
Change-Id: Idb3349052373cedaa8955b530a00dd7a25e72122
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20182
Tested-by: Jenkins Server
Reviewed-by: Matt K. Light &lt;mklight@us.ibm.com&gt;
Reviewed-by: WILLIAM G. HOFFA &lt;wghoffa@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>made const extract methods</title>
<updated>2017-10-23T20:51:14+00:00</updated>
<author>
<name>Matt K. Light</name>
<email>mklight@us.ibm.com</email>
</author>
<published>2015-06-29T18:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=961d6b34b08cbc2e57f832499b99351b728fb4ab'/>
<id>urn:sha1:961d6b34b08cbc2e57f832499b99351b728fb4ab</id>
<content type='text'>
Change-Id: I556f0028fcfae3b3d3892897edf8c853d8873660
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18831
Tested-by: Jenkins Server
Reviewed-by: Thi N. Tran &lt;thi@us.ibm.com&gt;
Reviewed-by: Brian Silver &lt;bsilver@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
</feed>
