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 <Kernel/VM/PhysicalPage.h>
#include <Kernel/VM/PhysicalRegion.h>
namespace Kernel {
NonnullRefPtr<PhysicalRegion> PhysicalRegion::create(PhysicalAddress lower, PhysicalAddress upper)
{
return adopt(*new PhysicalRegion(lower, upper));
@ -112,3 +114,5 @@ void PhysicalRegion::return_page_at(PhysicalAddress addr)
m_bitmap.set(page, false);
m_used--;
}
}