Guest User

Untitled

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