[FIX] Resolve problem with warnings

microblaze toolchain don't support PRAGMA PACK.
This commit is contained in:
Michal Simek 2007-08-15 21:15:05 +02:00
parent 19909edb97
commit 5b4de9309d
9 changed files with 18 additions and 13 deletions

View File

@ -47,9 +47,10 @@
*
****************************************************************************/
#if defined(CONFIG_BIOSEMU)
#include "biosemui.h"
#if defined(CONFIG_BIOSEMU)
/*------------------------- Global Variables ------------------------------*/
#ifndef __i386__

View File

@ -41,9 +41,10 @@
*
****************************************************************************/
#if defined(CONFIG_BIOSEMU)
#include "biosemui.h"
#if defined(CONFIG_BIOSEMU)
/*----------------------------- Implementation ----------------------------*/
/****************************************************************************

View File

@ -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,

View File

@ -37,11 +37,12 @@
*
****************************************************************************/
#include "x86emu/x86emui.h"
#include <stdarg.h>
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
#ifdef DEBUG

View File

@ -37,10 +37,10 @@
*
****************************************************************************/
#include "x86emu/x86emui.h"
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
/****************************************************************************

View File

@ -75,10 +75,10 @@
*
****************************************************************************/
#include "x86emu/x86emui.h"
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
/* constant arrays to do several instructions in just one function */

View File

@ -44,10 +44,10 @@
*
****************************************************************************/
#include "x86emu/x86emui.h"
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
/****************************************************************************

View File

@ -98,10 +98,11 @@
****************************************************************************/
#define PRIM_OPS_NO_REDEFINE_ASM
#include "x86emu/x86emui.h"
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
/*------------------------- Global Variables ------------------------------*/
static u32 x86emu_parity_tab[8] =

View File

@ -39,10 +39,10 @@
*
****************************************************************************/
#include "x86emu/x86emui.h"
#if defined(CONFIG_BIOSEMU)
#include "x86emu/x86emui.h"
/*------------------------- Global Variables ------------------------------*/
X86EMU_sysEnv _X86EMU_env; /* Global emulator machine state */