[coreboot] [PATCH] K8: Improve RAM init debug messages

Stefan Reinauer stepan at coresystems.de
Fri Jun 5 13:44:22 CEST 2009


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?

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list