diff --git a/sdk/lib/cmlib/hivedata.h b/sdk/lib/cmlib/hivedata.h index 39d617ccbd5..16f96de6b4f 100644 --- a/sdk/lib/cmlib/hivedata.h +++ b/sdk/lib/cmlib/hivedata.h @@ -44,6 +44,17 @@ #define HV_LOG_HEADER_SIZE FIELD_OFFSET(HBASE_BLOCK, Reserved2) +// +// Clean Block identifier +// +#define HV_CLEAN_BLOCK 0U + +// +// Hive Log identifiers +// +#define HV_LOG_DIRTY_BLOCK 0xFF +#define HV_LOG_DIRTY_SIGNATURE 0x54524944 // "DIRT" + // // Hive structure identifiers // @@ -70,6 +81,19 @@ // #define HTYPE_COUNT 2 +// +// Hive boot types +// +#define HBOOT_TYPE_REGULAR 0 +#define HBOOT_TYPE_SELF_HEAL 4 + +// +// Hive boot recover types +// +#define HBOOT_NO_BOOT_RECOVER 0 +#define HBOOT_BOOT_RECOVERED_BY_HIVE_LOG 1 +#define HBOOT_BOOT_RECOVERED_BY_ALTERNATE_HIVE 2 + /** * @name HCELL_INDEX *