diff options
Diffstat (limited to 'util/x86emu/x86emu')
-rw-r--r-- | util/x86emu/x86emu/Config.lb | 7 | ||||
-rw-r--r-- | util/x86emu/x86emu/sys.c | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/util/x86emu/x86emu/Config.lb b/util/x86emu/x86emu/Config.lb new file mode 100644 index 000000000000..20e80722043d --- /dev/null +++ b/util/x86emu/x86emu/Config.lb @@ -0,0 +1,7 @@ +object debug.o +object decode.o +object fpu.o +object ops.o +object ops2.o +object prim_ops.o +object sys.o diff --git a/util/x86emu/x86emu/sys.c b/util/x86emu/x86emu/sys.c index b9ca7a838752..e11f769cd3f6 100644 --- a/util/x86emu/x86emu/sys.c +++ b/util/x86emu/x86emu/sys.c @@ -46,7 +46,11 @@ #include "debug.h" #include "prim_ops.h" #if 1 /* Coreboot needs to map prinkf to printk. */ +#if COREBOOT_V2 +#include "arch/io.h" +#else #include "io.h" +#endif #else #include <sys/io.h> #endif |