am-tests,intr: change printf() to putch()
This commit is contained in:
parent
f3af11ebbf
commit
5e7cd0c7f2
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue