From ad1cbedf008d589bc9a37eb1bced5e0457e009c2 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sat, 11 Mar 2023 12:47:10 +0100 Subject: [PATCH] adds back missing max irq functions --- src/iss/arch/riscv_hart_m_p.h | 6 +++--- src/iss/arch/riscv_hart_mu_p.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/iss/arch/riscv_hart_m_p.h b/src/iss/arch/riscv_hart_m_p.h index 6abd9d0..b8f63ca 100644 --- a/src/iss/arch/riscv_hart_m_p.h +++ b/src/iss/arch/riscv_hart_m_p.h @@ -212,9 +212,9 @@ public: csr[addr & csr.page_addr_mask] = val; } -// void set_irq_num(unsigned i) { -// mcause_max_irq=1<