projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'denx-coldfire' into coldfire-aug2007
[oweals/u-boot.git]
/
drivers
/
bios_emulator
/
x86emu
/
ops.c
diff --git
a/drivers/bios_emulator/x86emu/ops.c
b/drivers/bios_emulator/x86emu/ops.c
index d1380ceec0099526d1552a5bc8a968a17f1ae79a..a77bd9b49243ebc81341eb6732137660793f79ec 100644
(file)
--- a/
drivers/bios_emulator/x86emu/ops.c
+++ b/
drivers/bios_emulator/x86emu/ops.c
@@
-75,7
+75,12
@@
*
****************************************************************************/
*
****************************************************************************/
+#include <common.h>
+
+#if defined(CONFIG_BIOSEMU)
+
#include "x86emu/x86emui.h"
#include "x86emu/x86emui.h"
+
/*----------------------------- Implementation ----------------------------*/
/* constant arrays to do several instructions in just one function */
/*----------------------------- Implementation ----------------------------*/
/* constant arrays to do several instructions in just one function */
@@
-5429,3
+5434,5
@@
void (*x86emu_optab[256])(u8) __attribute__ ((section(".got2"))) =
/* 0xfe */ x86emuOp_opcFE_byte_RM,
/* 0xff */ x86emuOp_opcFF_word_RM,
};
/* 0xfe */ x86emuOp_opcFE_byte_RM,
/* 0xff */ x86emuOp_opcFF_word_RM,
};
+
+#endif