Guest User

Untitled

a guest
Nov 28th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1.         page_table = pmem_alloc();
  2.         kprintf("Allocation pagetable :%x\n",pmem_alloc());
  3.         uint32_t* pd = context->page_directory[1023];
  4.         pd[PT_index] = (uint32_t) page_table | flags;
  5.         for(int i = 0; i < 1024; i++) {
  6.             page_table[i] = 0;
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment