mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
Kernel: Move all code into the Kernel namespace
This commit is contained in:
parent
d42f0f4661
commit
a356e48150
Notes:
sideshowbarker
2024-07-19 09:17:31 +09:00
Author: https://github.com/awesomekling
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