[LinuxBIOS] r522 - LinuxBIOSv3/util/lar

svn at openbios.org svn at openbios.org
Tue Nov 27 02:12:48 CET 2007


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 <rminnich at gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


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);





More information about the coreboot mailing list