coreboot-kgpe-d16/tests/stubs/console.c
Nico Huber 7cc14ac25d Rename do_printk() to printk()
The indirection seems unnecessary. The macros throw features like
`-Wmisleading-indentation` off, though.

Default build for QEMU/Q35 is unchanged.

Change-Id: Ie4eab935a367b5ad6b38225c4973d41d9f70ef10
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51887
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-04-14 10:38:09 +00:00

20 lines
304 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
#include <stdarg.h>
#include <stdio.h>
int printk(int msg_level, const char *fmt, ...)
{
return 0;
}
int vprintk(int msg_level, const char *fmt, va_list args)
{
return 0;
}
int console_log_level(int msg_level)
{
return 0;
}