Add CONFIG_BIOSEMU define to guard all the bios emulator code

Signed-off-by: Jason Jin <Jason.jin@freescale.com>

This patch fix the compile issue on the board that did not enable the bios emulator
This commit is contained in:
Jason Jin 2007-08-08 08:33:11 +08:00 committed by Wolfgang Denk
parent ed81064335
commit ce981dc857
9 changed files with 32 additions and 0 deletions

View file

@ -40,6 +40,8 @@
#include "x86emu/x86emui.h"
#include <stdarg.h>
#if defined(CONFIG_BIOSEMU)
/*----------------------------- Implementation ----------------------------*/
#ifdef DEBUG
@ -459,3 +461,5 @@ void x86emu_dump_xregs(void)
printk("NC ");
printk("\n");
}
#endif