david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Print image physical location in registration message.

This commit is contained in:
Michael Brown 2007-01-12 16:20:51 +00:00
parent 0f29e0e46e
commit 5c72d9c4e0
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}