coreboot was still using an old set (obsolete since yabel) of x86emu includes

instead of the versions in util/x86emu. Clean up this mess.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4594 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2009-08-27 11:34:09 +00:00
committed by Stefan Reinauer
parent b883d4c433
commit 6c36305cdf
7 changed files with 9 additions and 807 deletions

View File

@@ -42,10 +42,11 @@
#ifndef __X86EMU_X86EMU_H
#define __X86EMU_X86EMU_H
/* FIXME: undefine printk for the moment */
#if 1 /* Coreboot needs to map prinkf to printk. */
#include <console.h>
#define printk(x...) printk(BIOS_DEBUG, x)
/* FIXME: redefine printk for the moment */
#ifdef COREBOOT_V2
#include <console/console.h>
#undef printk
#define printk(x...) do_printk(BIOS_DEBUG, x)
#else
#define printk printf
#endif
@@ -165,7 +166,7 @@ void X86EMU_halt_sys(void);
#ifdef CONFIG_DEBUG
#define HALT_SYS() \
printk("halt_sys: file %s, line %d\n", __FILE__, __LINE__); \
printk("halt_sys: in %s\n", __func__); \
X86EMU_halt_sys();
#else
#define HALT_SYS() X86EMU_halt_sys()

View File

@@ -1,3 +1,5 @@
makedefine CPPFLAGS += -I$(TOP)/util/x86emu/include
object debug.o
object decode.o
object fpu.o