Luna/kernel/include/memory/AddressSpace.h
2022-11-12 11:30:28 +01:00

22 lines
297 B
C++

#pragma once
#include "memory/Paging.h"
#include "utils/Result.h"
struct AddressSpace
{
static Result<AddressSpace> create();
void destroy();
void clear();
AddressSpace clone();
PageTable* get_pml4()
{
return m_pml4;
}
private:
PageTable* m_pml4;
};