coreboot/util
Gabe Black 8ec61e52a6 cbmem: Terminate the cbmem console at the cursor position.
If the cbmem console buffer isn't zero filled before it's used, there won't be
a terminator at the end. We need to put one at the cursor position manually.

BUG=chrome-os-partner:19420
TEST=Booted and ran cbmem -c on pit. No longer saw lots of garbage printed
after the actual console output.
BRANCH=None

Change-Id: I69870c2b24b67ce3cbcd402b62f3574acb4c2a8f
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/65300
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
2013-08-09 11:18:50 -07:00
..
abuild
acpi
amdtools
cbfstool
cbmem cbmem: Terminate the cbmem console at the cursor position. 2013-08-09 11:18:50 -07:00
crossgcc
dtd_parser
dumpmmcr
ectool
genprof
getpir
gitconfig
i915tool
ifdtool
inteltool
k8resdump
kconfig
lbtdump
lint
mkelfImage
mptable
msrtool
nrv2b
nvramtool
optionlist
resetcf
romcc
runfw
sconfig
scripts
showdevicetree
superiotool
vgabios
xcompile