]> git.sur5r.net Git - u-boot/blobdiff - drivers/bios_emulator/x86emu/ops2.c
sandbox: Add architecture header files
[u-boot] / drivers / bios_emulator / x86emu / ops2.c
index 631a340ed2bd38a094e675bf28801a7df0a4467b..937bf4ce0732b8f683db0bce5b078081e6aef71d 100644 (file)
@@ -2,7 +2,7 @@
 *
 *                      Realmode X86 Emulator Library
 *
-*  Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
+*  Copyright (C) 2007 Freescale Semiconductor, Inc.
 *  Jason Jin <Jason.jin@freescale.com>
 *
 *              Copyright (C) 1991-2004 SciTech Software, Inc.
 *              and emulation of all the x86 extended two-byte processor
 *              instructions.
 *
-*              Jason port this file to u-boot. Put the function pointer into
-*              got2 sector.
-*
 ****************************************************************************/
 
+#include <common.h>
 #include "x86emu/x86emui.h"
 
 /*----------------------------- Implementation ----------------------------*/
@@ -1494,7 +1492,7 @@ void x86emuOp2_movsx_word_R_RM(u8 X86EMU_UNUSED(op2))
 /***************************************************************************
  * Double byte operation code table:
  **************************************************************************/
-void (*x86emu_optab2[256])(u8) __attribute__((section(".got2"))) =
+void (*x86emu_optab2[256])(u8) =
 {
 /*  0x00 */ x86emuOp2_illegal_op,  /* Group F (ring 0 PM)      */
 /*  0x01 */ x86emuOp2_illegal_op,  /* Group G (ring 0 PM)      */