summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/include/utils.H
Commit message (Collapse)AuthorAgeFilesLines
* FAPI2: Multicast API 1/2: Platform-breaking changesJoachim Fenkes2019-02-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Target gains a new template parameter, M, that specifies the multicast type. This is propagated through all affected header files. A new target type is introduced, TARGET_TYPE_MULTICAST, and platform specific assertions put in place to prevent users from creating such targets before the platform supports it. Target also grows a new inline function for updating MC targets. Platforms not supporting MC can provide a dummy implementation. The example platform code in fapi2/include/plat/plat_target.H is updated with minimal example code for platform implementers. Change-Id: Ia0990f26890dc5c719caca608cd134a4964a3acf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69456 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70867 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
* Adds endian_swap to fapi2Stephen Glancy2018-09-181-0/+27
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie076098cd05ea0ae768d8da142df1b933ab7eb07 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65525 Dev-Ready: STEPHEN GLANCY <sglancy@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: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65529 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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 prototype for releasing platform data pointer storage functionRichard J. Knight2018-09-061-1/+7
| | | | | | | | | | | | | | | | | Change-Id: I94dbc2125a2c8e0a75f35df067f14c4ca01463d0 CQ:SW401034 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/45718 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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/45727 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* EKB: HWP Fail Isolation Fapi HooksBrian Stegmiller2017-09-191-1/+20
| | | | | | | | | | | | | | | | | Change-Id: I67a30a6a5bf0af4db40d85ec6406481dd286bb75 RTC: 178331 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45165 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@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: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45184 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
* Some updates to FAPI filesSantosh Puranik2016-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | -- Updates to FAPI headers to get them compiling directly from the mirror in PPE repo. Change-Id: Ia64179ff04c550ec0ef1c4ec56018cf199340ecf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29637 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> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29640 Reviewed-by: Hostboot Team <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>
* Update prologs of mirrored files to apache licenseStephen Cprek2016-08-051-8/+14
| | | | | | | | Change-Id: I25a782f6f8af801beb35f541f6076c482b78bf8e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27920 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* fapi2: Update misc functions to honor platform value type.Patrick Williams2016-08-041-2/+2
| | | | | | | | | | | | | | | | Added associated ecmd release ver-14-4-4-ekbonly for testing Change-Id: I636527a82b60f1d842e2a5619471309cd901f7bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22258 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27054 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Need fapi2 interface for special wakeupRichard J. Knight2016-03-141-1/+56
| | | | | | | | | | | | | | | | | -Add API to support special wakeup. Change-Id: I0b5a75339a43fe55a5d119891d2e5e767be4060d Depends-on:I35d2fdc689da349ccf8d61afa1639ed1b9438749 RTC:148345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21535 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21537 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Need an option to allow HWP to return an error log to platform code.Richard J. Knight2016-02-191-1/+20
| | | | | | | | | | | | | | | -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> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23334
* fapi2 doxygen warning/error cleanup from ecmd repositoryKahn Evans2015-12-111-2/+2
| | | | | | | | | 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>
* Change fapi2::delay interface to include DFT fixed identificationBrian Silver2015-12-111-65/+62
| | | | | | | | | | Change-Id: Iea34cff29845a124f8ef3f3e7d0c209100b2a307 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18557 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Johannes Koesters <koesters@de.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Additional FAPI migration to fapi2Brian Silver2015-12-111-0/+6
| | | | | | | | | | | Remove fapiSystemConfig.H - API is in target.H Add hwp_executor/plat_hwp_executor for FAPI_EXEC_HWP Migrate fapiAssert as fapi2::Assert Change-Id: Ic25da30c05509501b03ecbb3ed68247bced2d707 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17652 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com>
* FAPI2 Direct attribute access supportThi Tran2015-12-111-0/+1
| | | | | | | | 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>
* Update FFDC mechanism to better handle targets, buffersBrian Silver2015-12-111-1/+1
| | | | | | | | | | | 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>
* added fapi2::delay()Matt K. Light2015-12-111-0/+28
| | | | | | | | Change-Id: I8eea94ff6e5efdeb02f5a5a2723305fc57d179a3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16282 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 FFDC xml parsing documentationBrian Silver2015-12-111-2/+2
| | | | | | | | | Change-Id: I56844e96c80fb3eb345b2254a7b42dd95c434ce3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16041 Reviewed-by: Thi N. Tran <thi@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>
* Error/xml parsing and FFDC classesBrian Silver2015-12-111-0/+59
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