Home | History | Annotate | Download | only in x86

Lines Matching defs:L3

466  * For PAE, we need an L3 page, a single contiguous L2 "superpage" of 4 pages
467 * (all of them mapped by the L3 page), and a shadow page for L3[3].
609 * old_count is # of old tables (including L4, L3 and L2).
617 pd_entry_t *L4cpu, *L4, *L3
689 /* L3 */
690 L3 = (pd_entry_t *)avail;
691 memset(L3, 0, PAGE_SIZE);
694 /* link L4->L3 */
695 addr = ((u_long)L3) - KERNBASE;
704 /* link L3->L2 */
706 L3[pl3_pi(KERNTEXTOFF)] = xpmap_ptom_masked(addr) | PTE_P | PTE_W;
712 /* L3 */
713 L3 = (pd_entry_t *)avail;
714 memset(L3, 0, PAGE_SIZE);
722 * However, we enter L3[3] into L2 KERN, and not L2 KERN SHADOW.
730 * Link L2 pages in L3, with a special case for L2 KERN. Xen doesn't
731 * want RW permissions in L3 entries, it'll add them itself.
735 L3[i] = xpmap_ptom_masked(addr) | PTE_P;
738 L3[3] = xpmap_ptom_masked(addr) | PTE_P;
845 * We don't enter a recursive entry from the L3 PD. Instead, we enter
867 xen_bt_set_readonly((vaddr_t)L3);
895 /* Save the address of the L3 page */
896 cpu_info_primary.ci_pae_l3_pdir = L3;