summaryrefslogtreecommitdiffstats
path: root/util/x86emu/yabel/interrupt.c
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2009-03-01 10:08:06 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2009-03-01 10:08:06 +0000
commitbe57458c77a5675d676859fb32031babb609c8a8 (patch)
treece5b4bf4983329fbabd7898c339723b53d207d71 /util/x86emu/yabel/interrupt.c
parentcc295dd73a20f340cfab7e82a0a1d2a0a3b37edf (diff)
downloadcoreboot-be57458c77a5675d676859fb32031babb609c8a8.tar.gz
coreboot-be57458c77a5675d676859fb32031babb609c8a8.tar.bz2
coreboot-be57458c77a5675d676859fb32031babb609c8a8.zip
This patch contains the necessary changes to util/x86emu of the v3 tree to use
it in the v2 tree as well. Requires the yabel-prereq.diff patch in order to work in v2. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1141 f3766cd6-281f-0410-b1cd-43a5c92072e9
Diffstat (limited to 'util/x86emu/yabel/interrupt.c')
-rw-r--r--util/x86emu/yabel/interrupt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/x86emu/yabel/interrupt.c b/util/x86emu/yabel/interrupt.c
index c6e8fccb63b3..39708984f6e4 100644
--- a/util/x86emu/yabel/interrupt.c
+++ b/util/x86emu/yabel/interrupt.c
@@ -10,7 +10,11 @@
* IBM Corporation - initial implementation
*****************************************************************************/
+#if COREBOOT_V2
+#include "compat/rtas.h"
+#else
#include <rtas.h>
+#endif
#include "biosemu.h"
#include "mem.h"
@@ -19,9 +23,14 @@
#include "pmm.h"
#include <x86emu/x86emu.h>
+#if COREBOOT_V2
+#include "../x86emu/prim_ops.h"
+#else
#include <x86emu/prim_ops.h>
+#endif
#ifdef CONFIG_PCI_OPTION_ROM_RUN_YABEL
+#include <device/pci.h>
#include <device/pci_ops.h>
#endif