Dmitry V. Levin | 665f10c | 2014-12-11 19:21:54 +0000 | [diff] [blame] | 1 | #include "defs.h" |
| 2 | |
Dmitry V. Levin | a0bd374 | 2015-04-07 01:36:50 +0000 | [diff] [blame] | 3 | SYS_FUNC(getcpu) |
Dmitry V. Levin | 665f10c | 2014-12-11 19:21:54 +0000 | [diff] [blame] | 4 | { |
| 5 | if (exiting(tcp)) { |
Dmitry V. Levin | bc863e9 | 2015-07-20 11:36:46 +0000 | [diff] [blame] | 6 | printnum_int(tcp, tcp->u_arg[0], "%u"); |
| 7 | tprints(", "); |
| 8 | printnum_int(tcp, tcp->u_arg[1], "%u"); |
| 9 | tprints(", "); |
| 10 | printaddr(tcp->u_arg[2]); |
Dmitry V. Levin | 665f10c | 2014-12-11 19:21:54 +0000 | [diff] [blame] | 11 | } |
| 12 | return 0; |
| 13 | } |