create copys of appcode in thread constructor
This commit is contained in:
@@ -50,10 +50,11 @@ typedef struct {
|
||||
void write_identity_map(pagetable_t* identity_table, uint64_t size);
|
||||
void create_basic_page_table(four_lvl_paging_t* table, pagetable_t* kernel_identity);
|
||||
void load_cr3(void* cr3_value);
|
||||
void setMapping(uintptr_t vaddr, void* frame, four_lvl_paging_t* flpt, bool write=true);
|
||||
uintptr_t isMapped(uintptr_t vaddr, four_lvl_paging_t* flpt);
|
||||
void* getFreeVirtSpace(four_lvl_paging_t* search_table, uint8_t num_pages);
|
||||
void setMapping(uintptr_t vaddr, void* frame, pagetable_t* l4, bool write=true, bool remap=false);
|
||||
uintptr_t isMapped(uintptr_t vaddr, pagetable_t* l4);
|
||||
void* getFreeVirtSpace(pagetable_t* l4, uint8_t num_pages);
|
||||
void copy_pagetable(four_lvl_paging_t* parent_table, four_lvl_paging_t* child_table);
|
||||
bool copy_page(pagetable_t* l4, uintptr_t src_paddr, void* dest_vaddr);
|
||||
|
||||
//typedef struct {
|
||||
// same
|
||||
|
||||
Reference in New Issue
Block a user