Skip to content

Commit

Permalink
Merge pull request #2215 from silabs-hfegran/dev_hf_clear_minhv_clic_…
Browse files Browse the repository at this point in the history
…test2

Added minhv clear to reset_interrupt_level function for robustness
  • Loading branch information
silabs-robin authored Sep 29, 2023
2 parents 6462d31 + 5ab1e75 commit 210005d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cv32e40s/tests/programs/custom/clic/clic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2755,6 +2755,7 @@ void reset_cpu_interrupt_lvl(void) {
mcause.clic.mpil = 0;
mcause.clic.mpie = mstatus.fields.mie;
mcause.clic.mpp = 0x3;
mcause.clic.minhv = 0;

__asm__ volatile ( R"(
la %[pc], continued
Expand Down

0 comments on commit 210005d

Please sign in to comment.