am-tests,intr: add panic message

This commit is contained in:
Zihao Yu 2023-10-03 15:28:47 +08:00
parent 4707aefcc5
commit 86c5532674

View file

@ -9,7 +9,7 @@ Context *simple_trap(Event ev, Context *ctx) {
case EVENT_YIELD: case EVENT_YIELD:
putch('y'); break; putch('y'); break;
default: default:
break; panic("Unhandled event"); break;
} }
return ctx; return ctx;
} }