Stub out FILE*, stdout/stdin/stderr and implement fprintf on these
authorPatrick Georgi <patrick.georgi@secunet.com>
Mon, 14 Feb 2011 19:25:27 +0000 (19:25 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 14 Feb 2011 19:25:27 +0000 (19:25 +0000)
commitcd913bdf5c995fb3768aaaaeec364e7f5527e4e9
treef929d9966f548530bbfb224ba50394dd4c28e80e
parenta4a022c9418096ae7f6e8074dcd917ff68294e8e
Stub out FILE*, stdout/stdin/stderr and implement fprintf on these

- Add FILE*
- Add stdout, stdin, stderr stubs
- Add fprintf that redirects to printf for stdout and stderr and fails otherwise

Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6358 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/include/stdio.h
payloads/libpayload/libc/printf.c