Commit 650257a
committed
[ot] hw/opentitan: ot_alert: Connect alert phase 0 NMI
In escalation phase 0, the alert handler sends an NMI to the CPU, which
will interrupt execution so long as the NMI is enabled in Ibex itself.
As such, we connect this functionality in the alert handler.
See: https://opentitan.org/book/sw/device/silicon_creator/rom/doc/shutdown.html#alert-escalation-phase-actions
Signed-off-by: Alex Jones <[email protected]>1 parent 3daef7b commit 650257a
File tree
3 files changed
+11
-1
lines changed- hw
- opentitan
- riscv
- include/hw/opentitan
3 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
571 | 572 | | |
572 | 573 | | |
573 | 574 | | |
| 575 | + | |
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
| |||
741 | 743 | | |
742 | 744 | | |
743 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
744 | 750 | | |
745 | 751 | | |
746 | 752 | | |
| |||
1034 | 1040 | | |
1035 | 1041 | | |
1036 | 1042 | | |
| 1043 | + | |
1037 | 1044 | | |
1038 | 1045 | | |
1039 | 1046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
644 | 646 | | |
645 | 647 | | |
646 | 648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
0 commit comments