diff options
author | Elizabeth Liner <eliner@us.ibm.com> | 2017-01-25 15:14:11 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-13 17:31:39 -0400 |
commit | a0c2aa6132a0b49975327f5aa9238d1d3e2b750b (patch) | |
tree | 4b76e80d107d928e772e3b366fa96a1de5b369df /src/include/usr/errl/errlentry.H | |
parent | 46f410aa48c8ed062a7cb664ab84d65892c9902d (diff) | |
download | talos-hostboot-a0c2aa6132a0b49975327f5aa9238d1d3e2b750b.tar.gz talos-hostboot-a0c2aa6132a0b49975327f5aa9238d1d3e2b750b.zip |
Adding in support for PHYP SRC and all 9 words
Change-Id: I82c5b42c2167970437dae1323aa4aabed62068c9
RTC:158762
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37514
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlentry.H')
-rw-r--r-- | src/include/usr/errl/errlentry.H | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 2837d61ac..dde25243e 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2016 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -134,9 +134,35 @@ public: const uint16_t i_reasonCode, const uint64_t i_user1 = 0, const uint64_t i_user2 = 0, - const bool i_hbSwError = false ); + const bool i_hbSwError = false); /** + * @brief ErrlEntry constructor. Builds an error log with info + * constructed from the input. + * Event type, Sub System, SRC type, and Terminate state are defaulted + * to the most common values for Host Boot environment. These values + * can also be set to specific values by users if needed. + * For available values, see errltypes.H + * To understand the meaning of these values, refer to the + * Platform Event Log and SRC PLDD at: https://mcdoc.boeblingen.de. + * ibm.com/out/out.ViewDocument.php?documentid=1675 + * + * The backtrace is captured as user detail data. Use removeBackTrace to + * remove + * + * The order of parameters is arranged so that Host Boot error log + * is as close to SP as possible. + * + * @param[in] i_sev Log's severity. See errltypes.H for + * available values + * @param[in] i_srcWords The SRC words that will fill in other + * parameters + * @return None + */ + + ErrlEntry(const errlSeverity_t i_sev, + uint32_t i_srcWords[9]); + /** * @brief Destructor * * Releases all resources owned by the handle. If the log has not @@ -766,9 +792,9 @@ private: private: // Data Members + ErrlSrc iv_Src; // primary SRC section ErrlPrvt iv_Private; // private header object ErrlUH iv_User; // user header object - ErrlSrc iv_Src; // primary SRC section std::vector<ErrlUD*> iv_SectionVector; // list of user defined sections std::vector<uint64_t> iv_btAddrs; // list of addresses for the backtrace ErrlUserDetailsBackTrace * iv_pBackTrace; // Pointer to back trace |