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:
parent
d42f0f4661
commit
a356e48150
201 changed files with 907 additions and 111 deletions
|
@ -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; }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue