Searched refs:NPT2_IN_PG (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/arm/include/
H A Dpmap_var.h44 #define NPT2_IN_PG (PAGE_SIZE / NB_IN_PT2) macro
47 #define NPTE2_IN_PG (NPT2_IN_PG * NPTE2_IN_PT2)
52 * A L2 page tables page contains NPT2_IN_PG L2 page tables. Masking of
54 * in a page. The PT2PG_SHIFT definition depends on NPT2_IN_PG strictly.
55 * I.e., (1 << PT2PG_SHIFT) == NPT2_IN_PG must be fulfilled.
65 #define PT2TAB_ENTRIES (NPTE1_IN_PT1 / NPT2_IN_PG)
/freebsd-13-stable/sys/arm/arm/
H A Dpmap-v6.c269 vm_offset_t kernel_vm_end = KERNBASE + NKPT2PG * NPT2_IN_PG * PTE1_SIZE;
552 * KERNBASE must be multiple of NPT2_IN_PG * PTE1_SIZE. In other words,
556 CTASSERT((KERNBASE & (NPT2_IN_PG * PTE1_SIZE - 1)) == 0);
578 CTASSERT(PAGE_SIZE == (NPT2_IN_PG * NB_IN_PT2));
579 CTASSERT((1 << PT2PG_SHIFT) == NPT2_IN_PG);
582 * PT2TAB_ENTRIES is defined as a division of NPTE1_IN_PT1 by NPT2_IN_PG.
585 CTASSERT(NPTE1_IN_PT1 == (PT2TAB_ENTRIES * NPT2_IN_PG));
657 va &= ~(NPT2_IN_PG * PTE1_SIZE - 1);
856 * virtual address of PT2MAP must be aligned to NPT2_IN_PG * PTE1_SIZE.
1745 pte1_idx += NPT2_IN_PG;
[all...]

Completed in 56 milliseconds