Home | History | Annotate | Download | only in wrapsim

Lines Matching defs:cmd

362         wsLog("message len (%d) is wrong for cmd (%d)\n",
383 wsLog("message len (%d) is wrong for cmd (%d)\n",
400 * Attach 8 bytes of data with "cmd" and "arg" to "msg".
406 static int setCommand(Message* msg, int cmd, int arg)
416 pInt[0] = cmd;
736 int cmd, arg;
738 if (getCommand(&msg, &cmd, &arg) != 0)
741 switch (cmd) {
755 wsLog("Got unexpected command %d/%d\n", cmd, arg);
860 int cmd, arg;
862 if (getCommand(&msg, &cmd, &arg) != 0) {
867 switch (cmd) {
880 wsLog("--- sim sent unrecognized command %d\n", cmd);
886 int cmd, arg0, arg1, arg2;
888 if (getCommandExt(&msg, &cmd, &arg0, &arg1, &arg2) != 0) {
893 switch (cmd) {