adds back missing max irq functions

This commit is contained in:
Eyck Jentzsch 2023-03-11 12:47:10 +01:00
parent 83f54b5074
commit ad1cbedf00
2 changed files with 6 additions and 6 deletions

View File

@ -212,9 +212,9 @@ public:
csr[addr & csr.page_addr_mask] = val; csr[addr & csr.page_addr_mask] = val;
} }
// void set_irq_num(unsigned i) { void set_irq_num(unsigned i) {
// mcause_max_irq=1<<util::ilog2(i); mcause_max_irq=1<<util::ilog2(i);
// } }
protected: protected:
struct riscv_instrumentation_if : public iss::instrumentation_if { struct riscv_instrumentation_if : public iss::instrumentation_if {

View File

@ -227,9 +227,9 @@ public:
csr[addr & csr.page_addr_mask] = val; csr[addr & csr.page_addr_mask] = val;
} }
// void set_irq_num(unsigned i) { void set_irq_num(unsigned i) {
// mcause_max_irq=1<<util::ilog2(i); mcause_max_irq=1<<util::ilog2(i);
// } }
protected: protected:
struct riscv_instrumentation_if : public iss::instrumentation_if { struct riscv_instrumentation_if : public iss::instrumentation_if {