1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

Kernel: Move all code into the Kernel namespace

This commit is contained in:
Andreas Kling 2020-02-16 01:27:42 +01:00
parent d42f0f4661
commit a356e48150
201 changed files with 907 additions and 111 deletions

View file

@ -29,6 +29,8 @@
#include <Kernel/Heap/kmalloc.h>
#include <Kernel/VM/Region.h>
namespace Kernel {
template<size_t templated_slab_size>
class SlabAllocator {
public:
@ -160,3 +162,5 @@ void slab_alloc_stats(Function<void(size_t slab_size, size_t allocated, size_t f
callback(allocator.slab_size(), allocator.num_allocated(), allocator.num_free());
});
}
}