From a97e92c7eca3a1492d569d81bd2aae8b83048d68 Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Mon, 7 Nov 2016 14:16:33 +0100 Subject: [PATCH] base: make Allocator_avl::_avl_tree accessable This hook allows the export of the allocator's state by a derrived class. I.e., the final state of the allocator used for bootstrapping core. Ref #2092 --- repos/base/include/base/allocator_avl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/base/include/base/allocator_avl.h b/repos/base/include/base/allocator_avl.h index a378bf87dd..54b614e003 100644 --- a/repos/base/include/base/allocator_avl.h +++ b/repos/base/include/base/allocator_avl.h @@ -193,6 +193,8 @@ class Genode::Allocator_avl_base : public Range_allocator protected: + Avl_tree const & _block_tree() const { return _addr_tree; } + /** * Clean up the allocator and detect dangling allocations *