summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2017-02-16 17:02:54 -0600
committerZane C. Shelley <zshelle@us.ibm.com>2017-02-27 10:41:06 -0500
commit33f3061fdea98fd2e930407aae99231c0a68b8ff (patch)
tree71be0c33adc467a756310e373aeecc645ec4c108 /src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H
parentee946e0c40f8274fab76da7db28a5807c1c99239 (diff)
downloadtalos-hostboot-33f3061fdea98fd2e930407aae99231c0a68b8ff.tar.gz
talos-hostboot-33f3061fdea98fd2e930407aae99231c0a68b8ff.zip
PRD: add CE table to default capture data
Change-Id: I3add30d1700289dde4ee6059bdafb8d22edd212a RTC: 165382 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36752 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37014 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H')
-rw-r--r--src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H b/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H
index 00b38d691..dadd0d380 100644
--- a/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H
+++ b/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.H
@@ -77,6 +77,14 @@ class MemCeTable
public: // functions
/**
+ * @brief Constructor.
+ * @param i_chip MCA or MBA associated with this data.
+ */
+ explicit MemCeTable( ExtensibleChip * i_chip ) :
+ iv_chip( i_chip )
+ {}
+
+ /**
* @brief Will attempt to add a new entry to the table.
*
* If an entry already exists, the entry's count is incremented. Otherwise,
@@ -115,10 +123,9 @@ class MemCeTable
/**
* @brief Gathers all table data to be stored in capture data.
- * @param i_chip An MCA or MBA chip.
* @param io_cd Capture data struct.
*/
- void addCapData( ExtensibleChip * i_chip, CaptureData & io_cd );
+ void addCapData( CaptureData & io_cd );
private: // structs, typedefs
@@ -167,6 +174,8 @@ class MemCeTable
private: // instance variables
+ ExtensibleChip * iv_chip; ///< MCA or MBA associated with this data.
+
/** A storage container for memory fetch CE errors. */
CeTable iv_table;
OpenPOWER on IntegriCloud