diff options
author | Martin Kepplinger <martink@posteo.de> | 2019-04-29 06:51:33 +0200 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2019-05-02 05:00:33 +0000 |
commit | d32a4930910dbe5dea47777902fcb966a4854114 (patch) | |
tree | 3b3e8534a8cee1673ffa2542b3d4b1e489b13f66 /src/soc/intel/skylake/systemagent.c | |
parent | 43a3c513f85b5af8958da253aa5ca377a4470ab3 (diff) |
x86emu: add console.h header to fix compilation
Commit 351e3e5 ("src: Use include <console/console.h> when appropriate")
has broken the build here, see below, so we include console.h here again.
In file included from src/device/oprom/x86emu/x86emui.h:65,
from src/device/oprom/x86emu/debug.c:40:
src/device/oprom/x86emu/debug.c: In function 'x86emu_dump_regs':
src/device/oprom/x86emu/debug.h:46:22: error: implicit declaration of function 'printk'; did you mean 'printf'?
[-Werror=implicit-function-declaration]
#define printf(x...) printk(BIOS_DEBUG, x)
^~~~~~
src/device/oprom/x86emu/debug.c:366:5: note: in expansion of macro 'printf'
printf("\tAX=%04x ", M.x86.R_AX );
^~~~~~
Fixes: 351e3e5 ("src: Use include <console/console.h> when appropriate")
Change-Id: I75d0b7c08bfa6dcb07778bbb762223b62cfc3da7
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32499
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/soc/intel/skylake/systemagent.c')
0 files changed, 0 insertions, 0 deletions