summaryrefslogtreecommitdiffstats
path: root/drivers/bios_emulator/biosemu.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-08-15 21:15:05 +0200
committerMichal Simek <monstr@monstr.eu>2007-08-15 21:15:05 +0200
commit5b4de9309d7a03aa1db2e5391ab696363391f460 (patch)
tree0cae2cd4e15a7704b1c289ee5b99b1f04abe0041 /drivers/bios_emulator/biosemu.c
parent19909edb97140a5ea3139705589bb90e023ab5e1 (diff)
downloadblackbird-obmc-uboot-5b4de9309d7a03aa1db2e5391ab696363391f460.tar.gz
blackbird-obmc-uboot-5b4de9309d7a03aa1db2e5391ab696363391f460.zip
[FIX] Resolve problem with warnings
microblaze toolchain don't support PRAGMA PACK.
Diffstat (limited to 'drivers/bios_emulator/biosemu.c')
-rw-r--r--drivers/bios_emulator/biosemu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bios_emulator/biosemu.c b/drivers/bios_emulator/biosemu.c
index 4c3aedf413..5ab9e74c38 100644
--- a/drivers/bios_emulator/biosemu.c
+++ b/drivers/bios_emulator/biosemu.c
@@ -45,11 +45,12 @@
*
****************************************************************************/
-#include "biosemui.h"
#include <malloc.h>
#if defined(CONFIG_BIOSEMU)
+#include "biosemui.h"
+
BE_sysEnv _BE_env = {{0}};
static X86EMU_memFuncs _BE_mem __attribute__((section(".got2"))) = {
BE_rdb,
OpenPOWER on IntegriCloud