mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 14:06:07 -04:00
[FIX] Resolve problem with warnings
microblaze toolchain don't support PRAGMA PACK.
This commit is contained in:
parent
19909edb97
commit
5b4de9309d
@ -47,9 +47,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
#include "biosemui.h"
|
#include "biosemui.h"
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
|
||||||
/*------------------------- Global Variables ------------------------------*/
|
/*------------------------- Global Variables ------------------------------*/
|
||||||
|
|
||||||
#ifndef __i386__
|
#ifndef __i386__
|
||||||
|
@ -41,9 +41,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
#include "biosemui.h"
|
#include "biosemui.h"
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
|
||||||
/*----------------------------- Implementation ----------------------------*/
|
/*----------------------------- Implementation ----------------------------*/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -45,11 +45,12 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "biosemui.h"
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "biosemui.h"
|
||||||
|
|
||||||
BE_sysEnv _BE_env = {{0}};
|
BE_sysEnv _BE_env = {{0}};
|
||||||
static X86EMU_memFuncs _BE_mem __attribute__((section(".got2"))) = {
|
static X86EMU_memFuncs _BE_mem __attribute__((section(".got2"))) = {
|
||||||
BE_rdb,
|
BE_rdb,
|
||||||
|
@ -37,11 +37,12 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "x86emu/x86emui.h"
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "x86emu/x86emui.h"
|
||||||
|
|
||||||
/*----------------------------- Implementation ----------------------------*/
|
/*----------------------------- Implementation ----------------------------*/
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
@ -37,10 +37,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "x86emu/x86emui.h"
|
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "x86emu/x86emui.h"
|
||||||
|
|
||||||
/*----------------------------- Implementation ----------------------------*/
|
/*----------------------------- Implementation ----------------------------*/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -75,10 +75,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "x86emu/x86emui.h"
|
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "x86emu/x86emui.h"
|
||||||
|
|
||||||
/*----------------------------- Implementation ----------------------------*/
|
/*----------------------------- Implementation ----------------------------*/
|
||||||
|
|
||||||
/* constant arrays to do several instructions in just one function */
|
/* constant arrays to do several instructions in just one function */
|
||||||
|
@ -44,10 +44,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "x86emu/x86emui.h"
|
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "x86emu/x86emui.h"
|
||||||
|
|
||||||
/*----------------------------- Implementation ----------------------------*/
|
/*----------------------------- Implementation ----------------------------*/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -98,10 +98,11 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define PRIM_OPS_NO_REDEFINE_ASM
|
#define PRIM_OPS_NO_REDEFINE_ASM
|
||||||
#include "x86emu/x86emui.h"
|
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "x86emu/x86emui.h"
|
||||||
|
|
||||||
/*------------------------- Global Variables ------------------------------*/
|
/*------------------------- Global Variables ------------------------------*/
|
||||||
|
|
||||||
static u32 x86emu_parity_tab[8] =
|
static u32 x86emu_parity_tab[8] =
|
||||||
|
@ -39,10 +39,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "x86emu/x86emui.h"
|
|
||||||
|
|
||||||
#if defined(CONFIG_BIOSEMU)
|
#if defined(CONFIG_BIOSEMU)
|
||||||
|
|
||||||
|
#include "x86emu/x86emui.h"
|
||||||
|
|
||||||
/*------------------------- Global Variables ------------------------------*/
|
/*------------------------- Global Variables ------------------------------*/
|
||||||
|
|
||||||
X86EMU_sysEnv _X86EMU_env; /* Global emulator machine state */
|
X86EMU_sysEnv _X86EMU_env; /* Global emulator machine state */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user