17 lines
217 B
C
17 lines
217 B
C
|
#pragma once
|
||
|
#include "memory/Paging.h"
|
||
|
|
||
|
struct AddressSpace
|
||
|
{
|
||
|
static AddressSpace create();
|
||
|
|
||
|
void destroy();
|
||
|
|
||
|
PageTable* get_pml4()
|
||
|
{
|
||
|
return m_pml4;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
PageTable* m_pml4;
|
||
|
};
|