aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machine/mtrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/machine/mtrap.c b/machine/mtrap.c
index 6c0e99c..778990f 100644
--- a/machine/mtrap.c
+++ b/machine/mtrap.c
@@ -38,7 +38,7 @@ void poweroff(uint16_t code)
if (htif) {
htif_poweroff();
} else {
- while (1);
+ while (1) { asm volatile ("#noop\n"); }
}
}