2005-07-12 Hollis Blanchard <hollis@penguinppc.org>

* disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): dprintf the
	device path and resulting ihandle.
	(grub_ofdisk_close): dprintf the ihandle being closed.
	(grub_ofdisk_read): dprintf function parameters.
	* kern/mm.c (grub_mm_init_region): Likewise.
	* loader/powerpc/ieee1275/linux.c: Remove extra whitespace.
	(grub_linux_boot): dprintf the Linux entry point, initrd address and
	size, and boot arguments.
	(grub_rescue_cmd_linux): dprintf each ELF segment's address and size
	before loading into memory.
	(grub_rescue_cmd_initrd): dprintf the initrd's address and size
	before loading into memory.
This commit is contained in:
hollisb 2005-07-12 22:36:43 +00:00
parent 7ef504d8e0
commit 09f9923fbb
7 changed files with 145 additions and 138 deletions

View file

@ -137,10 +137,8 @@ grub_mm_init_region (void *addr, grub_size_t size)
grub_mm_header_t h;
grub_mm_region_t r, *p, q;
#if 0
grub_printf ("%s:%d: addr=%p, size=%u\n", __FILE__, __LINE__, addr, size);
#endif
grub_dprintf ("mem", "Using memory for heap: addr=%p, size=%u\n", addr, size);
/* If this region is too small, ignore it. */
if (size < GRUB_MM_ALIGN * 2)
return;