diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2015-08-04 15:11:45 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-08-26 21:45:16 -0500 |
commit | f1f91e02d2ce0703784f217f2ea542adf3c9e635 (patch) | |
tree | 533f9232a2839e184406064bb543ba2fe7d12ca8 /src/include/usr | |
parent | d774efe81a106739311388eb78ec4be20fb1901a (diff) | |
download | talos-hostboot-f1f91e02d2ce0703784f217f2ea542adf3c9e635.tar.gz talos-hostboot-f1f91e02d2ce0703784f217f2ea542adf3c9e635.zip |
PRD: IPL CS Analysis Init HOMER Data
Change-Id: Ie35ad0ae8e8282f06e4b6bf882ec643138a88132
RTC: 132362
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19802
Tested-by: Jenkins Server
Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Depends-on: I6255033e5da9db9a4c917e70ee2e7adf0f444ad6
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20083
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/diag/prdf/prdfWriteHomerFirData.H | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/include/usr/diag/prdf/prdfWriteHomerFirData.H b/src/include/usr/diag/prdf/prdfWriteHomerFirData.H index eb98f96bd..f4e3590f0 100644 --- a/src/include/usr/diag/prdf/prdfWriteHomerFirData.H +++ b/src/include/usr/diag/prdf/prdfWriteHomerFirData.H @@ -28,13 +28,22 @@ namespace PRDF { +// enum to determine what hardware is currently initialized +enum HwInitialized_t +{ + MASTER_PROC_CORE, //master processor and master core + ALL_PROC_MASTER_CORE, //all processors and master core + ALL_PROC_MEM_MASTER_CORE, //all processors, all memory, and master core + ALL_HARDWARE //all processors, all memory, and all cores +}; + /** @brief Writes register lists and hardware config in the HOMER data for * the OCC to capture in the event of a system checkstop. * @param i_hBuf SRAM pointer to the beginning of the HOMER data buffer. * @param i_hBufSize Total size of the HOMER data buffer. * @return An error log on failure. NULL on success. */ -errlHndl_t writeHomerFirData( uint8_t * i_hBuf, size_t i_hBufSize ); - +errlHndl_t writeHomerFirData( uint8_t * i_hBuf, size_t i_hBufSize, + const HwInitialized_t i_curHw = ALL_HARDWARE ); }; // end namespace PRDF |