summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plugins/prdfParserEnums.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/common/plugins/prdfParserEnums.H')
-rw-r--r--src/usr/diag/prdf/common/plugins/prdfParserEnums.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/plugins/prdfParserEnums.H b/src/usr/diag/prdf/common/plugins/prdfParserEnums.H
index 45ce959d1..59bcc9be3 100644
--- a/src/usr/diag/prdf/common/plugins/prdfParserEnums.H
+++ b/src/usr/diag/prdf/common/plugins/prdfParserEnums.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -136,10 +136,12 @@ namespace CE_TABLE
{
enum
{
+ METADATA_SIZE = 8, ///< Number of bytes for the table metadata.
+
MAX_ENTRIES = 32, ///< Maximum number of entries allow in table.
ENTRY_SIZE = 9, ///< Number of bytes per entry.
- MAX_SIZE = MAX_ENTRIES * ENTRY_SIZE, ///< Maximum table size.
+ MAX_SIZE = METADATA_SIZE + MAX_ENTRIES * ENTRY_SIZE, ///< Maximum size.
};
} // namespace CE_TABLE
OpenPOWER on IntegriCloud