ldlinux: Add eprintf() to print to VGA and serial
authorMatt Fleming <matt.fleming@intel.com>
Fri, 25 Nov 2011 15:54:48 +0000 (15:54 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 2 Dec 2011 12:13:30 +0000 (12:13 +0000)
commit086d698c642f0b8901757a40cef56b04d05bf19c
tree1dfb9e228c0ce1febe7d08e35cef26bb8c1b71a6
parent9273fdfbac8bdb76d66ba2b2dbfbd860ad0434b3
ldlinux: Add eprintf() to print to VGA and serial

printf() is used heavily in the ldlinux code but that only displays
things on the VGA console, not on serial. Introduce eprintf(), which
gives us the benefit of format strings but will also print to both VGA
and serial.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/Makefile
com32/elflink/ldlinux/cli.c
com32/elflink/ldlinux/config.h
com32/elflink/ldlinux/eprintf.c [new file with mode: 0644]
com32/elflink/ldlinux/readconfig.c