Lines Matching +full:4 +full:kb +full:- +full:page
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
84 * Create one free page pool. Since the i386 kernel virtual address
94 * Create up to three free page lists: VM_FREELIST_DMA32 is for physical pages
95 * that have physical addresses below 4G but are not accessible by ISA DMA,
107 * Always create DMA32 freelist if there is any memory above 4G.
114 * The largest allocation size is 2MB under PAE and 4MB otherwise.
149 * Virtual addresses of things. Derived from the page directory and
150 * page table indexes from pmap.h for precision.
151 * Because of the page that is both a PD and PT, it looks a little
152 * messy at times, but hey, we'll do anything to save a page :-)
155 #define VM_MAX_KERNEL_ADDRESS (0xffffffffU - 16 * 1024 * 1024 + 1)
164 #define VM_MAXUSER_ADDRESS (0xffffffff - 4 * 1024 * 1024 + 1)
166 #define SHAREDPAGE (VM_MAXUSER_ADDRESS - PAGE_SIZE)
175 #define PMAP_MAP_LOW (4 * 1024 * 1024)
179 * represents NBPDR bytes, aligned to NBPDR. NBPDR is 4M for non-PAE
180 * page tables, and 2M for PAE, so PAE mode requires twice as many PTDs
181 * to create the same memory map as non-PAE.
183 * 0x00000000 - 0x003fffff Transient identity map of low memory (0-4M),
185 * 0x00400000 - 0x007fffff Fixed mapping of the low memory (4-8M).
186 * 0x00800000 - 0xffbfffff KERNBASE (VA) == KERNLOAD (PA), kernel
189 * 0xffc00000 - 0xffdfffff Recursive kernel page table mapping, pointed
192 * 0xffe00000 - 0xffffffff Kernel/User mode shared PDE, contains GDT,
198 * How many physical pages per kmem arena virtual page.
216 #define VM_KMEM_SIZE_MAX (((((VM_MAX_KERNEL_ADDRESS - \
217 VM_MIN_KERNEL_ADDRESS) >> (PDRSHIFT - 2)) + 5) / 10) << PDRSHIFT)
225 #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */
241 * No non-transparent large page support in the pmap.
246 * Need a page dump array for minidump.