blob: 5d0f52d1362abf67d3722a3cf2a11630bbc3e33d [file] [log] [blame]
Dmitry V. Levin665f10c2014-12-11 19:21:54 +00001#include "defs.h"
2
Dmitry V. Levina0bd3742015-04-07 01:36:50 +00003SYS_FUNC(getcpu)
Dmitry V. Levin665f10c2014-12-11 19:21:54 +00004{
5 if (exiting(tcp)) {
Dmitry V. Levinbc863e92015-07-20 11:36:46 +00006 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. Levin665f10c2014-12-11 19:21:54 +000011 }
12 return 0;
13}