]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bios_emulator: Add an option to enable debugging
authorSimon Glass <sjg@chromium.org>
Sat, 15 Nov 2014 03:56:42 +0000 (20:56 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 14:11:17 +0000 (07:11 -0700)
commitb3521f2e495c8cd91226af9b34f2d7ef5a24c665
treeda657139176e9a726c5376d940a3e7851ad06843
parenta3c700ec7611ce579ecab7005c66c6d1e7b1dbac
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>
drivers/bios_emulator/besys.c
drivers/bios_emulator/bios.c
drivers/bios_emulator/biosemui.h
drivers/bios_emulator/include/x86emu.h
drivers/bios_emulator/include/x86emu/debug.h
drivers/bios_emulator/include/x86emu/regs.h
drivers/bios_emulator/x86emu/debug.c
drivers/bios_emulator/x86emu/decode.c
drivers/bios_emulator/x86emu/ops.c