summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/besys.c
Commit message (Collapse)AuthorAgeLines
* bios_emulator: Correct ordering of includesSimon Glass2014-12-13-1/+1
| | | | | | | We should include common.h before other includes. This actually causes a build error on chromebook_link. Signed-off-by: Simon Glass <sjg@chromium.org>
* bios_emulator: Add an option to enable debuggingSimon Glass2014-11-25-14/+50
| | | | | | | | | | At present there are DEBUG options spread around the place. If you enable one and not another you can end up with an emulator that does not work, since each file can have a different view of what the registers look like. To fix this, create a global CONFIG_X86EMU_DEBUG option that keeps everything consistent. Signed-off-by: Simon Glass <sjg@chromium.org>
* bios_emulator: Add vesa support and allow ROMs to be passed in as dataSimon Glass2014-11-25-2/+2
| | | | | | | | | As well as locating the ROM on the PCI bus, allow the ROM to be supplied to the emulator. Split the init up a little so that callers can supply their own interrupt routines. Also allow a vesa mode to be provided, to be selected once the BIOS run is complete. Signed-off-by: Simon Glass <sjg@chromium.org>
* bios_emulator: Allow x86 to use the emulatorSimon Glass2014-11-25-15/+17
| | | | | | | | | | | There is an implicit assumption that x86 machines want to use raw I/O in the BIOS emulator, but this should be selectable. Add an CONFIG_X86EMU_RAW_IO option to control it instead. Also fix a few bugs which cause warnings on x86 and adjust the Makefile to remove the assumption that only PowerPC uses the emulator. Signed-off-by: Simon Glass <sjg@chromium.org>
* biosemu: include <asm/io.h> headerLinus Walleij2013-04-02-0/+2
| | | | | | | | | | | | This makes sure we have inline functions such as inb/outb that are used in these two files by including the arch-specific <asm/io.h> header. However the ARM version does not provide the accessors unless the config symbol __io is also defined so add that in front of the include. After this the bios emulator will compile on ARM systems. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* Update Freescale copyrights to remove "All Rights Reserved"Kumar Gala2009-07-29-1/+1
| | | | | | "All Rights Reserved" conflicts with the GPL. Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
* drivers/bios_emulator: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-12-07-4/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix compiler warnings for PPC systems. Update CHANGELOG.Wolfgang Denk2007-11-18-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* [FIX] Changes for bios_emulator code for others architectureMichal Simek2007-08-16-0/+2
|
* [FIX] Resolve problem with warningsMichal Simek2007-08-15-1/+2
| | | | microblaze toolchain don't support PRAGMA PACK.
* Add CONFIG_BIOSEMU define to guard all the bios emulator codeJason Jin2007-08-09-0/+2
| | | | | | 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
* Coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-06-123/+120
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* This is a BIOS emulator, porting from SciTech for u-boot, mainly forJason Jin2007-08-06-0/+722
ATI video card BIOS. and can be used for x86 code emulation by some modifications. Signed-off-by: Jason Jin <Jason.jin@freescale.com>