aboutsummaryrefslogtreecommitdiff
path: root/Implementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Implementation.h')
-rw-r--r--Implementation.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Implementation.h b/Implementation.h
index 0d12c45..c7dc5c5 100644
--- a/Implementation.h
+++ b/Implementation.h
@@ -262,8 +262,12 @@
#define NV_MEMORY_SIZE 16076
// Versioning NV storage format will allow to smoothly migrate NVRAM contents.
// Versions:
-// 1 - full non-serialized objects in NVRAM, max SHA digest is SHA-256
-// 2 - full non-serialized objects in NVRAM, max SHA digest is SHA-512
+// 1 - full non-serialized objects in NVMEM, max SHA digest is SHA-256
+// 2 - a mix of serialized and non-serialized objects in NVMEM, max SHA digest
+// is SHA-512. Eviction objects can be stored either serialized or
+// non-serialized. The size of the stored entity smaller than
+// sizeof(OBJECT) is considered an indication of the serialized form.
+
#define NV_FORMAT_VERSION 2
#else
#define NV_MEMORY_SIZE 16384