summaryrefslogtreecommitdiffstats
path: root/src/include/usr/i2c/eeprom_const.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/i2c/eeprom_const.H')
-rw-r--r--src/include/usr/i2c/eeprom_const.H19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/usr/i2c/eeprom_const.H b/src/include/usr/i2c/eeprom_const.H
index e9e157757..ea09c4330 100644
--- a/src/include/usr/i2c/eeprom_const.H
+++ b/src/include/usr/i2c/eeprom_const.H
@@ -108,7 +108,7 @@ enum EECACHE_VERSION
*
* uniqueRecord is useful if you want to quickly compare the "unique"
* bits of a header entry which includes the target_huid, port, engine,
-* devAddr, mux_huid, and mux_select.
+* devAddr, mux_huid, and mux_select, and size
*
*/
union eepromRecordHeader
@@ -235,5 +235,22 @@ struct EepromInfo_t
}
};
+/**
+ * @brief Define a set of information that describes the
+ different virtual addresses associated with a given
+ cache entry
+ */
+struct RecordAddresses_t
+{
+ uint64_t header_entry_address;
+ uint64_t cache_entry_address;
+
+ RecordAddresses_t()
+ : header_entry_address(0),
+ cache_entry_address(0)
+ {
+ }
+};
+
}
#endif \ No newline at end of file
OpenPOWER on IntegriCloud