From bd79f936578780620931dfcb0526bc794140a3de Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Tue, 16 Mar 2021 11:40:15 +0100 Subject: [PATCH] cbe/types: invalid generation, generation string Ref #4032 --- repos/gems/include/cbe/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repos/gems/include/cbe/types.h b/repos/gems/include/cbe/types.h index 6aef15aba0..4639741c43 100644 --- a/repos/gems/include/cbe/types.h +++ b/repos/gems/include/cbe/types.h @@ -23,11 +23,14 @@ namespace Cbe { + enum { INVALID_GENERATION = 0 }; + using namespace Genode; using Number_of_primitives = size_t; using Physical_block_address = uint64_t; using Virtual_block_address = uint64_t; using Generation = uint64_t; + using Generation_string = String<21>; using Height = uint32_t; using Number_of_leaves = uint64_t; using Number_of_leafs = uint64_t;