HomeSort by: relevance | last modified time | path
    Searched refs:MEMSIZE (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/sys/arch/evbarm/stand/board/
gemini_mem.c 53 * constrain MEMSIZE to avoid stepping out of smallest-case
58 #define MEMSIZE (32 * 1024 * 1024) /* 32MB */
65 size = MEMSIZE;
  /src/sys/arch/sparc/dev/
if_le_obio.c 69 #define MEMSIZE 0x4000 /* LANCE memory size */
151 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE, 0,
158 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, PAGE_SIZE, 0,
164 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE,
171 sc->sc_mem, MEMSIZE, NULL, BUS_DMA_NOWAIT)) != 0) {
177 sc->sc_memsize = MEMSIZE;
204 bus_dmamem_unmap(dmatag, (void *)sc->sc_mem, MEMSIZE);
  /src/sys/dev/sbus/
if_le.c 77 #define MEMSIZE 0x4000 /* LANCE memory size */
229 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE, 0,
236 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, 0, 0,
245 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE,
256 sc->sc_mem, MEMSIZE, NULL, BUS_DMA_NOWAIT)) != 0) {
258 bus_dmamem_unmap(dmatag, sc->sc_mem, MEMSIZE);
265 sc->sc_memsize = MEMSIZE;
if_le_ledma.c 87 #define MEMSIZE (16*1024) /* LANCE memory size */
349 sc->sc_memsize = MEMSIZE;
352 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE,
359 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, 0, LEDMA_BOUNDARY,
366 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE,
374 MEMSIZE, NULL, BUS_DMA_NOWAIT | BUS_DMA_COHERENT)) != 0) {
420 bus_dmamem_unmap(dmatag, sc->sc_mem, MEMSIZE);
  /src/sys/arch/evbmips/rmixl/
machdep.c 235 uint64_t memsize; local in function:mach_init
265 memsize = rmixlfw_init(infop);
269 physmem = btoc(memsize);
279 printf("memsize = %#"PRIx64"\n", memsize);
689 #ifdef MEMSIZE
690 /* XXX trust and use MEMSIZE */
692 mem_clusters[0].size = MEMSIZE;
694 return MEMSIZE;
696 rmixl_puts("\r\nERROR: configure MEMSIZE\r\n")
759 uint64_t memsize = MEMSIZE; local in function:mem_clusters_init
    [all...]
  /src/sys/arch/evbarm/imx23_olinuxino/
imx23_olinuxino_start.S 160 .word (DRAM_BASE + MEMSIZE * 1024 * 1024 - L1_TABLE_SIZE)
181 MEMSIZE,
imx23_olinuxino_machdep.c 76 #define L1_PAGE_TABLE (DRAM_BASE + MEMSIZE * 1024 * 1024 - L1_TABLE_SIZE)
170 ram_size = MEMSIZE * 1024 * 1024;
  /src/sys/arch/hpcmips/conf/
LCARD 18 options MEMSIZE=16 # memory size, in MB
  /src/sys/arch/evbarm/stand/bootimx23/
args_prep.c 89 #define L1_PAGE_TABLE (DRAM_BASE + MEMSIZE * 1024 * 1024 - L1_TABLE_SIZE)
  /src/sys/arch/evbarm/bcm53xx/
bcm53xx_machdep.c 331 psize_t memsize = bcm53xx_memprobe(); local in function:initarm
332 #ifdef MEMSIZE
333 if ((memsize >> 20) > MEMSIZE)
334 memsize = MEMSIZE*1024*1024;
336 const bool bigmem_p = (memsize >> 20) > 256;
341 if (memsize > KERNEL_VM_BASE - KERNEL_BASE) {
345 memsize = KERNEL_VM_BASE - KERNEL_BASE;
352 arm32_bootmem_init(KERN_VTOPHYS(KERNEL_BASE), memsize,
    [all...]
  /src/sys/arch/evbmips/adm5120/
machdep.c 123 #ifndef MEMSIZE
124 #define MEMSIZE 4 * 1024 * 1024
125 #endif /* !MEMSIZE */
204 *memsizep = MEMSIZE;
272 uint32_t memsize; local in function:mach_init
327 parse_args(NULL, argc, argv, &memsize);
337 if (GET_MEMSIZE(memsize) == 0) {
345 memsize = 4 * 1024 * 1024;
348 memsize = 8 * 1024 * 1024;
351 memsize = 16 * 1024 * 1024
    [all...]
  /src/sys/arch/evbarm/gemini/
gemini_start.S 296 .word MEMSIZE * 0x100000 - L1_TABLE_SIZE
361 (MEMSIZE * L1_S_SIZE + L1_S_SIZE - 1) / L1_S_SIZE,
366 (MEMSIZE * L1_S_SIZE + L1_S_SIZE - 1) / L1_S_SIZE,
gemini_machdep.c 314 panic("%s: RMCR %#x, MEMSIZE %d mismatch\n",
315 __FUNCTION__, r, MEMSIZE);
317 if (base != MEMSIZE)
318 panic("%s: RMCR %#x, MEMSIZE %d mismatch\n",
319 __FUNCTION__, r, MEMSIZE);
321 if (size != MEMSIZE)
322 panic("%s: RMCR %#x, MEMSIZE %d mismatch\n",
323 __FUNCTION__, r, MEMSIZE);
600 #define MEMSIZE_BYTES (MEMSIZE * 1024 * 1024)
1088 GEMINI_ALLMEM_PBASE + ((GEMINI_ALLMEM_SIZE - MEMSIZE) * 1024 * 1024)
    [all...]
  /src/sys/arch/evbarm/conf/
GEMINI 132 options MEMSIZE=128
GEMINI_MASTER 133 options MEMSIZE=64
GEMINI_SLAVE 134 options MEMSIZE=64
  /src/sys/arch/evbmips/alchemy/
machdep.c 145 mach_init(int argc, char **argv, yamon_env_var *envp, u_long memsize)
270 * Determine the memory size. Use the `memsize' PMON
277 #if defined(MEMSIZE)
278 memsize = MEMSIZE;
280 if (memsize == 0) {
281 if ((cp = yamon_getenv("memsize")) != NULL)
282 memsize = strtoul(cp, NULL, 0);
284 printf("FATAL: `memsize' YAMON variable not set. Set it to\n");
286 printf(" Or, build a kernel with the `MEMSIZE' "
    [all...]
  /src/sys/arch/mips/atheros/
ar7100.c 107 #ifdef MEMSIZE
108 return MEMSIZE;
ar5312.c 80 uint32_t memsize; local in function:ar5312_get_memsize
89 #if defined(MEMSIZE)
90 memsize = MEMSIZE;
96 memsize = (bank0 ? (1 << (bank0 + 1)) : 0) +
98 memsize <<= 20;
101 return (memsize);
ar5315.c 93 #ifndef MEMSIZE
94 uint32_t memsize = 0; local in function:ar5315_get_memsize
112 memsize = (1 << cw) * (1 << rw) * dw;
115 cw, rw, dw, memsize);
118 return (memsize);
121 return MEMSIZE;
  /src/sys/arch/evbarm/imx31/
imx31lk_machdep.c 317 #ifndef MEMSIZE
318 #define MEMSIZE 0x8000000
386 bootconfig.dram[0].pages = MEMSIZE / PAGE_SIZE;
  /src/sys/arch/evbarm/kobo/
kobo_machdep.c 209 #ifndef MEMSIZE
210 #define MEMSIZE 256
467 bootconfig.dram[0].pages = (MEMSIZE * 1024 * 1024) / PAGE_SIZE;
  /src/sys/arch/evbarm/armadaxp/
armadaxp_machdep.c 128 * Put some bogus settings of the MEMSTART and MEMSIZE
134 #ifndef MEMSIZE
135 #define MEMSIZE 0x40000000UL
362 psize_t memsize = MEMSIZE; local in function:initarm
363 if (mapallmem_p && memsize > KERNEL_VM_BASE - KERNEL_BASE) {
365 __func__, (unsigned long) (memsize >> 20),
367 memsize = KERNEL_VM_BASE - KERNEL_BASE;
372 bootconfig.dram[0].pages = memsize / PAGE_SIZE;
  /src/sys/arch/evbarm/viper/
viper_machdep.c 364 #ifndef MEMSIZE
365 #define MEMSIZE 0x4000000
436 bootconfig.dram[0].pages = MEMSIZE / PAGE_SIZE;
  /src/sys/arch/cats/cats/
cats_machdep.c 304 * If MEMSIZE specified less than what we really have, limit ourselves
307 #ifdef MEMSIZE
308 if (ram_size == 0 || ram_size > (unsigned)MEMSIZE * 1024 * 1024)
309 ram_size = (unsigned)MEMSIZE * 1024 * 1024;
312 KASSERTMSG(ram_size > 0, "RAM size unknown and MEMSIZE undefined");

Completed in 21 milliseconds

1 2