Kernel: Move all code into the Kernel namespace

This commit is contained in:
Andreas Kling 2020-02-16 01:27:42 +01:00
commit a356e48150
Notes: sideshowbarker 2024-07-19 09:17:31 +09:00
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; }
};
}