Lines Matching refs:max_mem
78 * This is left only for compatibility and max_mem should be used.
85 uint64_t max_mem; /* Size of physical memory (bytes), adjusted by maxmem */
163 max_mem = 0; /* Will use to total memory found so far */
179 max_mem += cbsize; /* Total up what we have so far */
195 mem_size = (unsigned int)max_mem; /* Get size of memory */
196 if(max_mem > 0x0000000080000000ULL) mem_size = 0x80000000; /* Pin at 2 GB */
198 sane_size = max_mem; /* Calculate a sane value to use for init */
242 pmap_bootstrap(max_mem, &first_avail, kmapsize);
365 kprintf("max_mem: %ld M\n", (unsigned long)(max_mem >> 20));