5 #include <machine/vm.h>
12 /* Directory entries in VM addr space - root of page table. */
13 u32_t
*pt_dir
; /* page aligned (ARCH_VM_DIR_ENTRIES) */
14 u32_t pt_dir_phys
; /* physical address of pt_dir */
16 /* Pointers to page tables in VM address space. */
17 u32_t
*pt_pt
[ARCH_VM_DIR_ENTRIES
];
19 /* When looking for a hole in virtual address space, start
20 * looking here. This is in linear addresses, i.e.,
21 * not as the process sees it but the position in the page
22 * page table. This is just a hint.
27 #define CLICKSPERPAGE (VM_PAGE_SIZE/CLICK_SIZE)