Lean Sheng Tan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85593?usp=email )
Change subject: cpu/qemu: Enable IDT_IN_EVERY_STAGE ......................................................................
cpu/qemu: Enable IDT_IN_EVERY_STAGE
Enable IDT_IN_EVERY_STAGE in qemu to easily debug HW breakpoints.
TEST: Can use breakpoints in pre RAM stages to debug invalid memory accesses on QEMU.
Change-Id: If4a386d1adc788ff717899027881590b7c8b3369 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/85593 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Lean Sheng Tan sheng.tan@9elements.com --- M src/cpu/qemu-x86/Kconfig 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Lean Sheng Tan: Looks good to me, approved
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig index e1469d6..f564d70 100644 --- a/src/cpu/qemu-x86/Kconfig +++ b/src/cpu/qemu-x86/Kconfig @@ -8,6 +8,7 @@ select TSC_MONOTONIC_TIMER select UNKNOWN_TSC_RATE select NEED_SMALL_2MB_PAGE_TABLES # QEMU doesn't support 1GB pages + select IDT_IN_EVERY_STAGE
if CPU_QEMU_X86