summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
Commit message (Collapse)AuthorAgeFilesLines
* Removing some more old fapi1 and hwp codeDan Crowell2016-04-211-799/+0
| | | | | | | | | | | | | | | Deleted all of the old fapi1 code Moved potentially reuseable occ code to a new dir Deleted a variety of p8 hwp files Change-Id: I8b6ab72fef3f1413d919bdd21bc88f2c4f59c5c3 RTC: 146345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23075 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Tool to convert attribute text file into binary blobAndres Lugo-Reyes2015-02-021-21/+110
| | | | | | | | | | Change-Id: I073fd9b904dbedf932ef8b07faa81e819206af28 RTC:108833 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14634 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | 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>
* Refresh FAPI files from eKB to get cvs change tagsMike Jones2014-01-231-1/+2
| | | | | | | | | | Change-Id: I7852c503d0f6497f591581d272434b32eb88d285 RTC: 95764 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8163 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Allow Chip EC Features to be queried from chipletsMike Jones2013-05-061-33/+48
| | | | | | | | | | Change-Id: Ie7e56dd33a0d92177265587ab73a5699868c5440 RTC: 70927 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4331 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow Chip EC Feature HWPF Attributes to be overriddenMike Jones2013-04-291-2/+5
| | | | | | | | | | Change-Id: I8d2ac2c5a4c253a9a5efe9ab3d3337f143efa6e4 RTC: 67311 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4125 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Extend Attribute Override/Sync to work on Targeting attributesMike Jones2013-04-151-11/+38
| | | | | | | | Change-Id: Icf8d84e741212f31c1065146ac1ea96c4c7d75c5 RTC: 51707 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3548 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add fapi namespace to Chip EC Feature macroMike Jones2013-03-291-2/+3
| | | | | | | | | | | | | | | HW Procedure code that queries a Chip EC Feature attribute (to find out if a chip has a particular feature/bug which is determined by EC level) will not compile unless the HWP is either within or is using the fapi namespace. This is because the FAPI generated macros do not prefix the AttributeID with 'fapi::', the fix is trivial. Change-Id: Ie65a842d45a9c5387ad3f4d380d9af3507ad817c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3681 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add FAPI Attr Sync Functionality and enable FSP-HB Attr OverridesMike Jones2012-12-061-10/+38
| | | | | | | | | | Change-Id: I64939aa0655659e48400bca0c4aa09afe333889c RTC: 46992 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2397 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Allow automatic collection of register FFDC data when HWP error createdMike Jones2012-10-041-15/+16
| | | | | | | | | | | | | If HWP Error XML contains an element called <collectRegisterFfdc> which identifies the registers to collect as FFDC then when the error is created, those registers are automatically collected and stored in the error log. Also create Hostboot parsers to parse the data. Change-Id: I521527b97e0db0c808db81773ba0fe9aa00477ad RTC: 46029 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1866 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Generated fapiAttributeIds.H file: Output target-types and if platInitMike Jones2012-08-151-0/+45
| | | | | | | | | | | | | | | | | | The fapiParseAttributeInfo.pl FAPI script generates (amongst other files) fapiAttributeIds.H. This file enumerates the HWPF Attribute IDs and gives other information about attributes, such as their type and if privileged. John Farrugia (Cronus) requested that fapiAttributeIds.H also contain information giving the target type(s) that an attribute is associated with and if the attribute is initialized by the platform, these will be used by Cronus for extra checking during attribute get/set. RTC: 46570 Change-Id: Iaf9d201ae0d7c9a591430db0648ce3384f66e7a0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1497 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Minor FAPI updates for CronusMike Jones2012-06-181-4/+7
| | | | | | | | | | | | John Farrugia reported some Cronus build breaks when building HWPF::FAPI I fixed the FAPI files to work for all platforms Change-Id: I2bd1e5d52c02efe05bdf7cb2347f922e5e81ded7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1188 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Detect duplicate IDs and hashes across all XML filesMike Jones2012-05-241-4/+10
| | | | | | | | | | | | | The previous versions of the attribute and error XML parser files only looked for ID and hash collisions within a particular XML file. The code is supposed to look for collisions across all XML files. Also ignore newlines and leading/trailing whitespace when parsing attribute enums. Change-Id: I1f88302f20c684dbee96b076df4119689d548cc3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1089 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add error checking to FAPI perl scripts and output ULL to 64bit ↵Mike Jones2012-05-211-2/+23
| | | | | | | | | | | | | | | | | | enumerators John Farrugia requested these changes: fapiParseAttributeInfo.pl: - Detect duplicate attribute ID - Add 'ULL' to the end of 64 bit enumerators fapiParseErrorInfo.pl - Detect duplicate error RCs Change-Id: I862ca9b4f37dc83026f7fcdc26676bbf724656a1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1062 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add Chip EC Feature supportMike Jones2012-04-301-28/+209
| | | | | | | | | | | | | | | Allows Chip EC features to be specified in Attribute XML files and queried using the standard FAPI_ATTR_GET attribute query macro. This removes the direct querying of chip name and EC within HWPs which leads to a more data driven approach because when a new chip EC level is released you just have to change the XML data file to specify which features (which can be bugs) have changed, the HWP code does not change Change-Id: Ie464a1b58246c21ac59f0d42fe265657a3576c31 RTC: 39684 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/901 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Use fixed enum values for generated error/attr enumsMike Jones2012-04-161-16/+32
| | | | | | | | | | | Change-Id: Id0552daad9e6d9907cef7fa013fc6d75dbc8e185 RTC: 39175 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/879 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> 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>
* HWPF Attribute Support: ATTR_FSI_GP_SCOM_ACCESS.Mike Jones2012-02-141-4/+12
| | | | | | | | Change-Id: I6307ae3a6a3c151bb85fd86081a5bac4d16076f4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/666 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Create HTML file listing supported HWPF attributesMike Jones2011-12-191-8/+85
| | | | | | | | | Change-Id: I27f8d3e536abddffdd568caab4bbc8b7696f50d5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/583 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HWPF: Only support initfile attributes in fapiGetInitFileAttr()Mike Jones2011-11-211-90/+5
| | | | | | | | | Change-Id: Ia1ffa854d55b68f0e32595080bba323cd52e23a3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/503 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added initfile compiler support for attribute enumsCamVan Nguyen2011-11-151-1/+3
| | | | | | | | | Change-Id: I78a2a85831b545e7213e08a272fec482bd69cdf1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/493 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Improve HWPF Error LogsMike Jones2011-11-021-0/+1
| | | | | | | | | Change-Id: Id35ad1cec7904c63f3d4f073c0014de58240c31c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/474 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Added Hwp to execute initfilesCamVan Nguyen2011-10-271-1/+2
| | | | | | | Change-Id: Ie597c23eadc51b7463487eff9316a30ad04d88e5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/455 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* HWPF: Attributes. Handle multiple files and multi-line descriptionsMike Jones2011-10-181-11/+24
| | | | | | | Change-Id: Ifeeffccac26651b0154d0df15470fe7614bf03ef Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/444 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HWPF: Add support for attribute enum valuesMike Jones2011-10-171-4/+14
| | | | | | | | Change-Id: Ie11b36684ecd7c4029dddfb90f1a0ff97a33dce1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/439 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HWPF: Add fapiGetInitFileAttr functionMike Jones2011-10-171-61/+133
| | | | | | | Change-Id: I1fadb01b8f8e850fdc6c766138e8adb0ea2e0a51 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/436 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HWPF: Attribute SimplificationMike Jones2011-09-081-71/+26
| | | | | | | | Change-Id: I84553317e8b21c3f538c787e43c4482f3e1944f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/327 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-241-0/+22
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* HWPF const fixes and perl script updatesMike Jones2011-07-121-7/+14
| | | | | | | 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>
* Adding Attribute Support to HWPF and some minor HWPF updates.Mike Jones2011-07-051-60/+195
| | | | | | | | Change-Id: I278c782f98439f26e8535dfda026542b7bbfd641 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/163 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Initial HWPF deliveryThi Tran2011-06-301-0/+144
Update after pass-around review Change-Id: I8f81dd7820b61607e9a98d17c81e74fface42c54 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/160 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud