Author: hailfinger
Date: 2007-11-27 02:12:48 +0100 (Tue, 27 Nov 2007)
New Revision: 522

Modified:
   LinuxBIOSv3/util/lar/stream.c
Log:
Make the lar more informative about loadaddress and entry point.

Signed-off-by: Ronald G. Minnich <[EMAIL PROTECTED]>
Acked-by: Carl-Daniel Hailfinger <[EMAIL PROTECTED]>


Modified: LinuxBIOSv3/util/lar/stream.c
===================================================================
--- LinuxBIOSv3/util/lar/stream.c       2007-11-26 22:12:12 UTC (rev 521)
+++ LinuxBIOSv3/util/lar/stream.c       2007-11-27 01:12:48 UTC (rev 522)
@@ -517,19 +517,22 @@
                        printf("  %s ", filename);
 
                        if (ntohl(header->compression) == none) {
-                               printf("(%d bytes @0x%lx)\n",
+                               printf("(%d bytes @0x%lx);",
                                       ntohl(header->len),
                                       (unsigned long)(ptr - lar->map) +
                                       ntohl(header->offset));
                        } else {
                                printf("(%d bytes, %s compressed to %d bytes "
-                                      "@0x%lx)\n",
+                                      "@0x%lx);",
                                       ntohl(header->reallen),
                                       algo_name[ntohl(header->compression)],
                                       ntohl(header->len),
                                       (unsigned long)(ptr - lar->map) +
                                       ntohl(header->offset));
                        }
+                       printf("loadaddress 0x%#x entry 0x%#x\n", 
+                                       ntohl(header->loadaddress), 
+                                       ntohl(header->entry));
                }
 
                ptr += get_next_offset(header);


-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to