summaryrefslogtreecommitdiffstats
path: root/src/core/image.c
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 17:20:51 +0100
committerMichael Brown2007-01-12 17:20:51 +0100
commit5c72d9c4e043dbb3a090dc844944471be96f78b4 (patch)
tree29f45a393d18ed5d091cf3e0c7db084f4d5ed235 /src/core/image.c
parentEnsure multiboot modules are in ascending order of memory start (diff)
downloadipxe-5c72d9c4e043dbb3a090dc844944471be96f78b4.tar.gz
ipxe-5c72d9c4e043dbb3a090dc844944471be96f78b4.tar.xz
ipxe-5c72d9c4e043dbb3a090dc844944471be96f78b4.zip
Print image physical location in registration message.
Diffstat (limited to 'src/core/image.c')
-rw-r--r--src/core/image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/image.c b/src/core/image.c
index 6f54be11..b5ef7c59 100644
--- a/src/core/image.c
+++ b/src/core/image.c
@@ -58,7 +58,9 @@ int register_image ( struct image *image ) {
/* Add to image list */
list_add_tail ( &image->list, &images );
- DBGC ( image, "IMAGE %p registered as %s\n", image, image->name );
+ DBGC ( image, "IMAGE %p at [%lx,%lx) registered as %s\n",
+ image, user_to_phys ( image->data, 0 ),
+ user_to_phys ( image->data, image->len ), image->name );
return 0;
}