/* * asm/vaddrs.h: Here we define the virtual addresses at * which important things will be mapped. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 2000 Anton Blanchard (anton@samba.org)
*/
#define SRMMU_MAXMEM 0x0c000000
#define SRMMU_NOCACHE_VADDR (KERNBASE + SRMMU_MAXMEM) /* = 0x0fc000000 */ /* XXX Empiricals - this needs to go away - KMW */ #define SRMMU_MIN_NOCACHE_PAGES (550) #define SRMMU_MAX_NOCACHE_PAGES (1280)
/* The following constant is used in mm/srmmu.c::srmmu_nocache_calcsize() * to determine the amount of memory that will be reserved as nocache: * * 256 pages will be taken as nocache per each * SRMMU_NOCACHE_ALCRATIO MB of system memory. * * limits enforced: nocache minimum = 256 pages * nocache maximum = 1280 pages
*/ #define SRMMU_NOCACHE_ALCRATIO 64 /* 256 pages per 64MB of system RAM */
/* Leave one empty page between IO pages at 0xfd000000 and * the top of the fixmap.
*/ #define FIXADDR_TOP (0xfcfff000UL) #define FIXADDR_SIZE ((FIX_KMAP_END + 1) << PAGE_SHIFT) #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.