coreboot/util
Stefan Reinauer e2804c14a4 util/vgabios: Don't call redefined printk in printk
A few pieces of coreboot code (like the video bios emulator) are
imported from other code bases, and hence might call printf. In
order to see the output, we redefine printf to printk. However,
when we are re-importing this code in a userspace utility, we might
call printk instead of printf if we're not careful.
A good fix for this would be to not call printf in coreboot ever.
As a short term fix to keep testbios from segfaulting, we just
don't call printf from printk, so we don't cause our own stack to
overflow.

Change-Id: I789075422dd8c5f8069d576fa7baf4176f6caf55
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/20658
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
2017-07-21 15:45:41 +00:00
..
abuild abuild: Update file locations 2017-07-19 15:18:14 +00:00
acpi
amdfwtool
amdtools
archive
arm_boot_tools/mksunxiboot
autoport
bimgtool
blobtool
board_status
broadcom
cbfstool Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
cbmem
checklist
chromeos
crossgcc crossgcc: Clean out ABI variable for GMP 2017-07-19 22:33:13 +00:00
docker
dtd_parser
ectool
exynos
futility
fuzz-tests
genbuild_h
genprof
gitconfig
hugo
ifdfake
ifdtool
intelmetool
inteltool inteltool: Add support for Skylake PMC 2017-07-15 22:33:14 +00:00
intelvbttool
ipqheader
k8resdump
kbc1126
kconfig
lint util/lint: update kconfig_lint 2017-07-18 19:08:42 +00:00
marvell
me_cleaner
mma
msrtool
mtkheader
nvidia
nvramtool
optionlist
post
release
riscvtools
rockchip
romcc
sconfig
scripts
showdevicetree
spkmodem_recv
superiotool
uio_usbdebug
vgabios util/vgabios: Don't call redefined printk in printk 2017-07-21 15:45:41 +00:00
viatool
xcompile