[OpenBIOS] [commit] r881 - trunk/openbios-devel/libopenbios
repository service
svn at openbios.org
Sun Oct 3 16:28:13 CEST 2010
Author: blueswirl
Date: Sun Oct 3 16:28:12 2010
New Revision: 881
URL: http://tracker.coreboot.org/trac/openbios/changeset/881
Log:
ofmem: Fix and enable ofmem_claim() trace output
A printk statement was commented out and there were format string mismatches for ppc target.
Use OFMEM_TRACE to more easily enable/disable it and use FMT_ucellx as in other trace output.
Note that this changes the alignment from decimal to hexidecimal notation.
Signed-off-by: Andreas Färber <andreas.faerber at web.de>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
Modified:
trunk/openbios-devel/libopenbios/ofmem_common.c
Modified: trunk/openbios-devel/libopenbios/ofmem_common.c
==============================================================================
--- trunk/openbios-devel/libopenbios/ofmem_common.c Sun Oct 3 16:28:10 2010 (r880)
+++ trunk/openbios-devel/libopenbios/ofmem_common.c Sun Oct 3 16:28:12 2010 (r881)
@@ -477,7 +477,7 @@
ucell virt, phys;
ucell offs = addr & 0xfff;
- /* printk("+ ofmem_claim %08lx %lx %ld\n", addr, size, align ); */
+ OFMEM_TRACE("ofmem_claim " FMT_ucellx " " FMT_ucellx " " FMT_ucellx "\n", addr, size, align );
virt = phys = 0;
if( !align ) {
if( is_free(addr, size, ofmem->virt_range) &&
More information about the OpenBIOS
mailing list