Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- page_table = pmem_alloc();
- kprintf("Allocation pagetable :%x\n",pmem_alloc());
- for(int i = 0; i < 1024; i++) {
- page_table[i] = 0;
- }
- kprintf("[OK]");
- context->page_directory[PD_index]= (uint32_t) page_table | flags;
Advertisement
Add Comment
Please, Sign In to add comment