
On 14 November 2014 at 20:56, Simon Glass sjg@chromium.org wrote:
On x86 machines we can use an emulator to run option ROMS as with other architectures. But with some additional effort (mostly due to the 16-bit nature of option ROMs) we can run them natively. Add support for this.
Signed-off-by: Simon Glass sjg@chromium.org
arch/x86/lib/Makefile | 3 + arch/x86/lib/bios.c | 348 +++++++++++++++++++++++++++++++++++++++++ arch/x86/lib/bios.h | 98 ++++++++++++ arch/x86/lib/bios_asm.S | 281 +++++++++++++++++++++++++++++++++ arch/x86/lib/bios_interrupts.c | 219 ++++++++++++++++++++++++++ 5 files changed, 949 insertions(+) create mode 100644 arch/x86/lib/bios.c create mode 100644 arch/x86/lib/bios.h create mode 100644 arch/x86/lib/bios_asm.S create mode 100644 arch/x86/lib/bios_interrupts.c
Applied to u-boot-x86.