From 1b0ab813036b45a3d760112f831d41772b81f882 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 14 May 2015 14:50:42 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/10207 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/lib.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3