summaryrefslogtreecommitdiffstats
path: root/src/include/util/impl
Commit message (Collapse)AuthorAgeFilesLines
* Fix true_type and false_ type typdef with integral_constantAndre Marin2019-04-021-4/+3
| | | | | | | | | | Change-Id: Ie1a432be0d1b2a59a0e0521f251d6bdf8a11ac70 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74942 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Add std::remove_all_extends to HB STL libraryAndre Marin2019-03-151-0/+7
| | | | | | | | | | Change-Id: I6fa0e9930a9d8340416ab3c775238f60931882d8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72688 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Chen Du <duchen@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add map list initialization and at() methodsStephen Cprek2017-04-101-2/+30
| | | | | | | | | | | | | | Also add ErrnoToString() as a test which is a functionality ported from p8 Change-Id: Ia6dd9b37638af2634267e224d9b97133bf984fb4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38956 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Prevent inline of some shared_ptr functions for spaceDean Sanner2016-10-111-51/+73
| | | | | | | | | | Change-Id: I1b996bb7c78941a5ec0ab8ca2973b7db25563fcc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28857 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Overloaded != operator for shared_ptr.Matt Derksen2016-06-021-0/+5
| | | | | | | | | | | | | Also updated cxxtests to make them pass. Change-Id: I444a9c6c60261755db55fffbed66c92f93965c50 RTC:153697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25138 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement std::map::emplace()Matt Derksen2016-06-022-3/+60
| | | | | | | | | | | Change-Id: Id3f42ac3e5edf6c65c420e60ac69d649cbaa1ed0 RTC:153697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24631 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added equal comparison override for shared_ptrMatt Derksen2016-05-241-0/+5
| | | | | | | | | | | Change-Id: I7a9358001bd7a99735fc52bb6b8af21be3df45a6 RTC:133837 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24605 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Implement std::enable_if in HBMatt Derksen2016-05-071-0/+42
| | | | | | | | | | | | Change-Id: I72f415403ef0d88defc80f81cb1038013f94b99f RTC:152209 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24091 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* shared_ptr::reset did not work for shared pointerPatrick Williams2016-02-191-4/+5
| | | | | | | | | | | | | shared_ptr has a common _cleanup function that is used for all cases where the shared_ptr is deleted or reset. The function only released the pointer to the held object when the reference count was 1. Fix so that 'this' shared_ptr always releases its reference to the shared object. Change-Id: I28fc8922fa57d62ea86a7fc80a343aa64c22fc33 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23016 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* shared_ptr r-value ref ctor didn't match standardPatrick Williams2015-12-111-2/+2
| | | | | | | | Change-Id: I4825be8ff9929eadc3ee78d2141f6a3d43ea751b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22518 Reviewed-by: Christian Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement std::shared_ptr.Patrick Williams2015-12-111-0/+231
| | | | | | | | | | RTC: 124148 Change-Id: Iad6430ec701caec0d3c65de3618cc8d5605e6aa0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21800 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement std::move, std::forward.Patrick Williams2015-12-111-0/+46
| | | | | | | | | | RTC: 124148 Change-Id: Id3d03981472aa7acf5755ca78e4d47914cd9cdd6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21799 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement std::is_pointer,is_referencePatrick Williams2015-12-111-0/+48
| | | | | | | | | | | RTC: 124148 Change-Id: I25117c038cc3e9c926503921168f2239a1e6d673 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21797 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement std::is_integral.Patrick Williams2015-12-112-0/+109
| | | | | | | | | | | RTC: 124148 Change-Id: I01b8f3c1fb27068e0384045c65c271baefd25622 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21796 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement std::is_same.Patrick Williams2015-12-112-0/+88
| | | | | | | | | | | RTC: 124148 Change-Id: Id0737361f92d0ff46411254c3e1e3df22d6d8a10 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21795 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ambiguous Sort Compiler Error fix with std::pairBill Hoffa2015-02-201-6/+8
| | | | | | | | Change-Id: Ic889378b96e6009a968f55ade2ad76e30cc02f72 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15861 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix spelling mistakes using codespell.Patrick Williams2015-01-152-5/+9
| | | | | | | | | | | | - See https://github.com/lucasdemarchi/codespell Change-Id: I03e102d1ebb9473b6226fa9b6edb684fa0218a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15031 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-214-67/+66
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix strict-aliasing violations.Patrick Williams2013-04-171-41/+32
| | | | | | | | | Change-Id: I5f3feae4fb62ed82b52e996d4954d1c638a243b3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4036 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to add support for dynamic VIDs on HB.ayma2012-12-181-24/+24
| | | | | | | | | | | | | Changes to put code into HB to do the istep 13.1 and 13.5 which is disable_vddr and enable_vddr respectively This is in conjunction with story 37517 on the hwsv side RTC: 34041 Change-Id: Id09a78e581d2a778d781e2683cc7ec26c8d45153 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2687 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory leak in splaytree and testcase.Patrick Williams2012-09-041-23/+32
| | | | | | | | | Change-Id: I15515e3f63c8c24dc79da760b47411bf7ca6577a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1579 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for core_activate via IPI.Patrick Williams2012-07-161-1/+1
| | | | | | | | RTC: 37009 Change-Id: I56669805c86d9659a20ad7c26e5e9860c7a248c7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1087 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attribute Support for proc_setup_bars and mss_setup_barsMark Wenning2012-07-121-10/+3
| | | | | | | | | | RTC: 42296 Change-Id: I9f470f9e41c22ed28bd0365aec23b91414258945 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1235 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Fix const-correctness bug in std::map splay tree implementationMike Jones2012-06-211-24/+24
| | | | | | | | | | | | Code that uses std::map::find on a reference to a constant map in order to get a const_iterator fails due to a missing const in the underlying splay tree implementation. This is Patrick's fix! Change-Id: Ifcf65b097f55a635d24774c81fdbf380e9058943 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1234 Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Enhanced STL capabilities.Patrick Williams2012-05-211-0/+189
| | | | | | | | | | | | | | | | | | | - max_element - for_each - remove / remove_if - unique - sort - mem_fun / mem_fun_ref - bind1st / bind2nd RTC: 41636 Change-Id: Icf15ef90562ed20097306a15f4a314e05511b199 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1068 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix includes for map.Patrick Williams2012-05-081-0/+1
| | | | | | | Change-Id: I0538a16893609442a337c22aef404c95da914532 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1037 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix broken map::operator[].Patrick Williams2012-04-051-1/+0
| | | | | | | | | | | | | | | | According to the STL documentation, 'insert' should do nothing if attempting to insert an item that already exists. This allows [] to be implemented as a form of insert(pair(key, data_T())). Our insert was actually updating the data portion of the map, which was causing operator[] to always erase the data portion of any lookup. Change-Id: I5b2ae1934dbd81d71df4b56d83e2f04f53f0e525 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/825 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Improve std::map by using a SplayTree container.Patrick Williams2012-03-292-0/+1354
| | | | | | | | | | | | | | | | | Originally std::map was implemented as a linked list. Some of the maps in PORE and PRD code will be big enough that this is very inefficient. Converted std::map to a binary search tree implementation based on the Splay-Tree algorithm. RTC: 34071 Change-Id: If77c017f5d95920f8010991e7f087cbe571ca2e9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/790 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* STL advance / distance.Patrick Williams2012-02-221-0/+147
Change-Id: I9cdf9459f2970def812b1681897fe7d0cdda37ac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/669 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud