[igt PATCH 3/6] intel_bios_reader: add hex dumping of headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 tools/intel_bios_reader.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index 83fc819b6cdc..9f75d850d3fb 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_bios_reader.c
@@ -1654,6 +1654,8 @@ static void dump_headers(struct context *context)
 	int i, j = 0;
 
 	printf("VBT header:\n");
+	if (context->hexdump)
+		hex_dump(vbt, vbt->header_size);
 
 	printf("\tVBT signature:\t\"%.*s\"\n",
 	       (int)sizeof(vbt->signature), vbt->signature);
@@ -1661,6 +1663,8 @@ static void dump_headers(struct context *context)
 	printf("\n");
 
 	printf("BDB header:\n");
+	if (context->hexdump)
+		hex_dump(bdb, bdb->header_size);
 
 	printf("\tBDB signature:\t\"%.*s\"\n",
 	       (int)sizeof(bdb->signature), bdb->signature);
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux