9 #include <linux/kernel.h>
15 #include <linux/module.h>
21 #include <asm/mmu_context.h>
25 #include <asm/setup.h>
26 #include <asm/sections.h>
46 extern unsigned long _evba;
55 printk(
"Exception vectors start at %p\n", &_evba);
73 printk (
"CPU: Paging enabled\n");
77 unsigned long zones_size[MAX_NR_ZONES];
78 unsigned long low, start_pfn;
80 start_pfn = pgdat->
bdata->node_min_pfn;
81 low = pgdat->
bdata->node_low_pfn;
83 memset(zones_size, 0,
sizeof(zones_size));
86 printk(
"Node %u: start_pfn = 0x%lx, low = 0x%lx\n",
91 printk(
"Node %u: mem_map starts at %p\n",
92 pgdat->
node_id, pgdat->node_mem_map);
103 int codesize, reservedpages, datasize, initsize;
112 unsigned long node_pages = 0;
113 void *node_high_memory;
120 totalram_pages += node_pages;
122 for (i = 0; i < node_pages; i++)
123 if (PageReserved(pgdat->node_mem_map + i))
139 printk (
"Memory: %luk/%luk available (%dk kernel code, "
140 "%dk reserved, %dk data, %dk init)\n",
151 unsigned int size = (end -
addr) >> 10;
155 ClearPageReserved(page);
156 init_page_count(page);
163 s, size, end - (size << 10), end);
172 #ifdef CONFIG_BLK_DEV_INITRD