summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2015-05-14 14:50:42 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-07-22 18:57:15 +0200
commit1b0ab813036b45a3d760112f831d41772b81f882 (patch)
tree25bcb49bc36083199d298fd04b3474969bc67e3e
parente324cc91e09662ef5edb84f8160bbfa830bc701b (diff)
downloadcoreboot-1b0ab813036b45a3d760112f831d41772b81f882.tar.xz
lib/hexdump: Add xxd hint
For people new to Linux, add the xxd hint to compare output with output from Linux. BRANCH=none BUG=None TEST=Build and run on cyan Change-Id: Ia46aeed056b12abbadf8205b044944385d9410e1 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: http://review.coreboot.org/10207 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/include/lib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/lib.h b/src/include/lib.h
index b81b1b18bb..d0cd66fe4d 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -39,7 +39,11 @@ int primitive_memtest(uintptr_t base, uintptr_t size);
/* Defined in src/lib/stack.c */
int checkstack(void *top_of_stack, int core);
-/* Defined in src/lib/hexdump.c */
+/*
+ * Defined in src/lib/hexdump.c
+ * Use the Linux command "xxd" for matching output. xxd is found in package
+ * https://packages.debian.org/jessie/amd64/vim-common/filelist
+ */
void hexdump(const void *memory, size_t length);
void hexdump32(char LEVEL, const void *d, size_t len);