summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-08-16 10:46:28 +0200
committerMichal Simek <monstr@monstr.eu>2007-08-16 10:46:28 +0200
commit78cff50edba6b1508eb15c2f53ce966ac891eb9e (patch)
tree37d7cf2fc490af2263b1204f75845e9e53f80e6c
parent6e0e2253f039344f8ebd2787285fdba90e6714e8 (diff)
downloadu-boot-imx-78cff50edba6b1508eb15c2f53ce966ac891eb9e.zip
u-boot-imx-78cff50edba6b1508eb15c2f53ce966ac891eb9e.tar.gz
u-boot-imx-78cff50edba6b1508eb15c2f53ce966ac891eb9e.tar.bz2
[FIX] Changes for bios_emulator code for others architecture
-rw-r--r--drivers/bios_emulator/besys.c2
-rw-r--r--drivers/bios_emulator/bios.c2
-rw-r--r--drivers/bios_emulator/biosemu.c1
-rw-r--r--drivers/bios_emulator/x86emu/debug.c1
-rw-r--r--drivers/bios_emulator/x86emu/decode.c1
-rw-r--r--drivers/bios_emulator/x86emu/ops.c2
-rw-r--r--drivers/bios_emulator/x86emu/ops2.c2
-rw-r--r--drivers/bios_emulator/x86emu/prim_ops.c2
-rw-r--r--drivers/bios_emulator/x86emu/sys.c2
9 files changed, 15 insertions, 0 deletions
diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c
index 5751eeb..8f1d8b2 100644
--- a/drivers/bios_emulator/besys.c
+++ b/drivers/bios_emulator/besys.c
@@ -47,6 +47,8 @@
*
****************************************************************************/
+#include <common.h>
+
#if defined(CONFIG_BIOSEMU)
#include "biosemui.h"
diff --git a/drivers/bios_emulator/bios.c b/drivers/bios_emulator/bios.c
index d9ccbf8..70e9ce1 100644
--- a/drivers/bios_emulator/bios.c
+++ b/drivers/bios_emulator/bios.c
@@ -41,6 +41,8 @@
*
****************************************************************************/
+#include <common.h>
+
#if defined(CONFIG_BIOSEMU)
#include "biosemui.h"
diff --git a/drivers/bios_emulator/biosemu.c b/drivers/bios_emulator/biosemu.c
index 5ab9e74..ccfc872 100644
--- a/drivers/bios_emulator/biosemu.c
+++ b/drivers/bios_emulator/biosemu.c
@@ -46,6 +46,7 @@
****************************************************************************/
#include <malloc.h>
+#include <common.h>
#if defined(CONFIG_BIOSEMU)
diff --git a/drivers/bios_emulator/x86emu/debug.c b/drivers/bios_emulator/x86emu/debug.c
index 3acc7e5..5cbcc95 100644
--- a/drivers/bios_emulator/x86emu/debug.c
+++ b/drivers/bios_emulator/x86emu/debug.c
@@ -38,6 +38,7 @@
****************************************************************************/
#include <stdarg.h>
+#include <common.h>
#if defined(CONFIG_BIOSEMU)
diff --git a/drivers/bios_emulator/x86emu/decode.c b/drivers/bios_emulator/x86emu/decode.c
index 915645c..7a9a1dd 100644
--- a/drivers/bios_emulator/x86emu/decode.c
+++ b/drivers/bios_emulator/x86emu/decode.c
@@ -36,6 +36,7 @@
* instruction decoding and accessess of immediate data via IP. etc.
*
****************************************************************************/
+#include <common.h>
#if defined(CONFIG_BIOSEMU)
diff --git a/drivers/bios_emulator/x86emu/ops.c b/drivers/bios_emulator/x86emu/ops.c
index ff2f119..a77bd9b 100644
--- a/drivers/bios_emulator/x86emu/ops.c
+++ b/drivers/bios_emulator/x86emu/ops.c
@@ -75,6 +75,8 @@
*
****************************************************************************/
+#include <common.h>
+
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c
index c8b8517..d6a210c 100644
--- a/drivers/bios_emulator/x86emu/ops2.c
+++ b/drivers/bios_emulator/x86emu/ops2.c
@@ -44,6 +44,8 @@
*
****************************************************************************/
+#include <common.h>
+
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
diff --git a/drivers/bios_emulator/x86emu/prim_ops.c b/drivers/bios_emulator/x86emu/prim_ops.c
index b3d82bb..2a254a4 100644
--- a/drivers/bios_emulator/x86emu/prim_ops.c
+++ b/drivers/bios_emulator/x86emu/prim_ops.c
@@ -97,6 +97,8 @@
*
****************************************************************************/
+#include <common.h>
+
#define PRIM_OPS_NO_REDEFINE_ASM
#if defined(CONFIG_BIOSEMU)
diff --git a/drivers/bios_emulator/x86emu/sys.c b/drivers/bios_emulator/x86emu/sys.c
index 6324cd3..dd44ff1 100644
--- a/drivers/bios_emulator/x86emu/sys.c
+++ b/drivers/bios_emulator/x86emu/sys.c
@@ -39,6 +39,8 @@
*
****************************************************************************/
+#include <common.h>
+
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"