Rev 1596 | Rev 1616 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1596 | Rev 1610 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | 38 | ||
| 39 | void interrupt_received(ipc_callid_t callid, ipc_call_t *call) |
39 | void interrupt_received(ipc_callid_t callid, ipc_call_t *call) |
| 40 | { |
40 | { |
| 41 | int i; |
41 | int i; |
| 42 | 42 | ||
| 43 | // psthread_serialize_start(); |
43 | async_serialize_start(); |
| 44 | /* TODO: remove workaround around non-functional vsnprintf */ |
44 | /* TODO: remove workaround around non-functional vsnprintf */ |
| 45 | for (i=0; klog[i + IPC_GET_ARG2(*call)] && i < IPC_GET_ARG3(*call); i++) |
45 | for (i=0; klog[i + IPC_GET_ARG2(*call)] && i < IPC_GET_ARG3(*call); i++) |
| 46 | putchar(klog[i + IPC_GET_ARG2(*call)]); |
46 | putchar(klog[i + IPC_GET_ARG2(*call)]); |
| 47 | putchar('\n'); |
47 | putchar('\n'); |
| 48 | // psthread_serialize_done(); |
48 | async_serialize_end(); |
| 49 | } |
49 | } |
| 50 | 50 | ||
| 51 | int main(int argc, char *argv[]) |
51 | int main(int argc, char *argv[]) |
| 52 | { |
52 | { |
| 53 | int res; |
53 | int res; |