From af0cd0921a277e0724d75e73271c8dd9ce70c0f9 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 30 Oct 2013 16:25:23 -0600 Subject: console: Add hexdump32 function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a function to display memory locations in the console logfile. Change-Id: Iddb8d2e7a24357075f32c2fdf7916ae7a732247d Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/4013 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel --- src/include/console/console.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/console') diff --git a/src/include/console/console.h b/src/include/console/console.h index 4e9b988aba..9f347adea3 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -76,6 +76,7 @@ void post_code(u8 value); void mainboard_post(u8 value); void __attribute__ ((noreturn)) die(const char *msg); int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3))); +void hexdump32(char LEVEL, const void *d, int len); #if defined(__BOOT_BLOCK__) && !CONFIG_BOOTBLOCK_CONSOLE || \ (defined(__PRE_RAM__) && !defined(__BOOT_BLOCK__)) && !CONFIG_EARLY_CONSOLE -- cgit v1.2.3