Do not try to display non-printable characters on the bootlog and
authorUlf Jordan <jordan@chalmers.se>
Tue, 30 Sep 2008 06:13:54 +0000 (06:13 +0000)
committerPeter Stuge <peter@stuge.se>
Tue, 30 Sep 2008 06:13:54 +0000 (06:13 +0000)
commit94c1bd8904ec23566d5a63ad396eb07424df97ee
tree69775605cfa7e4a4965e5db0147ff82532180c33
parent45db366d5c8222148100713b165762aab61c478f
Do not try to display non-printable characters on the bootlog and
ramdump screens. This fixes unaligned display on serial console.

The current isprint() implementation assumes a C locale, so also
characters with the eigth bit set are supressed (they produced
inconsistant results on VGA and serial anyway).

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3621 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/coreinfo/bootlog_module.c
payloads/coreinfo/ramdump_module.c