Kernel: make DMARegion::create static and fix mapping

This commit is contained in:
2023-10-08 18:12:17 +03:00
parent 2aabf43ace
commit d4c9f371a6
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ namespace Kernel
class DMARegion
{
public:
BAN::ErrorOr<BAN::UniqPtr<DMARegion>> create(size_t size);
static BAN::ErrorOr<BAN::UniqPtr<DMARegion>> create(size_t size);
~DMARegion();
size_t size() const { return m_size; }