On 05.06.2009 12:43 Uhr, Carl-Daniel Hailfinger wrote:
/* Report the amount of memory. */
- printk_spew("RAM: 0x%08x kB\n", tom_k);
printk_debug("RAM end at 0x%08x kB, hole starts at 0x%08x kB\n",
tom_k, hole_startk);
/* Now set top of memory */ msr_t msr; if (tom_k > (4*1024*1024)) {
printk_raminit("Handling memory mapped above 4 GB\n");
printk_raminit("Upper RAM end at 0x%08x kB\n", tom_k);
I'm not sure it gets any easier to understand or less cryptic by calling the amount of RAM end of RAM and printing it twice?