apio
26211bd49f
The only thing doing weird stuff is exec(), so that's commented out and throws ENOSYS right now. But we have two user tasks running in parallel, isolated from each other!
19 lines
236 B
C++
19 lines
236 B
C++
#pragma once
|
|
#include "memory/Paging.h"
|
|
|
|
struct AddressSpace
|
|
{
|
|
static AddressSpace create();
|
|
|
|
void destroy();
|
|
|
|
void reset();
|
|
|
|
PageTable* get_pml4()
|
|
{
|
|
return m_pml4;
|
|
}
|
|
|
|
private:
|
|
PageTable* m_pml4;
|
|
}; |