/barrelfish-2018-10-04/kernel/arch/x86_32/ |
H A D | debug.c | 25 uint32_t pdir :9; member in struct:lin_addr::__anon405
|
H A D | paging.c | 74 static union x86_32_ptable_entry pdir[X86_32_PTABLE_SIZE] variable in typeref:union:x86_32_ptable_entry 95 static union x86_32_pdir_entry pdir[X86_32_PTABLE_SIZE] variable in typeref:union:x86_32_pdir_entry 168 union x86_32_pdir_entry *pdir_base = (union x86_32_pdir_entry*) &pdir[X86_32_PDIR_BASE(vaddr)]; 245 union x86_32_ptable_entry *pdir_base = &pdir[X86_32_PDIR_BASE(vaddr)]; 251 union x86_32_pdir_entry *pdir_base = &pdir[X86_32_PDIR_BASE(vaddr)]; 257 "PDIR_BASE = %"PRIxLPADDR", PTABLE_BASE = %"PRIxLPADDR", pdir = %p, ptable = %p -- ", 258 vaddr, addr, X86_32_PDIR_BASE(vaddr), X86_32_PTABLE_BASE(vaddr), pdir, 302 paging_x86_32_context_switch(mem_to_local_phys((lvaddr_t)pdir)); 355 newpdir[i] = pdir[i];
|
H A D | page_mappings_arch.c | 71 /// Map within a x86_32 pdir 397 // get pdir 398 union x86_32_pdpte_entry *pdir = (union x86_32_pdpte_entry *)root_pt + pdir_index; local 399 if (!pdir->raw) { continue; } 400 genpaddr_t pdir_gp = pdir->d.base_addr << BASE_PAGE_BITS;
|
/barrelfish-2018-10-04/kernel/arch/x86_64/ |
H A D | debug.c | 26 uint64_t pdir :9; member in struct:lin_addr::__anon406 53 printf("pdir = %x\n", lin_addr.d.pdir); 75 (lin_addr.d.pdir * sizeof(union x86_64_pdir_entry)));
|
H A D | page_mappings_arch.c | 544 // get pdir 545 union x86_64_pdir_entry *pdir = (union x86_64_pdir_entry *)pdpt_lv + pdir_index; local 546 pt = (union x86_64_ptable_entry*)pdir; 547 if (!pdir->d.present) { continue; } 548 // check if pdir or huge page 556 genpaddr_t pdir_gp = (genpaddr_t)pdir->d.base_addr << BASE_PAGE_BITS; 569 // goto next pdir entry
|
/barrelfish-2018-10-04/lib/barrelfish/arch/x86_32/ |
H A D | pmap.c | 92 struct vnode **pdir) 99 if((*pdir = find_vnode(root, X86_32_PDPTE_BASE(base))) == NULL) { 101 X86_32_PDPTE_BASE(base), pdir); 107 *pdir = &pmap->root; 120 struct vnode *pdir; local 121 err = get_pdir(pmap, base, &pdir); 127 if((*ptable = find_vnode(pdir, X86_32_PDIR_BASE(base))) == NULL) { 128 err = alloc_vnode(pmap, pdir, ObjType_VNode_x86_32_ptable, 471 struct vnode *pdir = NULL, *pt = NULL, *page = NULL; local 473 // find page and last-level page table (can be pdir o 91 get_pdir(struct pmap_x86 *pmap, genvaddr_t base, struct vnode **pdir) argument 786 struct vnode *pdpt = &x86->root, *pdir; local 790 struct vnode *pdir = &x86->root; local [all...] |
/barrelfish-2018-10-04/lib/barrelfish/arch/x86_64/ |
H A D | pmap.c | 136 struct vnode **pdir) 147 if((*pdir = find_vnode(pdpt, X86_64_PDPT_BASE(base))) == NULL) { 149 X86_64_PDPT_BASE(base), pdir); 152 if ((*pdir = find_vnode(pdpt, X86_64_PDPT_BASE(base))) != NULL) { 157 DEBUG_ERR(err, "alloc_vnode for pdir"); 172 struct vnode *pdir; local 173 err = get_pdir(pmap, base, &pdir); 177 assert(pdir != NULL); 180 if ((*ptable = find_vnode(pdir, X86_64_PDIR_BASE(base))) == NULL) { 181 err = alloc_vnode(pmap, pdir, ObjType_VNode_x86_64_ptabl 135 get_pdir(struct pmap_x86 *pmap, genvaddr_t base, struct vnode **pdir) argument 233 struct vnode *pdir = find_pdir(pmap, base); local 664 struct vnode *pdpt = NULL, *pdir = NULL, *pt = NULL, *page = NULL; local 1001 struct vnode *pdpt, *pdir, *pt, *frame; local [all...] |
/barrelfish-2018-10-04/tools/elver/ |
H A D | elver.c | 125 static union ptable_entry pdir[PTABLE_SIZE] variable in typeref:union:ptable_entry 297 paging_map_table(&pdpt[PDPT_BASE(0)], (uint64_t)(uint32_t)pdir); 299 paging_map_large(&pdir[PDIR_BASE(i)], i, PTABLE_PRESENT
|
/barrelfish-2018-10-04/usr/arrakismon/ |
H A D | guest.c | 626 static uint64_t pdir[512] = { 638 memcpy((void *)(guest_to_host(g->mem_low_va + 0x3000)), pdir, sizeof(pdir));
|