Bios emulator - fix microblaze toolchain problem
microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
2d78074d2e
commit
002275a3ed
|
@ -47,9 +47,12 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "biosemui.h"
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "biosemui.h"
|
||||
|
||||
/*------------------------- Global Variables ------------------------------*/
|
||||
|
||||
#ifndef __i386__
|
||||
|
|
|
@ -41,9 +41,12 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "biosemui.h"
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "biosemui.h"
|
||||
|
||||
/*----------------------------- Implementation ----------------------------*/
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -45,11 +45,13 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "biosemui.h"
|
||||
#include <malloc.h>
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "biosemui.h"
|
||||
|
||||
BE_sysEnv _BE_env = {{0}};
|
||||
static X86EMU_memFuncs _BE_mem __attribute__((section(".got2"))) = {
|
||||
BE_rdb,
|
||||
|
|
|
@ -37,11 +37,13 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
#include <stdarg.h>
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
|
||||
/*----------------------------- Implementation ----------------------------*/
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
|
@ -36,11 +36,12 @@
|
|||
* instruction decoding and accessess of immediate data via IP. etc.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
|
||||
/*----------------------------- Implementation ----------------------------*/
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -75,10 +75,12 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
|
||||
/*----------------------------- Implementation ----------------------------*/
|
||||
|
||||
/* constant arrays to do several instructions in just one function */
|
||||
|
|
|
@ -44,10 +44,12 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
|
||||
/*----------------------------- Implementation ----------------------------*/
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -97,11 +97,14 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#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] =
|
||||
|
|
|
@ -39,10 +39,12 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
#include "x86emu/x86emui.h"
|
||||
|
||||
/*------------------------- Global Variables ------------------------------*/
|
||||
|
||||
X86EMU_sysEnv _X86EMU_env; /* Global emulator machine state */
|
||||
|
|
Loading…
Reference in a new issue