Kernel: MMU can now provide info about virtual address space
This commit is contained in:
@@ -31,14 +31,19 @@ namespace Kernel
|
||||
|
||||
void map_page_at(paddr_t, vaddr_t, flags_t);
|
||||
|
||||
paddr_t physical_address_of(vaddr_t) const;
|
||||
flags_t get_page_flags(vaddr_t) const;
|
||||
|
||||
bool is_page_free(vaddr_t) const;
|
||||
bool is_range_free(vaddr_t, size_t) const;
|
||||
|
||||
vaddr_t get_free_page() const;
|
||||
vaddr_t get_free_contiguous_pages(uint32_t) const;
|
||||
|
||||
void load();
|
||||
|
||||
private:
|
||||
uint64_t get_page_data(vaddr_t) const;
|
||||
void initialize_kernel();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user