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>
This commit is contained in:
Patrick Rudolph 2024-12-14 10:25:38 +01:00 committed by Lean Sheng Tan
commit 540eb5ba73

View file

@ -8,6 +8,7 @@ config CPU_QEMU_X86
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