#pragma once #include #include // Simple bitmap allocator which hands out kernel-space virtual addresses for use in kmalloc() and friends. namespace KernelVM { void init(); Result alloc_one_page(); Result alloc_several_pages(usize count); Result free_one_page(u64 address); Result free_several_pages(u64 address, usize count); usize free(); usize used(); }