8c6ec412 | 14-Nov-2014 |
Simon Glass <sjg@chromium.org> |
bios_emulator: Always print errors when opcode decode fails
This is a rare event and should not happen. When it does it is confusing to work out why. At least we should print a message.
Adjust the
bios_emulator: Always print errors when opcode decode fails
This is a rare event and should not happen. When it does it is confusing to work out why. At least we should print a message.
Adjust the emulator to always print decode errors to the console.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
b3521f2e | 14-Nov-2014 |
Simon Glass <sjg@chromium.org> |
bios_emulator: Add an option to enable debugging
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, sin
bios_emulator: Add an option to enable debugging
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>
show more ...
|
a3c700ec | 14-Nov-2014 |
Simon Glass <sjg@chromium.org> |
bios_emulator: Allow a custom interrupt handler to be installed
Sometime we want to provide an interrupt handler for the ROM, Add a function to allow this.
Signed-off-by: Simon Glass <sjg@chromium.
bios_emulator: Allow a custom interrupt handler to be installed
Sometime we want to provide an interrupt handler for the ROM, Add a function to allow this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
4c59f953 | 14-Nov-2014 |
Simon Glass <sjg@chromium.org> |
bios_emulator: Add vesa support and allow ROMs to be passed in as data
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 ca
bios_emulator: Add vesa support and allow ROMs to be passed in as data
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>
show more ...
|