/* * paging_init() continues the virtual memory environment setup which * was begun by the code in arch/head.S. * The parameters are pointers to where to stick the starting and ending * addresses of available kernel virtual memory.
*/ void __init paging_init(void)
{ /* * Make sure start_mem is page aligned, otherwise bootmem and * page_alloc get different views of the world.
*/ unsignedlong end_mem = memory_end & PAGE_MASK; unsignedlong max_zone_pfn[MAX_NR_ZONES] = { 0, };
staticinlinevoid init_pointer_tables(void)
{ #ifdefined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE) int i, j;
/* insert pointer tables allocated so far into the tablelist */
init_pointer_table(kernel_pg_dir, TABLE_PGD); for (i = 0; i < PTRS_PER_PGD; i++) {
pud_t *pud = (pud_t *)&kernel_pg_dir[i];
pmd_t *pmd_dir;
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.