feat: implement core initialization and local APIC setup
This commit is contained in:
parent
ada1859910
commit
beb7fb38ae
19 changed files with 747 additions and 41 deletions
|
|
@ -25,12 +25,12 @@ struct PageTable {
|
|||
};
|
||||
|
||||
static PageTable fromCurrent();
|
||||
static optional<PageTable> allocNew();
|
||||
|
||||
void activate();
|
||||
bool map(void* vaddress, paddr_t paddress, flags_t flags);
|
||||
void unmap(void* vaddress);
|
||||
optional<info_t> get(void* vaddress);
|
||||
|
||||
private:
|
||||
paddr_t l4;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue