Searched refs:MEMSIZE (Results 1 - 25 of 31) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dmemattr.c18 #define MEMSIZE 64 macro
19 static int mem1[MEMSIZE] = {111, 222, 333, 444, 555};
20 static int mem2[MEMSIZE];
21 static int mem3[MEMSIZE];
22 static int mem4[MEMSIZE];
23 static int mem5[MEMSIZE];
/netbsd-6-1-5-RELEASE/sys/arch/arm/omap/
H A Domap_reg.h30 #ifndef MEMSIZE
31 #error Specify the amount of SDRAM in megabytes with the MEMSIZE option.
33 #define MEMSIZE_BYTES (MEMSIZE * 1024 * 1024)
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/board/
H A Dgemini_mem.c53 * constrain MEMSIZE to avoid stepping out of smallest-case
58 #define MEMSIZE (32 * 1024 * 1024) /* 32MB */ macro
65 size = MEMSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/
H A Dif_le_obio.c69 #define MEMSIZE 0x4000 /* LANCE memory size */ macro
152 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE, 0,
160 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, PAGE_SIZE, 0,
167 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE,
176 sc->sc_mem, MEMSIZE, NULL,
179 bus_dmamem_unmap(dmatag, (void *)sc->sc_mem, MEMSIZE); local
185 sc->sc_memsize = MEMSIZE;
/netbsd-6-1-5-RELEASE/sys/dev/sbus/
H A Dif_le.c78 #define MEMSIZE 0x4000 /* LANCE memory size */ macro
225 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE, 0,
233 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, 0, 0,
242 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE,
252 sc->sc_mem, MEMSIZE, NULL, BUS_DMA_NOWAIT)) != 0) {
255 bus_dmamem_unmap(dmatag, sc->sc_mem, MEMSIZE);
260 sc->sc_memsize = MEMSIZE;
H A Dif_le_ledma.c88 #define MEMSIZE (16*1024) /* LANCE memory size */ macro
350 sc->sc_memsize = MEMSIZE;
353 if ((error = bus_dmamap_create(dmatag, MEMSIZE, 1, MEMSIZE,
361 if ((error = bus_dmamem_alloc(dmatag, MEMSIZE, 0, LEDMA_BOUNDARY,
368 if ((error = bus_dmamem_map(dmatag, &seg, rseg, MEMSIZE,
378 MEMSIZE, NULL, BUS_DMA_NOWAIT|BUS_DMA_COHERENT)) != 0) {
381 bus_dmamem_unmap(dmatag, sc->sc_mem, MEMSIZE);
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/rmixl/
H A Dmachdep.c698 #ifdef MEMSIZE
699 /* XXX trust and use MEMSIZE */
701 mem_clusters[0].size = MEMSIZE;
703 return MEMSIZE;
705 rmixl_puts("\r\nERROR: configure MEMSIZE\r\n");
754 * these will be limited by MEMSIZE if it is configured.
755 * if neither are available, just use MEMSIZE.
767 #ifdef MEMSIZE
768 uint64_t memsize = MEMSIZE;
804 #ifndef MEMSIZE
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/gemini/
H A Dgemini_start.S296 .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,
H A Dgemini_machdep.c344 panic("%s: RMCR %#x, MEMSIZE %d mismatch\n",
345 __FUNCTION__, r, MEMSIZE);
347 if (base != MEMSIZE)
348 panic("%s: RMCR %#x, MEMSIZE %d mismatch\n",
349 __FUNCTION__, r, MEMSIZE);
351 if (size != MEMSIZE)
352 panic("%s: RMCR %#x, MEMSIZE %d mismatch\n",
353 __FUNCTION__, r, MEMSIZE);
654 #define MEMSIZE_BYTES (MEMSIZE * 1024 * 1024)
1147 GEMINI_ALLMEM_PBASE + ((GEMINI_ALLMEM_SIZE - MEMSIZE) * 102
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/adm5120/
H A Dmachdep.c122 #ifndef MEMSIZE
123 #define MEMSIZE 4 * 1024 * 1024 macro
124 #endif /* !MEMSIZE */
204 *memsizep = MEMSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/mips/atheros/
H A Dar5312.c89 #if defined(MEMSIZE)
90 memsize = MEMSIZE;
H A Dar5315.c93 #ifndef MEMSIZE
121 return MEMSIZE;
H A Dar7100.c106 #ifdef MEMSIZE
107 return MEMSIZE;
H A Dar9344.c73 #ifndef MEMSIZE
87 return MEMSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/beagle/
H A Dbeagle_start.S227 .word 0x80000000 + MEMSIZE * 0x100000 - L1_TABLE_SIZE
272 (MEMSIZE * L1_S_SIZE + L1_S_SIZE - 1) / L1_S_SIZE,
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/tisdp24xx/
H A Dsdp24xx_start.S265 .word 0x80000000 + MEMSIZE * 0x100000 - L1_TABLE_SIZE
316 (MEMSIZE * L1_S_SIZE + L1_S_SIZE - 1) / L1_S_SIZE,
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/alchemy/
H A Dmachdep.c280 #if defined(MEMSIZE)
281 memsize = MEMSIZE;
289 printf(" Or, build a kernel with the `MEMSIZE' "
294 #endif /* MEMSIZE */
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/imx31/
H A Dimx31lk_machdep.c354 #ifndef MEMSIZE
355 #define MEMSIZE 0x8000000 macro
423 bootconfig.dram[0].pages = MEMSIZE / PAGE_SIZE;
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/viper/
H A Dviper_machdep.c389 #ifndef MEMSIZE
390 #define MEMSIZE 0x4000000 macro
465 bootconfig.dram[0].pages = MEMSIZE / PAGE_SIZE;
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/hpcmips/
H A Dmachdep.c414 #ifdef MEMSIZE
418 mem_clusters[1].size = MEMSIZE * 0x100000 - mem_clusters[1].start;
/netbsd-6-1-5-RELEASE/sys/arch/algor/algor/
H A Dmachdep.c427 #if defined(MEMSIZE)
428 size = MEMSIZE;
435 printf(" Or, build a kernel with the `MEMSIZE' "
439 #endif /* MEMSIZE */
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/
H A Dgrf_rhreg.h40 #define MEMSIZE 4 /* Set this to 1 or 4 (MB), according to the macro
60 #define PAT_MEM_OFF (MEMSIZE*1024*1024 - PAT_MEM_SIZE)
/netbsd-6-1-5-RELEASE/sys/arch/evbppc/mpc85xx/
H A Dmachdep.c449 #ifdef MEMSIZE
450 if (mr->start >= MEMSIZE)
452 if (mr->start + mr->size > MEMSIZE)
453 mr->size = MEMSIZE - mr->start;
/netbsd-6-1-5-RELEASE/sys/arch/arm/gemini/
H A Dgemini_obio.c173 sc->sc_dmarange.dr_len = MEMSIZE * 1024 * 1024;
H A Dgemini_pci.c228 | gemini_pci_cfg_reg_mem_size(MEMSIZE * 1024 * 1024));

Completed in 512 milliseconds

12