diff --git a/debug_rom/debug_rom.S b/debug_rom/debug_rom.S index 9825d486..a3339b45 100755 --- a/debug_rom/debug_rom.S +++ b/debug_rom/debug_rom.S @@ -32,11 +32,7 @@ resume: clear_debint: csrr s1, CSR_MHARTID sw s1, CLEARDEBINT(zero) - # TODO: race: what if the debugger sets debug int at this point? -clear_debint_loop: - csrr s1, DCSR - andi s1, s1, (1<