summaryrefslogtreecommitdiffstats
path: root/import/hwpf
Commit message (Collapse)AuthorAgeFilesLines
* Support for PPE commit 49883 to error out on non-TOR ring section.Claus Michael Olsen2018-02-011-1/+4
| | | | | | | | | | | | | Change-Id: I7912c20e865aafe28c894bad98e4fbc3156d59ce Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50107 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* fapi2: Fix template call sites for GCC 7Joel Stanley2018-02-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following errors stop hostboot from building with modern GCC: src/import/hwpf/fapi2/include/buffer.H:710:23: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘fapi2::bufferTraits<long unsigned int, unsigned int>::bits_type {aka unsigned int}’ to binary ‘operator<’ out.insert<TS, L, SS>(iv_data); ~~~~~~~~~~^~~ src/import/hwpf/fapi2/include/buffer.H: In member function ‘fapi2::buffer<T, TT>& fapi2::buffer<T, TT>::flipBit()’: src/import/hwpf/fapi2/include/buffer.H:316:49: error: expected primary-expression before ‘)’ token iv_data ^= buffer<T>().setBit<B, C>(); ^ 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 <joel.stanley@au1.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49760 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* AVSBUS: Move fapi2 return code to error xml filePrasad Bg Ranganath2017-10-231-3/+0
| | | | | | | | | | | | - rebased Change-Id: I186e716986012ede094a09e490a983ddcb4b92ef Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43582 Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* L3 Level changes in p9_avbus_lib.CPrasad Bg Ranganath2017-10-231-0/+3
| | | | | | | | | | | | | Change-Id: Ifc24ad797b27dce520e4bd921958e74aff2b1192 RTC:165492 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Enable and fix error log variable_buffer support.Donald Washburn2017-10-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Add another writeBit API, modify getBit. Add unit tests.Andre Marin2017-10-231-3/+29
| | | | | | | | | | | | Change-Id: I9bd9efdc4b2c8a2eac26b7b1f1e1ef183d81f9b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38817 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Defining generic RingId_t type for transitional eCMD releaseKahn Evans2017-10-231-0/+1
| | | | | | | | | | | Change-Id: Iaf9e18900517a18f0cbfa10c5a960e2d6adfeaff Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38403 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* SBE: Handle error part in putring codePrasad Bg Ranganath2017-10-231-1/+1
| | | | | | | | | | | Change-Id: I11391e341b688a38a672a657494a5f1e29542489 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33467 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* fapi2: Add helper classes for streaming data into/out of variable_buffersJoachim Fenkes2017-10-231-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | This adds buffer_stream.H which currently contains three classes: buffer_ostream - for streaming bits into a variable_buffer fixed_buffer_ostream<OT> - for streaming OT-sized chunks into a buffer fixed_buffer_istream<OT> - for streaming OT-sized chunks out of a buffer The classes keep track of the current write/read position so we don't have to drag that along with the buffers manually. There's no buffer_istream -- I didn't need that yet so haven't implemented it. Also adds tests to fapi2_variable_buffer_test.C. Change-Id: I53578d800c5c52c688bd761326b36a51c06dd213 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25520 Dev-Ready: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: PPE CI Tested-by: Jenkins Server Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PutRing utils to scan ringsBilicon Patil2017-10-231-0/+10
| | | | | | | | | | | | Change-Id: Ieab183be571fda1013ef658568aee495c68c7100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21795 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Add explicit RC checkers to ReturnCode classDan Crowell2017-10-231-1/+1
| | | | | | | | | | | | | | | | | We encountered compiler errors trying to do seemingly normal comparisons that hit the operator overloads. It required some non-ideal casting operations to make it work. These new functions push all of the casting logic into the class where it belongs. Change-Id: I566f12acbd698a625848514399aca1b7ec233496 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25473 Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Modify freq & dep. files. Add cas latency & unit testsAndre Marin2017-10-231-0/+16
| | | | | | | | | | | | | 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 <bsilver@us.ibm.com> Tested-by: Hostboot CI Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* add new ring mode for fastarrayMatt K. Light2017-10-231-0/+2
| | | | | | | | | | Change-Id: I1ccbf139ed71df69eba06fa9a3e03804482aabd6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22237 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Johannes Koesters <koesters@de.ibm.com>
* remove unused fapi2 multiscom functionMatt K. Light2017-10-231-3/+0
| | | | | | | | | Change-Id: Idc69f7d5ad73e33b259b1938b82196d99392be15 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24393 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* adding more set pulse mdoes to RingMode enumMatt K. Light2017-10-231-5/+10
| | | | | | | | | Change-Id: I47cc501158d569d07d3d98b2039ddf2ab18e325b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24365 Tested-by: Jenkins Server Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Updates to the fapi2 putRing APIBilicon Patil2017-10-231-0/+1
| | | | | | | | | | | | | | | | Changes for "putRing from image" - 1) Will take a Ring ID instead of Ring Address 2) Will not support variable buffer type for PPE platforms 3) A new file is created that will have the enum constants of Ring IDs Change-Id: Ie7ba1d2f2cb7d5954d9c6d6c4c2938673d963811 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23130 Tested-by: Jenkins Server Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Need an option to allow HWP to return an error log to platform code.Richard J. Knight2017-10-231-1/+12
| | | | | | | | | | | | | | -Update ReturnCode object to include plat err pointer. -Modify FFDC code to capture error log pointer -Add FAPI_ASSERT_NO_EXIT macro Change-Id: I9d69535416be9d09434766cc15f7db447a72aa60 RTC:13220 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22572 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Fix all incorrect copyright prologsStephen Cprek2017-10-234-87/+93
| | | | | | | | | Change-Id: I293e79b5a37bf4180f6dd19d259fac3434327fb3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22759 Tested-by: Jenkins Server Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Fix mask calculation in buffer insert functionSantosh Puranik2017-10-231-5/+5
| | | | | | | | | Change-Id: Iec346df5b73f4e1796a73b1c6ac8fcebfcf58c4d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21589 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* added plat_trace.H include for FAPI_ERR use in buffer.HMatt K. Light2017-10-231-0/+1
| | | | | | | | | Change-Id: If0a6884e7005022eb5e2730883e8c3bef16c95e3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21456 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* fapi2 doxygen warning/error cleanup from ecmd repositoryKahn Evans2017-10-233-24/+24
| | | | | | | | | Change-Id: I502a6f79f461632588b46e51d5892e2d6b74942d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20985 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* buffer reverse not working correctlyRichard Knight2017-10-231-62/+97
| | | | | | | | | | | | | | -Incomplete function to reverse buffer, modified code to loop though bits and reverse them for all cases. Change-Id: I1bca6a6f67a5aec7681d5b581b07e35c7e103dc0 RTC:137890 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20862 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* FAPI2 - Error/FFDC work related updatesThi Tran2017-10-232-18/+17
| | | | | | | | | Change-Id: I2c153d4362791d885b85fee0f4891a9239c6aec7 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19308 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Fixed overflow problem in buffersBrian Silver2017-10-231-40/+40
| | | | | | | | | Change-Id: Idb3349052373cedaa8955b530a00dd7a25e72122 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20182 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* made const extract methodsMatt K. Light2017-10-231-70/+150
| | | | | | | | | Change-Id: I556f0028fcfae3b3d3892897edf8c853d8873660 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18831 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* FAPI2 Direct attribute access supportThi Tran2017-10-231-0/+48
| | | | | | | | Change-Id: Icc127aa36d53cd18f9bf16414efcaa2cc35b8c14 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17400 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com>
* Add support for ranges of bits in bit operatorsBrian Silver2017-10-231-24/+32
| | | | | | | | | Change-Id: Ifb8d66983379a9f113bfe315a671738d703da8d2 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17716 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com>
* Add variable_buffer get<OT>()Brian Silver2017-10-231-2/+2
| | | | | | | | | Change-Id: Iaf658f2d4a43703400ea016c37244f27524a73c0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17679 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com>
* Swap arguments to extract API to match ecmd buffersBrian Silver2017-10-231-9/+9
| | | | | | | | | | Change-Id: I787daba83e3aba64e2f61d9ec8d5d4d92f31999a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17595 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Alex Goryachev <gory@il.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com>
* Extend fapi2::buffer parametric interfacesBrian Silver2017-10-231-34/+191
| | | | | | | | | | | | | Add fapi2::buffer<T>::clearBit(bit_to_clear) Add extract/insert(<parameters>) Change-Id: I8dc00b6da68b22cd7b346cc1da56d33b94aec5b7 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17542 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Update FFDC mechanism to better handle targets, buffersBrian Silver2017-10-231-0/+114
| | | | | | | | | | | Fix bug in --empty-ffdc-classes, exectue() Change-Id: I2a872efacbe68719495b7d40123db683c3a6db3e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17340 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* FAPI_TRY will now add trace as an ERR type instead of DBG type.Bilicon Patil2017-10-231-4/+0
| | | | | | | | | Change-Id: Ib3232586d8355c216997ac0cc59bbb155345d479 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17299 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Remove buffer_base.HBrian Silver2017-10-231-59/+116
| | | | | | | | | Change-Id: Iaa194fa4261a122dd0516e85572ae6deacbe854c Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17135 Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Migrate headers to support platform specializationsBrian Silver2017-10-235-74/+214
| | | | | | | | | | | | | | | | | | Add plat_target.H, fapi2_target.H Add plat_error_scope.H, fapi2_error_scope.H Update documentation to reflect platform support Wrap buffer print() API to remove from platforms Move target operators to platform specific files Move target states to target_states.H Add plat_hw_access, fapi2_hw_access.H Make op mode and pib error platform specific Change-Id: If376f656b2b8a8f207332d42494dd3ce099790c6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16970 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Make variable_buffer::set() overflow checking more preciseBrian Silver2017-10-231-2/+2
| | | | | | | | | | | Fix toString() argument documentation Change-Id: I321e59a89d52d8d1681515b76c796027d127078b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16848 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Add variable_buffer::pointer()Brian Silver2017-10-232-1/+7
| | | | | | | | | | Change-Id: I4018509b00898c6ce9706c62d2d956a1019126aa Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16819 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Change clean_up label to fapi_try_exitBrian Silver2017-10-231-3/+3
| | | | | | | | | Change-Id: I3384d6c30fc907a7202b5ffe639d7402f294f633 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16656 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Fix flush, invert, and reverse buffer chainingBrian Silver2017-10-231-8/+60
| | | | | | | | | | | | | | Fix flush, insert/extract invert, and reverse buffer chaining Add thread bitset functions Remove putScom reference - allow for (b | 0x6) as a buffer param Add FAPI@_RC_FALSE to allow for tri-bool type operations Change-Id: I5e07f3f2050e45bca1a6c5a21c74ac62f5b9c51d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16539 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* FFDC class generation changes for caps, errorsBrian Silver2017-10-232-2/+3
| | | | | | | | | | | | | | Change from lower-case to upper Fix method chaining for empty classes -Wall changes Rearrange headers to need only error_scope.H Change-Id: I034fd84d05f53f36079b2b50b4ab338bf8d5bdb9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16437 Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Buffer, targeting updatesBrian Silver2017-10-233-61/+53
| | | | | | | | | | | | | | | | Update target types for ex, l2/l3 Add variable_buffer resize Update, fix, variable_buffer insert/extract variable_buffer array constructor -Wall clean up Refactor buffer::insert, bit_lengths Change-Id: I2bbec294f275a80c33917dc2df2f8b8220f6d8d6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16359 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Add fapi2::buffer<T>::extractToRight()Brian Silver2017-10-231-11/+10
| | | | | | | | | Change-Id: I3c9825260e24500c7bb8adc4bb92e154d31b5208 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16157 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* fapi2 bug fixes and cleanupBrian Silver2017-10-231-6/+7
| | | | | | | | | | | | | | Add assignment/equality operators to targets Add fapi2::buffer<T>::pointer() Fix fapi2::buffer<T> operator documentation Add inline to hw_access, error_info functions Remove error_info interator typdefs in favor of auto Change-Id: I8931215862c55188747a7de78f9344c0ca7ab517 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16096 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Add doxygen fapi2 tooling, doc clean upBrian Silver2017-10-232-3/+4
| | | | | | | Change-Id: Ieb787904e7d359f966298cf834195bed5ce86207 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15730 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Error/xml parsing and FFDC classesBrian Silver2017-10-234-0/+822
Change-Id: Iddc92bb876dd07efe398255d7321ac6394eb4ae9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15966 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
OpenPOWER on IntegriCloud