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