coreboot/src/lib
Ben Gardner b50d8fbb6e hexdump: Fix output if length is not a multiple of 16
hexdump currently rounds up length to a multiple of 16.
So, hexdump(ptr, 12) prints 16 hex digits, including 4 garbage bytes.
That isn't desirable and is easy to fix.

Change-Id: I86415fa9bc6cdc84b111e5e1968e39f570f294d9
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: http://review.coreboot.org/12486
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2015-11-21 03:41:53 +01:00
..
assets.c
b64_decode.c
boot_device.c
bootblock.c arm/arm64: Generalize bootblock C entry point 2015-11-11 05:08:07 +01:00
bootmem.c
bootmode.c
cbfs.c
cbfs_boot_props.c
cbfs_spi.c
cbmem_common.c
cbmem_console.c
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c vendorcode/google/chromeos: Cache VPD data into CBMEM 2015-11-19 21:37:47 +01:00
debug.c
delay.c
edid.c edid: Don't half parse (and wrongly print) more detailed timings 2015-11-19 21:37:42 +01:00
ext_stage_cache.c
fallback_boot.c drivers/pc80: Rework normal / fallback selector code 2015-11-03 21:55:20 +01:00
fmap.c
gcc.c
gcov-glue.c
gcov-io.c
gcov-io.h
gcov-iov.h
generic_dump_spd.c
generic_sdram.c
gpio.c
halt.c
hardwaremain.c
hexdump.c hexdump: Fix output if length is not a multiple of 16 2015-11-21 03:41:53 +01:00
imd.c
imd_cbmem.c
jpeg.c
jpeg.h
libgcc.c
libgcov.c
lzma.c
lzmadecode.c
lzmadecode.h
Makefile.inc arm64: tegra132: tegra210: Remove old arm64/stage_entry.S 2015-11-17 21:31:20 +01:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c
memset.c
mocked_tlcl.c
primitive_memtest.c
prog_loaders.c
prog_ops.c
program.ld
ramtest.c
reg_script.c
rmodule.c
rmodule.ld
selfboot.c
stack.c
thread.c
timer.c
timer_queue.c
timestamp.c
tlcl.c
tlcl_internal.h
tlcl_structures.h
tpm_error_messages.h
trace.c
version.c