Add support for line drawing characters and the alternate character set.
authorUlf Jordan <jordan@chalmers.se>
Mon, 11 Aug 2008 20:34:28 +0000 (20:34 +0000)
committerJordan Crouse <jordan.crouse@amd.com>
Mon, 11 Aug 2008 20:34:28 +0000 (20:34 +0000)
commitb4d4bac1c49d7e19dac6f29ea278df8be6e6dcd2
tree3421bc45b50018056b0817ccf6d9c36c27e3f0aa
parent42a0c80b9babaaf93ca806dd9bae4a4cc5a8936f
Add support for line drawing characters and the alternate character set.
This enables using the ACS_ curses macros with libpayload.

The translation from ACS_ macros (or characters with attribute A_ALTCHARSET)
is done using one acs map for the video console, one for serial console
(xterm/vt100/vt220), and one fallback, from which an ASCII substitute is
taken if the device specific map doesn't contain an entry (ie NUL).

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3499 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/curses/tinycurses.c
payloads/libpayload/drivers/serial.c
payloads/libpayload/include/libpayload.h