#ifdefined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL) /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET)) #error"You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START" #endif #endif #define MAX_LOW_MEM CONFIG_LOWMEM_SIZE
#ifdef CONFIG_RELOCATABLE /* Used in __va()/__pa() */ longlong virt_phys_offset;
EXPORT_SYMBOL(virt_phys_offset); #endif
phys_addr_t lowmem_end_addr;
int boot_mapsize; #ifdef CONFIG_PPC_PMAC unsignedlong agp_special_page;
EXPORT_SYMBOL(agp_special_page); #endif
void MMU_init(void);
/* max amount of low RAM to map in */ unsignedlong __max_low_memory = MAX_LOW_MEM;
/* * MMU_init sets up the basic memory mappings for the kernel, * including both RAM and possibly some I/O regions, * and sets up the page tables and the MMU hardware ready to go.
*/ void __init MMU_init(void)
{ if (ppc_md.progress)
ppc_md.progress("MMU:enter", 0x111);
#ifdef CONFIG_PPC_85xx /* Freescale Book-E parts expect lowmem to be mapped by fixed TLB * entries, so we need to adjust lowmem to match the amount we can map
* in the fixed entries */
adjust_total_lowmem(); #endif/* CONFIG_PPC_85xx */
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.