diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2013-07-18 16:24:08 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2013-12-21 08:25:44 +0100 |
commit | 2f38b07570d504b82878efa55e55a144a81d54ee (patch) | |
tree | fec907263c29ea03f840fd1af8da999f0f23c8ec /src/include | |
parent | 063c7c5bf61b07afdebec0b4a079aa69a18ae42d (diff) |
Add simple hexdump function
- prints hex and ascii
- detects duplicate all zero lines
Change-Id: I557fed34f0f50ae256a019cf893004a0d6cbff7c
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/62655
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
Reviewed-on: http://review.coreboot.org/4392
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/lib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index 2f27149095..db8f42ded8 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -55,4 +55,7 @@ void cache_as_ram_main(void); void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx); #endif +/* Defined in src/lib/hexdump.c */ +void hexdump(unsigned long memory, int length); + #endif /* __LIB_H__ */ |