1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +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

@ -31,6 +31,8 @@
#include <AK/Vector.h>
#include <LibBareMetal/Memory/VirtualAddress.h>
namespace Kernel {
class Range {
friend class RangeAllocator;
@ -100,9 +102,12 @@ inline const LogStream& operator<<(const LogStream& stream, const Range& value)
return stream << String::format("Range(%x-%x)", value.base().get(), value.end().get() - 1);
}
}
namespace AK {
template<>
struct Traits<Range> : public GenericTraits<Range> {
struct Traits<Kernel::Range> : public GenericTraits<Kernel::Range> {
static constexpr bool is_trivial() { return true; }
};
}