am-tests,intr: change printf() to putch()

This commit is contained in:
Zihao Yu 2021-07-13 17:05:42 +08:00
parent f3af11ebbf
commit 5e7cd0c7f2

View file

@ -3,11 +3,11 @@
Context *simple_trap(Event ev, Context *ctx) { Context *simple_trap(Event ev, Context *ctx) {
switch(ev.event) { switch(ev.event) {
case EVENT_IRQ_TIMER: case EVENT_IRQ_TIMER:
printf("t"); break; putch('t'); break;
case EVENT_IRQ_IODEV: case EVENT_IRQ_IODEV:
printf("d"); break; putch('d'); break;
case EVENT_YIELD: case EVENT_YIELD:
printf("y"); break; putch('y'); break;
default: default:
break; break;
} }