Browse Source

Print image physical location in registration message.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
5c72d9c4e0
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/core/image.c

+ 3
- 1
src/core/image.c View File

@@ -58,7 +58,9 @@ int register_image ( struct image *image ) {
58 58
 
59 59
 	/* Add to image list */
60 60
 	list_add_tail ( &image->list, &images );
61
-	DBGC ( image, "IMAGE %p registered as %s\n", image, image->name );
61
+	DBGC ( image, "IMAGE %p at [%lx,%lx) registered as %s\n",
62
+	       image, user_to_phys ( image->data, 0 ),
63
+	       user_to_phys ( image->data, image->len ), image->name );
62 64
 
63 65
 	return 0;
64 66
 }

Loading…
Cancel
Save